|
| 24 Dec 2013 02:25 PM |
Instance _G
lol can i or am i gonna get an error |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
| |
|
| |
|
Azureous
|
  |
| Joined: 29 Jan 2012 |
| Total Posts: 25287 |
|
| |
|
|
| 24 Dec 2013 02:31 PM |
| thats like an OnInstance function right there. |
|
|
| Report Abuse |
|
|
|
| 24 Dec 2013 02:44 PM |
| Can i add stuff to Instance? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 24 Dec 2013 02:46 PM |
You mean:
Instance.swag = function() print("test") end
Test it, though I believe you can |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 24 Dec 2013 02:47 PM |
Before you posted that, I was testing that proposition.
You get an error with no errors.
This is with your function:
15:46:49.578 - Instance.swag = function() print("test") end :3: |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 24 Dec 2013 02:48 PM |
| rawset(Instance, "swag", function()print("test")end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Dec 2013 04:09 PM |
| woah, instance is readonly |
|
|
| Report Abuse |
|
|