Like so lets say mrflimflam joins my game. I want the script to detect that he joined and not any other roblox player then it will tell a function to go and that will do something special for him in the game.
1 | game.Players.PlayerAdded:Connect( function (plr) |
2 | if plr.Name = ( "mrflimflam" ) then |
3 | -- Now code your special code here |
4 | end |
5 | end ) |