Advertisement
Sungmingamerpro13

LocalScript (My Amounts)

May 16th, 2024
706
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.39 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local RoundsAmount = workspace.RoundsLeaderboard:WaitForChild("RoundsMiddle2").SurfaceGui.RoundsAmount
  3. local WinsAmount = workspace.WinsLeaderboard:WaitForChild("WinsMiddle2").SurfaceGui.WinsAmount
  4.  
  5. while wait() do
  6.     RoundsAmount.Text = "My Rounds: "..player.leaderstats.Rounds.Value
  7.     WinsAmount.Text = "My Wins: "..player.leaderstats.Wins.Value
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement