while wait(2)do local v=tick()script.Parent.PingRemote:InvokeServer()local f=((tick()-v)/2)*1000 local q=string.format("\037\100 \109\115",f*2)script.Parent.Text=q end


while wait(2) do
	local t = tick()
	script.Parent.PingRemote:InvokeServer()
	local ping = ((tick() - t) / 2) * 1000 -- time it takes in milliseconds
	local txt = string.format("%d ms", ping * 2)
	script.Parent.Text = txt
end

