Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What does Infinite yield possible on 'ReplicatedStorage:WaitForChild("Status")' mean?

Asked by 4 years ago
Edited 4 years ago

my code is

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

script.Parent.Text = Status.Value

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

script.Parent.Text = Status.Value

end)

1 answer

Log in to vote
0
Answered by
7z99 203 Moderation Voter
4 years ago

I assume you're trying to do a remote event.

Infinite yield on remote events if the script waits 5 or more seconds on firing the remote event. This is probably because you made an error in naming the remote event, either from the GetService, or the script that created the remote event. I would double check what the event's name is and ensure it's correct.

Ad

Answer this question