CreatorId (Property)

From Legacy Roblox Wiki
(Redirected from CreatorId)
Jump to navigationJump to search
This is a read-only property. It cannot be written to, only read.
CreatorId
Property integer CreatorId
Description The userId of the creator of the current place.
Member of DataModel


Example
CreatorId can be used for many things. In this example, it is used in a function that checks to see if Player player is the creator of the place.
function checkPlayerIsCreator( player )
   return player.userId == game.CreatorId
end