Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I want a global event to happen through a local script, how?

local launch = script.Parent:WaitForChild("launch")

local Player = game.Players.LocalPlayer
local CountDown = 11
--local User = game.CreatorId

if Player.UserId == 51944675 then
    launch.Visible = true
end
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)

I want the countdown to be globally visible once the button is pressed.

	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"

How may I do this?

1 answer

If you're dealing with open servers or local scripts. Try enabling filterEnabled. Workspace>FilterEnabled>True

This discussion is preserved as it was. New answers, comments, and votes are closed.