Answers for "Check Player rank in group"

Lua
0

Check Player rank in group

game.Players.PlayerAdded:Connect(function(Player)
    if Player:GetRankInGroup(0) == 255 then -- Change "0" With Group ID
        print("Player is The Group Owner ")
    else
        print("Player is Not The Group Owner ")
    end
end)
Posted by: Guest on March-14-2021

Browse Popular Code Answers by Language