When picked up, the Power Sneakers will significantly boost your speed for 14 seconds. Specifically, your walking speed becomes double your running speed and your running speed will be quadrupled! Here's the powerup in action:

Note that this footage was recorded with donthurtme (god mode) activated, and it will NOT protect you from enemy attacks! Be careful while using it.
speedboost.lua is a library included to interface with the speedboost function. It can be used to either force a speed boost or check whether or not you are currently boosting. It can be enabled by adding the following code to the top of your luna.lua:
Code: Select all
speedboost = require("speedboost")
The function speedboost.GottaGoFast() can be used to force a speedboost, and the variable speedboost.Boosting will be either 1 (if boosting) or 0 (if not). This can be used to check whether you are presently experiencing a speedboost, as demonstrated above.
Here's an example script which depends on afterimages.lua to create afterimages while boosting for the intended feeling:
GOTTA DOWNLOAD FAST! (no regrets)