https://web.roblox.com/library/5872123105/Please-fix-this-script
So there's leaderstats where every 2 seconds the player gets 100 'minutes' (i'm just testing with it) which works. There's a keycard that the player gets after 300 'minutes' of the leaderstats. (which works.) But when the player resets/dies the item is removed from the inventory (backpack) which I don't want, I want the gear to STAY within the inventory. And the player can't get the item back because it's already been over '300' so I need help with that... Sorry if this sounds confusing, I can explain more sort of.

4 comments
Put the script here
local KeyCard = game.ServerStorage["KeyCard"] game.Players.PlayerAdded:Connect(function(plr) while wait(1) do if plr:WaitForChild("leaderstats"):FindFirstChild("Minutes").Value >= 300 then KeyCard:Clone().Parent = plr:WaitForChild("Backpack") break end end end)
The script, keycard is in the model link
You may require a backpack saver