Answers for "check if play is in group"

Lua
1

check if play is in group

game.Players.PlayerAdded:Connect(function(newPlayer)
   if newPlayer:IsInGroup(0) then -- Change "0" With Group ID               
      print "Player is in Group!"     
   end
end)
Posted by: Guest on March-14-2021

Code answers related to "check if play is in group"

Browse Popular Code Answers by Language