Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local RbxAnalyticsService = cloneref(game:GetService("RbxAnalyticsService"))
- hookfunction(gethwid, function()
- return "no-more-hardware-id"
- end)
- local gsub, lower = string.gsub, string.lower
- local checkcaller, compareinstances, getnamecallmethod = checkcaller, compareinstances, getnamecallmethod
- local old; old = hookfunction(getrawmetatable(game).__namecall, function(self, ...)
- if not checkcaller() and compareinstances(self, RbxAnalyticsService) and gsub(getnamecallmethod(), "^%u", lower) == "getClientId" then
- return "no-more-hardware-id"
- end
- return old(self, ...)
- end)
- local h2; h2 = hookfunction(RbxAnalyticsService.GetClientId, function(self, ...)
- if not checkcaller() and compareinstances(self, RbxAnalyticsService) then
- return "no-more-hardware-id"
- end
- return h2(self, ...)
- end)
Advertisement
Add Comment
Please, Sign In to add comment