I am trying to help script to where a specific rank in the SCPF group gets a specific card. However, it's not giving anything to any rank. Can someone help?
game.Players.PlayerAdded:Connect(function(plr)
local backpack = plr:WaitForChild("Backpack")
local playerRanking = plr:GetRankInGroup(3739216)
local toolBasedOnRanking = {
245 = "[SCP]Card-L0",
246 = "[SCP]Card-L1",
247 = "[SCP]Card-L2",
248 = "[SCP]Card-L3",
249 = "[SCP]Card-L4",
250 = "[SCP]Card-L5",
251 = "[SCP]Card-Omni",
252 = "[SCP]Card-Omni",
253 = "[SCP]Card-Omni",
254 = "[SCP]Card-Omni",
255 = "[SCP]Card-Omni"
}
local tool = game.ServerStorage[toolBasedOnRanking[playerRanking]]
if tool then
print("Adding tool!")
tool:Clone().Parent = backpack
end
end

1 comment
I really need help on this