--// https://discord.gg/ptgHJTmzhC --// Thank you to our supporters :) --// If you use this in anything credit us _G.ping = 300 --// Ping (ms) you want to display, wont be exact --// Ignore \\-- _G.ping = _G.ping / 1000 --// Changes the ping value to the correct format, ms if not _G.exec then _G.exec = 0 end _G.exec = _G.exec + 1 if _G.exec >= 2 then warn("[valor] User Executed x2 - Updating Ping") return end --// Just stops the user from executing twice, interfearing with the actual ping changer local replicated = game:GetService("ReplicatedStorage") local main = replicated:WaitForChild("MainEvent") local mt = getrawmetatable(game) setreadonly(mt, false) local old = mt.__namecall local block = true mt.__namecall = function(self, ...) local args = {...} local method = getnamecallmethod() if method == "FireServer" and self == main and args[1] == "GetPing" then if block and not checkcaller() then warn("[valor] Blocking Ping Call") return end end return old(self, ...) end task.spawn(function() while true do block = true block = false main:FireServer("GetPing", _G.ping) block = true task.wait(_G.ping) end end)