Categories > Exploiting > Scripts >

How do i hook a remotefunction [HELP]

Posts: 3

Threads: 2

Joined: Apr, 2023

Reputation: 0

Posted

local rf = game:GetService("ReplicatedStorage").RemoteEvent
local ofunc
ofunc = hookfunction(rf.InvokeServer,function (...)
    print(...)
    return ofunc(...)
end)

This doesn't work

I use krnl

  • 0

Posts: 1381

Threads: 71

Joined: May, 2022

Reputation: 17

Replied

try this

local rf = game:GetService("ReplicatedStorage").RemoteEvent
local ofunc
ofunc = hookfunction(rf.InvokeServer,function (...)
    local args = {...}
    print(args)
    return ofunc(args)
end)
  • 0

Did I mention I use arch btw?

Posts: 198

Threads: 24

Joined: Jun, 2023

Reputation: 5

Replied

maybe try smh like that

local rf = game:GetService("ReplicatedStorage").RemoteFunction
local ofunc
ofunc = hookfunction(rf.InvokeServer, function (...)
    print(...)
    return ofunc(...)
end)
  • 0

https://cdn.discordapp.com/attachments/968557692639666267/1139574673630318632/lodlk.png

https://cdn.discordapp.com/attachments/921008361342902274/1144217307170742363/Bez_tytuu692.png

Posts: 3

Threads: 2

Joined: Apr, 2023

Reputation: 0

Replied

local rf = game:GetService("ReplicatedStorage").RemoteEvent -- This is a RemoteFunction
local ofunc
ofunc = hookfunction(rf.InvokeServer,function (...)
    local args = {...}
    print(..., args) -- Prints nothing
    return ofunc(...)
end)
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )