The script below, doesn't play any animations or activate the damage script, I believe the problem is within the area labeled "--//Animations" or it is in the function.
--//Variables
local plr = game.Players.LocalPlayer
local tool = script.Parent.Parent
local handle = tool:WaitForChild("Handle")
local blade = tool:WaitForChild("Blade")
local config = tool:WaitForChild("Configuration")
local dmg = config:WaitForChild("Damage")
local cooldown = config:WaitForChild("CoolDown")
--//Animations
repeat wait() until plr.Character.Humanoid
local anifolder = script.Parent.Parent:WaitForChild("Animations")
local slash = plr.Character.Humanoid:LoadAnimation(anifolder:WaitForChild("Animation"))
print('animations loaded')
tool.Activated:connect(function()
blade.Damage.Disabled = false
slash:Play()
wait(cooldown.Value)
blade.Damage.Disabled = true
end)

1 comment
what about slash = it says nothing