Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local met = getrawmetatable(game)
- setreadonly(met,false)
- local old = met.__namecall
- met.__namecall = function(t,...)
- local args = {...}
- if(getnamecallmethod()=="UserOwnsGamePassAsync") then
- print("Gamepass!")
- return true
- end
- if(tostring(t) == "HandleUI") then
- print("spawn modified")
- return old(t,args[1],"civ",args[3],args[4])
- end
- return old(t,...)
- end
Add Comment
Please, Sign In to add comment