bananaz x
Key RequiredUniversal

bananaz x

Universal ScriptBananazBananaz 825 views 31 executesUpdated Dec 20, 2025
Unrated
00
Lua Script•229 lines (8077 chars)
-- BANANAZ GUI - A yellow-themed Roblox executor GUI with mobile support
-- This is a LocalScript (place in StarterPlayerScripts or inject via your executor)
-- Features: Draggable main frame, script editor, execute/clear buttons, script hub with example scripts, minimize/close, toggle key (Insert)
-- Mobile-friendly: Uses Scale for sizing/positioning, large touch targets, UI constraints for responsiveness

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "BananasGUI"
screenGui.ResetOnSpawn = false
screenGui.IgnoreGuiInset = true  -- Better for mobile (avoids topbar overlap)
screenGui.Parent = playerGui

-- Main Frame (Yellow theme)
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0.5, 0, 0.6, 0)  -- Responsive scale
mainFrame.Position = UDim2.new(0.25, 0, 0.2, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 0)  -- Bright yellow
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true  -- Draggable on PC and works on mobile with touch
mainFrame.Parent = screenGui

-- Corner rounding
local mainCorner = Instance.new("UICorner")
mainCorner.CornerRadius = UDim.new(0, 12)
mainCorner.Parent = mainFrame

-- Title Bar
local titleBar = Instance.new("Frame")
titleBar.Name = "TitleBar"
titleBar.Size = UDim2.new(1, 0, 0, 40)
titleBar.BackgroundColor3 = Color3.fromRGB(255, 215, 0)  -- Gold yellow
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 12)
titleCorner.Parent = titleBar

local titleLabel = Instance.new("TextLabel")
titleLabel.Name = "Title"
titleLabel.Size = UDim2.new(0.6, 0, 1, 0)
titleLabel.Position = UDim2.new(0, 10, 0, 0)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "BANANAZ GUI 🍌"
titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextSize = 24
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
titleLabel.Parent = titleBar

-- Close Button
local closeButton = Instance.new("TextButton")
closeButton.Name = "Close"
closeButton.Size = UDim2.new(0, 30, 0, 30)
closeButton.Position = UDim2.new(1, -40, 0, 5)
closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
closeButton.Text = "X"
closeButton.TextColor3 = Color3.new(1, 1, 1)
closeButton.Font = Enum.Font.GothamBold
closeButton.TextSize = 20
closeButton.Parent = titleBar

local closeCorner = Instance.new("UICorner")
closeCorner.CornerRadius = UDim.new(0, 8)
closeCorner.Parent = closeButton

-- Minimize Button
local minimizeButton = Instance.new("TextButton")
minimizeButton.Name = "Minimize"
minimizeButton.Size = UDim2.new(0, 30, 0, 30)
minimizeButton.Position = UDim2.new(1, -80, 0, 5)
minimizeButton.BackgroundColor3 = Color3.fromRGB(255, 165, 0)
minimizeButton.Text = "-"
minimizeButton.TextColor3 = Color3.new(1, 1, 1)
minimizeButton.Font = Enum.Font.GothamBold
minimizeButton.TextSize = 28
minimizeButton.Parent = titleBar

local minCorner = Instance.new("UICorner")
minCorner.CornerRadius = UDim.new(0, 8)
minCorner.Parent = minimizeButton

-- Script Editor (Scrolling)
local editorFrame = Instance.new("ScrollingFrame")
editorFrame.Size = UDim2.new(1, -20, 1, -100)
editorFrame.Position = UDim2.new(0, 10, 0, 50)
editorFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 150)
editorFrame.BorderSizePixel = 2
editorFrame.BorderColor3 = Color3.new(0, 0, 0)
editorFrame.ScrollBarThickness = 10
editorFrame.Parent = mainFrame

local editorCorner = Instance.new("UICorner")
editorCorner.CornerRadius = UDim.new(0, 8)
editorCorner.Parent = editorFrame

local scriptBox = Instance.new("TextBox")
scriptBox.Size = UDim2.new(1, -10, 1, 0)
scriptBox.Position = UDim2.new(0, 5, 0, 0)
scriptBox.MultiLine = true
scriptBox.ClearTextOnFocus = false
scriptBox.Text = "-- Welcome to BANANAZ GUI!\n-- Paste your script here and press Execute\nprint('Hello from Bananaz! 🍌')"
scriptBox.TextColor3 = Color3.new(0, 0, 0)
scriptBox.BackgroundTransparency = 1
scriptBox.Font = Enum.Font.Code
scriptBox.TextSize = 18
scriptBox.TextXAlignment = Enum.TextXAlignment.Left
scriptBox.TextYAlignment = Enum.TextYAlignment.Top
scriptBox.Parent = editorFrame

-- Buttons Frame
local buttonsFrame = Instance.new("Frame")
buttonsFrame.Size = UDim2.new(1, -20, 0, 40)
buttonsFrame.Position = UDim2.new(0, 10, 1, -50)
buttonsFrame.BackgroundTransparency = 1
buttonsFrame.Parent = mainFrame

-- Execute Button
local executeBtn = Instance.new("TextButton")
executeBtn.Size = UDim2.new(0.45, 0, 1, 0)
executeBtn.Position = UDim2.new(0, 0, 0, 0)
executeBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
executeBtn.Text = "Execute"
executeBtn.TextColor3 = Color3.new(0, 0, 0)
executeBtn.Font = Enum.Font.GothamBold
executeBtn.TextSize = 24
executeBtn.Parent = buttonsFrame

local execCorner = Instance.new("UICorner")
execCorner.CornerRadius = UDim.new(0, 10)
execCorner.Parent = executeBtn

-- Clear Button
local clearBtn = Instance.new("TextButton")
clearBtn.Size = UDim2.new(0.45, 0, 1, 0)
clearBtn.Position = UDim2.new(0.55, 0, 0, 0)
clearBtn.BackgroundColor3 = Color3.fromRGB(255, 140, 0)
clearBtn.Text = "Clear"
clearBtn.TextColor3 = Color3.new(0, 0, 0)
clearBtn.Font = Enum.Font.GothamBold
clearBtn.TextSize = 24
clearBtn.Parent = buttonsFrame

local clearCorner = Instance.new("UICorner")
clearCorner.CornerRadius = UDim.new(0, 10)
clearCorner.Parent = clearBtn

-- Script Hub Button (Extra feature)
local hubBtn = Instance.new("TextButton")
hubBtn.Size = UDim2.new(1, 0, 0, 40)
hubBtn.Position = UDim2.new(0, 0, 1, -100)
hubBtn.BackgroundColor3 = Color3.fromRGB(255, 220, 0)
hubBtn.Text = "Script Hub (Examples)"
hubBtn.TextColor3 = Color3.new(0, 0, 0)
hubBtn.Font = Enum.Font.Gotham
hubBtn.TextSize = 20
hubBtn.Parent = mainFrame

local hubCorner = Instance.new("UICorner")
hubCorner.CornerRadius = UDim.new(0, 10)
hubCorner.Parent = hubBtn

-- Functionality
local minimized = false

closeButton.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)

minimizeButton.MouseButton1Click:Connect(function()
    minimized = not minimized
    if minimized then
        TweenService:Create(mainFrame, TweenInfo.new(0.3), {Size = UDim2.new(0.5, 0, 0, 40)}):Play()
        minimizeButton.Text = "+"
    else
        TweenService:Create(mainFrame, TweenInfo.new(0.3), {Size = UDim2.new(0.5, 0, 0.6, 0)}):Play()
        minimizeButton.Text = "-"
    end
end)

executeBtn.MouseButton1Click:Connect(function()
    local script = scriptBox.Text
    if script ~= "" then
        local func, err = loadstring(script)
        if func then
            func()
        else
            warn("Execute Error: " .. err)
        end
    end
end)

clearBtn.MouseButton1Click:Connect(function()
    scriptBox.Text = ""
end)

-- Example Script Hub (click to load examples)
hubBtn.MouseButton1Click:Connect(function()
    local examples = {
        "Infinite Yield" = [[loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()]],
        "Simple Fly" = [[loadstring(game:HttpGet("https://pastebin.com/raw/someflyscript"))()]],  -- Replace with real if desired
        "ESP Example" = [[-- Basic ESP placeholder\nprint("ESP loaded!")]],
    }
    -- Simple popup choice (you can expand this)
    scriptBox.Text = examples["Infinite Yield"] or "-- Choose an example!"
end)

-- Toggle GUI with Insert key (PC) - works on mobile if you add a toggle button, but Insert not available
UserInputService.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.Insert then
        mainFrame.Visible = not mainFrame.Visible
    end
end)

-- Auto-resize editor content
scriptBox:GetPropertyChangedSignal("Text"):Connect(function()
    editorFrame.CanvasSize = UDim2.new(0, 0, 0, scriptBox.TextBounds.Y + 20)
end)

print("BANANAZ GUI Loaded! 🍌🍌🍌 Press Insert to toggle.")

Features & Information

banana
#universal

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts