soo, my friend did great sword animation, but it doesnt works, the sword doesnt moves
https://gyazo.com/07f9973622cd80830b0ebe3d0a52c501
thats how it looks like in studio
https://gyazo.com/1b6c9716b5e102ca4113bf9135c000c4
my sword doesnt moves at all, thats the code:
local debounce = false local ragdoll = require(game.ServerScriptService.Ragdoll) local function attack(plr) for i,v in pairs(workspace:GetChildren()) do if v.Name ~= plr.Character.Name then if v:FindFirstChild("Humanoid") then if (plr.Character.Torso.Position - v.Torso.Position).Magnitude < 15 then if not v:FindFirstChild("counter") then local huumanE = v.Humanoid huumanE:TakeDamage(7) local hit = Instance.new("BoolValue",v) hit.Name = "Hit" huumanE.WalkSpeed = 1 game.Debris:AddItem(hit,1) return v else plr.Character.Humanoid.WalkSpeed = 0 local hit = Instance.new("BoolValue",plr.Character) hit.Name = "Hit" local anim = plr.Character.Humanoid:LoadAnimation(script.GetCounter) anim:Play() for i,v in pairs(v.Humanoid:GetPlayingAnimationTracks()) do v:Stop() end v.counter.Value = true v.counter:Destroy() wait(2) hit:Destroy() plr.Character.Humanoid.WalkSpeed = 16 end end end end end end script.Parent.OnServerEvent:Connect(function(plr) if debounce == false then if not plr.Character:FindFirstChild("Hit") then script.Parent.Parent.Parent.Handle.Trail.Enabled = true local humanF = plr.Character.Humanoid script.Parent.Parent.Parent.Handle["Slash 4"]:Play() local hit = Instance.new("BoolValue",plr.Character) hit.Name = "Hit" local anim = humanF:LoadAnimation(script.Swing1) anim:Play() wait(.5) local char = attack(plr) if char then local bv = Instance.new("BodyVelocity",char.HumanoidRootPart) bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge) bv.Velocity = plr.Character.HumanoidRootPart.CFrame.lookVector * 50 local par = script.Blood:Clone() par.Parent = char.Torso par:Emit(500) game.Debris:AddItem(par,2) game.Debris:AddItem(bv,2) ragdoll(char,2) char.Humanoid.WalkSpeed = 16 end wait(.5) script.Parent.Parent.Parent.Handle.Trail.Enabled = false hit:Destroy() end end end)