Advertisement
CloneTrooper1019

Untitled

Dec 6th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. function onPlayerEntered(player)
  2. ---------- Leaderstats ----------
  3. local stats = Instance.new("Configuration",player)
  4. stats.Name = "leaderstats"
  5. ---------- Visible Leaderstats ----------
  6. local s1 = Instance.new("IntValue",stats)
  7. s1.Name = "Stage"
  8. local s2 = Instance.new("IntValue",stats)
  9. s2.Name = "World"
  10. local s3 = Instance.new("StringValue",stats)
  11. s3.Name = "Area"
  12. s3.Value = "Spawn Room"
  13. ---------- Invisible Leaderstats ----------
  14. local s4 = Instance.new("Intvalue",player)
  15. s4.Name = "Lives"
  16. s4.Value = 10
  17. local s5 = Instance.new("BoolValue",player)
  18. s5.Name = "ExtremeModeEnabled"
  19. end
  20.  
  21. game.Players.PlayerAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement