function highJump() script.Disabled = true local noid = game.Players.LocalPlayer.Character.Humanoid noid.JumpPower = 200 noid.Jump = true noid.JumpPower = 50 script.Disabled = false end local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.KeyDown:connect(function(Key) if Key == "t" then highJump() end end)
The purpose of the code above is to make a player jump very high when a button -- 't' in this case -- is pressed. It worked about 3 months ago but now it doesn't. Have there been any updates that prevent this code from working that I am unaware of? Also, I don't think it matters but the place I'm testing this in has FilteringEnabled set to true.
Here you go!
function highJump() local noid = game.Players.LocalPlayer.Character.Humanoid noid.JumpPower = 200 noid.Jump = true wait() noid.JumpPower = 50 end local Player = game.Players.LocalPlayer local Mouse = Player:GetMouse() Mouse.KeyDown:connect(function(Key) -- yeah idk how userinputservice works since i haven't used it in a while, but you can implement it later. if Key == "t" then highJump() end end)