mirror of
				https://github.com/imezx/Warp.git
				synced 2025-10-31 02:09:18 +00:00 
			
		
		
		
	Update RateLimit.luau
This commit is contained in:
		
							parent
							
								
									0004faf544
								
							
						
					
					
						commit
						1355ef7d88
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -14,9 +14,9 @@ function RateLimit.create(Identifier: string, entrance: number?, interval: numbe | ||||||
| 		Event:SetAttribute(Identifier.."_int", interval) | 		Event:SetAttribute(Identifier.."_int", interval) | ||||||
| 	else | 	else | ||||||
| 		task.spawn(function() | 		task.spawn(function() | ||||||
| 			repeat  | 			while (not Event:GetAttribute(Identifier.."_ent") and not Event:GetAttribute(Identifier.."_int")) do | ||||||
| 				task.wait(0.5) | 				task.wait(0.5) | ||||||
| 			until (Event:GetAttribute(Identifier.."_ent") and Event:GetAttribute(Identifier.."_int")) | 			end | ||||||
| 			 | 			 | ||||||
| 			entrance = tonumber(Event:GetAttribute(Identifier.."_ent")) | 			entrance = tonumber(Event:GetAttribute(Identifier.."_ent")) | ||||||
| 			interval = tonumber(Event:GetAttribute(Identifier.."_int")) | 			interval = tonumber(Event:GetAttribute(Identifier.."_int")) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue