My script that with a value, you get a shirt, isn’t working, I have no idea if its because i have 2 leaderstats, instead of just 1, but any help? Heres the script.
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
if player:WaitForChild("leaderstats").Money12.Value>= 1 then
print("player.leaderstats.Money12.Value")
character.Shirt:Destroy()
end
lol = script.Parent.Shirt:Clone()
lol.Parent = character
end)
end)

7 comments
Instead of destroying their current shirt and then cloning another one, I would suggest just changing the shirt link inside of the Shirt.
I tried that, but it still hadn't worked, any suggestions?
Iunno seems to me like you're destroying the shirt, and then cloning it... which you can't do. Also why is "print("player.leaderstats.....") " in quotes? If you wanted to print the value then you'd best get rid of those quotes.
I think the shirt "lol" is a diffrent shirt
try moving lines 13 - 15 in the char added event
lol is a different shirt, and ill try what you said, 1 second.
Moving lines 13 and 15 under character wouldn't work because it hasn't yet checked if the player has the value, giving the shirt to the player without it.