Categories > Coding > Lua >
How to Get The Game's ID (Not Place ID, The Main Game's ID)
Posted
just the title, no im not talking about game.PlaceId since that gives the place id, i want the main game's id
Replied
Im guessing your talking about instance id? If so you do game.JobId and that will give you it
Cancel
Post
Replied
@kyron no like, 2753915549 is blox fruit's game ID, blox fruits has 2nd sea and 3rd sea, so how can i get the main place's ID?
Cancel
Post
Replied
each game instances (which i assume is island), is assigned with a different placeid so yeah
Cancel
Post
https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png
Replied
There's something called DataModel.GameId, try making a script that will print it to you in the console.
There's also another DataModel called JobId, it's used for server game instance running.
Â
I'm not really sure how these DataModels work, but you can try using this script:
print(DataModel.GameId)
Â
Hope I helped.
Â
Cancel
Post
Random quote here...
Replied
@VoidableMethod i dont want job id... i want the main game id like:
https://www.roblox.com/games/2753915549/SEA-3-Blox-Fruits
Â
the game id is 2753915549, HOW WOULD I DO THAT IN A SCRIPT????
Cancel
Post
Random quote here...
Replied
u mean this?
game.GameId
Cancel
Post
https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png
https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png
Replied
@hookfunction nope, i am in the 3rd sea of blox fruits yet its giving 994732206, blox fruit's game ID is 2753915549, im supposed to get 2753915549, and not 994732206.
Cancel
Post
Im netral, not evil, not too kind either.
Im netral, not evil, not too kind either.
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post