Allow Metatable hooks on ROBLOX Services or Instances (Sorta...)

This is clearly mentioned within the post. I don’t really get why people are responding if they aren’t reading the thread.

My suggestion isn’t to allow users to override or hook in to pre-existing roblox functionalities. My suggestion is to create a registry of additional methods you can incorporate on to a base Instance class.

The performance tarpit would be completely dependent on a developer to developer use case. Implementations of poor code will obviously result in poor performance. It would be no more or no less efficient then say an index call.

Also, I mention the draw backs of needing to create wrappers that reference instances. Please read the post (x2)

1 Like

CoreGui:TakeScreenshot does NOT utilize cookies, or HTTP. It simply, stores a screenshot. Also this “security risk” is not even one considering one could not hook CoreGui:TakeScreenshot if that feature was implemented. The hooks could also be inherited from required scripts or shared environments, which would make it harmless.

1 Like

that wasnt my point at all bud but okay

1 Like

Yes it clearly was your point as everyone appears to have the same idea as me

…or you just can’t speak english

no it wasn’t and wdym take screenshot doesnt have access to http ofc i know that but ik where it gets run which is a CORE SCRIPT

You only be breaking your own game.

1 Like

I don’t know why two people didn’t read the thread before replying. It’s not a security risk unless you use too much toolbox models. Is reading skills decreased? Are people being blind? is attention span ruined?


anyways I agree with this, Imagine I need to add some function to some instances that would make it more useful, I can even modify certain function to make it better.

fwiw CoreScripts run on a separate Lua state anyway so hooks like this wouldn’t affect them (the same behavior applies to script executors)

2 Likes