Categories > Coding > Lua >

How to Get The Game's ID (Not Place ID, The Main Game's ID)

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

Posted

just the title, no im not talking about game.PlaceId since that gives the place id, i want the main game's id

  • 0

Posts: 503

Threads: 32

Joined: Aug, 2021

Reputation: 54

Replied

Im guessing your talking about instance id? If so you do game.JobId and that will give you it

  • 0

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

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?

  • 0

RiceUsesArchBtw

rice cracker

vip

Posts: 453

Threads: 19

Joined: Aug, 2021

Reputation: 37

Replied

each game instances (which i assume is island), is assigned with a different placeid so yeah

  • 0

https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png

Posts: 1990

Threads: 198

Joined: Apr, 2021

Reputation: 13

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.

 

  • 0

Random quote here...

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

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????

  • 0

Posts: 1990

Threads: 198

Joined: Apr, 2021

Reputation: 13

Replied

@TERIHAX I'm not even sure if that is possible tho.

  • 0

Random quote here...

hookfunction

fake wumat

vip

Posts: 144

Threads: 20

Joined: Aug, 2021

Reputation: 18

Replied

u mean this?

game.GameId
  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

Replied

@hookfunction hol up lemme see if that works

  • 0

hookfunction

fake wumat

vip

Posts: 144

Threads: 20

Joined: Aug, 2021

Reputation: 18

Replied

  • 0

                                                                        https://cdn.discordapp.com/attachments/909012795851407390/927492917394821140/siggy.png

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

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.

  • 0

Posts: 194

Threads: 10

Joined: Feb, 2021

Reputation: 9

Replied

@TERIHAX try 

game.PlaceId
  • 0

Im netral, not evil, not too kind either.

TERIHAX

i say im gay as a joke 🙀

Posts: 2186

Threads: 102

Joined: Jul, 2020

Reputation: 30

Replied

@OrbitRBX nononono thats not what i want

  • 0

Posts: 194

Threads: 10

Joined: Feb, 2021

Reputation: 9

Replied

@TERIHAX i say try it before replying

  • 0

Im netral, not evil, not too kind either.

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )