-- GUI
local Gui = Instance.new("ScreenGui")
Gui.Name = "Executor"
Gui.Parent = game.Players.LocalPlayer.PlayerGui
local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 350, 0, 420)
Frame.Position = UDim2.new(0.5, -175, 0.5, -210)
Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Frame.BorderSizePixel = 0
Frame.Parent = Gui
local FrameCorner = Instance.new("UICorner")
FrameCorner.CornerRadius = UDim.new(0, 12)
FrameCorner.Parent = Frame
-- Code runner
local CodeBox = Instance.new("TextBox")
CodeBox.Size = UDim2.new(0, 300, 0, 200)
CodeBox.Position = UDim2.new(0, 25, 0, 50)
CodeBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
CodeBox.TextColor3 = Color3.fromRGB(255, 255, 255)
CodeBox.BorderSizePixel = 0
CodeBox.MultiLine = true
CodeBox.ClearTextOnFocus = false
CodeBox.Parent = Frame
local CodeBoxCorner = Instance.new("UICorner")
CodeBoxCorner.CornerRadius = UDim.new(0, 8)
CodeBoxCorner.Parent = CodeBox
local ExecuteButton = Instance.new("TextButton")
ExecuteButton.Size = UDim2.new(0, 100, 0, 40)
ExecuteButton.Position = UDim2.new(0, 125, 0, 10)
ExecuteButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
ExecuteButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ExecuteButton.Text = "Execute"
ExecuteButton.BorderSizePixel = 0
ExecuteButton.Parent = Frame
local ExecuteButtonCorner = Instance.new("UICorner")
ExecuteButtonCorner.CornerRadius = UDim.new(0, 8)
ExecuteButtonCorner.Parent = ExecuteButton
-- Flying button
local FlyingButton = Instance.new("TextButton")
FlyingButton.Size = UDim2.new(0, 100, 0, 40)
FlyingButton.Position = UDim2.new(0, 10, 0, 270)
FlyingButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
FlyingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FlyingButton.Text = "Fly"
FlyingButton.BorderSizePixel = 0
FlyingButton.Parent = Frame
local FlyingButtonCorner = Instance.new("UICorner")
FlyingButtonCorner.CornerRadius = UDim.new(0, 8)
FlyingButtonCorner.Parent = FlyingButton
-- Walk speed button
local WalkSpeedButton = Instance.new("TextButton")
WalkSpeedButton.Size = UDim2.new(0, 100, 0, 40)
WalkSpeedButton.Position = UDim2.new(0, 120, 0, 270)
WalkSpeedButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
WalkSpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
WalkSpeedButton.Text = "Speed +"
WalkSpeedButton.BorderSizePixel = 0
WalkSpeedButton.Parent = Frame
local WalkSpeedButtonCorner = Instance.new("UICorner")
WalkSpeedButtonCorner.CornerRadius = UDim.new(0, 8)
WalkSpeedButtonCorner.Parent = WalkSpeedButton
-- Jump power button
local JumpPowerButton = Instance.new("TextButton")
JumpPowerButton.Size = UDim2.new(0, 100, 0, 40)
JumpPowerButton.Position = UDim2.new(0, 230, 0, 270)
JumpPowerButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
JumpPowerButton.TextColor3 = Color3.fromRGB(255, 255, 255)
JumpPowerButton.Text = "Jump +"
JumpPowerButton.BorderSizePixel = 0
JumpPowerButton.Parent = Frame
local JumpPowerButtonCorner = Instance.new("UICorner")
JumpPowerButtonCorner.CornerRadius = UDim.new(0, 8)
JumpPowerButtonCorner.Parent = JumpPowerButton
-- Kill all button
local KillAllButton = Instance.new("TextButton")
KillAllButton.Size = UDim2.new(0, 100, 0, 40)
KillAllButton.Position = UDim2.new(0, 10, 0, 320)
KillAllButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
KillAllButton.TextColor3 = Color3.fromRGB(255, 255, 255)
KillAllButton.Text = "Kill All"
KillAllButton.BorderSizePixel = 0
KillAllButton.Parent = Frame
local KillAllButtonCorner = Instance.new("UICorner")
KillAllButtonCorner.CornerRadius = UDim.new(0, 8)
KillAllButtonCorner.Parent = KillAllButton
-- Forcefield button
local ForcefieldButton = Instance.new("TextButton")
ForcefieldButton.Size = UDim2.new(0, 100, 0, 40)
ForcefieldButton.Position = UDim2.new(0, 120, 0, 320)
ForcefieldButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
ForcefieldButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ForcefieldButton.Text = "Forcefield"
ForcefieldButton.BorderSizePixel = 0
ForcefieldButton.Parent = Frame
local ForcefieldButtonCorner = Instance.new("UICorner")
ForcefieldButtonCorner.CornerRadius = UDim.new(0, 8)
ForcefieldButtonCorner.Parent = ForcefieldButton
-- Search bar
local SearchBar = Instance.new("TextBox")
SearchBar.Size = UDim2.new(0, 180, 0, 40)
SearchBar.Position = UDim2.new(0, 10, 0, 370)
SearchBar.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
SearchBar.TextColor3 = Color3.fromRGB(255, 255, 255)
SearchBar.BorderSizePixel = 0
SearchBar.PlaceholderText = "Player Name"
SearchBar.Parent = Frame
local SearchBarCorner = Instance.new("UICorner")
SearchBarCorner.CornerRadius = UDim.new(0, 8)
SearchBarCorner.Parent = SearchBar
-- Fling button
local FlingButton = Instance.new("TextButton")
FlingButton.Size = UDim2.new(0, 100, 0, 40)
FlingButton.Position = UDim2.new(0, 200, 0, 370)
FlingButton.BackgroundColor3 = Color3.fromRGB(240, 60, 120)
FlingButton.TextColor3 = Color3.fromRGB(255, 255, 255)
FlingButton.Text = "Fling"
FlingButton.BorderSizePixel = 0
FlingButton.Parent = Frame
local FlingButtonCorner = Instance.new("UICorner")
FlingButtonCorner.CornerRadius = UDim.new(0, 8)
FlingButtonCorner.Parent = FlingButton
-- Functions
local flying = false
FlyingButton.MouseButton1Click:Connect(function()
if flying then
flying = false
else
flying = true
while flying do
game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity = Vector3.new(0, 50, 0)
wait(0.1)
end
end
end)
local speed = 16
WalkSpeedButton.MouseButton1Click:Connect(function()
speed = speed + 10
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
end)
local jumpPower = 50
JumpPowerButton.MouseButton1Click:Connect(function()
jumpPower = jumpPower + 10
game.Players.LocalPlayer.Character.Humanoid.JumpPower = jumpPower
end)
ExecuteButton.MouseButton1Click:Connect(function()
loadstring(CodeBox.Text)()
end)
KillAllButton.MouseButton1Click:Connect(function()
for _, player in pairs(game.Players:GetPlayers()) do
if player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.Health = 0
end
end
end)
local forcefield
ForcefieldButton.MouseButton1Click:Connect(function()
if game.Players.LocalPlayer.Character then
if forcefield then
forcefield:Destroy()
forcefield = nil
else
forcefield = Instance.new("ForceField")
forcefield.Parent = game.Players.LocalPlayer.Character
end
end
end)
FlingButton.MouseButton1Click:Connect(function()
local targetName = SearchBar.Text
local targetPlayer = game.Players:FindFirstChild(targetName)
if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then
local target = targetPlayer.Character.HumanoidRootPart
local myCharacter = game.Players.LocalPlayer.Character
if myCharacter and myCharacter:FindFirstChild("HumanoidRootPart") then
local myRoot = myCharacter.HumanoidRootPart
target.Velocity = myRoot