#Can someone explain what i am doing wrong

8 messages · Page 1 of 1 (latest)

rich vapor
#

if script.Parent.Position == Vector3(839.248,216.034,545.958)
then
script.Parent.Foreward.Enabled = false
end

#

in this script im trying to make it so that once it has reached

#

a certain position

#

then another script disables

#

what im trying to figure out is how to properly get the vector3

obsidian yew
#

youll need to take into account imprecisions, the chance the object will be exactly there is very slim. you can try rounding each XYZ, then comparing that. Also, you forgot to do Vector3.new(), you just did Vector3()

rich vapor
#

oh ok

#

thank you