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.
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.
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.
1 comment
What's your code?