Im trying to change the animations, but I don't know how.
the id of keyframesequence: 10123018321
Script:
local tool = script.Parent
local canDamage = false
local function onTouch(otherPart)
local humanoid = otherPart.Parent:FindFirstChild("Humanoid")
if not humanoid then
return
end
if humanoid.Parent ~= tool.Parent and canDamage then
humanoid:TakeDamage(400)
else
return
end
canDamage = false
end
local function slash()
local str = Instance.new("StringValue")
str.Name = "toolanim"
str.Value = "Slash"
str.Parent = tool
canDamage = true
end
tool.Activated:Connect(slash)
tool.Handle.Touched:Connect(onTouch)
Please Help!

3 comments
wat
https://developer.roblox.com/en-us/api-reference/class/Animation, use this to learn more about how to use animations. you would replace the slash function with the animation
ok ty