Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local displayValues = ReplicatedStorage:WaitForChild("DisplayValues")
- local status = displayValues:WaitForChild("Status")
- local textLabel = script.Parent
- local function updateText()
- textLabel.Text = status.Value
- end
- status.Changed:Connect(updateText)
- updateText()
Add Comment
Please, Sign In to add comment