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

(DUPE)Why is :GetPropertyChangedSignal("Position") non-functional with physics?

DUPE of this post

OP below:

`I am currently creating a project involving updating something every time the position is updated via physics, but I am currently dumbfounded on this issue, where the :GetPropertyChangeSignal() does not work. At all.

script.Parent:GetPropertyChangedSignal("Position"):Connect(function()
	print("WHY")
end)

This ServerScript, placed in a part, should print "WHY" to the console every time the part is moved via physics. Instead, it only moves when the part is moved serverside. This seems like some sort of internal bug at this point.`

1 answer

✓ Accepted answer

Make sure you're not using a LocalScript, since those don't run in the workspace. Also make sure your part is moving on the server side and not the client side, otherwise your script won't see it (demonstration)

4 comments

0

Forgot to mention this in the OP. Sorry. The part is infact in a Script, but it is running in the workspace. I'll try running it in the ServerScriptService and report back.

0

^ Misunderstanding. I meant that i will try running it on the server.

0

^^ I don't see a way to make it work with physics, however.

0

^^^ Wow, fourth comment. I found in another post that it is easier to use RunService.

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