I made a makeable burger now I want it to be able to sell when touched if the parent name is 'Normal Burger'
Here is the script:
script.Parent.Touched:Connect(function(Hit) if Hit.Parent.Name == 'Normal Burger ' then local player = game.Players:GetPlayerFromCharacter(Hit.Parent) if player then player.leaderstats.Cash.Value = player.leaderstats.Cash.Value +1 end end end)
PS. I am very new and barely know what I am doing/ D;