Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can i create script vector3.new animation to this part? (gif)

Asked by 3 years ago
Edited 3 years ago

i want to make script that starts this bridge vector3.new animation, when target is shot by rocket launcher (gif) -> https://giphy.com/gifs/exm4zZl3Gzff1eyTJN

I have already done something like this, there is no errors in output, but its not working :/ (script is activating when rocket touches target, i need help with this brige only)

local one = game.Workspace.BridgeButtons.btns.Part

local Bridge1 = game.Workspace.BridgeButtons.Bridges.Part

one.Touched:Connect(function() 

                for i = 1, 400 do
                    wait(0.1)
                    Bridge1.Position = Bridge1.Position + Vector3.new(0, 0, 3)
                end

                wait()
end)

Answer this question