if plr.Name==script.Parent.Parent.Parent.OwnerName.Value and plr.leaderstats.Money.Value>=price then
plr.leaderstats.Money.Value=plr.leaderstats.Money.Value-price
this returns the error that I'm comparing a Value to a String, which you can't do apparently. So what should I do to fix this?

2 comments
What kind of Value is OwnerName?
StringValue