Creating an FPS Gui not working for me

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Developing a lengthy-type obby (Difficulty Chart Obby)

  2. What is the issue? Include screenshots / videos if possible!
    Trying to make an fps gui if possible

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Looked at many youtube videos - none worked

I have tried scripts like this:


while true do
	wait()
	local FPSamnt = math.floor(workspace:GetRealPhysicsFPS())
	Label.Text = "FPS: "..FPSamnt
end

RobloxScreenShot20220110_162524884

Have you tried using this?

This should work

game:GetService("RunService").RenderStepped:Connect(function(TimeBetween)
	local FPSamnt = math.floor(1/TimeBetween)
	Label.Text = "FPS: "..FPSamnt
end)
1 Like