Find any script for Roblox

Enter the name of the game or script.

Use your Cannon for money script: INF Gems

More Use your Cannon for money Scripts code icon


Train your cannon skills to gain power in Use Your Cannon for Money! Fire through exciting landscapes, earning cash as you progress. Upgrade your cannon for more explosive power, unlock legendary auras that multiply your strength, and collect exclusive pets to enhance your shooting skills. With infinite gems, you can accelerate every upgrade, unlock every aura, and maximize your explosive empire without limits.

Game link: Use your Cannon for money

Table of Contents
    Lua
    
    -- Cannon Game
    local RS = game:GetService("ReplicatedStorage")
    local plr = game:GetService("Players").LocalPlayer
    local C = RS.Remotes.Currency.CurrencyUpdateEvent
    local RL = RS.Remotes.Launch.RequestLaunch
    local AFK = RS.Remotes.AFKRemote
    local E = {launch=false,power=false}
    
    pcall(function() plr.PlayerGui:FindFirstChild("CannonFGUI"):Destroy() end)
    local gui = Instance.new("ScreenGui"); gui.Name="CannonFGUI"; gui.ResetOnSpawn=false; gui.Parent=plr.PlayerGui
    
    local main = Instance.new("Frame"); main.Size=UDim2.new(0,220,0,130); main.Position=UDim2.new(0.5,-110,0,20)
    main.BackgroundColor3=Color3.fromRGB(15,15,25); main.BorderSizePixel=0; main.Parent=gui
    
    local dr,ds,sp
    main.InputBegan:Connect(function(i)
        if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then
            dr=true;ds=i.Position;sp=main.Position
            i.Changed:Connect(function() if i.UserInputState==Enum.UserInputState.End then dr=false end end)
        end
    end)
    game:GetService("UserInputService").InputChanged:Connect(function(i)
        if dr and (i.UserInputType==Enum.UserInputType.MouseMovement or i.UserInputType==Enum.UserInputType.Touch) then
            local d=i.Position-ds; main.Position=UDim2.new(sp.X.Scale,sp.X.Offset+d.X,sp.Y.Scale,sp.Y.Offset+d.Y)
        end
    end)
    
    local t=Instance.new("TextLabel",main); t.Size=UDim2.new(1,-30,0,25); t.BackgroundColor3=Color3.fromRGB(60,30,120)
    t.BorderSizePixel=0; t.Text=" Cannon Game"; t.TextColor3=Color3.fromRGB(220,220,220); t.TextSize=13; t.Font=Enum.Font.GothamBold; t.TextXAlignment=Enum.TextXAlignment.Left
    local x=Instance.new("TextButton",main); x.Size=UDim2.new(0,25,0,25); x.Position=UDim2.new(1,-27,0,0)
    x.BackgroundColor3=Color3.fromRGB(180,50,50); x.Text="X"; x.TextColor3=Color3.fromRGB(255,255,255); x.TextSize=12; x.Font=Enum.Font.GothamBold; x.BorderSizePixel=0
    x.MouseButton1Click:Connect(function() for k in pairs(E) do E[k]=false end; gui:Destroy() end)
    
    local cf=Instance.new("Frame",main); cf.Size=UDim2.new(1,-10,1,-30); cf.Position=UDim2.new(0,5,0,28); cf.BackgroundTransparency=1
    Instance.new("UIListLayout",cf).Padding=UDim.new(0,4)
    
    local function tog(name,key)
        local b=Instance.new("TextButton",cf); b.Size=UDim2.new(1,0,0,28)
        b.BackgroundColor3=Color3.fromRGB(40,40,55); b.Text=name..": OFF"
        b.TextColor3=Color3.fromRGB(200,200,200); b.TextSize=13; b.Font=Enum.Font.GothamBold; b.BorderSizePixel=0
        b.MouseButton1Click:Connect(function()
            E[key]=not E[key]
            b.BackgroundColor3=E[key] and Color3.fromRGB(60,30,120) or Color3.fromRGB(40,40,55)
            b.Text=name..": "..(E[key] and "ON" or "OFF")
        end)
    end
    
    local function btn(name,fn)
        local b=Instance.new("TextButton",cf); b.Size=UDim2.new(1,0,0,28)
        b.BackgroundColor3=Color3.fromRGB(40,40,55); b.Text=name
        b.TextColor3=Color3.fromRGB(200,200,200); b.TextSize=13; b.Font=Enum.Font.GothamBold; b.BorderSizePixel=0
        b.MouseButton1Click:Connect(function()
            pcall(fn)
            b.BackgroundColor3=Color3.fromRGB(30,120,30); b.Text=name.." [OK]"
            task.wait(1); b.BackgroundColor3=Color3.fromRGB(40,40,55); b.Text=name
        end)
    end
    
    btn("Inf Gems", function() C:FireServer("Gems", math.huge) end)
    tog("Auto Launch","launch")
    tog("Auto Power","power")
    
    task.spawn(function()
        while gui.Parent do
            for _ = 1, 10 do
                if E.launch then RL:FireServer() end
                if E.power then for i=1,7 do AFK:FireServer("Target"..i) end end
                if not (E.launch or E.power) then break end
            end
            task.wait(0.5)
        end
    end)
    
      

    Script Features:

    • INF Gems – Grants an unlimited amount of gems.
    • Script developer: …


    How to use Use your Cannon for money script?


    Important information:

    • All scripts are free.
    • All scripts are safe to use.
    • We do not have viruses or malware.

    Leave a Comment

    Your email address will not be published. Required fields are marked *