I didn't write my script well

I need an idea so that I can get the processor speed and not lag next to that device
and adjust the loading speed based on that
but I didn’t go the right way and I heard that using this service shows more FPS than I have. Is this true?
What exactly do you think I should do?

just use StatsService

Short answer to the above:

local FPS = 1/game.Stats.FrameTime
print(FPS)

Post your codes with the <> option.. Takes more time to add a picture and I’m tooooo lazy to transfer that for testing..