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

How to I Check for a parts position in an "If Statement"?

I'm trying to make a "Debounce=True" be fired only if the position of a part is correct. So I'm wondering how to check the part's position.

1 answer

It's pretty simple:

if part.Vector3 == part.Vector3 then
	Debounce = true
end

Or at least I think this should work.

2 comments

0

No it does not work :(

0

You could also try doing "if part.Vector3.Y == part.Vector3.Y and part.Vector3.X == part.Vector3.X and part.Vector3.Z = part.Vector3.Z then"

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