Advertisement
Vortexture

The Streets: Teleport Bypass (say :bypass to turn on)

Feb 17th, 2020
3,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.14 KB | None | 0 0
  1. local bypass = false
  2. local fakemodel = Instance.new("Model")
  3. fakemodel.Parent = game.Workspace
  4. local meta = getrawmetatable(game) -- rip free exploits :sob:
  5. setreadonly(meta,false)
  6. local namecall = meta.__namecall
  7. local newindex = meta.__newindex
  8. local index = meta.__index
  9. function sendnotif(title, body)
  10.     game.StarterGui:SetCore("SendNotification", {
  11.         Title = title;
  12.         Text = body;
  13.         Icon = "rbxassetid://2541869220";
  14.         Duration = 3;
  15.     })
  16. end
  17. meta.__namecall=function(self,...)
  18.     if not checkcaller() then
  19.         local Args={...}
  20.         local method = getnamecallmethod()
  21.         if method == "BreakJoints" and tostring(self) == game.Players.LocalPlayer.Character.Name then
  22.             return namecall(fakemodel,...)
  23.         end
  24.         if method == "FireServer" then
  25.             if self.Name == "lIII" or tostring(self.Parent) == "ReplicatedStorage" then
  26.                 return wait(9e9)
  27.             end
  28.             if Args[1] == "hey" then
  29.                 return wait(9e9)
  30.             end
  31.         end
  32.         if method == "ClearAllChildren" or method == "Destroy" then
  33.             return
  34.         end
  35.         if string.lower(method) == "waitforchild" then
  36.             if Args[1] == "HumanoidRootPart" then
  37.                 if bypass then
  38.                     Args[1] = "Torso"
  39.                     return namecall(self,unpack(Args))
  40.                 end
  41.             end
  42.         end
  43.         if string.lower(method) == "findfirstchild" then
  44.             if Args[1] == "HumanoidRootPart" then
  45.                 if bypass then
  46.                     Args[1] = "Torso"
  47.                 end
  48.             end
  49.         end
  50.     end
  51.     if checkcaller() then
  52.         local Args={...}
  53.         local method = getnamecallmethod()
  54.         if string.lower(method) == "findfirstchild" then
  55.             if Args[1] ~= nil then
  56.                 if Args[1] == "HumanoidRootPartP" then
  57.                     Args[1] = "HumanoidRootPart"
  58.                     return namecall(self,unpack(Args))
  59.                 end
  60.             end
  61.         end
  62.     end
  63.     return namecall(self,...)
  64. end
  65. meta.__index=function(self,k)
  66.     local Script=getfenv(2).script
  67.     if checkcaller() then
  68.         if k == "HumanoidRootPart" and tostring(t)==tostring(player) then
  69.             if bypass then
  70.                 if getcallingscript then
  71.                     if getcallingscript() ~= script then
  72.                         return index(self,"Torso")
  73.                     end
  74.                 else
  75.                     if get_calling_script(2) ~= script then
  76.                         return index(self,"Torso")
  77.                     end
  78.                 end
  79.             end
  80.         end
  81.     end
  82.     return index(self,k)
  83. end
  84.  
  85. game.Players.LocalPlayer.Chatted:Connect(function(msg)
  86.     lower = string.lower(msg)
  87.     if lower == ":bypass" or lower == "/e bypass" or lower == "/e :bypass" then
  88.     game.Players.LocalPlayer.Character:BreakJoints()
  89.         bypass = true
  90.         sendnotif("notification", "TP Bypass is now ON!")
  91.     end
  92.     if lower == ":unbypass" or lower == "/e unbypass" or lower == "/e :unbypass" then
  93.     game.Players.LocalPlayer.Character:BreakJoints()
  94.         bypass = false
  95.         sendnotif("notification", "TP Bypass is now OFF!")
  96.     end
  97. end)
  98. game:GetService('RunService').Stepped:connect(function()
  99.     if bypass then
  100.         --pcall(function()
  101.             local Root = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPartP")
  102.             if Root then
  103.                 game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPartP").Parent = nil
  104.             end
  105.                 -- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPartP").Parent = nil
  106.         --end)
  107.     end
  108. end)
  109.  
  110. --[[
  111.                                                         ..                                          
  112.                                      /yys.            `hMM/                                        
  113.                     :ys:            `NMMMo            oMMM:                                        
  114.                   `sMMMm             -oo:            `NMMy                                          
  115.                  .hMMMMM+                            +MMN`        `.-::.              `            
  116.                 -mMMyoMMN.         /hho       .:syhhomMMs       -smNMMMNy  `shysssssyhdho          
  117.                :mMMs``dMMd`        NMMm     .smMNdhdMMMM.     `sNMNs:/MMM. `ydmmmmddMMMN+          
  118.               +NMMs   -MMMs       :MMM/    +NMNs-  .MMMy     .dMMd- -yMMy    `````/hMMy-            
  119.             `yMMMmosyhdMMMM+      yMMm    yMMN:   `yMMM/     dMMN+odNMd/        :hMNy:              
  120.            -dMMMMMMmmdhyhMMM+     NMMo   /MMM-   :dMMMM-    :MMMMNmho-``:/    :hNMh-                
  121.           +NMMm//-..``  `hMMMo`  -MMM/   yMMm``:hNMyMMM+.-- :MMMy.` `-omMd` /dMMmo/+oooo/`          
  122.          oMMMh.          `yMMMm/ :MMMs   +MMMmmMNh: hMMNNNy  yMMMmhdmNMm+`:dMMMMNNNNmNMMMo          
  123.          :yh+`            `/dNNs `ydh:    :shys/.   `+yso-`   :shddhy+-` oNMNho:-..```.-/`  
  124.  
  125. Join my discord here!:
  126. https://discord.gg/4FCbEbZ
  127.  
  128. --]]
  129.  
  130. -- say :bypass to turn the bypass on
  131. -- say :unbypass to turn the bypass off
  132. -- The bypass WILL break melee tools, food, stomping, and dragging
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement