local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") if playerGui:FindFirstChild("ColetorImortalGui") then playerGui.ColetorImortalGui:Destroy() end local sg = Instance.new("ScreenGui") sg.Name = "Collect Gui" sg.ResetOnSpawn = false sg.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 120) frame.Position = UDim2.new(0.1, 0, 0.1, 0) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 2 frame.Active = true frame.Draggable = true frame.Parent = sg local title = Instance.new("TextLabel") title.Size = UDim2.new(0, 160, 0, 30) title.Position = UDim2.new(0, 10, 0, 0) title.Text = "easy coins" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.BackgroundTransparency = 1 title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = frame local minBtn = Instance.new("TextButton") minBtn.Size = UDim2.new(0, 30, 0, 30) minBtn.Position = UDim2.new(1, -35, 0, 0) minBtn.Text = "-" minBtn.TextColor3 = Color3.fromRGB(255, 255, 255) minBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) minBtn.Parent = frame local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 180, 0, 60) toggleBtn.Position = UDim2.new(0, 10, 0, 45) toggleBtn.Text = "OFF" toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = toggleBtn toggleBtn.Parent = frame local minimizado = false minBtn.MouseButton1Click:Connect(function() minimizado = not minimizado if minimizado then frame.Size = UDim2.new(0, 200, 0, 30) toggleBtn.Visible = false minBtn.Text = "+" else frame.Size = UDim2.new(0, 200, 0, 120) toggleBtn.Visible = true minBtn.Text = "-" end end) local ligado = false toggleBtn.MouseButton1Click:Connect(function() ligado = not ligado if ligado then toggleBtn.Text = "On" toggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50) else toggleBtn.Text = "Off" toggleBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) end end) task.spawn(function() while true do task.wait(0.01) if ligado then pcall(function() local coinsFolder = workspace:FindFirstChild("Coins") if coinsFolder then local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart then for _, item in pairs(coinsFolder:GetChildren()) do if not ligado then break end pcall(function() if item and (item.Name == "Coin" or item.Name == "RainbowCoin") then if item:IsA("RemoteEvent") then item:FireServer() elseif item:IsA("BasePart") and item.Parent then firetouchinterest(rootPart, item, 0) task.wait() if item and item.Parent then firetouchinterest(rootPart, item, 1) end end end end) end end end end) end end end)