local HideHDAdminExecute = Instance.new("ScreenGui") local TextLabel = Instance.new("TextLabel") local Frame = Instance.new("Frame") local TextBox = Instance.new("TextBox") local UIStroke = Instance.new("UIStroke") local TextButton = Instance.new("TextButton") local UIStroke_2 = Instance.new("UIStroke") local UICorner = Instance.new("UICorner") HideHDAdminExecute.Name = "Hide HD Admin Execute" HideHDAdminExecute.Parent = game.CoreGui TextLabel.Parent = HideHDAdminExecute TextLabel.BackgroundColor3 = Color3.fromRGB(50, 38, 37) TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0.0694444478, 0, 0.384313732, 0) TextLabel.Size = UDim2.new(0, 257, 0, 26) TextLabel.ZIndex = 2 TextLabel.Font = Enum.Font.Roboto TextLabel.Text = "Hide HD Admin Execute (Can drag it)" TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.TextSize = 14.000 TextLabel.TextWrapped = true Frame.Parent = TextLabel Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0, 0, 1, 0) Frame.Size = UDim2.new(0, 257, 0, 72) TextBox.Parent = Frame TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextBox.BackgroundTransparency = 1.000 TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0) TextBox.BorderSizePixel = 0 TextBox.Position = UDim2.new(0.0310077518, 0, 0.0789473653, 0) TextBox.Size = UDim2.new(0, 240, 0, 21) TextBox.Font = Enum.Font.Code TextBox.PlaceholderText = "Write the command here (Make sure to add \"; \" at the beginning)" TextBox.Text = "" TextBox.TextColor3 = Color3.fromRGB(255, 255, 255) TextBox.TextScaled = true TextBox.TextSize = 14.000 TextBox.TextWrapped = true TextBox.ClearTextOnFocus = false UIStroke.Parent = TextBox UIStroke.Color = Color3.fromRGB(255, 255, 255) UIStroke.Transparency = 0.700 UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextButton.BackgroundTransparency = 1.010 TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton.BorderSizePixel = 0 TextButton.Position = UDim2.new(0.0310077518, 0, 0.589327514, 0) TextButton.Size = UDim2.new(0, 240, 0, 21) TextButton.Font = Enum.Font.Arial TextButton.Text = "Execute" TextButton.TextColor3 = Color3.fromRGB(255, 255, 255) TextButton.TextSize = 14.000 UIStroke_2.Parent = TextButton UIStroke_2.Color = Color3.fromRGB(255, 255, 255) UIStroke_2.Transparency = 0.700 UIStroke_2.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UICorner.CornerRadius = UDim.new(0, 4) UICorner.Parent = TextButton local function SZEN_script() local script = Instance.new('LocalScript', TextButton) script.Parent.MouseButton1Click:Connect(function() local text = script.Parent.Parent.TextBox.Text game.ReplicatedStorage.HDAdminHDClient.Signals.RequestCommandSilent:InvokeServer(text) end) end coroutine.wrap(SZEN_script)() local function IXMO_script() local script = Instance.new('LocalScript', TextLabel) local UserInputService = game:GetService("UserInputService") local runService = (game:GetService("RunService")); local gui = script.Parent local dragging local dragInput local dragStart local startPos function Lerp(a, b, m) return a + (b - a) * m end; local lastMousePos local lastGoalPos local DRAG_SPEED = (8); function Update(dt) if not (startPos) then return end; if not (dragging) and (lastGoalPos) then gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED)) return end; local delta = (lastMousePos - UserInputService:GetMouseLocation()) local xGoal = (startPos.X.Offset - delta.X); local yGoal = (startPos.Y.Offset - delta.Y); lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal) gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED)) end; gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position lastMousePos = UserInputService:GetMouseLocation() input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) runService.Heartbeat:Connect(Update) end coroutine.wrap(IXMO_script)()