SHOW:
|
|
- or go back to the newest paste.
| 1 | - | local owner = "gollark" |
| 1 | + | local owner = "ownergoeshere" |
| 2 | function getMetaOwner(modules) | |
| 3 | for k, v in pairs(modules.sense()) do | |
| 4 | if v.displayName == owner then | |
| 5 | return modules.getMetaByID(v.id) | |
| 6 | end | |
| 7 | end | |
| 8 | end | |
| 9 | ||
| 10 | function upgrade(modules) | |
| 11 | modules.getMetaOwner = function() | |
| 12 | return modules.getMetaByName(owner) | |
| 13 | end | |
| 14 | end |