--Local Script tool = script.Parent tool.Equipped:connect(function() game.Players.LocalPlayer.JumpHeight = 100 end)
I am confused with line 3. Someone please show me the error and make a example that works..
Sorry about my bad English.
Local Player
gets the player. JumpHeight
is not a property of the player. JumpPower
is a property of the Humanoid
inside the character
. To get the character, use .Character
on the player. After we get the character we can get the Humanoid. Example,
--Local Script local tool = script.Parent tool.Equipped:connect(function() game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100 end)
Good Luck!