Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plane = script.Parent
- local rootPart = plane.PlaneBase
- local lv = rootPart.LinearVelocity
- lv.MaxForce = math.huge
- local startPnt = Vector3.new(0, 200, 1000)
- local finishPnt = Vector3.new(0, 200, -1000)
- plane:PivotTo(CFrame.new(startPnt))
- for i=0, 25, 1 do
- wait(1)
- lv.VectorVelocity = (finishPnt - startPnt).Unit * (5*i)
- end
- wait(2)
- for i, v in pairs(plane:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- wait(3)
- plane:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement