I want to add a numbervalue into a player when the join the game, but how do i do this? Thanks.
1 | game.Players.PlayerAdded:Connect( function (player) |
2 | local x = Instance.new( "IntValue" ) |
3 | x.Parent = player |
4 | x.Name = "Put The Name of the Value here" |
5 | x.Value = 0 --change to the value you want it to be |
6 | end ) |