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

Script isn't working, what is the problem? Is the syntax checker broken?

Asked by 3 years ago
local door = script.Parent.MainDoor
local cone = script.Parent.Cone
local clicker = script.Parent.Button.E

local ts = game:GetService("TweenService")

local goal = Vector3.new(324.867, 26.776, -338.133)
local launchgoal = Vector3.new(316.249, -2275.023, -338.125)

local info = TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 0, false, 0)
local info2 = TweenInfo.new(50, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut, 0, false, 8)

local go = ts:Create(door, info, {Position = goal})
local launch = ts:Create(cone, info2, {position = launchgoal})

function onLaunch()
    clicker:Destroy()
    --script.Parent.Inside.Sounds.Alarm:Play()
    --wait(50.102)
    script.Parent.Inside.Sounds.S:Play()
    wait(7)
    go:Play()
    script.Parent.BoardingDock.Anchored = false
    wait(2)
    script.Parent.Inside.Sounds.RocketSound:Play()
    wait(2)
    launch:Play()
end

clicker.Triggered:Connect(onLaunch)

i wonder what's the problem, it doesn't say it has any problems, however it still doesn't work

0
Is this a server or client script? COUNTYL1MITS 312 — 3y
0
@Vong25 its an original script which parent is a model of an escape pod Mister33j 86 — 3y
0
No, but he's asking whether its a local, or server script Xyternal 247 — 3y
0
he said its an original script i believe he means server Xapelize 2658 — 3y
0
oh, ok Xyternal 247 — 3y

Answer this question