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

How can it seem like flying?

So, I want to make a Part that will be able to "fly". What I mean is that it will slowly move to a position and then to another and another later when it comes back the loop will start again. Give me clues of what to use.

2 answers

✓ Accepted answer

Start of by moving and experimenting where the block could go eg:

-- script.Parent = Part (The thing you want moving)

Part = script.Parent

for i = 1,100 do
Part.CFrame = Part.CFrame +Vector3.new(0, 0, 0)
wait(0.05)
end

--Experiment by putting numbers where "0, 0, 0" is

If you want to rotate it do this:

Part = script.Parent

for i = 1,100 do
Part.CFrame = Part.CFrame *CFrame.Angles(0, 0, 0)
wait(0.05)
end

1 comment

0

So the only way is doing it with CFrame. I thought if I could just set the position I want it to go and it wil move the smoothly

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