Advertisement
Sungmingamerpro13

Podium Top 3 Status

Mar 27th, 2024 (edited)
792
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.53 KB | None | 0 0
  1. local DataStoreService = game:GetService('DataStoreService')
  2.  
  3. local WinsDataStore = DataStoreService:GetDataStore('Wins')
  4.  
  5. script.Parent.UserId:GetPropertyChangedSignal('Value'):Connect(function()
  6.     local PlayerName = game.Players:GetNameFromUserIdAsync(script.Parent.UserId.Value)
  7.     local Player = game.Players:GetPlayerByUserId(script.Parent.UserId.Value)
  8.     script.Parent.Podium.MiddleBlock.SurfaceGui.PlayerName.Text = PlayerName
  9.     script.Parent.Podium.MiddleBlock.SurfaceGui.WinsAmount.Text = Player.leaderstats.Wins.Value
  10. end)
  11.  
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement