Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Hook = MOD.EventSub;
- MOD.EventSub = function(sub)
- print("PogChamp " .. sub .. " has subscribed! PogChamp");
- MOD.NewestSub = sub;
- MOD.Save();
- if type(Hook) == "function" then
- return Hook (sub);
- end
- end
- return function()
- if type(MOD.NewestSub)~="string" or MOD.NewestSub=="" then
- return;
- end
- print("Latest sub: " .. MOD.NewestSub);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement