Advertisements
190 views
[UPD]💥Use Your Cannon For Money!
Quick Actions
Description
unlimited gems
Advertisements
Features
1 Feature
- INF Gems
76 lines•3811 bytes
--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/sMeAqZ4Z?v=1"))()end);--=== Does not affect the script ===---- 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)Quick Actions
Similar Scripts
King Legacy Script – Auto Farm, Kill Aura, Max Stats & Fruit Sniper
7927 months ago
Shovel It Haja Hub - Auto Dig, Auto Quests, Teleports & Auto Buy
7597 months ago
Tiny Empires Script – Autofarm, Auto Sell Crops, Auto Buy & Auto Collect
5657 months ago
Computer Incremental Script – Auto Farm, Auto Cash & Auto Upgrade
7877 months ago
Bees Roblox Script - Auto Catch, Auto Sell, Auto Mini Game
7536 months ago
Advertisements
Comments
0Did it work for you? Sign in to share your experience.
No comments yet
Tried it? Let others know if it works.