Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
localPlayer = Players.LocalPlayer
localPlayer:():()
localPlayer.PlayerGui.WatruckExecutorGUI:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = localPlayer:()
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Parent = screenGui
dragZone = .()
dragZone.Name =
dragZone.Size = .(, , , )
dragZone.Position = .(, , , )
dragZone.BackgroundTransparency =
dragZone.Active =
dragZone.Parent = mainFrame
topBarLabel = .()
topBarLabel.Name =
topBarLabel.Size = .(, , , )
topBarLabel.Position = .(, , , )
topBarLabel.BackgroundColor3 = .(, , )
topBarLabel.TextColor3 = .(, , )
topBarLabel.Text =
topBarLabel.Font = .Font.SourceSansBold
topBarLabel.TextSize =
topBarLabel.Parent = mainFrame
whitePanel = .()
whitePanel.Name =
whitePanel.Size = .(, , , )
whitePanel.Position = .(, , , )
whitePanel.BackgroundColor3 = .(, , )
whitePanel.BorderSizePixel =
whitePanel.Parent = mainFrame
page1 = .()
page1.Size = .(, , , )
page1.BackgroundTransparency =
page1.Visible =
page1.Parent = mainFrame
scriptEditorBox = .()
scriptEditorBox.Name =
scriptEditorBox.Size = .(, , , )
scriptEditorBox.Position = .(, , , )
scriptEditorBox.BackgroundColor3 = .(, , )
scriptEditorBox.BorderSizePixel =
scriptEditorBox.TextColor3 = .(, , )
scriptEditorBox.Text =
scriptEditorBox.PlaceholderText =
scriptEditorBox.Font = .Font.Code
scriptEditorBox.TextSize =
scriptEditorBox.TextXAlignment = .TextXAlignment.Left
scriptEditorBox.TextYAlignment = .TextYAlignment.Top
scriptEditorBox.ClearTextOnFocus =
scriptEditorBox.MultiLine =
scriptEditorBox.Parent = page1
executeButton = .()
executeButton.Name =
executeButton.Size = .(, , , )
executeButton.Position = .(, , , )
executeButton.BackgroundColor3 = .(, , )
executeButton.TextColor3 = .(, , )
executeButton.Text =
executeButton.Font = .Font.SourceSansBold
executeButton.TextSize =
executeButton.Parent = page1
page2 = .()
page2.Size = .(, , , )
page2.BackgroundTransparency =
page2.Visible =
page2.Parent = mainFrame
tutorialLabel = .()
tutorialLabel.Size = .(, , , )
tutorialLabel.Position = .(, , , )
tutorialLabel.BackgroundTransparency =
tutorialLabel.TextColor3 = .(, , )
tutorialLabel.Text =
tutorialLabel.Font = .Font.SourceSansBold
tutorialLabel.TextSize =
tutorialLabel.TextXAlignment = .TextXAlignment.Left
tutorialLabel.TextYAlignment = .TextYAlignment.Top
tutorialLabel.Parent = page2
page3 = .()
page3.Size = .(, , , )
page3.BackgroundTransparency =
page3.Visible =
page3.Parent = mainFrame
updateLabel = .()
updateLabel.Size = .(, , , )
updateLabel.Position = .(, , , )
updateLabel.BackgroundTransparency =
updateLabel.TextColor3 = .(, , )
updateLabel.Text =
updateLabel.Font = .Font.SourceSansItalic
updateLabel.TextSize =
updateLabel.Parent = page3
pages = {page1, page2, page3}
(index)
i, page (pages)
page.Visible = (i == index)
i = ,
navButton = .()
navButton.Size = .(, , , )
navButton.Position = .(, + (i-)*, , )
navButton.BackgroundColor3 = .(, , )
navButton.TextColor3 = .(, , )
navButton.Text = .. i
navButton.Font = .Font.SourceSansBold
navButton.TextSize =
navButton.Parent = mainFrame
navButton.MouseButton1Click:(()
(i)
)
warningLabel = .()
warningLabel.Name =
warningLabel.Size = .(, , , )
warningLabel.Position = .(, , , )
warningLabel.BackgroundColor3 = .(, , )
warningLabel.TextColor3 = .(, , )
warningLabel.Text =
warningLabel.Font = .Font.SourceSans
warningLabel.TextSize =
warningLabel.TextXAlignment = .TextXAlignment.Left
warningLabel.Parent = mainFrame
dragging, dragInput, dragStart, startPos
(input)
delta = input.Position - dragStart
mainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
dragZone.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
dragZone.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
(input)
)
executeButton.MouseButton1Click:(()
codeToRun = scriptEditorBox.Text
codeToRun codeToRun ~=
success, func = (, codeToRun)
success func
.(func)
()
)

Universal