I’m making a button gui and if the player clicks it (client) then that player just jumps once if they click it once and repeats if they click again.
My script didnt work and this is it:
player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.Character.Humanoid.Jump = true
end)
can anyone please help?
12345koip
(12345koip)
#2
Try changing the state.
player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
2 Likes
which line to change? 3rd one?
12345koip
(12345koip)
#4
Change player.Character.Humanoid.Jump = true
.
wow it works, thanks alot dude!
1 Like
system
(system)
Closed
#6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.