Fr4st3yyt

Leaderstats Script

Jan 7th, 2024
1,346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | Gaming | 0 0
  1. game.Players.PlayerAdded:Connect(function(player)
  2.    
  3.     local leaderstats = Instance.new("Folder",player)
  4.     leaderstats.Name = "leaderstats"
  5.    
  6.     local Wins = Instance.new("IntValue",leaderstats)
  7.     Wins.Name = "Wins"
  8.     Wins.Value = 0
  9.    
  10.     while wait(5) do
  11.         Wins.Value += 1 -- For testing
  12.     end
  13.      
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment