Hello, Since I wanted to improve at OOP, I’m trying some things but I didn’t understand exactly what the problem was. Can you explain the exact solve of this?
local Table = {}
local Account = {Balance = 50}
function Table:Withdraw(v)
self.Balance = self.Balance - v
end
Account:Withdraw(20)