0% found this document useful (0 votes)
255 views3 pages

Bashsploit Level 8

Uploaded by

delontej073
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
255 views3 pages

Bashsploit Level 8

Uploaded by

delontej073
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

-- BashSploit Level 8 Executor Script with GUI

-- Create a new GUI


local gui = Instance.new("ScreenGui")
local mainFrame = Instance.new("Frame")
local title = Instance.new("TextLabel")
local executeButton = Instance.new("TextButton")
local codeBox = Instance.new("TextBox")
local outputBox = Instance.new("TextBox")
local clearButton = Instance.new("TextButton")
local themeButton = Instance.new("TextButton")
local themeToggle = false

-- Set up the GUI


gui.Name = "BashSploit Level 8"
mainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
mainFrame.Size = UDim2.new(0, 400, 0, 350)
mainFrame.Position = UDim2.new(0, 50, 0, 50)
title.Text = "BashSploit Level 8"
title.Font = Enum.Font.SourceSans
title.FontSize = Enum.FontSize.Size24
title.TextColor3 = Color3.new(1, 1, 1)
title.BackgroundColor3 = Color3.new(0, 0, 0)
title.Size = UDim2.new(0, 400, 0, 30)
title.Position = UDim2.new(0, 0, 0, 0)

executeButton.Text = "Execute"
executeButton.Font = Enum.Font.SourceSans
executeButton.FontSize = Enum.FontSize.Size18
executeButton.TextColor3 = Color3.new(1, 1, 1)
executeButton.BackgroundColor3 = Color3.new(0, 1, 0)
executeButton.Size = UDim2.new(0, 100, 0, 30)
executeButton.Position = UDim2.new(0, 300, 0, 0)

codeBox.Font = Enum.Font.SourceSans
codeBox.FontSize = Enum.FontSize.Size18
codeBox.TextColor3 = Color3.new(1, 1, 1)
codeBox.BackgroundColor3 = Color3.new(0, 0, 0)
codeBox.Size = UDim2.new(0, 370, 0, 200)
codeBox.Position = UDim2.new(0, 15, 0, 35)
codeBox.PlaceholderText = "Enter your code here..."
codeBox.MultiLine = true
codeBox.TextWrapped = true

outputBox.Font = Enum.Font.SourceSans
outputBox.FontSize = Enum.FontSize.Size18
outputBox.TextColor3 = Color3.new(1, 1, 1)
outputBox.BackgroundColor3 = Color3.new(0, 0, 0)
outputBox.Size = UDim2.new(0, 370, 0, 100)
outputBox.Position = UDim2.new(0, 15, 0, 240)
outputBox.PlaceholderText = "Output will appear here..."
outputBox.ReadOnly = true
outputBox.MultiLine = true
outputBox.TextWrapped = true

clearButton.Text = "Clear"
clearButton.Font = Enum.Font.SourceSans
clearButton.FontSize = Enum.FontSize.Size18
clearButton.TextColor3 = Color3.new(1, 1, 1)
clearButton.BackgroundColor3 = Color3.new(1, 0, 0)
clearButton.Size = UDim2.new(0, 100, 0, 30)
clearButton.Position = UDim2.new(0, 200, 0, 0)

themeButton.Text = "Toggle Theme"


themeButton.Font = Enum.Font.SourceSans
themeButton.FontSize = Enum.FontSize.Size18
themeButton.TextColor3 = Color3.new(1, 1, 1)
themeButton.BackgroundColor3 = Color3.new(0, 0, 1)
themeButton.Size = UDim2.new(0, 150, 0, 30)
themeButton.Position = UDim2.new(0, 150, 0, 0)

-- Add the GUI elements to the main frame


mainFrame.Parent = gui
title.Parent = mainFrame
executeButton.Parent = mainFrame
codeBox.Parent = mainFrame
outputBox.Parent = mainFrame
clearButton.Parent = mainFrame
themeButton.Parent = mainFrame

-- Set up the execute button


executeButton.MouseButton1Click:Connect(function()
-- Get the code from the text box
local code = codeBox.Text

-- Execute the code with Level 8 permissions


local function execute()
loadstring(code)()
end

-- Catch any errors that occur during execution


local success, errorMessage = pcall(execute)
if not success then
outputBox.Text = "Error: " .. errorMessage
else
outputBox.Text = "Code executed successfully with Level 8 permissions!"
end
end)
-- Set up the clear button
clearButton.MouseButton1Click:Connect(function()
codeBox.Text = ""
outputBox.Text = ""
end)

-- Set up the theme button


themeButton.MouseButton1Click:Connect(function()
if themeToggle then
mainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
title.BackgroundColor3 = Color3.new(0, 0, 0)
codeBox.BackgroundColor3 = Color3.new(0, 0, 0)
outputBox.BackgroundColor3 = Color3.new(0, 0, 0)
clearButton.BackgroundColor3 = Color3.new(1, 0, 0)
themeButton.BackgroundColor3 = Color3.new(0, 0, 1)
themeToggle = false
else
mainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
title.BackgroundColor3 = Color3.new(1, 1, 1)
codeBox.BackgroundColor3 = Color3.new(1, 1, 1)
outputBox.BackgroundColor3 = Color3.new(1, 1, 1)
clearButton.BackgroundColor3 = Color3.new(0, 1, 0)
themeButton.BackgroundColor3 = Color3.new(1, 0, 0)
themeToggle = true
end
end)

-- Parent the GUI to the player's screen


gui.Parent = game.Players.LocalPlayer.PlayerGui

You might also like