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

Global events through local scripts?

Asked by 6 years ago

Morning, SB!

script.Parent.launch.MouseButton1Click:connect(function()

    while CountDown > 0 do
        CountDown = CountDown - 1
        script.Parent.ImageLabel.COUNT.Text = CountDown
        wait(2)
    end

    script.Parent.ImageLabel.COUNT.Text = "WE HAVE LIFT-OFF"

    game.ReplicatedStorage:WaitForChild("workspaceEvents").rockets.launch:FireServer()
end)

How may I execute this as a global event, while it is in a local script (If this is possible.)

All help appreciated!

2
What exactly do you mean by "global event"? Like, what do you want happen globally? Le_Teapots 913 — 6y
0
I want the countdown to be displayed globally. AntonioVillavicencio 0 — 6y

Answer this question