Advertisement
Guest User

Untitled

a guest
Apr 17th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. function onPlayerEntered(newPlayer)
  2. local stats = Instance.new("IntValue")
  3. stats.Name = "stats"
  4.  
  5. local uu = Instance.new("IntValue")
  6. uu.Name = "uu"
  7. uu.Value = 0
  8.  
  9. local pp = Instance.new("IntValue")
  10. pp.Name = "pp"
  11. pp.Value = 0
  12.  
  13. local user = Instance.new("StringValue")
  14. user.Name = "user"
  15. user.Value = "g"
  16.  
  17. local pass = Instance.new("StringValue")
  18. pass.Name = "pass"
  19. pass.Value = "g"
  20.  
  21. local char1 = Instance.new("BoolValue")
  22. char1.Name = "char1"
  23. char1.Value = false
  24.  
  25. local class1 = Instance.new("IntValue")
  26. class1.Name = "class1"
  27. class1.Value = 0
  28.  
  29. local gender1 = Instance.new("IntValue")
  30. gender1.Name = "gender1"
  31. gender1.Value = 0
  32.  
  33. local level1 = Instance.new("IntValue")
  34. level1.Name = "level1"
  35. level1.Value = 1
  36.  
  37. stats.Parent = newPlayer
  38. uu.Parent = stats
  39. pp.Parent = stats
  40. pass.Parent = pp
  41. user.Parent = uu
  42. char1.Parent = stats
  43. class1.Parent = char1
  44. gender1.Parent = char1
  45. level1.Parent = char1
  46. end
  47.  
  48.  
  49. game.Players.ChildAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement