-- toggle pause event

local togglePauseEvent = replicatedStorage.Events.TogglePause
togglePauseEvent.OnServerEvent:Connect((function(player, paused)
	Paused = paused
	togglePauseEvent:FireAllClients(Paused)
end))
