How i can fix this?, Do you think I need to add delay?, or what?
the slide script:
`local UIS = game:GetService("UserInputService")
local char = script.Parentlocal slideAnim = Instance.new("Animation")
slideAnim.AnimationId = "rbxassetid://136079110402715"local canslide = true
UIS.InputBegan:Connect(function(input,gameprocessed)
if gameprocessed then return end
if not canslide then return endif input.KeyCode == Enum.KeyCode.C and UIS:IsKeyDown(Enum.KeyCode.LeftShift) then canslide = false local playAnim = char.Humanoid:LoadAnimation(slideAnim) playAnim:Play() local slide = Instance.new("BodyVelocity") slide.MaxForce = Vector3.new(1,0,1) * 30000 slide.Velocity = char.HumanoidRootPart.CFrame.lookVector * 100 slide.Parent = char.HumanoidRootPart for count = 1, 8 do wait(0.1) slide.Velocity*= 0.7 end playAnim:Stop() slide:Destroy() canslide = true endend)`
** You are now Level 3! **