Run it
Copy the script and paste it into your executor.
-- Speedometer Script V3 (Fixed)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character
local humanoidRootPart
local useMPH = false
local function setupCharacter(char)
character = char
humanoidRootPart = character:()
player.Character
(player.Character)
player.CharacterAdded:(setupCharacter)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
frame = .()
frame.Size = .(, )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = screenGui
.(, frame).CornerRadius = .(, )
speedLabel = .()
speedLabel.Size = .(, -, , )
speedLabel.Position = .(, , , )
speedLabel.BackgroundTransparency =
speedLabel.TextColor3 = .(, , )
speedLabel.TextScaled =
speedLabel.Font = .Font.GothamBold
speedLabel.Text =
speedLabel.Parent = frame
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.TextScaled =
toggleButton.Font = .Font.GothamMedium
toggleButton.Text =
toggleButton.Parent = frame
.(, toggleButton).CornerRadius = .(, )
toggleButton.MouseButton1Click:(()
useMPH = useMPH
useMPH
toggleButton.Text =
toggleButton.Text =
)
RunService.RenderStepped:(()
humanoidRootPart
velocity = humanoidRootPart.AssemblyLinearVelocity
studsPerSecond = velocity.Magnitude
kmh = studsPerSecond * *
mph = studsPerSecond * *
useMPH
speedLabel.Text = .(, mph)
speedLabel.Text = .(, kmh)
)basically just a speedometer at the bottom of your screen that measures how fast you go in mph or kmh edit: i reworked the whole script

Universal