Can I get local player with script? Yes or no please
COMMUNITY QUESTION
Can I get local player with script? Yes or no please
2 answers
###No, you cannot. LocalPlayer will always be nil on the server. If you really need to get the Player object from the server, consider using one of these examples:
Players.PlayerAdded(event)ClickDetector.MouseClick(event)RemoteEvent.OnServerEvent(event)RemoteFunction.OnServerInvoke(callback)
no you cannot get localplayer in a script, meaning game.Players.LocalPlayer
1 comment
0
This should be a comment.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Great answer
I agree with laughablehaha