My script is supposed to update a text label via a string value, but it doesn't work, why?
This is the main script in my game:
local status = game.ReplicatedStorage:WaitForChild("Status")
status.Value = "2 players are needed to start a game"
print("Not enough players")
repeat wait() until game.Players.NumPlayers >= 2
(This is in a while loop) It changes the status/string value as well but not the text label.
This is the local script inside of the text label:
local status = game.ReplicatedStorage:WaitForChild("Status")
status.Changed:Connect(function()
script.Parent.Text = status.Value
end)

2 comments
Are you receiving any errors in the output? If so, what are they?
No, not at all