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.
✓ ANSWER ACCEPTED
How do I a username detecter for doing something special?
1 answer
✓ Accepted answer
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name = ("mrflimflam") then
-- Now code your special code here
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
bruh your the man
No problem