basic method hooking lua

Vzurxy Aug 3rd, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Kick = game.Players.LocalPlayer.Kick
  2. Kick(game.Players.LocalPlayer, "kick reason") -- get the function used to call it and then make the function run on our localplayer then supply a reason
  4. --[[
  5. game.Players.LocalPlayer:Kick("yes")
  6. ]]-- --normal way
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand