local LaunchButton = script.Parent.Click
local Missle = game.Workspace.Missle
local MissleFire = game.Workspace.Missle.Flame.Fire
local MissleSmoke = game.Workspace.Missle.Flame.Smoke
local AfterSmoke = game.Workspace.AfterSmoke.Smoke
local Platform = game.Workspace.Hatch
local Player = game.Players.LocalPlayer
local current = os.clock()
LaunchButton.MouseClick:Connect(function()
if os.clock() >= current then
current = os.clock() + 500
print("Timer Set")
wait(3)
game.Workspace.Sound.Alarm:Play()
wait(6)
game.Workspace.Sound.Hatch:Play()
for i = 0 , 1, 0.0001 do
wait()
Platform.PrimaryPart.CFrame = Platform.PrimaryPart.CFrame:Lerp(CFrame.new(-9.953, 1.144, -25.625), i)
end
print("Launch")
wait(5)
for i = 0 , 1, 0.1 do
wait()
Missle.PrimaryPart.CFrame = Missle.PrimaryPart.CFrame:Lerp(CFrame.new(-18.642, 743.625, -25.868), i)
end
end
end)
How do I get it to laucnh the missle after it opens, someone said use RocketPropulsion also.