Vortexture

[PATCHED] World of magic: Instakill, godmode, instant break structures

Jul 14th, 2020 (edited)
10,865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.42 KB | None | 0 0
  1. local GodMode = false
  2. local InstantKill = false
  3. local FrickStructures = false
  4. local mouse = game.Players.LocalPlayer:GetMouse()
  5. local FakeModel = Instance.new("Model")
  6. local FakeHum = Instance.new("Humanoid", FakeModel)
  7. local HttpService = game:GetService("HttpService")
  8. local MagicArgs = {}
  9.  
  10.  
  11.  
  12. local meta = getrawmetatable(game) -- rip free exploits :sob:
  13. local namecall = meta.__namecall
  14. setreadonly(meta,false)
  15. meta.__namecall=newcclosure(function(self,...)
  16.     local method = getnamecallmethod()
  17.     local Args = {...}
  18.     if string.find(tostring(self), "Deal") and string.find(tostring(self), "Damage") then -- resist both weapon and magic damage
  19.         if Args[2] == game.Players.LocalPlayer.Character and GodMode == true then
  20.             Args[2] = FakeModel
  21.         end
  22.         --[[
  23.         if Args[1] == game.Players.LocalPlayer.Character and InstantKill == true then
  24.             Args[5] = string.gsub(Args[5], "100", "-10000")
  25.         end
  26.         --]]
  27.         return namecall(self,unpack(Args))
  28.     end
  29.     if string.find(tostring(self), "Take") and string.find(tostring(self), "Damage") then
  30.         if GodMode == true then
  31.             return
  32.         end
  33.     end
  34.     if string.find(tostring(self), "Damage") and string.find(tostring(self), "Structure") then
  35.         if FrickStructures == true then
  36.             Args[5] = string.gsub(Args[5], "100", "-2000000000")
  37.         end
  38.         return namecall(self,unpack(Args))
  39.     end
  40.     return namecall(self,...)
  41. end)
  42.  
  43. mouse.KeyDown:Connect(function(key)
  44.     if key == "l" then
  45.         GodMode = not GodMode
  46.         if GodMode == true then
  47.             currenttext = "GodMode is now turned ON!"
  48.         else
  49.             currenttext = "GodMode is now turned OFF!"
  50.         end
  51.         game.StarterGui:SetCore("SendNotification", {
  52.             Title = "notification";
  53.             Text = currenttext;
  54.             Icon = "rbxassetid://2541869220";
  55.             Duration = 3;
  56.         })
  57.     end
  58.     if key == "k" then
  59. --[[
  60.         InstantKill = not InstantKill
  61.         if InstantKill == true then
  62.             currenttext = "InstantKill is now turned ON!"
  63.         else
  64.             currenttext = "InstantKill is now turned OFF!"
  65.         end
  66. --]]
  67.         game.StarterGui:SetCore("SendNotification", {
  68.             Title = "PATCHED";
  69.             Text = "INSTANT KILL is currently PATCHED"; --currenttext;
  70.             Icon = "rbxassetid://2541869220";
  71.             Duration = 3;
  72.         })
  73.     end
  74.     if key == "j" then
  75.         FrickStructures = not FrickStructures
  76.         if FrickStructures == true then
  77.             currenttext = "FrickStructures is now turned ON!"
  78.         else
  79.             currenttext = "FrickStructures is now turned OFF!"
  80.         end
  81.         game.StarterGui:SetCore("SendNotification", {
  82.             Title = "notification";
  83.             Text = currenttext;
  84.             Icon = "rbxassetid://2541869220";
  85.             Duration = 3;
  86.         })
  87.     end
  88.     if key == "y" then
  89.         if game.Players.LocalPlayer.Character ~= nil then
  90.             if game.Players.LocalPlayer.Character:FindFirstChild("Jailed") then
  91.                 game.Players.LocalPlayer.Character.Jailed:Destroy()
  92.                 game.StarterGui:SetCore("SendNotification", {
  93.                     Title = "notification";
  94.                     Text = "You're free!";
  95.                     Icon = "rbxassetid://2541869220";
  96.                     Duration = 3;
  97.                 })
  98.             end
  99.         end
  100.     end
  101. end)
  102.  
  103.  
  104.  
  105. print("-------------------KEYS--------------------")
  106. print("")
  107. print("Y Key - Breaks your handcuffs")
  108. print("K Key - Toggles increased damage (PATCHED)")
  109. print("L Key - Toggles God-Mode / NPC Invulnerability")
  110. print("J Key - Toggles instant building destruction")
  111. print("")
  112. print("-------------------------------------------")
  113. print("Vortexturize | aidez moi#4192 | Aidez")
  114. print("-------------------------------------------")
  115.  
  116. --[[
  117.  
  118.                                                         ..                                          
  119.                                      /yys.            `hMM/                                        
  120.                     :ys:            `NMMMo            oMMM:                                        
  121.                   `sMMMm             -oo:            `NMMy                                          
  122.                  .hMMMMM+                            +MMN`        `.-::.              `            
  123.                 -mMMyoMMN.         /hho       .:syhhomMMs       -smNMMMNy  `shysssssyhdho          
  124.                :mMMs``dMMd`        NMMm     .smMNdhdMMMM.     `sNMNs:/MMM. `ydmmmmddMMMN+          
  125.               +NMMs   -MMMs       :MMM/    +NMNs-  .MMMy     .dMMd- -yMMy    `````/hMMy-            
  126.             `yMMMmosyhdMMMM+      yMMm    yMMN:   `yMMM/     dMMN+odNMd/        :hMNy:              
  127.            -dMMMMMMmmdhyhMMM+     NMMo   /MMM-   :dMMMM-    :MMMMNmho-``:/    :hNMh-                
  128.           +NMMm//-..``  `hMMMo`  -MMM/   yMMm``:hNMyMMM+.-- :MMMy.` `-omMd` /dMMmo/+oooo/`          
  129.          oMMMh.          `yMMMm/ :MMMs   +MMMmmMNh: hMMNNNy  yMMMmhdmNMm+`:dMMMMNNNNmNMMMo          
  130.          :yh+`            `/dNNs `ydh:    :shys/.   `+yso-`   :shddhy+-` oNMNho:-..```.-/`  
  131.  
  132. Join my discord here!:
  133. https://discord.gg/Ez2dGeQ
  134.  
  135.  
  136. Press Y to break your handcuffs
  137. Press J to toggle instant structure breaking
  138. Press K to toggle instant killing (NPCs and players)
  139. Press L to toggle God-Mode (Only works against NPCs)
  140. --]]
Add Comment
Please, Sign In to add comment