#How can I block a kick?

51 messages · Page 1 of 1 (latest)

night solar
#

@opaque halo

#

how can you do it

opaque halo
#

wdym block a kick script

night solar
#

like making it not kick you

opaque halo
#

are you trying to bypass a ban in a game

night solar
opaque halo
#

send the script here

night solar
#

and it is obfuscated

open cypress
#

studio** You are now Level 4! **studio

opaque halo
#

yeah dont trust that

#

obfuscated scripts hide backdoors

#

they allow for exploits to inject into your game

night solar
#

well he knows what it does

opaque halo
#

delete that script and go bust your friend's ass

night solar
#

but is it possible to not allow the kick?

opaque halo
night solar
#

how

opaque halo
#

it gets complicated here

night solar
#

ok i am prepared

opaque halo
#

you can do one way from afaik

#

create a environment for the script itself

#

then check if it contains a kick function

night solar
#

i think you killed me

opaque halo
#

exactly

night solar
#

and yt on it?

opaque halo
#

nah

#

consider setfenv and getfenv

night solar
#

do you have time to make like a simple script to show it

opaque halo
#

i can but you wont understand it

night solar
#

ok

#

ill try to learn it

opaque halo
#

alr

#

so

#

i have no idea how to de-obfuscate scripts

#

BUT

#

i can show you how to prevent a kick from happening

night solar
#

ok

opaque halo
#

say your script is a string

#
local scriptran = loadstring([[
game.Players.bob:Kick()
]])

local env = getfenv(scriptran)

local sandbox = setmetatable({
  Kick = function(...)
    return
  end
},{
  __index = function(_,var)
    return env[var]
  end,
})
setfenv(scriptran,sandbox)
#

actually

#

i have no idea if this would work or not

night solar
#

ok

opaque halo
#

im 99% sure this would only work with vanilla lua functions such as print, warn and error

#

dont try that

night solar
#

ok

#

ty

opaque halo
#

i guess your best way to go

#

is to not use the script

#

and tell your friend to stop scavenging off exploits

night solar
#

ok lol

primal mist
#

Bitchass friend you havereally