From 0004faf54489efa9c6f0bb5bbbcad16508f3c812 Mon Sep 17 00:00:00 2001 From: Bl4ise <168727017+Bl4ise@users.noreply.github.com> Date: Thu, 2 May 2024 13:06:10 +0200 Subject: [PATCH] Update RateLimit.luau --- src/Index/Util/RateLimit.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Index/Util/RateLimit.luau b/src/Index/Util/RateLimit.luau index cc11320..e0dd8ed 100644 --- a/src/Index/Util/RateLimit.luau +++ b/src/Index/Util/RateLimit.luau @@ -16,7 +16,7 @@ function RateLimit.create(Identifier: string, entrance: number?, interval: numbe task.spawn(function() repeat task.wait(0.5) - until Event:GetAttribute(Identifier.."_ent") or Event:GetAttribute(Identifier.."_int") + until (Event:GetAttribute(Identifier.."_ent") and Event:GetAttribute(Identifier.."_int")) entrance = tonumber(Event:GetAttribute(Identifier.."_ent")) interval = tonumber(Event:GetAttribute(Identifier.."_int"))