I’ll keep it simple. I’m new to OOP and I’d like to know if there’s a way to make custom methods for the class Instance, for example:
Instance.new("Part"):Vanish(10)
I’ll keep it simple. I’m new to OOP and I’d like to know if there’s a way to make custom methods for the class Instance, for example:
Instance.new("Part"):Vanish(10)
This is probably the only way you can do this, apparently not only with Services.
Otherwise, use:
local module = require(MODULE)
module.Vanish(Part,10)
Thanks for the reply. This works but it’s not exactly what i’m looking for, I was wondering if you can somehow modify the class Instance in order to add more useful methods, or at least overwrite it.
Sorry for the long time reply lol