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

My GetPropertyChangedSignal isn't working. Do you know why?

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)

1 answer

✓ Accepted answer

Did you try listening to the BoolValue.Changed event? The BoolValue.Changed event also passes the new value as a parameter in the function.

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