Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local screenGui = Instance.new()
screenGui.Parent = playerGui
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.Parent = screenGui
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.Parent = mainFrame
titleText = .()
titleText.Size = .(, -, , )
titleText.Position = .(, , , )
titleText.Text =
titleText.TextColor3 = .(, , )
titleText.TextSize =
titleText.TextXAlignment = .TextXAlignment.Left
titleText.BackgroundTransparency =
titleText.Parent = titleBar
speedInputBox = .()
speedInputBox.Size = .(, , , )
speedInputBox.Position = .(, -, , -)
speedInputBox.PlaceholderText =
speedInputBox.Text =
speedInputBox.Parent = mainFrame
changeSpeedButton = .()
changeSpeedButton.Size = .(, , , )
changeSpeedButton.Position = .(, -, , )
changeSpeedButton.Text =
changeSpeedButton.Parent = mainFrame
closeButton = .()
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.Text =
closeButton.BackgroundColor3 = .(, , )
closeButton.Parent = titleBar
()
speedValue = (speedInputBox.Text)
speedValue
player.Character.Humanoid.WalkSpeed = speedValue
()
changeSpeedButton.MouseButton1Click:(changeSpeed)
closeButton.MouseButton1Click:(()
screenGui:()
)
dragging, dragInput, dragStart, startPos
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = mainFrame.Position
)
titleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement dragging
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
titleBar.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
)
HI

Universal