Advertisement
Upscalefanatic3

Witching Hour Anti-Exploit Bypass + Server Destruction

Jan 28th, 2019
3,511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. -- https://www.roblox.com/games/2423436897/Witching-Hour
  2.  
  3.  
  4.  
  5. local REP_STORAGE = game:GetService("ReplicatedStorage")
  6. local UIS = game:GetService("UserInputService")
  7. local RS = game:GetService("RunService")
  8.  
  9. local CLIENT = game.Players.LocalPlayer
  10. local CHAR = CLIENT.Character
  11.  
  12. local WALK_SPEED = 50 -- Set this to the walkspeed you want
  13.  
  14.  
  15.  
  16. ------------[[Stupid anti-exploit bypass]]------------------------------------------
  17. -- This still works, it disables the anti-exploit from kicking you upon detection.
  18. -- They didn't PATCH anything.
  19.  
  20. if REP_STORAGE.Events:FindFirstChild("???") then
  21. REP_STORAGE.Events["???"]:Destroy()
  22. end
  23.  
  24. ------------[[Creates "floor" so you cannot fall into the void]]---------------------
  25.  
  26. local part = Instance.new("Part")
  27. part.Anchored = true
  28. part.Size = Vector3.new(1000000, 0, 1000000)
  29. part.Position = Vector3.new(1114, 53, -154)
  30. -- part.Parent = workspace [Patched - the part gets deleted instantly]
  31. part.Parent = workspace.CurrentCamera -- guess they forgot about that one XD
  32.  
  33. -------------[[Speed hack listener]]------------------------------------------------
  34.  
  35. CHAR.Humanoid.WalkSpeed = WALK_SPEED
  36.  
  37. CHAR.Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
  38. CHAR.Humanoid.WalkSpeed = WALK_SPEED
  39. end)
  40.  
  41. -------------[[Spin / noclip below]]------------------------------------------------
  42.  
  43. local toggle = false
  44.  
  45. local function enableNoclip()
  46. while toggle do
  47. CHAR.Head.CanCollide = false
  48. CHAR["Left Leg"].CanCollide = false
  49. CHAR["Right Leg"].CanCollide = false
  50. CHAR.Torso.CanCollide = false
  51. RS.Stepped:Wait()
  52. end
  53. end
  54.  
  55. local function startSpinning()
  56. while toggle do
  57. local BAV = Instance.new("BodyAngularVelocity")
  58. BAV.AngularVelocity = Vector3.new(0, 599999, 0)
  59. BAV.MaxTorque = Vector3.new(0, 599999, 0)
  60. BAV.Parent = CHAR.HumanoidRootPart or CHAR.Torso
  61. wait(.1)
  62. BAV:Destroy()
  63. end
  64. end
  65.  
  66. local KP = UIS.InputBegan:Connect(function(key, GPE)
  67. if GPE then return end
  68. if key.KeyCode == Enum.KeyCode.Q then
  69. toggle = not toggle
  70. if toggle then
  71. spawn(function() startSpinning() end)
  72. spawn(function() enableNoclip() end)
  73. end
  74. end
  75. end)
  76.  
  77. -- Needs this to stop the loop after you die
  78. CHAR.Humanoid.Died:Connect(function()
  79. toggle = false
  80. KP:Disconnect()
  81. end)
  82.  
  83. --------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement