-- Bananaz Executor GUI Script (Updated for Mobile Dragging) -- Now fully draggable on both PC and mobile/touch devices -- Uses Roblox's built-in UIDragDetector (introduced 2024) for smooth, native dragging support local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "BananazGUI" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Main Frame (yellow banana theme) local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 600, 0, 400) mainFrame.Position = UDim2.new(0.5, -300, 0.5, -200) mainFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 0) -- Bright yellow mainFrame.BorderSizePixel = 0 mainFrame.BackgroundTransparency = 0.1 mainFrame.Parent = screenGui -- Corner radius local mainCorner = Instance.new("UICorner") mainCorner.CornerRadius = UDim.new(0, 12) mainCorner.Parent = mainFrame -- Title Bar (drag handle) local titleBar = Instance.new("Frame") titleBar.Size = UDim2.new(1, 0, 0, 50) titleBar.BackgroundColor3 = Color3.fromRGB(200, 200, 0) -- Darker yellow titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = titleBar -- Add UIDragDetector to titleBar for native dragging (works perfectly on mobile & PC) local dragDetector = Instance.new("UIDragDetector") dragDetector.Parent = titleBar -- Bananaz TextLabel (the "flying" logo) local logoLabel = Instance.new("TextLabel") logoLabel.Size = UDim2.new(0, 200, 0, 50) logoLabel.Position = UDim2.new(0.5, -100, 0, 0) logoLabel.BackgroundTransparency = 1 logoLabel.Text = "BANANAZ" logoLabel.TextColor3 = Color3.fromRGB(0, 0, 0) logoLabel.Font = Enum.Font.GothamBold logoLabel.TextSize = 36 logoLabel.Parent = titleBar -- Bouncing/Flying animation for the logo local bounceTweenUp = TweenService:Create(logoLabel, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out), {Position = UDim2.new(0.5, -100, 0, -20)}) local bounceTweenDown = TweenService:Create(logoLabel, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {Position = UDim2.new(0.5, -100, 0, 0)}) bounceTweenUp:Play() bounceTweenUp.Completed:Connect(function() bounceTweenDown:Play() end) bounceTweenDown.Completed:Connect(function() bounceTweenUp:Play() end) -- Orbiting Ball (small yellow ball orbiting around the logo) local ball = Instance.new("Frame") ball.Size = UDim2.new(0, 30, 0, 30) ball.BackgroundColor3 = Color3.fromRGB(255, 220, 0) -- Banana ball color ball.BorderSizePixel = 0 ball.Parent = titleBar local ballCorner = Instance.new("UICorner") ballCorner.CornerRadius = UDim.new(0.5, 0) ballCorner.Parent = ball -- Orbit animation (updated to use logo's position properly) RunService.RenderStepped:Connect(function() local time = tick() * 2 local offsetX = math.cos(time) * 80 local offsetY = math.sin(time) * 80 ball.Position = UDim2.new(0.5, offsetX - 15, 0, offsetY + 10) end) -- Script Editor (ScrollingFrame + TextBox) local editorFrame = Instance.new("ScrollingFrame") editorFrame.Size = UDim2.new(1, -20, 1, -120) editorFrame.Position = UDim2.new(0, 10, 0, 60) editorFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) editorFrame.BorderSizePixel = 0 editorFrame.ScrollBarThickness = 8 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, 0, 1, 0) scriptBox.BackgroundTransparency = 1 scriptBox.TextColor3 = Color3.fromRGB(255, 255, 255) scriptBox.Font = Enum.Font.Code scriptBox.TextSize = 18 scriptBox.MultiLine = true scriptBox.TextXAlignment = Enum.TextXAlignment.Left scriptBox.TextYAlignment = Enum.TextYAlignment.Top scriptBox.ClearTextOnFocus = false scriptBox.Text = "-- Paste your script here" scriptBox.Parent = editorFrame -- Buttons Frame local buttonsFrame = Instance.new("Frame") buttonsFrame.Size = UDim2.new(1, -20, 0, 50) buttonsFrame.Position = UDim2.new(0, 10, 1, -60) buttonsFrame.BackgroundTransparency = 1 buttonsFrame.Parent = mainFrame -- Execute Button local executeBtn = Instance.new("TextButton") executeBtn.Size = UDim2.new(0.5, -10, 1, 0) executeBtn.Position = UDim2.new(0, 0, 0, 0) executeBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 0) executeBtn.Text = "Execute" executeBtn.TextColor3 = Color3.new(1, 1, 1) executeBtn.Font = Enum.Font.GothamBold executeBtn.TextSize = 24 executeBtn.Parent = buttonsFrame local execCorner = Instance.new("UICorner") execCorner.CornerRadius = UDim.new(0, 8) execCorner.Parent = executeBtn executeBtn.MouseButton1Click:Connect(function() loadstring(scriptBox.Text)() end) -- Clear Button local clearBtn = Instance.new("TextButton") clearBtn.Size = UDim2.new(0.5, -10, 1, 0) clearBtn.Position = UDim2.new(0.5, 10, 0, 0) clearBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) clearBtn.Text = "Clear" clearBtn.TextColor3 = Color3.new(1, 1, 1) clearBtn.Font = Enum.Font.GothamBold clearBtn.TextSize = 24 clearBtn.Parent = buttonsFrame local clearCorner = Instance.new("UICorner") clearCorner.CornerRadius = UDim.new(0, 8) clearCorner.Parent = clearBtn clearBtn.MouseButton1Click:Connect(function() scriptBox.Text = "" end) print("Bananaz GUI loaded! Now fully draggable on mobile and PC thanks to UIDragDetector. Enjoy the banana vibes! 🍌")