|
| 29 Nov 2015 11:43 PM |
| How do you check for your ping? |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 30 Nov 2015 01:14 AM |
| remoteevents/remotefunctions |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 30 Nov 2015 02:05 AM |
Get tick Invoke a blank Remote function Get tick Tick diff is your ping |
|
|
| Report Abuse |
|
|
76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 30 Nov 2015 02:25 AM |
Wait wait...
but tick has nothing to do with ping?
It has some relevance to 1970 doesn't it?
I probably don't know what i'm talking about |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 30 Nov 2015 02:34 AM |
| Yes, you get the time it started and ended with tick, then substract. Other methods like workspace may be glitchy. You could probably also use os.time() |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2015 06:00 PM |
Wait so do I do firsttick - secondtick or do I do second - first. Also, when I did it, the numbers were like between 0 and 1. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 30 Nov 2015 06:03 PM |
Second - first Also they should be less than 1 because that's how many seconds. Multiply by 1000 to get your ms ping |
|
|
| Report Abuse |
|
|
CptJones
|
  |
| Joined: 15 Apr 2009 |
| Total Posts: 85 |
|
|
| 30 Nov 2015 06:03 PM |
| Shift + F5 will show ping and FPS, and lots off other data |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2015 06:05 PM |
Here is my script. I'm getting numbers like 0.05
while true do local firsttick = tick() game.Workspace.GetPing:InvokeServer() local secondtick = tick() script.Parent.Text = "Ping: "..(secondtick-firsttick) * 1000 wait(0.91) end |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 30 Nov 2015 06:06 PM |
| Is this in Studio or in a game hosted by Roblox? |
|
|
| Report Abuse |
|
|
| |
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 30 Nov 2015 06:12 PM |
| Don't be stupid of course you have like 0 ping in Studio you're not even connecting across a local network let alone from a different device on a different network across the Internet. |
|
|
| Report Abuse |
|
|