I have been trying to figure out how to kick anyone using an FPS Unlocker.
I have only thought about this solution.
local fps = -what ever I put here-
if fps => 60 then
--code
end
Is there anything wrong with this way of detecting an FPS Unlocker? If there is something wrong, are there any other method?
Why would you want to kick people using an fps unlocker? If it breaks your code, than fix it.
1 Like
Thats irrelevant. Iâd probably change it to just display a warning or something like that.
Are there any other methods? You basically just repeated my example.
You could look at the posts from these:
QUESTION
How could i get the players Frames per second trough a local script?
Any answers are appreciated.
Im not asking for the shift f5.
Youâre repeating my example again. Iâm asking if there is another way OTHER than checking the FPS.
No, that is the only way to get client fps.
That DOES NOT work. Framerate and PhysicsFPS is different. Physics FPS will never surpass 60.
Also, donât. do. anything. just. because. someone. uses. a. FPS. Unlocker.
To get framerate basically do this:
local runService = game:GetService("RunService")
local fps = 60
runService.RenderStepped:Connect(function(delta)
fps = delta / 1
end)
And so you can add a if statement inside this connection to check if fps is higher than a certain number.
4 Likes
I donât care about people using FPS Unlockers, I use them myself. I just wanted to learn methods of detecting them. Also, is there any other method other than checking FPS?
See the edit above.
However, you might wanna have a higher minimum to detect a FPS unlocker, like 95 FPS to think itâs using a FPS unlocker.
Is checking the FPS the only method of detecting an FPS Unlocker?
Wouldnât dividing delta by 1 just return itself?
Yes pretty much. No other way sadly.
Oh yeah, itâs not step / 1,
itâs 1 / step
instead.
I think you want 1/delta. aeiou
How do FPS Unlockers even remove/alter the FPS cap?
I donât really know, I did see whoever made it on Github say it was âundetectable by roblox unless they heavily change âsomethingââ.
But as a Roblox Developer, this should be the only way.
Another way to check is check if framerate stays too consistent and itâs not 60. I donât know exactly. Youâre better to compare framerate to a number.
Iâd say it removes or alters a function(s) at the software level.
1 Like
cpguy5089
(cpguy5089)
April 7, 2021, 1:36am
#20
I know games like New User Machine (above players heads) and Plane Crazy (!fps command) have ingame FPS counters, maybe you should ask the devs of those how they find the FPS.
If you read through the post youâd know that I was asking for a different method.
Yeah.
Also, I know thereâs better (but usually more complex and slower) methods on this topic, which give higher accuracy as to that.