Is there a way to get player from normal script?
This is not a request site, but ill cut you some slack.
1 | game.Players.PlayerAdded:Connect( function (p) |
2 |
3 |
4 | end ) |
"p" is the player in this function.
This determines the player in this script.
Local Scripts get the player in a different way.
1 | --In a local script |
2 |
3 | local player = game.Players.LocalPlayer |
The last way of getting the player is by using,
1 | local player = game:GetService( "Players" ). LocalPlayer |
I hope this helps!