I have already tried to use while true do and while wait() do and while wait(1) do yet it hasn't worked. I checked the console and there are no errors. Here is the code:~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
local statuss = game.ReplicatedStorage:WaitForChild("Statuss")
statuss:GetPropertyChangedSignal("Value"):Connect(function() -- Fires whenever the panic value changes
print("nfjowf") if statuss.Value == true then print("nfjowf") script.Parent:WaitForChild("HumanoidRootPart").Position = Vector3.new(-20.54, -109.689, 418.496) end wait(0.1)
end)
Did you try listening to the BoolValue.Changed event? The BoolValue.Changed event also passes the new value as a parameter in the function.