Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

is every server's first 6 characters of the JobId different?

Asked by 3 years ago
Edited 3 years ago
local JobId = game.JobId
local id = string.sub(tostring(JobId),1,6)
script.Parent.Text = string.format("ServerId: %s", id)

the script above just shows the first 6 characters of the JobId. i want the player to only see a few characters and not the whole JobId as that's way too long. So is every server's first 6 characters of the JobId different or is it possible that there may be clashes

edit: if there may be duplicates is it possible to do a for in pairs loop across every single server and change the JobId

Answer this question