Advertisement
404Coder

leaderstats /w DS

Aug 27th, 2022
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. game.Players.PlayerAdded:Connect(function(players)
  2.     local leaderstats = Instance.new("Folder", players)
  3.     leaderstats.Name = "leaderstats"
  4.     local currency = Instance.new("IntValue", leaderstats)
  5.     currency.Name = "Coins"
  6.     currency.Value = 10
  7. end)
  8.  
  9.  
  10. local player = game.Player.LocalPLayer:GetService(function(Player)
  11. end)
  12. if player == game then
  13.    
  14.  
  15. game.Player("Index").LocalPLayer = game.Player.Index("FindFirstChild"):WaitForChild("Players")
  16.  
  17.     function player:OnJoin  ()
  18.        
  19.     end
  20.    
  21. end
  22.     local Player = 10
  23.     if 10 == Player.Value then do
  24.     end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement