I know why this is happening I just need to figure out how to make the script disable after its collected without it interfering with the part of the script that deletes the part.
Code:
script.Parent.Touched:connect(function(c)
game.Players.LocalPlayer.leaderstats.VCoins.Value = game.Players.LocalPlayer.leaderstats.VCoins.Value + 1
wait(0)
script.Parent:Destroy()
end)
help please

1 comment
forgot a end but it works ty!