The script is a local script, parented in a screen gui. Trying to get a GUI to appear when a player gets over 150 ping.
This is the script that I’m using
while wait(1) do
pcall(function()
if game:GetService("Workspace"):GetRealPhysicsFPS() > 60 then
if ShowAgain.Value == true then
PingAppear()
print("uh oh")
end
end
end)
end
Try putting this into StarterPlayerScripts, Should Fix it
_F = workspace:GetRealPhysicsFPS()
while task.wait(1) do
if _F >= 12 then -- Random Number
warn("Ping Higher than Normal: ", math.round(_F*10)/10)
else
print("good")
end
end