WolfGamesProgrammer

AddStats Version 3

Mar 29th, 2024
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | Source Code | 0 0
  1. local store = game:GetService("DataStoreService"):GetDataStore("ATM")
  2.  
  3. game.Players.PlayerAdded:Connect(function(Player)
  4.     local stats = Instance.new("Folder", Player)
  5.     stats.Name = "leaderstats"
  6.     local Ru = Instance.new("IntValue", stats)
  7.     Ru.Name = "Ru"
  8.     Ru.Value = 100
  9.     local Level = Instance.new("IntValue", stats)
  10.     Level.Name = "Level"
  11.     Level.Value = 0
  12.     local isOwner = Instance.new("BoolValue", stats)
  13.     isOwner.Name = "isOwner"
  14.     isOwner.Value = false
  15.     local BuyedApart = Instance.new("ObjectValue", stats)
  16.     BuyedApart.Name = "BuyedApart"
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment