local Class, Default = loadstring(game:HttpGet(
"https://raw.githubusercontent.com/Awakenchan/GcViewerV2/refs/heads/main/Utility/Data2Code%40Amity.lua"
))()
local LogService = cloneref(game:GetService("LogService"))
local DetectionFunction
for _, conn in ipairs(getconnections(LogService.MessageOut)) do
local func = conn.Function
if typeof(func) == "function" then
local upvalues = getupvalues(func)
-- print(Class.Convert(upvalues,true))
local uv = upvalues[10]
if typeof(uv) == "table" and uv[0] then
Detectidata-removed= uv[0]
print('found',Class.Convert(uv,true))
setmetatable(DetectionFunction, {
__newindex = function(...)
print("detected cuh", ...)
end
})
if uv[1] and typeof(uv[1]) == "table" then
setmetatable(uv[1], {
__newindex = function(...)
print("detected cuh", ...)
end
})
end
end
end
hookfunction(func, function(...)
print("detected cuh", ...)
end)
end
if DetectionFunction then
setmetatable(DetectionFunction, {
__newindex = function(...)
print("detected cuh", ...)
end
})
print('set')
else
warn("DetectionFunction not found")
end
print("done aboom")
oldmatch = hookfunc(string.gmatch, function(...)
if not checkcaller() then
print(Class.Convert({...},true))
return task.wait(9e9)
end
return oldmatch(...)
end)
local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
local NetFolder = ReplicatedStorage:WaitForChild("Packages"):WaitForChild("Net")
local netenc1
local netenc2
local netencstring1
local netencstring2
for _, v in getgc(true) do
if typeof(v) == "function" then
local info = debug.getinfo(v)
if info and info.source == "=ReplicatedStorage.Packages.Net.Net" then
local upvals = debug.getupvalues(v)
local hit = upvals and upvals[9]
if type(hit) == "table" then
local a = rawget(hit, 1)
local b = rawget(hit, 2)
if type(a) == "function" and type(b) == "function" and typeof(hit[0]) ~= "function" then
netenc1 = clonefunction(a)
netenc2 = clonefunction(b)
netencstring1 = hit[3]
netencstring2 = hit[4]
end
end
end
end
end
local GetRemoteEvent = function(remoteName)
local s1 = netencstring1
local s2 = netencstring2
local enc1 = netenc2(remoteName, s1)
local buff = buffer.fromstring(enc1)
local combo = tostring(s2 .. s1)
local final = netenc1(buff, buffer.fromstring(combo))
return NetFolder:FindFirstChild("RE/" .. final), final
end
local function PrintRemote(r)
print((r and r:GetFullName() or "nil") .. "\n")
end
local ValidRemotes = {
PlotService = {
Open = "PlotService/Open",
Sell = "PlotService/Sell",
ClaimCoins = "PlotService/ClaimCoins",
},
StealService = {
Grab = "StealService/Grab",
},
TeleportService = {
Recdata-removed= "TeleportService/Reconnect",
},
CursedEventService = {
Spin = "CursedEventService/Spin",
},
FishingRod = {
Cast = "FishingRod.Cast",
MinigameClick = "FishingRod.MinigameClick",
}
}
local Open = GetRemoteEvent(ValidRemotes.PlotService.Open)
local Sell = GetRemoteEvent(ValidRemotes.PlotService.Sell)
local ClaimCoins = GetRemoteEvent(ValidRemotes.PlotService.ClaimCoins)
local Grab = GetRemoteEvent(ValidRemotes.StealService.Grab)
local Recdata-removed= GetRemoteEvent(ValidRemotes.TeleportService.Reconnect)
local Spin = GetRemoteEvent(ValidRemotes.CursedEventService.Spin)
local Cast = GetRemoteEvent(ValidRemotes.FishingRod.Cast)
local MinigameClick = GetRemoteEvent(ValidRemotes.FishingRod.MinigameClick)
PrintRemote(Open)
PrintRemote(Sell)
PrintRemote(ClaimCoins)
PrintRemote(Grab)
PrintRemote(Reconnect)
PrintRemote(Spin)
PrintRemote(Cast)
PrintRemote(MinigameClick)