Can I get local player with script? Yes or no please
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