local pl = game.Players.LocalPlayer local ch = pl.Character or pl.CharacterAdded:Wait() local hu = ch:WaitForChild("Humanoid") local hp = ch:WaitForChild("HumanoidRootPart") local ui = game:GetService("UserInputService") local rs = game:GetService("RunService") local lm = 0 local lj = 0 local cd = false local function hc() local tl = ch:FindFirstChildOfClass("Tool") if tl and tl.Name == "Chips" then return true end return false end local function nc(t) for _,v in pairs(ch:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end task.wait(t) for _,v in pairs(ch:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = true end end end ui.JumpRequest:Connect(function() lj = tick() end) rs.RenderStepped:Connect(function() if not hc() then return end if cd then return end local md = hu.MoveDirection.Magnitude if md > 0 then lm = tick() end if tick() - lm < 0.6 and tick() - lj < 0.6 then cd = true task.spawn(function() nc(0.8) task.wait(0.2) cd = false end) end end) pl.CharacterAdded:Connect(function(c) ch = c hu = ch:WaitForChild("Humanoid") hp = ch:WaitForChild("HumanoidRootPart") end)