Everytime i try this script it wont work...
function onPlayerEntered(newPlayer)
newPlayer.Character.Humanoid.Jump = 40
end
game.Players.ChildAdded:connect(onPlayerEntered)
function onPlayerRespawned(newPlayer)
h = newPlayer:findFirstChild("Humanoid")
if h ~= nil then
if game.Workspace:findFirstChild(h.Parent.Name) ~= nil then
h.Jump = 40 --Make sure this number is the same as the number above.
end
end
end
game.Workspace.ChildAdded:connect(onPlayerRespawned)
