ADVERTISEMENTREMOVE ADS

Speed boost gui | MOBILE AND PC SUPPORT

Universal script
9 months ago
Script preview thumbnail
Script Preview

Description

Speed boost for games, you can use this gui to make more speed.

SET SPEED AGAIN IF YOU DIE, OTHER WISE IT WONT WORK

ADVERTISEMENTREMOVE ADS
67 Lines • 2.28 KiB
Raw
-- Create a simple GUI
local player = game:GetService("Players").LocalPlayer
local screenGui = Instance.new("ScreenGui", game.CoreGui)
local frame = Instance.new("Frame", screenGui)
local title = Instance.new("TextLabel", frame)
local textBox = Instance.new("TextBox", frame)
local button = Instance.new("TextButton", frame)
local uiCornerFrame = Instance.new("UICorner", frame)
local uiCornerTextBox = Instance.new("UICorner", textBox)
local uiCornerButton = Instance.new("UICorner", button)
-- Frame Properties
screenGui.Name = "SpeedBoostGUI"
frame.Size = UDim2.new(0, 300, 0, 200)
frame.Position = UDim2.new(0.5, -150, 0.5, -100)
frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.Active = true
frame.Draggable = true
-- Title Properties
title.Size = UDim2.new(1, 0, 0, 40)
title.Position = UDim2.new(0, 0, 0, 0)
title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Text = "Speed Boost GUI"
title.TextScaled = true
title.Font = Enum.Font.GothamBold
title.BorderSizePixel = 0
-- TextBox Properties
textBox.Size = UDim2.new(0.8, 0, 0, 40)
textBox.Position = UDim2.new(0.1, 0, 0.4, 0)
textBox.PlaceholderText = "Enter Speed"
textBox.Text = ""
textBox.TextScaled = true
textBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
textBox.TextColor3 = Color3.fromRGB(255, 255, 255)
textBox.Font = Enum.Font.Gotham
textBox.BorderSizePixel = 0
-- Button Properties
button.Size = UDim2.new(0.8, 0, 0, 40)
button.Position = UDim2.new(0.1, 0, 0.7, 0)
button.Text = "Set Speed"
button.TextScaled = true
button.BackgroundColor3 = Color3.fromRGB(70, 130, 180)
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Font = Enum.Font.GothamBold
button.BorderSizePixel = 0
-- Function to update speed
local function updateSpeed()
local speed = tonumber(textBox.Text)
if speed then
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
humanoid.WalkSpeed = speed
print("Speed set to: " .. speed)
else
warn("Invalid speed entered. Please enter a valid number.")
end
end
-- Connect button click to update speed
button.MouseButton1Click:Connect(updateSpeed)
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS