
Keyless

--// Made by _OpenSource_
local player = game:GetService("Players").LocalPlayer
local RunService = game:GetService("RunService")
--// Character
local function getChar()
local char = player.Character or player.CharacterAdded:Wait()
return char, char:WaitForChild("Humanoid"), char:WaitForChild("HumanoidRootPart")
end
local char, humanoid, root = getChar()
--// GUI
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "ModernSpeedGUI"
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 240, 0, 140)
frame.Position = UDim2.new(0.4, 0, 0.4, 0)
frame.BackgroundColor3 = Color3.fromRGB(18,18,18)
frame.Active = true
frame.Draggable = true
-- Rounded corners
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)
-- Outline
local stroke = Instance.new("UIStroke", frame)
stroke.Color = Color3.fromRGB(60,60,60)
stroke.Thickness = 1.5
-- Title
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 35)
title.Text = "Made by _OpenSource_"
title.BackgroundTransparency = 1
title.TextColor3 = Color3.fromRGB(200,200,200)
title.Font = Enum.Font.GothamBold
title.TextSize = 14
-- Button
local button = Instance.new("TextButton", frame)
button.Size = UDim2.new(1, -20, 0, 50)
button.Position = UDim2.new(0, 10, 0, 60)
button.Text = "Inf Speed: OFF"
button.BackgroundColor3 = Color3.fromRGB(30,30,30)
button.TextColor3 = Color3.new(1,1,1)
button.Font = Enum.Font.GothamSemibold
button.TextSize = 16
Instance.new("UICorner", button).CornerRadius = UDim.new(0, 10)
local btnStroke = Instance.new("UIStroke", button)
btnStroke.Color = Color3.fromRGB(70,70,70)
--// Vars
local enabled = false
local speed = 9e9
local connection
--// TPWalk
local function startTPWalk()
connection = RunService.RenderStepped:Connect(function()
if humanoid.MoveDirection.Magnitude > 0 then
root.CFrame = root.CFrame + (humanoid.MoveDirection * speed)
end
end)
end
local function stopTPWalk()
if connection then
connection:Disconnect()
connection = nil
end
end
--// Toggle
button.MouseButton1Click:Connect(function()
enabled = not enabled
if enabled then
button.Text = "Inf Speed: ON"
button.BackgroundColor3 = Color3.fromRGB(0,170,127)
startTPWalk()
else
button.Text = "Inf Speed: OFF"
button.BackgroundColor3 = Color3.fromRGB(30,30,30)
stopTPWalk()
end
end)
--// Respawn Fix
player.CharacterAdded:Connect(function()
char, humanoid, root = getChar()
if enabled then
startTPWalk()
end
end)No comments yet for this script.