Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerEntered(newPlayer)
- local stats = Instance.new("IntValue")
- stats.Name = "stats"
- local uu = Instance.new("IntValue")
- uu.Name = "uu"
- uu.Value = 0
- local pp = Instance.new("IntValue")
- pp.Name = "pp"
- pp.Value = 0
- local user = Instance.new("StringValue")
- user.Name = "user"
- user.Value = "g"
- local pass = Instance.new("StringValue")
- pass.Name = "pass"
- pass.Value = "g"
- local char1 = Instance.new("BoolValue")
- char1.Name = "char1"
- char1.Value = false
- local class1 = Instance.new("IntValue")
- class1.Name = "class1"
- class1.Value = 0
- local gender1 = Instance.new("IntValue")
- gender1.Name = "gender1"
- gender1.Value = 0
- local level1 = Instance.new("IntValue")
- level1.Name = "level1"
- level1.Value = 1
- stats.Parent = newPlayer
- uu.Parent = stats
- pp.Parent = stats
- pass.Parent = pp
- user.Parent = uu
- char1.Parent = stats
- class1.Parent = char1
- gender1.Parent = char1
- level1.Parent = char1
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement