I don't know where to get the FPS from, but here's what I was thinking:
while true do script.Parent.TextLabel.Text = "FPS: "..WhereFPSIs end
I'm thinking it's in workspace.Camera
but maybe not.
Here is what you're looking for, you're welcome
wait(0.1) --// Settings local fpsGui = script.Parent local fpsFormat = "FPS: %.2f" local updateDelay = 0.5 --// Function function TrackFPS() while (true) do local fps = game.Workspace:GetRealPhysicsFPS() local fpsStr = fpsFormat:format(fps) fpsGui.Text = fpsStr wait(updateDelay) end end TrackFPS()
You can change all the settings but remember to change the loaction of the text as well (fpsGui)
If it worked , accept, thanks!