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

I am trying to set jump power to 100 but I can't?

local Player = game:GetService("Players")
local human = 'Workspace:WaitForChild("Humanoid")'

Player.PlayerAdded:Connect(function(player)
	player.Name.human.JumpPower = 100
end)

2 answers

✓ Accepted answer
game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		Character.Humanoid.UseJumpPower = true
		Character.Humanoid.JumpPower = 300
	end)
end)

Your code has some serious problems. First of all, humanoid is not in workspace. It is in a model. player.Name is also referencing the player name. Not the character. If you wanted to do this you would have to put this in:

local Player = game:GetService("Players")

Player.PlayerAdded:Connect(function(player)
    player.Character.Humanoid.JumpPower = 100
end)

I'm not sure if there is a limit on jump power but I am pretty sure that you can set it above 100.

1 comment

0

ALso, just change the jump power value to whatever you want, too high will make the player jump into the sky and die, not sure if that was intended by Roblox.

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