Advertisement
HowToRoblox

StatusHandler

Sep 2nd, 2021
3,758
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. local function updateStatus()
  2.    
  3.     script.Parent.Text = game.ReplicatedStorage:WaitForChild("StatusValue").Value
  4. end
  5.  
  6.  
  7. updateStatus()
  8.  
  9.  
  10. game.ReplicatedStorage:WaitForChild("StatusValue"):GetPropertyChangedSignal("Value"):Connect(updateStatus)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement