So my code for a keycard wont work can anyone help?
local rs = game:WaitForChild("ReplicatedStorage")
local fa = rs.AccessCards.FullAccess
local leaderstats = game.Players.LocalPlayer.leaderstats --could be the problem
game.Players.PlayerAdded:Connect(function(player)
if leaderstats.Rank.Value == ("Dev.. Mayor Chill") then -- could also be the problem
local clone = fa:Clone()
clone.Parent = player.Backpack
end
end)

1 comment
Didnt work