Roblox speed pad script
A pad that gives a player a burst of speed: a boost strip on a track, a shortcut in an obby, a reward at the end of a jump.
Where it goes
- 1In Roblox Studio, add a flat Part where the boost should be and turn on Anchored.
- 2Hover over the Part in the Explorer, press + and choose Script.
- 3Delete what's in the new Script, paste this in, and press Play to run across it.
-- From forja.us/tools/roblox-scripts/speed-pad-- Touch this pad to run faster for a few seconds.local Players = game:GetService("Players")local BOOST_SPEED = 40local NORMAL_SPEED = 16local SECONDS = 5local pad = script.Parentlocal boosted = {}pad.Touched:Connect(function(hit) local character = hit:FindFirstAncestorOfClass("Model") local player = character and Players:GetPlayerFromCharacter(character) local humanoid = character and character:FindFirstChildOfClass("Humanoid") if not player or not humanoid or boosted[player] then return end boosted[player] = true humanoid.WalkSpeed = BOOST_SPEED task.wait(SECONDS) humanoid.WalkSpeed = NORMAL_SPEED boosted[player] = nilend)How it works
Touchedruns when anything touches the pad, andGetPlayerFromCharacterchecks that it's a player.boostedremembers who already has the boost, so touching it again doesn't start a second timer.- A respawn gives a new character at normal speed, so setting the old one back does no harm.
Make it yours
- Make it faster or longer
- Change
BOOST_SPEEDandSECONDSat the top. Roblox's normal walking speed is 16. - Give it a price
- Check for a pass before the boost: the game pass script shows how.
Maps to try it on: racing maps
Start from a finished map, and your scripts have a game to run in.
More free Roblox scripts
Roblox kill brick scriptRoblox leaderboard scriptRoblox save data scriptRoblox sprint scriptRoblox double jump scriptRoblox teleport scriptRoblox obby checkpoint scriptRoblox coin pickup scriptRoblox day and night cycle scriptRoblox game pass scriptRoblox developer product scriptRoblox door scriptRoblox tool giver scriptRoblox round system scriptRoblox background music scriptRoblox jump pad scriptRoblox VIP door scriptRoblox daily reward scriptRoblox NPC dialogue scriptRoblox pet follow scriptRoblox gun scriptRoblox admin commands scriptRoblox tycoon dropper scriptRoblox shop GUI script

