_G.boost = true
while _G.boost do wait()
---------------------- Locals ----------------------
local workspace = game:GetService("Workspace")
local gems = workspace.Factory.Gems
local number = game:GetService("Players").LocalPlayer.Stats.GemUpgrade1.Value
local actnumber = number+1
local boolean = false
---------------------- Destroy Gem Model ----------------------
for i,v in pairs(gems:GetChildren()) do
v:Remove()
end
---------------------- Boost and Collect ----------------------
game:GetService("ReplicatedStorage").Events.BoostGem:FireServer()
game:GetService("ReplicatedStorage").Events.CollectGem:FireServer(actnumber, boolean)
end