This is really annoying me. I was trying to make the player jump in a script when they clicked a button, but output just says "attempt to index nil with 'Character'". It's in a server side script, and the local player had already been addressed and everything. I have tried this:
lp = game.Players.LocalPlayer
lpc = lp.Character
and this:
lpc = game.Players.LocalPlayer.Character
also this...
lp = game.Players.LocalPlayer
lpc = game.Workspace:FindFirstChild(lp.Name)
this was the code for the jump... (inside of a function)
lpc.Humanoid.Jump = true
Why does this keep happening? Why does it work in scripts other than mine? I'm only getting errors for this part of the script. If you need me to release the whole script, I will.

2 comments
You can't call localplayer from a server script. Is the button a gui or a click detector?
clickdetector