view fps on roblox code example
Example: roblox how to get player fps
local RunService = game:GetService("RunService")
local current_fps = 0
RunService.RenderStepped:Connect(function()
current_fps += 1
wait(1)
current_fps -= 1
end)
local RunService = game:GetService("RunService")
local current_fps = 0
RunService.RenderStepped:Connect(function()
current_fps += 1
wait(1)
current_fps -= 1
end)