Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why the AnimationTrack is limited?

Asked by 5 years ago

``` local click = true

script.Parent.MouseButton1Down:Connect(function()

local list = {["punch1"] = 3104692191, ["punch2"] = 3104716316,

["punch3"] = 3104753008, ["punch4"] = 3104757923, ["punch5"] = 3104784008,

["kick1"] = 3104842771,

["kick2"] = 3104856885, ["kick3"] = 0,

["kick4"] = 3104867228, ["kick5"] = 3104885053,

["dodge1"] = 3105608193, ["dodge2"] = 3105636123, ["dodge3"] = 310564515,

["block"] = 3105751460,

["slam1"] = 3141884758, ["slam2"] = 3141903971, ["slam3"] = 3148345856,

["air1"] = 3141945235, ["air2"] = 3141984167}

local char = game.Players.LocalPlayer.Character

local humanoid = char:findFirstChild("Target")

local animation = char:findFirstChild("cAnimation")

local system = char:findFirstChild("Combo System")

local attacking = system.Damage.Attacking

local takinghits = system.Damage["Taking Hits"]

local hits = system.Damage.hits

local Keys = {["dodge"] = system.Keys.Dodge,

["punch"] = system.Keys.Punch,

["kick"] = system.Keys.Kick}

if click == true then

if takinghits.Value == false then

if attacking.Value == true then

click = false

local event = game.ReplicatedStorage["Combat System"].Damages

event.punch:FireServer()

if hits.Value < 3 then

local punching = math.random(1, 2)

if punching == 1 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch1")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

if punching == 2 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch2")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

end

if hits.Value >= 3 then

local punching = math.random(1, 5)

if punching == 1 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch1")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

if punching == 2 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch2")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

if punching == 3 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch3")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

if punching == 4 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch4")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

if punching == 5 then

char.Animate.Disabled = true

humanoid.JumpPower = 0

humanoid.WalkSpeed = 8

local animate = animation.Punch:findFirstChild("punch1")

if animate then

local action = humanoid:LoadAnimation(animate)

action:Play()

wait(1)

humanoid.JumpPower = 50

humanoid.WalkSpeed = 18

char.Animate.Disabled = false

action:Stop()

click = true

end

end

click = false

wait(1)

click = true

end

end

end

end

end)

```

0
I hate this new update on SH FunimationStudioArt -14 — 5y
0
This happens when the player kept pressing the button FunimationStudioArt -14 — 5y

Answer this question