[SOLVED] How to make a jumppad?

So, one of my friends in Discord asked for me in DM’s how to make a jumppad close to this one in the Spotify Island:

He has the base code, but the collision isnt smooth, hes currently using BodyVelocity but it dont look too “smooth” unlike Spotify Island.

2 Likes

What if you try to set the humanoids jump value to true upon jump pad touch?

local pad = script.Parent
pad.Touched:Connect(function(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if player then
        player.Character.Humanoid.Jump = true
    end
end)
1 Like

that wouldnt work well cuz it would just make the humanoid jump, not make he fly in the air

If you set the jump force pretty high right before it sets the jump to true it should work.

1 Like

Here is the script with a video showing it works:

local pad = script.Parent
local force = 100
pad.Touched:Connect(function(hit)
	local player = game.Players:GetPlayerFromCharacter(hit.Parent)
	if player then
		player.Character.Humanoid.JumpPower = force
		player.Character.Humanoid.Jump = true
		task.wait(0.5)
		player.Character.Humanoid.JumpPower = 50
	end
end)

4 Likes