Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My GUI will not display what i want it to?

I followed several tutorials on how to help my GUI but I always get errors, and it never displays what i want it to (it doesn't work in testing either). This is the code I am using:

local Status = game:GetService("ReplicatedStorage"):WaitForChild("Status")

script.Parent.Text = Status.Value

Status:GetPropertyChangedSignal("Value"):Connect(function()

script.Parent.Text = Status.Value

end)

Status.Value = "Waiting for players"

Thanks

1 answer

Why are you using GetPropertyChangedSignal? Solution: Use

Status.Changed:Connect(function()
script.Parent.Text = Status.Value;
end)

simple fix.

This discussion is preserved as it was. New answers, comments, and votes are closed.