Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local StarterGui = game:GetService("StarterGui")
local UserInputService = game:GetService("UserInputService")
local colors = {
Color3.fromRGB(255, 0, 0),
Color3.fromRGB(255, 165, 0),
Color3.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , )
}
colorIndex =
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
head = character:()
fpsLabel = .()
fpsLabel.Parent = head
fpsLabel.Size = .(, , , )
fpsLabel.StudsOffset = .(, , )
fpsTextLabel = .()
fpsTextLabel.Parent = fpsLabel
fpsTextLabel.Size = .(, , , )
fpsTextLabel.TextColor3 = .(, , )
fpsTextLabel.BackgroundTransparency =
fpsTextLabel.TextScaled =
(fps)
.(, .(fps + ))
lastFrameTime = ()
frameCount =
RunService.RenderStepped:(()
currentTime = ()
frameCount +=
currentTime - lastFrameTime >=
fps = frameCount / (currentTime - lastFrameTime)
fpsTextLabel.Text = (fps)
frameCount =
lastFrameTime = currentTime
)
UserInputService.InputBegan:((inputObject)
inputObject.KeyCode == .KeyCode.F
fpsLabel.Enabled = fpsLabel.Enabled
)
StarterGui:(.CoreGuiType.All, )
fpsTextLabel.TextColor3 = colors[colorIndex]
colorIndex = colorIndex % #colors +
()

Universal