roblox lua get game place id

To get the game place ID in Roblox Lua, you can use the following code:

local placeID = game.PlaceId

Explanation: 1. game.PlaceId: This is a built-in property in Roblox Lua that represents the unique identifier (ID) of the current place or game. 2. local placeID: This is a local variable that stores the value of the PlaceId property. 3. print(placeID): This line of code prints the placeID to the output console, allowing you to view the ID of the game place.