Say I want to make a command to "rejoin" a game. Is there a way for a script to know the ID of a place automatically(without me manually having to put the ID into the script)?
As M39a9am3R said, DataModels have a PlaceId property
In case you weren't aware, game
is the "DataModel" of a place.
So, game.PlaceId
is the ID of the current running place.
It's 0 when not running on ROBLOX server (ie, when testing on your own device)
Locking this Question
Locked by BlueTaslem
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?