Universal Script ๐Ÿ“Œ
56 Views
533 Executions

SPS Speedometer

Universal Script ๐Ÿ“Œ
literallytim
literallytimFirst script
5 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

puts a speedometer ui on the bottom right of screen

View Raw
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "Speedometer"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, 80)
frame.Position = UDim2.new(1, -210, 1, -90)
frame.AnchorPoint = Vector2.new(1, 1)
frame.BackgroundColor3 = Color3.fromRGB(10, 10, 15)
frame.BackgroundTransparency = 0.3
frame.BorderSizePixel = 0
frame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = frame

local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(0, 255, 150)
stroke.Thickness = 1.5
stroke.Transparency = 0.4
stroke.Parent = frame

local currentLabel = Instance.new("TextLabel")
currentLabel.Size = UDim2.new(1, 0, 0.6, 0)
currentLabel.BackgroundTransparency = 1
currentLabel.TextColor3 = Color3.fromRGB(0, 255, 150)
currentLabel.TextScaled = true
currentLabel.Font = Enum.Font.GothamBold
currentLabel.Text = "0 SPS"
currentLabel.Parent = frame

local peakLabel = Instance.new("TextLabel")
peakLabel.Size = UDim2.new(1, 0, 0.4, 0)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
5.6M
1.2M
Bumped 1 hour ago
Key System
Universal Script ๐Ÿ“Œ
1.9k
6.7k
Bumped 3 hours ago
Script hub
23.3k
4.9k
Bumped 5 hours ago
Key System
Paid
High Qualityย Offering
Script hub
4.1M
545.8k
Bumped 5 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow #1 *OP*

Universal Script ๐Ÿ“Œ
14.2k
56.2k
Bumped 9 hours ago
High Qualityย Offering
Script hub
2.9M
976.1k
Bumped 9 hours ago
Key System
Universal Script ๐Ÿ“Œ
9.2k
211.7k
Bumped 10 hours ago
Script hub
86.8k
363.8k
Bumped 10 hours ago
Key System