of     1   

Icetea1231
#190173333Tuesday, May 31, 2016 7:21 PM GMT

Mouse = Players:GetMouse() function Jump(key) if key == "h" then game.Players.LocalPlayer.Humanoid.Jump end end) Mouse.KeyDown:connect(Jump) Error: Workspace.Player1.LocalScript:6: '=' expected near 'end' Why should I put a "=" there that wouldn't make sense.
Luo_Basics
#190173417Tuesday, May 31, 2016 7:22 PM GMT

It's because you never set a value, you can't just use .Jump game.Players.LocalPlayer.Humanoid.Jump = true r+://393244197r+://393244224r+://393244262
Immersible
#190173447Tuesday, May 31, 2016 7:23 PM GMT

Take the parentheses off the last end.
Icetea1231
#190173517Tuesday, May 31, 2016 7:24 PM GMT

Thanks both of you fixed the problem. Did not think it is a boolean.
Icetea1231
#190173601Tuesday, May 31, 2016 7:26 PM GMT

Another problem occured. Error: Workspace.Player1.LocalScript:1: attempt to index global 'Players' (a nil value) It worked a few minutes ago, suddenly it doesn't
Luo_Basics
#190173629Tuesday, May 31, 2016 7:26 PM GMT

If its not a boolean and its something like destroying something you have to use :Destroy() r+://393244197r+://393244224r+://393244262
Luo_Basics
#190173662Tuesday, May 31, 2016 7:26 PM GMT

add this to the top of the script Players = game.Players.LocalPlayers r+://393244197r+://393244224r+://393244262
Immersible
#190173681Tuesday, May 31, 2016 7:27 PM GMT

Change line 1 to Mouse = game.Players.LocalPlayer:GetMouse()
Luo_Basics
#190173691Tuesday, May 31, 2016 7:27 PM GMT

LocalPlayer* not LocalPlayers r+://393244197r+://393244224r+://393244262
Icetea1231
#190173861Tuesday, May 31, 2016 7:29 PM GMT

Ah that's right I can't use "Players" If i dont declare it. Thx!
Icetea1231
#190173984Tuesday, May 31, 2016 7:31 PM GMT

Just one last question. If I want him to jump I need to use "Humanoid". But there is no humanoid in game.Players.LocalPlayer.Humanoid And if I use Workspace for it it works, but I need to enter my players name. Can I generalize it so it works for all players?
Luo_Basics
#190174024Tuesday, May 31, 2016 7:32 PM GMT

game.Players.LocalPlayer.Character.Humanoid r+://393244197r+://393244224r+://393244262
Immersible
#190174075Tuesday, May 31, 2016 7:33 PM GMT

Change it to game.Players.LocalPlayer.Character.Humanoid
Icetea1231
#190174098Tuesday, May 31, 2016 7:33 PM GMT

That completely fixed it! Your good at this, thanks alot!

    of     1