Advertisement
pa1nx9

Instant Heal:

Nov 12th, 2021
204
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None
  1. local actiontable = {
  2. ["Action"] = "Finish"
  3. }
  4.  
  5. local a = getrawmetatable(game)
  6. local agree = a.__namecall
  7. setreadonly(a, false)
  8. a.__namecall = newcclosure(function(name, ...)
  9. local rakesh = {...}
  10. if getnamecallmethod() == "FireServer" and tostring(name) == "Event" and unpack(rakesh)["Action"]=="Down" then
  11. game:GetService("Players").LocalPlayer.Character.Medkit.Event:FireServer(actiontable)
  12. end
  13. return agree(name, unpack(rakesh))
  14. end)
Advertisement
RAW Paste Data Copied
Advertisement