Hi I am testing lots of scripts and I was scripting an upgrade button for my sword. It doesn't work and the output says "LungeDamage is not a valid member of Configurations". Can you help?
function ontouched() game.StarterPack.ClassicSword.Configurations.LungeDamage = 100 print('Sword upgraded!') end script.Parent.MouseButton1Down:connect(ontouched)
Assuming LungeDamage is a value, you'll need to add .Value after the LungeDamage part.
game.StarterPack.ClassicSword.Configurations.LungeDamage.Value = 100