Can someone help? I have this script. And the part moves for like.. 4 times? then it just stops. no output. nothing. help?
script:
local BP = script.Parent.BodyPosition
while true do
BP.Position = script.Parent.Parent:WaitForChild('Start').Position
wait(2)
BP.Position = script.Parent.Parent:WaitForChild('End').Position
wait(2)
end
Can somebody help? I need it to move it move it,, move It move it. move it move it. move it move it.

3 comments
i think that because youre using waitforchild it might have waited and gotten the wrong child and then errored if it got destroyed. just a theory
Correct, but why is it getting destroyed?
well what happens to 'Start' and 'End'? i was assuming that you were destroying them