What could you do?
Change the humanoid's JumpPower
. That way the player can jump higher and fall at the same speed. You're going to have to use the PlayerAdded
event to get each player and CharacterAdded
to get the character to get the Humanoid.
JumpPower
JumpPower is the velocity you will move in the Y axis when you jump. It MUST be a number between 0-1000.
PlayerAdded
Is an event inside of the Player Service that will run whenever a player joins the server and returns the argument of the player.
1 | game:GetService( "Players" ).PlayerAdded:connect( function (player) |
CharacterAdded
After you locate the player you can use CharacterAdded to get the Character. This fires everytime the character spawns so if they die it still runs after they respawn.
1 | game:GetService( "Players" ).PlayerAdded:connect( function (player) |
2 | player.CharacterAdded:connect( function (char) |
Final Product
3 | game:GetService( "Players" ).PlayerAdded:connect( function (plyr) |
4 | plyr.CharacterAdded:connect( function (char) |
5 | repeat wait() until char:FindFirstChild( "Humanoid" ) |
6 | local h = char:FindFirstChild( "Humanoid" ) |
Hope it helps!