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

Is the PlayerAdded event deprecated?

Simply by using the PlayerAdded event, I tried to insert some values into the player, and none of them were created.

NOTE: I am using Start Server and Start Player to do so.

1 comment

0

What's your code?

1 answer

✓ Accepted answer

To answer the question, PlayerAdded is not deprecated.

Here is an example of a working code:

game.Players.PlayerAdded:connect(function(player)
	s = Instance.new("StringValue", player)
	s.Name = "Variable"
	s.Value = "learning"
end)

Should put a stringvalue "Variable" into the player. Change this to how you want :)

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