Advertisement
sriyanto

Untitled

Oct 3rd, 2022
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. --StarterGui==>Status(MainGui)==>TextLabel==>LocalScript:
  2. local Status = game:GetService("ReplicatedStorage"):WaitForChild("Status")
  3.  
  4. script.Parent.Text = Status.Value
  5.  
  6. Status:GetPropertyChangedSignal("Value"):Connect(function()
  7.  
  8.     script.Parent.Text = Status.Value  
  9.  
  10. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement