-- Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")
local Workspace = game:GetService("Workspace")

-- Objects
local tablicaMala = Workspace:WaitForChild("czasmaly")
local centralMala = tablicaMala:WaitForChild("Central")
local tablicaMain = Workspace:WaitForChild("maintablica")
local centralMain = tablicaMain:WaitForChild("Central")

-- Colors
local COLOR_GREEN = Color3.new(0.117647, 0.192157, 0.129412)
local COLOR_BLACK = Color3.new(0.0666667, 0.0666667, 0.0666667)

-- Events
local PlayerReady = ReplicatedStorage:WaitForChild("PlayerReady")
local Loaded = ReplicatedStorage:WaitForChild("Loaded")
local FrontDoors = ReplicatedStorage:WaitForChild("FrontDoors")
local BrigadeEvent = ReplicatedStorage:WaitForChild("1")
local brigadaTemplate = ServerStorage:WaitForChild("1")
local function enableBrigadeScripts(brigade)
	if not brigade:IsA("Model") then return end
	for _, subModel in ipairs(brigade:GetChildren()) do
		if subModel:IsA("Model") then
			for _, item in ipairs(subModel:GetChildren()) do
				if item.Name == "Script" and item:IsA("Script") then
					item.Enabled = true
				end
			end
		end
	end
end
Loaded.OnServerEvent:Connect(function(player)
	if not player then return end
	local function updateUI()
		centralMain.SurfaceGui.Start.BG1.Visible = false
		task.wait(3)
		centralMain.Color = COLOR_GREEN
		task.wait(1)
		centralMain.SurfaceGui.Start.BG2.Visible = true
	end
	local function spawnBrigade()
		local brigadeClone = brigadaTemplate:Clone()
		brigadeClone.Parent = Workspace:WaitForChild("brygady")
		enableBrigadeScripts(brigadeClone)
		return brigadeClone
	end
	updateUI()
	task.wait(7)
	FrontDoors:FireClient(player)
	task.wait(0.05)
	local currentBrigade = spawnBrigade()
	BrigadeEvent.OnServerEvent:Connect(function(triggerPlayer)
		if triggerPlayer ~= player then return end
		FrontDoors:FireClient(player)
		ReplicatedStorage.GLRL_GORA:FireClient(triggerPlayer)
		if currentBrigade then
			wait(3)
			currentBrigade:Destroy()
		end
		local gracz1UI = centralMain.SurfaceGui.Start.BG2.Starting.gracz1
		gracz1UI.Visible = true
		task.wait(7)
		gracz1UI.Visible = false
		ReplicatedStorage.GLRL_D:FireClient(triggerPlayer)
		local spawnFolder = game.Workspace.SpawnyGLRL
		local spawnp = spawnFolder:GetChildren()
		if #spawnp == 0 then
			warn("No spawn points found in SpawnyGLRL!")
			return
		end
		ReplicatedStorage.ToggleDayPlan:FireAllClients("SHOW")
		wait(0.5)
		local randomIndex = math.random(1, #spawnp)
		local randomSpawn = spawnp[randomIndex]
		local character = triggerPlayer.Character
		if character and character:FindFirstChild("HumanoidRootPart") then
			local humanoidRootPart = character.HumanoidRootPart
			humanoidRootPart.CFrame = randomSpawn.CFrame * CFrame.new(0, 1, 0)
		else
			warn("Character not found or missing HumanoidRootPart")
		end
		wait(0.5)
		ReplicatedStorage.ToggleDayPlan:FireAllClients("HIDE")
		local clone_chmur = ServerStorage.chmuren:Clone()
		clone_chmur.Parent = game.Workspace.GL_RL
wait(2)
		ReplicatedStorage.GLRL_GORA:FireClient(triggerPlayer)
		wait(10)
		ReplicatedStorage.GLRL_D:FireClient(triggerPlayer)
		game.Workspace.GL_RL.SquidGame.SquidGameServer.Enabled = true
		triggerPlayer.PlayerGui.RLGL.Frame.Visible = true
		ReplicatedStorage.GLRL_GORA:FireClient(triggerPlayer)
		wait(3)
		game.Workspace.GL_RL.chmuren:Destroy()
		centralMain.SurfaceGui.Start.BG1.Visible = false
		centralMain.SurfaceGui.Start.BG.Visible = true
	end)
end)


could you make like after this:
"ReplicatedStorage.GLRL_D:FireClient(triggerPlayer)"

like if player is in "waitingpart_gl_rl" in workspace then it like health = 0