so I want to make a part that moves every 0.1 second.
I used this script, it was 100% parented to the part
local Part = script.Parent
while true do
Part.Position = Part.Position + Vector3.new(1,0,0)
wait(0.1)
end
It does not work, How do I make it work?
1 Like
PokeDB99
(PokeDB)
#2
Just tested it, there is nothing wrong with the script. I think you might have the part anchored.
Anchoring would not make this script not work, perhaps you have a reference error or are completely referencing the wrong thing
No, it is not because of that, position is just a property, and I also unanchored the part, still not working
PokeDB99
(PokeDB)
#5
I tried your script with the part unanchored and it worked, I tried it anchored and it worked. Iām not quite sure what the problem is.
1 Like
It worked when i moved the part up and then down again
Weird maybe it had something to do with a weld, but then again idk if that affects setting the position
maybe the part was inside of the baseplate? idk