local C={}C.__index=C function C.new()local s={}setmetatable(s,C)s.flag=0 s.lastTime=0 return s end function C.check(C,s,p)if os.clock()-C.lastTime<(p and 1)then if s<=C.flag then C.lastTime=os.clock()return false end C.flag=C.flag+1 else C.flag=0 end C.lastTime=os.clock()return true end function C.destroy(C)C.flag=nil C.lastTime=nil end function C.Destroy(C)return C:destroy()end return C
-- Decompiled with the Synapse X Luau decompiler.

local v1 = {}
v1.__index = v1
function v1.new()
	local v2 = {}
	setmetatable(v2, v1)
	v2.flag = 0
	v2.lastTime = 0
	return v2
end
function v1.check(p1, p2, p3)
	if os.clock() - p1.lastTime < (p3 and 1) then
		if p2 <= p1.flag then
			p1.lastTime = os.clock()
			return false
		end
		p1.flag = p1.flag + 1
	else
		p1.flag = 0
	end
	p1.lastTime = os.clock()
	return true
end
function v1.destroy(p4)
	p4.flag = nil
	p4.lastTime = nil
end
function v1.Destroy(p5)
	return p5:destroy()
end
return v1
