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)
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.