I am wanting to make a gui that shows the FPS(Frames Per Second) on it. I have no idea how to do it.
local fps = 0 game:GetService("RunService").RenderStepped:connect(function() fps = fps + 1 end) while true do wait(1) ---------- Below is what you should edit ---------- print(fps) -- This prints how many frames you get per second. ------------------------------------------------------------- fps = 0 end
Place that in a LocalScript and it'll print how many frames per second you get.
local FPS = game.Workspace:GetRealPhysicsFPS()
This isn't tested in game yet! But i used one myself