Ryuushu Posted September 21, 2017 Share Posted September 21, 2017 How can I use rezecib's UpvalueHacker util to modify this onAttacked event? local function onAttacked(player, data) ... end ... local SomeComponent = Class(function(self, player) ... player:ListenForEvent("attacked", onAttacked) -- <- event listener I wanna modify end) I just can't figure out the root for the component.. I've tried randomly guessing self.class, self.Class, self.fn, self._ctor but none have worked. Maybe the author can help me on this? @rezecib Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now