Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GroupId = 0
- local MinRank = 20
- local KickMessage = "Yeet"
- game.Players.PlayerAdded:Connect(function(Player)
- if Player:IsInGroup(GroupId) then
- local Rank = Player:GetRankInGroup(GroupId)
- if Rank <= MinRank then
- Player:Kick(KickMessage)
- end
- else
- Player:Kick()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment