Tanjiro-Kamado

Flee the Facility ESP and never fail hacking [improved]

Feb 8th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.43 KB | None | 0 0
  1. --[[
  2. Credits to; LeviTheOtaku
  3. Official thread; https://v3rmillion.net/showthread.php?tid=944117
  4. -------------------------------------------------------------------------------
  5. Script was provided from the official Demon Slayers Community Server; https://discord.gg/ADEVZ5R
  6. Official thread; https://v3rmillion.net/showthread.php?tid=936292 |<-- More info
  7. ]]--
  8.  
  9. spawn(function()
  10. local mt = getrawmetatable(game)
  11. make_writeable(mt)
  12. local namecall = mt.__namecall
  13. mt.__namecall = newcclosure(function(self, ...)
  14. local method = getnamecallmethod()
  15. local args = {...}
  16. if method == "FireServer" and args[1] == "SetPlayerMinigameResult" and args[2] == false then
  17. for i=1,50 do
  18. game.ReplicatedStorage.RemoteEvent:FireServer("SetPlayerMinigameResult",true)
  19. wait()
  20. end
  21. end
  22. return namecall(self, ...)
  23. end)
  24. end)
  25. spawn(function()
  26. function CreateESPPart(BodyPart,r,g,b)
  27. local ESPPartparent = BodyPart
  28. local Box = Instance.new("BoxHandleAdornment")
  29. Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
  30. Box.Name = "ESPPart"
  31. Box.Adornee = ESPPartparent
  32. Box.Color3 = Color3.fromRGB(r,g,b)
  33. Box.AlwaysOnTop = true
  34. Box.ZIndex = 5
  35. Box.Transparency = 0.8
  36. Box.Parent = BodyPart
  37. end
  38. function loadCheck(plr,chr)
  39. if chr:findFirstChild("Humanoid") then
  40. local part = chr:getChildren()
  41. for i=1,#part do
  42. if part[i].ClassName == "Part" then
  43. CreateESPPart(part[i], 0,255,0)
  44. spawn(function()
  45. while true do
  46. wait(0.1)
  47. if plr:findFirstChild("TempPlayerStatsModule") then
  48. if plr.TempPlayerStatsModule.IsBeast.Value then
  49. if part[i]:findFirstChild("ESPPart") then
  50. part[i].ESPPart:remove()
  51. end
  52. CreateESPPart(part[i], 255,0,0)
  53. else
  54. if part[i]:findFirstChild("ESPPart") then
  55. part[i].ESPPart:remove()
  56. end
  57. CreateESPPart(part[i], 0,255,0)
  58. end
  59. end
  60. end
  61. end)
  62. end
  63. end
  64. end
  65. end
  66. local player = game.Players:GetChildren()
  67. for i=1,#player do
  68. if player[i].Name == game.Players.LocalPlayer.Name then
  69. else
  70. player[i].CharacterAdded:Connect(function(character)
  71. wait(0.5)
  72. loadCheck(player[i],player[i].Character)
  73. end)
  74. loadCheck(player[i],player[i].Character)
  75. end
  76. end
  77. game.Players.PlayerAdded:Connect(function(player)
  78. player.CharacterAdded:Connect(function(character)
  79. wait(0.5)
  80. loadCheck(player,character)
  81. end)
  82. end)
  83. end)
  84. spawn(function()
  85. while wait(0.5) do
  86. game.Lighting.FogEnd = 10000000
  87. local w = workspace:getDescendants()
  88. for i=1,#w do
  89. if w[i].ClassName == "Part" then
  90. if w[i].Name == "PodTrigger" then
  91. local stuff = w[i].Parent:getChildren()
  92. for i=1,#stuff do
  93. if stuff[i].ClassName == "Part" then
  94. if stuff[i].Transparency ~= 1 then
  95. if stuff[i]:findFirstChild("ESPPart") then
  96. else
  97. local Box = Instance.new("BoxHandleAdornment")
  98. Box.Size = stuff[i].Size
  99. Box.Name = "ESPPart"
  100. Box.Adornee = stuff[i]
  101. Box.Color3 = Color3.fromRGB(0,0,255)
  102. Box.AlwaysOnTop = true
  103. Box.ZIndex = 5
  104. Box.Transparency = 0.8
  105. Box.Parent = stuff[i]
  106. end
  107. end
  108. end
  109. end
  110. end
  111. end
  112. if w[i].Name == "Screen" then
  113. local screen = w[i]
  114. local stuff = w[i].Parent:getChildren()
  115. for i=1,#stuff do
  116. if stuff[i].ClassName == "Part" then
  117. if stuff[i].Transparency ~= 1 then
  118. if stuff[i]:findFirstChild("ESPPart") then
  119. else
  120. local Box = Instance.new("BoxHandleAdornment")
  121. Box.Size = stuff[i].Size
  122. Box.Name = "ESPPart"
  123. Box.Adornee = stuff[i]
  124. Box.Color3 = Color3.fromRGB(100,100,255)
  125. Box.AlwaysOnTop = true
  126. Box.ZIndex = 5
  127. Box.Transparency = 0.8
  128. Box.Parent = stuff[i]
  129. spawn(function()
  130. while screen ~= nil do
  131. Box.Color3 = screen.Color
  132. wait(0.5)
  133. end
  134. end)
  135. end
  136. end
  137. end
  138. end
  139. end
  140. end
  141. end
  142. end)
Add Comment
Please, Sign In to add comment