Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I proceed in making a tool that only people above a certain rank in a group could have?

I would try to type in everyone's name that is above said rank, but that sounds a bit tedious. Any help?

1 answer

✓ Accepted answer
local player = game.Players.LocalPlayer
repeat wait() until player.Character
local groupid = 0 --group id
local ranknum = 0 -- rank number required

if player:GetRankInGroup(groupid) == ranknum then
local tool = game.Lighting.Tool:Clone()
tool.Parent = player.Backpack
end

This discussion is preserved as it was. New answers, comments, and votes are closed.