-- change timer event

local changeTimerEvent = replicatedStorage.Events.ChangeTimer
changeTimerEvent.OnServerEvent:Connect((function(player, timer)
	timer = tonumber(timer)
	if typeof(timer) ~= "number" then
		return
	end
	Timer = timer
	changeTimerEvent:FireAllClients(timer)
end))
