This item is not replicated across Roblox’s server/client boundary.
This property can only be read from. Attempting to write to it will cause an error.
This property describes the
Enum/CreatorType of the
Articles/Place|place, whether the place is owned by a user or a group.
Enum/CreatorType is ‘User’, then the
DataModel/CreatorId property will describe the
Player/UserId|UserId of the account that owns the game. If the CreatorType is ‘Group’ then it will describe the group ID.
Detect when the place owner joins the game
This code sample will print an output when the user that owns the game, or a member of the group that owns the game joins the server.
To run this script, place it inside a
local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) if game.CreatorType == Enum.CreatorType.User then if player.UserId == game.CreatorId then print("The place owner has joined the game!") end elseif game.CreatorType == Enum.CreatorType.Group then if player:IsInGroup(game.CreatorId) then print("A member of the group that owns the place has joined the game!") end end end)