I'm having some issues finding out how to let people purchase the same item after they have purchased. Any Suggestions?
ReplicatedStorage.ShopEvents.Ninjago.OnServerEvent:Connect(function(player)
if player.leaderstats.Money.Value >= 500 and MyDebounce == true and player then
MyDebounce = false
player.leaderstats.Money.Value = player.leaderstats.Money.Value - 500
ServerStorage.Tools.AzureSword:Clone().Parent = player.Backpack
game.StarterGui.Shop.Shop.BuyingInfo.LegoNinjago.Buy.Text = "Bought"
if player.leaderstats.Rebirths.Value >= player.leaderstats.Rebirths.Value + 1 and MyDebounce == false and player then
MyDebounce = true
end
end
end)

1 comment
Please give a clarification on this question. Do you mean they don't have to spend money on it after they rebirthed? I am confused.