Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function CheckRole(Player)
- local groupRole = Player:GetRoleInGroup(game.CreatorId)
- if groupRole ~= "Member" and groupRole ~= "Guest" then
- warn(Player.DisplayName.."( @"..Player.Name.." ) Isn't a Member, Instead they're a "..groupRole)
- else
- print(Player.DisplayName.."( @"..Player.Name.." Is a "..groupRole.." In the group.")
- end
- end
- for _,v in pairs(game.Players:GetPlayers()) do
- CheckRole(v)
- end
- game.Players.PlayerAdded:Connect(CheckRole)
Add Comment
Please, Sign In to add comment