Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Add to jump power for each time you jump?

I want to know what the easiest way is to make a script where when you jump, it would add more power to your next jump, and continue to add on to it permanently.

1 answer

local jp = 0
repeat wait() until game.Players.LocalPlayer.Character
local char = game.Players.LocalPlayer.Character
char.Humanoid.Jumping:connect(function(t)
	if t then
		jp = jp + 5
		char.Humanoid.JumpPower = jp + char.Humanoid.JumpPower 
	end
end)

should work

2 comments

0

Thank you so much, i'll give you credit in the game i'm making!

1

ok

This discussion is preserved as it was. New answers, comments, and votes are closed.