RB-004
Roblox jump boost pad script
A pad that lets a player jump much higher for a few seconds.
- Script type
- Script
- Where it goes
- Inside the Part
- Category
- Hazards and pads
For your own game in Roblox Studio. Not for use in other people's games.
The code
-- Jump boost pad: higher jumps for a short time.
local BOOST_JUMP_POWER = 120 -- the normal JumpPower is 50
local DURATION = 8 -- seconds the boost lasts
local part = script.Parent
local boosted = {}
part.Touched:Connect(function(hit)
local humanoid = hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid")
if not humanoid or humanoid.Health <= 0 then
return
end
if boosted[humanoid] then
return
end
boosted[humanoid] = true
local originalPower = humanoid.JumpPower
humanoid.UseJumpPower = true -- make sure JumpPower is used, not JumpHeight
humanoid.JumpPower = BOOST_JUMP_POWER
task.wait(DURATION)
if humanoid.Parent then
humanoid.JumpPower = originalPower
end
boosted[humanoid] = nil
end)How to set it up
- Insert a Part, set Anchored to true, and colour it so it stands out.
- Add a Script inside the Part and paste the code.
- Press Play and step on the pad.
- Jump. You should go much higher than before.
Change it
- New Roblox games can use JumpHeight instead of JumpPower. The line UseJumpPower = true switches it back so this script works.
- If your game sets JumpHeight on purpose, change the script to use humanoid.JumpHeight and a number like 20.
- A very high jump can launch players over your walls. Test your map after you change the number.
More in Hazards and pads
More Roblox tools
- Shirt and pants templatesFree Roblox clothing templates to download: hoodies, jerseys, jeans, joggers and more.
- Robux tax calculatorWork out what you receive after the marketplace fee, or what to charge.
- Robux to USD calculatorConvert earned Robux to dollars at a DevEx rate you can edit.
- Shirt and pants template makerColour each panel of the 585×559 clothing template and download it.
- Username generatorGenerate usernames that fit the 3–20 character rule.