Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --
- --
- local player = game.Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local screenGui = Instance.new("ScreenGui")
- screenGui.Parent = playerGui
- --
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 300, 0, 250)
- frame.Position = UDim2.new(0.5, -150, 0.5, -125)
- frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- frame.BackgroundTransparency = 0.5
- frame.Parent = screenGui
- frame.Active = true
- frame.Draggable = true
- --
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Text = "Made by DEIXE or Mr. Showcaser"
- titleLabel.Size = UDim2.new(1, 0, 0.2, 0)
- titleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- titleLabel.TextSize = 18
- titleLabel.Parent = frame
- --
- local speedTextBox = Instance.new("TextBox")
- speedTextBox.PlaceholderText = "Enter Speed (e.g. 50)"
- speedTextBox.Size = UDim2.new(1, 0, 0.3, 0)
- speedTextBox.Position = UDim2.new(0, 0, 0.2, 0)
- speedTextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- speedTextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
- speedTextBox.TextSize = 18
- speedTextBox.Parent = frame
- --
- local speedButton = Instance.new("TextButton")
- speedButton.Text = "Go Fast Now!"
- speedButton.Size = UDim2.new(1, 0, 0.3, 0)
- speedButton.Position = UDim2.new(0, 0, 0.5, 0)
- speedButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- speedButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- speedButton.TextSize = 20
- speedButton.Parent = frame
- --Mr_showcaser was here H
- speedButton.MouseButton1Click:Connect(function()
- local speedInput = speedTextBox.Text
- local speedValue = tonumber(speedInput)
- -- If the input is a valid number
- if speedValue then
- local character = player.Character
- if character and character:FindFirstChild("Humanoid") then
- local humanoid = character.Humanoid
- humanoid.WalkSpeed = speedValue
- end
- else
- --
- speedTextBox.Text = "Invalid speed!"
- wait(2)
- speedTextBox.Text = "Enter Speed (e.g. 50)"
- end
- end)
- -- subscribeđ H
- wait(10)
- local character = player.Character
- if character and character:FindFirstChild("Humanoid") then
- local humanoid = character.Humanoid
- humanoid.WalkSpeed = 16 -- This is the normal speed
- end
Advertisement
Add Comment
Please, Sign In to add comment