Advertisement
Guest User

JARVIS Bypass

a guest
May 20th, 2019
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. local metatable = getrawmetatable(game)
  2. setreadonly(metatable, false)
  3. local index, newindex, namecall = metatable.__index, metatable.__newindex, metatable.__namecall
  4. local walking_speed = 16
  5. local running_speed = 33
  6. local crouching_speed = 8 -- you can change these three to your liking
  7. local default_index_values = { -- what the script gives the anticheat when the anticheat asks for it (recommend you do not change)
  8.     ["WalkSpeed"] = 16,
  9.     ["JumpPower"] = 38,
  10.     ["HipHeight"] = 0,
  11.     ["Gravity"] = 196.1
  12. }
  13. metatable.__index = function(t,k)
  14.     if k == "IlIl" then
  15.         return
  16.     end
  17.     if default_index_values[k] ~= nil then
  18.         if not checkcaller() then
  19.             return default_index_values[k]
  20.         end
  21.     end
  22.     return index(t,k)
  23. end
  24. metatable.__newindex = function(t,k,v)
  25.     if k == "WalkSpeed" then
  26.         if not checkcaller() then
  27.             if game:service("UserInputService"):IsKeyDown(Enum.KeyCode.LeftShift) and not game:service("UserInputService"):IsKeyDown(Enum.KeyCode.S) then
  28.                 return newindex(t,k,running_speed)
  29.             end
  30.             if game:service("UserInputService"):IsKeyDown(Enum.KeyCode.LeftControl) then
  31.                 return newindex(t,k,crouching_speed)
  32.             end
  33.             return newindex(t,k,walking_speed)
  34.         end
  35.     end
  36.     if k == "CFrame" then
  37.         if t == game.Players.LocalPlayer.Character.HumanoidRootPart then
  38.             if not checkcaller() then
  39.                 return 
  40.             end
  41.         end
  42.     end
  43.     if k == "Gravity" or k == "Health" then
  44.         if not checkcaller() then
  45.             return 
  46.         end
  47.     end
  48.     return newindex(t,k,v)
  49. end
  50. metatable.__namecall = function(t, ...)
  51.     local oof = {...}
  52.     if oof[#oof] == "SetStateEnabled" or oof[#oof] == "BreakJoints" or oof[#oof] == "Kick" then
  53.         if not checkcaller() then
  54.             return
  55.         end
  56.     end
  57.     if oof[#oof] == "Destroy" then
  58.         if t:IsA("HopperBin") then
  59.             if not checkcaller() then
  60.                 return
  61.             end
  62.         end
  63.     end
  64.     return namecall(t, ...)
  65. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement