Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I a username detecter for doing something special?

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 answer

✓ Accepted answer
game.Players.PlayerAdded:Connect(function(plr)
	if plr.Name = ("mrflimflam") then
		-- Now code your special code here
	end
end)

2 comments

0

bruh your the man

0

No problem

This discussion is preserved as it was. New answers, comments, and votes are closed.