elseif chr:HasTag("Combo3") then
task.spawn(function()
task.wait(.25)
local st = os.time()
local hitplrs = {}
while os.time() - st < .2 do
local hitcast = hb.Create(chr,chr["Right Arm"].handle["Blade Of The Fallen"].main.Size,chr["Right Arm"].handle["Blade Of The Fallen"].main.CFrame)
for i, v in pairs(hitcast) do
if not table.find(hitplrs,v.Name) then
table.insert(hitplrs,v.Name)
if v:HasTag("M1ing") and v:HasTag("Clashable") then
local animationTracks = plr.Character.Humanoid:GetPlayingAnimationTracks()
for _, track in pairs(animationTracks) do
if track.Name == "AA3" then
track:Stop()
end
end
print(plr.Name.." and "..v.Name.." clashing rn lol")
return
else
v.Humanoid:TakeDamage(5)
end
end
end
task.wait()
end
end)
task.spawn(function()
chr:AddTag("Using")
chr:AddTag("M1ing")
chr:AddTag("Clashable")
chr.Humanoid:LoadAnimation(game.ReplicatedStorage.Movesets.Psycho.Anims.AA3):Play()
task.wait(.25)
chr:RemoveTag("M1ing")
chr:RemoveTag("Using")
chr:RemoveTag("Clashable")
end)
task.spawn(function()
chr:RemoveTag("Combo3")
task.wait(.2)
chr:AddTag("Combo4")
end)
thats the script but sometimes the created hitbox dont cast for 0.2 sec and it comes like 0.01 sec and then it goes away