Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- https://www.roblox.com/games/2423436897/Witching-Hour
- local REP_STORAGE = game:GetService("ReplicatedStorage")
- local UIS = game:GetService("UserInputService")
- local RS = game:GetService("RunService")
- local CLIENT = game.Players.LocalPlayer
- local CHAR = CLIENT.Character
- local WALK_SPEED = 50 -- Set this to the walkspeed you want
- ------------[[Stupid anti-exploit bypass]]------------------------------------------
- -- This still works, it disables the anti-exploit from kicking you upon detection.
- -- They didn't PATCH anything.
- if REP_STORAGE.Events:FindFirstChild("???") then
- REP_STORAGE.Events["???"]:Destroy()
- end
- ------------[[Creates "floor" so you cannot fall into the void]]---------------------
- local part = Instance.new("Part")
- part.Anchored = true
- part.Size = Vector3.new(1000000, 0, 1000000)
- part.Position = Vector3.new(1114, 53, -154)
- -- part.Parent = workspace [Patched - the part gets deleted instantly]
- part.Parent = workspace.CurrentCamera -- guess they forgot about that one XD
- -------------[[Speed hack listener]]------------------------------------------------
- CHAR.Humanoid.WalkSpeed = WALK_SPEED
- CHAR.Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
- CHAR.Humanoid.WalkSpeed = WALK_SPEED
- end)
- -------------[[Spin / noclip below]]------------------------------------------------
- local toggle = false
- local function enableNoclip()
- while toggle do
- CHAR.Head.CanCollide = false
- CHAR["Left Leg"].CanCollide = false
- CHAR["Right Leg"].CanCollide = false
- CHAR.Torso.CanCollide = false
- RS.Stepped:Wait()
- end
- end
- local function startSpinning()
- while toggle do
- local BAV = Instance.new("BodyAngularVelocity")
- BAV.AngularVelocity = Vector3.new(0, 599999, 0)
- BAV.MaxTorque = Vector3.new(0, 599999, 0)
- BAV.Parent = CHAR.HumanoidRootPart or CHAR.Torso
- wait(.1)
- BAV:Destroy()
- end
- end
- local KP = UIS.InputBegan:Connect(function(key, GPE)
- if GPE then return end
- if key.KeyCode == Enum.KeyCode.Q then
- toggle = not toggle
- if toggle then
- spawn(function() startSpinning() end)
- spawn(function() enableNoclip() end)
- end
- end
- end)
- -- Needs this to stop the loop after you die
- CHAR.Humanoid.Died:Connect(function()
- toggle = false
- KP:Disconnect()
- end)
- --------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement