
37.0k Views
288 Executions
Speedometer kmph and mph
Universal Script 📌
bhullarsukhman244First script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
This is an speedometer made by me it supports kmph/mph
Updates
Script edited: Create script
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
-- UI Setup
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
local speedLabel = Instance.new("TextLabel", screenGui)
local uiGradient = Instance.new("UIGradient", speedLabel)
local uiCorner = Instance.new("UICorner", speedLabel)
local uiStroke = Instance.new("UIStroke", speedLabel)
speedLabel.Size = UDim2.new(0, 300, 0, 70)
speedLabel.Position = UDim2.new(0.5, -150, 0, 50)
speedLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
speedLabel.TextColor3 = Color3.new(1, 1, 1)
speedLabel.Font = Enum.Font.GothamBold
speedLabel.TextSize = 30
speedLabel.Text = "Speed: 0 km/h | 0 mph"
speedLabel.Active = true
speedLabel.Draggable = true
-- UI Enhancements
uiGradient.Color = ColorSequence.new{
ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 150)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 180, 255))
}
uiGradient.Rotation = 45
uiCorner.CornerRadius = UDim.new(0, 15)
uiStroke.Thickness = 2
uiStroke.Color = Color3.fromRGB(255, 255, 255)
-- Speed Calculation with Faster Decay
local lastPosition = character.HumanoidRootPart.Position
local speedHistory = {}
local historySize = 5 -- Reduced history size for quicker response
local function averageSpeed()
local total = 0
for _, speed in ipairs(speedHistory) do









@vxsty LMFAO FR
"made by me" are you sure its not chatgpt
what is this script for?