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

Why doesn't it go animated and only teleports?

fgate = game.Workspace.Gate1
click = script.Parent

click.ClickDetector.MouseClick:Connect(function(on)
for 1,10,0.2 do
fgate.CFrame = CFrame.new() -- position is has to get to at the end
end

1 comment

0

I want it to go animated, can anyone help?

1 answer

It's almost like you're not trying at all, but first you need to get the first position and second position. Then you can do a tweeningservice from position1 to position 2

1 comment

0

@shanelaw12 I am a big noob at this, and I don't have any ideas yet, but thanks!

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