📜  检查 play 是否在组中 - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:55.932000             🧑  作者: Mango

代码示例1
game.Players.PlayerAdded:Connect(function(newPlayer)
   if newPlayer:IsInGroup(0) then -- Change "0" With Group ID               
      print "Player is in Group!"     
   end
end)