
KeylessUniversal

-- GUNBOT FINAL - BOTONES 70px AL LADO DERECHO SIN SHAKE
if getgenv().GunbotLoaded then return end
getgenv().GunbotLoaded = true
local player = game.Players.LocalPlayer
local cam = workspace.CurrentCamera
-- PON TUS ANIM IDS AQUÍ
local GUNSHOT_ANIM_ID = "rbxassetid://121573002971812"
local MINIGUN_ANIM_ID = "rbxassetid://131501910953361"
-- =====================================
local function setup()
local char = player.Character or player.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
-- Cargar anim RELEASE
local anim1 = Instance.new("Animation")
anim1.AnimationId = GUNSHOT_ANIM_ID
local gunTrack = hum:LoadAnimation(anim1)
gunTrack.Looped = false
-- Cargar anim MINIGUN
local anim2 = Instance.new("Animation")
anim2.AnimationId = MINIGUN_ANIM_ID
local miniTrack = hum:LoadAnimation(anim2)
miniTrack.Looped = false
-- GUI
local gui = player.PlayerGui:FindFirstChild("GunbotGUI")
if gui then gui:Destroy() end
gui = Instance.new("ScreenGui")
gui.Name = "GunbotGUI"
gui.ResetOnSpawn = false
gui.Parent = player.PlayerGui
-- Función para texto arcoiris
local function rainbowText(btn)
task.spawn(function()
local hue = 0
while btn.Parent do
hue = (hue + 2) % 360
btn.TextColor3 = Color3.fromHSV(hue/360, 1, 1)
task.wait(0.05)
end
end)
end
-- Botón CIRCULAR RELEASE - 70px pegado a la derecha
local shootBtn = Instance.new("TextButton")
shootBtn.Size = UDim2.new(0, 70, 0, 70)
shootBtn.Position = UDim2.new(1, -80, 0.7, -80) -- pegado al borde derecho
shootBtn.Text = "RELEASE\nGUN\nAND SHOT"
shootBtn.Font = Enum.Font.GothamBold
shootBtn.TextScaled = true
shootBtn.BackgroundColor3 = Color3.fromRGB(200, 30, 70)
shootBtn.BorderSizePixel = 0
shootBtn.Parent = gui
local corner1 = Instance.new("UICorner")
corner1.CornerRadius = UDim.new(1, 0)
corner1.Parent = shootBtn
rainbowText(shootBtn)
-- Botón CIRCULAR MINIGUN - 70px arriba del RELEASE
local miniBtn = Instance.new("TextButton")
miniBtn.Size = UDim2.new(0, 70, 0, 70)
miniBtn.Position = UDim2.new(1, -80, 0.7, -160) -- 80px arriba del otro
miniBtn.Text = "MINIGUN"
miniBtn.Font = Enum.Font.GothamBold
miniBtn.TextScaled = true
miniBtn.BackgroundColor3 = Color3.fromRGB(30, 100, 200)
miniBtn.BorderSizePixel = 0
miniBtn.Parent = gui
local corner2 = Instance.new("UICorner")
corner2.CornerRadius = UDim.new(1, 0)
corner2.Parent = miniBtn
rainbowText(miniBtn)
local shooting = false
-- RELEASE GUN AND SHOT
shootBtn.MouseButton1Click:Connect(function()
if shooting then return end
shooting = true
print("[GUNBOT] RELEASE AND SHOT activado")
hum.WalkSpeed = 5
local ok, err = pcall(function()
gunTrack:Play()
gunTrack.Stopped:Wait()
end)
if not ok then
warn("[GUNBOT] Error anim: "..err)
end
hum.WalkSpeed = 15
shooting = false
end)
-- MINIGUN
miniBtn.MouseButton1Click:Connect(function()
if shooting then return end
shooting = true
print("[GUNBOT] MINIGUN activado")
hum.WalkSpeed = 0
local ok, err = pcall(function()
miniTrack:Play()
miniTrack.Stopped:Wait()
end)
if not ok then
warn("[GUNBOT] Error anim: "..err)
end
hum.WalkSpeed = 15
shooting = false
end)
end
setup()
getgenv().GunbotLoaded = player.CharacterAdded:Connect(setup)No comments yet for this script.



