Hello there, I have created an open-sourced Double Jump script for anyone to use.
If you want the script you can get it here
also the print “Double Jump - Enabled” has been removed from the free script
Hello there, I have created an open-sourced Double Jump script for anyone to use.
If you want the script you can get it here
also the print “Double Jump - Enabled” has been removed from the free script
whoops I think I clicked on the wrong one will change
dident roblox make their own one on the developer tutorials website?
That’s correct
This is cool, but there is a few things I want to point out:
In the script you are setting the parent of the script to the players character, but there is no point in doing this, because the script is in StarterCharacterScripts:
script.Parent = player.Character
Also I suggest you use:
Instead of:
InputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Space then
--rest of code
end
end)
Because this will allow mobile/console support.
Also I suggest you use:
Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
Instead of just increasing the velocity of the humanoidrootpart.