Ive tried body gyros and body position, ive also tried adding a humanoid to the part and using MoveTo()
In a Part, there is a property called Position
that can be modified with Vector3
which uses X, Y, and Z coordinates.
Example:
script.Parent.Position = script.Parent.Position + Vector3.new(0,0,0.1) --This moves the part 1/10th of a stud on the Z coordinate
You can read up more on Vector3
and the Position
property here:
http://wiki.roblox.com/index.php?title=API:Class/BasePart/Position
http://wiki.roblox.com/index.php?title=API:Vector3
If you want it to move to a position, you can try tween it. Or run a loop to every 0.1 seconds move it 0.1 studs or so to make it seem smooth.
Closed as Not Constructive by Goulstem
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?