local gui = Instance.new("ScreenGui", game.
CoreGui)
gui.Name = "BuildAPlaneGui"
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 400, 0, 300)
frame.Position = UDim2.new(0.5, -200, 0.5, -150)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.Active = true
frame.Draggable = true
local tabHolder = Instance.new("Frame", frame)
tabHolder.Size = UDim2.new(1, 0, 0, 30)
tabHolder.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
local pageHolder = Instance.new("Frame", frame)
pageHolder.Position = UDim2.new(0, 0, 0, 30)
pageHolder.Size = UDim2.new(1, 0, 1, -30)
pageHolder.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
local function makeTab(name, order)
local btn = Instance.new("TextButton", tabHolder)
btn.Size = UDim2.new(0, 130, 1, 0)
btn.Position = UDim2.new(0, (order - 1) * 130, 0, 0)
btn.Text = name
btn.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
btn.TextColor3 = Color3.new(1, 1, 1)
btn.TextSize = 14
return btn
end
local function makePage()
local p = Instance.new("Frame", pageHolder)
p.Size = UDim2.new(1, 0, 1, 0)
p.Visible = false
p.BackgroundTransparency = 1
return p
end
local function switchTo(pages, selected)
for i, page in pairs(pages) do
page.Visible = false
end
selected.Visible = true
end
local mainTab = makeTab("Main", 1)
local mainPage = makePage()
local explorerPage = makePage()
local explorerTab
local pages = {mainPage}
local player = game.Players.LocalPlayer
if string.find(player.DisplayName, "Explorer") then
explorerTab = makeTab("Explorer Only", 2)
table.insert(pages, explorerPage)
end
mainTab.MouseButton1Click:Connect(function()
switchTo(pages, mainPage)
end)
if explorerTab then
explorerTab.MouseButton1Click:Connect(function()
switchTo(pages, explorerPage)
end)
end
mainPage.Visible = true
local inputBox = Instance.new("TextBox", mainPage)
inputBox.PlaceholderText = "Studs (default 500000000)"
inputBox.Text = ""
inputBox.Size = UDim2.new(0, 300, 0, 40)
inputBox.Position = UDim2.new(0, 50, 0, 40)
inputBox.TextSize = 16
inputBox.TextColor3 = Color3.new(1, 1, 1)
inputBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
local tip = Instance.new("TextLabel", mainPage)
tip.Size = UDim2.new(1, 0, 0, 20)
tip.Position = UDim2.new(0, 0, 0, 10)
tip.Text = "by JandleBallz/TheExplorerBacon (owner): Launch Your Plane First"
tip.TextColor3 = Color3.new(1, 1, 0)
tip.BackgroundTransparency = 1
tip.TextSize = 14
local button = Instance.new("TextButton", mainPage)
button.Text = "Get Cash"
button.Size = UDim2.new(0, 200, 0, 40)
button.Position = UDim2.new(0, 100, 0, 100)
button.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
button.TextColor3 = Color3.new(1, 1, 1)
button.TextSize = 16
button.MouseButton1Click:Connect(function()
local value = tonumber(inputBox.Text)
if not value then value = 500000000 end
local char = player.Character
if char and char:FindFirstChild("HumanoidRootPart") then
local hrp = char.HumanoidRootPart
hrp.CFrame = hrp.CFrame + hrp.CFrame.LookVector * value
end
task.delay(2.1, function()
pcall(function()
game:GetService("ReplicatedStorage").Remotes.LaunchEvents.Return:FireServer()
end)
end)
end)
if explorerTab then
local execBox = Instance.new("TextBox", explorerPage)
execBox.Size = UDim2.new(0, 320, 0, 120)
execBox.Position = UDim2.new(0, 40, 0, 40)
execBox.Text = ""
execBox.TextWrapped = true
execBox.TextYAlignment = Enum.TextYAlignment.Top
execBox.ClearTextOnFocus = false
execBox.TextSize = 14
execBox.TextColor3 = Color3.new(1, 1, 1)
execBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
local execBtn = Instance.new("TextButton", explorerPage)
execBtn.Text = "Execute"
execBtn.Size = UDim2.new(0, 120, 0, 35)
execBtn.Position = UDim2.new(0, 140, 0, 180)
execBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
execBtn.TextColor3 = Color3.new(1, 1, 1)
execBtn.TextSize = 14
execBtn.MouseButton1Click:Connect(function()
local code = execBox.Text
pcall(function()
loadstring(code)()
end)
end)
end
Video: https://www.youtube.com/watch?v=umko7LkdDbU