I want to play the animation
Problem is some how I can’t find a animation
local tool = script.Parent
local maxcount = 5
local count = 0
local db = false
local Currtik = 0
local Prevtick = nil
local RS = game:GetService("ReplicatedStorage")
local animation = {
RS.Stuff.Animation.Fist[1],
RS.Stuff.Animation.Fist[2]
}
tool.Activated:Connect(function()
local player = game:GetService("Players").LocalPlayer
local char = player.Character
local hum = char:FindFirstChild("Humanoid")
local Animator = hum:FindFirstChild("Animator")
local aa = Animator:LoadAnimation(animation[count])
aa:Play()
if tick() - Currtik <= 0.5 then
if count >= 2 then
count = 0
end
count += 1
else
count = 0
end
Currtik = tick()
end)