I want to know how to make a group rank tool so that when a player spawns into my game the script checks their rank in my group and then gives them a tool/gear according to their rank.
This should work:
wait(1) local GroupTool = game.Lighting.ToolName:Clone() -- put the tool name there local GroupId = 2825938 -- Put the group id here local GroupRank = 255 -- put the group rank requirement game.Players.PlayerAdded:connect(function(Player) if Player:GetRankInGroup(GroupId) == GroupRank then print("The player is the right rank") GroupTool.Parent = Player.Backpack end end)
Replace GroupTool with the location and name of the tool, and GroupId with the id of the group and then GroupRank with the group requirement if this helped upvote it! :)