#i really need help :(

661 messages Β· Page 1 of 1 (latest)

left scroll
#

chat can someone please help me i am tryna make it like it plays one animation on one m1 another on second m1 and another on third then does a wait before the player can m1 again i cant figure out how to do that neither find any tutorials

#
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local UIS = game:GetService("UserInputService")
local debounce = false

UIS.InputBegan:Connect(function(Input, IS)
    if IS then return end
    if debounce then return end
    if Input.UserInputType == Enum.UserInputType.MouseButton1 then
        debounce = true
        game.ReplicatedStorage.Unarmed:FireServer()
        local animation = script:WaitForChild("Attack1")
        local track = humanoid:LoadAnimation(animation)
        track:Play()
        print("F")
                    humanoid.WalkSpeed = 5
                    humanoid.JumpPower = 0
        wait(.5)    
                    humanoid.JumpPower = 50
                    humanoid.WalkSpeed = 16
            
        debounce = false
    end
end)``` local player script
#
    local punch1 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1.Attack1)
    print("playere")
    local punch2 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1["Attack 3"])
    local canDamage = false
     m1count = 0

            if    m1count == 0 then
        punch1:Play()
end
        if m1count > 0 then

        punch2:Play()

            m1count = 3
end
        
    local hitbox = Instance.new("Part")

    hitbox.Transparency = 1
    hitbox.Parent = workspace
    hitbox.Anchored = true
    print("yes")
    hitbox.CanCollide = false
    hitbox.Shape = Enum.PartType.Block
    hitbox.Size = Vector3.new (10,10,10)
    hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
    game.Debris:AddItem(hitbox,2)

    local Hits = {}
    hitbox.Touched:Connect(function(hit)

        if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
            if not    hit.Parent:FindFirstChild(player.Name) then
                if Hits[hit.Parent.Name] then
                    return
                end
                Hits[hit.Parent.Name] = true
                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                print("damage")
                task.wait(.5)
                Hits[hit.Parent.Name] = false
            m1count = 1
                wait()
            end


                 end
        end)


end)

``` combat server script
#

i tried making a m1count var but it doesnt work

wild thistle
left scroll
#

attack3 is animation

void nexus
#

you need an actual animation id

#

boom

compact gate
#

@left scroll better use a combo as debounce

#

and do animation depending on what combo u have

void nexus
#

attritubtes time

compact gate
#
local Animation = Humanoid:LoadAnimation(Animations[Combo])```
left scroll
compact gate
#

if combo is 1

#

it will play attack1

#

if combo is 2

#

it will play attack2

#

and so on

compact gate
void nexus
#

it doesnt colourize mine 😦

left scroll
void nexus
#

just all white text

compact gate
#

just use combo

#

much better for handling later on

left scroll
#

alright i am a little confused on how do i implement it into my code

compact gate
#

make a global variable called combo

cursive lynx
#

nerds

compact gate
#

and on each remote call do combo += 1

#

this increases ur combo by 1

twin steeple
#

zzz

void nexus
#

get this s0 outta here πŸ—£οΈ

compact gate
#

on each call

twin steeple
compact gate
#

now make if so theres some sort of limit

#

so if combo is equal to 5

cursive lynx
left scroll
#

how do i make it reset after 3 times

compact gate
#

then make it equal 0 again

compact gate
#

and then inside the onserver event

twin steeple
#

😭

compact gate
#

if combo == 3 then
combo = 0
end

cursive lynx
#

🀯

cursive lynx
void nexus
#

stop talking hoss is teaching 😠

cursive lynx
#

combo = combo == 3 and 0 or combo

compact gate
#

im tryna give bro basic help 😎

cursive lynx
#

easier

compact gate
#

😑

cursive lynx
#

πŸ˜”

void nexus
cursive lynx
#

stfu yall shit

left scroll
#

or at start of the server script

compact gate
left scroll
#

why am i so dumb

left scroll
#

or it doesnt matter

#

i am so confused rn that its actually crazy

void nexus
#

take ur time to absorb the knowledge

left scroll
#

do i make a function called combo with punch 1 and punch 2o r what

void nexus
#

local combo = 0

left scroll
#

made it global

#

as he said to do that

void nexus
#

nice

compact gate
#
local Combo = 0

game.ReplicatedStorage.Unarmed.OnServerEvent:Connect(function(player)
    if Combo >= 3 then
        Combo = 0
    end
    Combo += 1 

    local Animation = player.Character.Humanoid:LoadAnimation(Folder:GetChildren()[Combo])
    Animation:Play()
    
    
    local canDamage = false

    local hitbox = Instance.new("Part")

    hitbox.Transparency = 1
    hitbox.Parent = workspace
    hitbox.Anchored = true
    print("yes")
    hitbox.CanCollide = false
    hitbox.Shape = Enum.PartType.Block
    hitbox.Size = Vector3.new (10,10,10)
    hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
    game.Debris:AddItem(hitbox,2)

    local Hits = {}
    hitbox.Touched:Connect(function(hit)

        if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
            if not    hit.Parent:FindFirstChild(player.Name) then
                if Hits[hit.Parent.Name] then
                    return
                end
                Hits[hit.Parent.Name] = true
                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                print("damage")
                task.wait(.5)
                Hits[hit.Parent.Name] = false
                m1count = 1
                wait()
            end


        end
    end)


end)```
void nexus
#

i knew it

compact gate
#

by global i meant make it at the top

#

define where ur animations are btw

#

πŸ™

void nexus
#

u sellout i knew youd just retype it

novel lantern
#

IM HERE TO HELP

cursive lynx
#

average s2

void nexus
#

begone demons

compact gate
compact gate
#

he needed help to make it work 😭

cursive lynx
void nexus
#

soft hands

compact gate
#

get out of the mud first

void nexus
#

nah id win

compact gate
#

@left scroll make sure u have enough animations to fulfill a combo

#

otherwise it will error

novel lantern
novel lantern
#

no

compact gate
#

im gonna touch u

novel lantern
#

restraining order

void nexus
#

WJAT

left scroll
compact gate
void nexus
#

MY MESSAGE GOT BLOCKED??

compact gate
#

and i made combo at the top

#

so combo doesnt reset on each call

#

so the combo variable will always stay

#

so when u call it again next time

left scroll
compact gate
#

it wont start from 0

void nexus
#

@left scroll Does it all make sense now?

compact gate
#

it will start from whaterver it was last time

compact gate
#

so if last time left at 1

void nexus
#

πŸ‘

compact gate
#

it will make it go to 2

#

and so on

cursive lynx
#

actually

left scroll
#

i put all the animation locations instead of the Folder thing right

#

or i am too dumb

#

πŸ’€

cursive lynx
#

combo = combo == 3 and 0 or combo + 1

left scroll
#

oh yay i got one thing correct

cursive lynx
hybrid linden
#

i am eating a full course meal on my bed because im depressed

left scroll
#

would prefer that

#

πŸ’€

void nexus
#

Why are we harassing bros scripting help agony

cursive lynx
#

+1 nesting

compact gate
#

no one gives a shit for the lines

#

😭

hybrid linden
#

i do

void nexus
#

tell em πŸ—£οΈ

left scroll
hybrid linden
#

i am ayoon supporter

cursive lynx
#

ok s2s

compact gate
#
    local Animations = {
        Asset.Animations["Tool Related"]["Dagger Anims"]["1"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["2"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["3"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["4"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["5"],
    }
    local Animation = Humanoid:LoadAnimation(Animations[Combo])```
cursive lynx
#

thats why yall s2

void nexus
compact gate
#

@left scroll u can also do this if u dont like getchildren

#

πŸ‘

left scroll
#

i hate lines 😭

hybrid linden
compact gate
#

12345 is animation names

#

OK IM DONE HERE

cursive lynx
compact gate
#

FUCK YALL

#

GO FIGHT UR VOICES ELSE WHERE

hybrid linden
#

ily hoss

left scroll
compact gate
void nexus
cursive lynx
#

πŸ˜”

#

LMAO

#

he left

void nexus
#

@left scroll Make sure to thank hoss the least fraudelent s2

left scroll
#

ok chat i am too dumb to figure out how do i make it so it knows what animation to play at what combo value

#

god should have given me some brain

left scroll
#

@compact gate ty btw

hybrid linden
#

the voices in my head while scripting

compact gate
#
    local Animations = {
        Asset.Animations["Tool Related"]["Dagger Anims"]["1"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["2"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["3"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["4"],
        Asset.Animations["Tool Related"]["Dagger Anims"]["5"],
    }
    local Animation = Humanoid:LoadAnimation(Animations[Combo])```
#

this will play it so combo 1 plays animation 1

#

combo 2 plays animation 2

left scroll
#

tf is Asset. tho

compact gate
#

1 2 3 4 5 for me is animation name

left scroll
#

like what does it do?

compact gate
#

thats my folder name

#

πŸ™

left scroll
#

ah

#

i thought its some function or something

hybrid linden
#

πŸ’€

left scroll
#

I AM DUMB YK

hybrid linden
#

I should sotp bullying marinated piss names

compact gate
#

@novel lantern stop stalking

left scroll
hybrid linden
#

after all i look like piss name hydrated

left scroll
#

😭

hybrid linden
left scroll
hybrid linden
#

hoss has bloody diarheaa shit name

hybrid linden
#

Opinions?

compact gate
#

thats ok

hybrid linden
#

blocked

compact gate
#

u store ur shit in replicated storage

#

thats literally the same hting

hybrid linden
#

it isnt

compact gate
#

they are both accessible to client

#

😭

hybrid linden
#

STARTERPACK HAS A WHOLE DIFF USE

compact gate
#

ion really give a shit

hybrid linden
compact gate
#

he does what he wants

void nexus
#

kaalki is a exploiter victim

hybrid linden
#

😘

compact gate
#

LET BRO

novel lantern
hybrid linden
#

LET ME COOK

compact gate
#

BEGIN HIS SCRIPTING ADVENTURE

#

OMFG

void nexus
#

ong

hybrid linden
#

lets end his canon event

void nexus
#

tell em hoss πŸ—£οΈ

compact gate
#

LET BRO DISCOVER THE VOICES

novel lantern
#

QUIT SCRIPTING

hybrid linden
#

all those all nighters

#

ONGG]

novel lantern
#

YOU WONT MAKE IT

#

JUST QUIIT

hybrid linden
#

FRIEREN TALK YO SHI πŸ”₯

void nexus
#

OH NAH

hybrid linden
#

πŸ—£οΈ

compact gate
void nexus
#

BRO IS DEMOTIVATING πŸ—£οΈ

compact gate
#

and trust me

#

we scripters

#

treat citrus badly

cursive lynx
#

imagine asking for help

compact gate
#

@cursive lynx did u see this

cursive lynx
#

🫡🀣

hybrid linden
compact gate
#

@cursive lynx

cursive lynx
novel lantern
hybrid linden
novel lantern
#

🧻

hybrid linden
#

he got banned?

compact gate
hybrid linden
compact gate
#

yall can not compare me to these s2's bro

#

KAALKI SHUT UP

hybrid linden
#

.

left scroll
#
    if Combo >= 3 then
        Combo = 0
        
local Unarmed = game.StarterPack.Unarmed1
        local Animations = {
            Unarmed.Attack1.Animations["1"],
            Unarmed.Attack1.Animations["2"],
            Unarmed.Parent.Melee1.Kick.Animations["3"],
        }
        local Animation = Humanoid:LoadAnimation(Animations[Combo])```
hybrid linden
#

IM SUPPROTNG U KID

hybrid linden
#

HOW DARE U TELL ME S

#

TO SHUT UP

#

😭

left scroll
hybrid linden
compact gate
cursive lynx
hybrid linden
#

dumbass

cursive lynx
#

boiji down bad

compact gate
#

rest is good yes

novel lantern
#

wrong gif

hybrid linden
left scroll
compact gate
left scroll
#

local unarmed

hybrid linden
#

wqait why

cursive lynx
#

@boiji

#

NOOOO

hybrid linden
#

whys everyone getting banned recently

#

shinjitaro got banned i heard

compact gate
hybrid linden
#

and now bojjji?

left scroll
hybrid linden
novel lantern
left scroll
#

wait no

#

why did i end it after

compact gate
left scroll
#

my bad my bad

hybrid linden
#

WTF DID I MISS

#

bojji had mod?

compact gate
#

at the very very top

compact gate
#

the mod just deleted bro

left scroll
#

i am sending partial screenshots lol

hybrid linden
compact gate
left scroll
#

ia m dumb BUT NOT THAT DUMB

hybrid linden
compact gate
#

Local Combo = 0

hybrid linden
#

Local

#

πŸ’€

left scroll
#

its meant to be local?

compact gate
#

it has to be same name

#

yup

left scroll
#

someone said it has to be global 😭

void nexus
#

oh yea what happened to boji

compact gate
#

global variabls use alot of memory

hybrid linden
hybrid linden
compact gate
#

kaalki

hybrid linden
compact gate
#

pls stfu i have autocorrect

left scroll
#

LOL

hybrid linden
#

cap

#

i use global variables to make hoss mad on purpose

left scroll
#

alright dones

#

shall it work now

compact gate
#

show me full

#

if i see red lines

#

we gonna have beef

hybrid linden
#

why do i have three notifications

#

lets figure out

left scroll
#

oh it shouldnt

#

i have to remove the .Animations

#

😭 i forgot that

hybrid linden
#

i have chicken dip

compact gate
hybrid linden
left scroll
hybrid linden
#

that was a fake alugh

left scroll
hybrid linden
compact gate
hybrid linden
#

im getting u banned

left scroll
left scroll
hybrid linden
#

@left scroll local Humanoid = Combo.Humanoid.Health

compact gate
hybrid linden
#

yw

compact gate
hybrid linden
#

its defined later πŸ€“

compact gate
#

it doesnt see what is at the bottom

#

i mean

left scroll
#

wait

#

wtf

compact gate
#

at the botto

left scroll
#

where did humanoid go

#

i thought its defined

#

WOW

hybrid linden
hybrid linden
left scroll
#

😭

compact gate
#

make sure its same name

#

πŸ‘

hybrid linden
#

which means u said it was defined at the bottom

cursive lynx
#

bro is ASKING FOR HELP🫡😹

#

bro needs HELP

hybrid linden
#

W skin colors or am i gonna be cancelled

cursive lynx
#

🫡😹

hybrid linden
#

@cursive lynx

cursive lynx
left scroll
hybrid linden
#

why

hybrid linden
left scroll
left scroll
hybrid linden
#

ok idc

left scroll
#

you racist guy

hybrid linden
#

define it

compact gate
#

ok @hybrid linden ur helping him

hybrid linden
compact gate
#

im going back to scripting furries

hybrid linden
#

@left scroll show code

hybrid linden
#

ily babe

left scroll
hybrid linden
#

reported for death threats

#

ur baned

left scroll
#
game.ReplicatedStorage.Unarmed.OnServerEvent:Connect(function(player)

    if Combo >= 3 then
        Combo = 0
        
    end

    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local humanoid = character:WaitForChild("Humanoid")

local Unarmed = game.StarterPack.Unarmed1
        local Animations = {
            Unarmed.Attack1["1"],
            Unarmed.Attack1["2"],
            Unarmed.Parent.Melee1.Kick["3"],
        }
        local Animation = Humanoid:LoadAnimation(Animations[Combo])


    local punch1 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1.Attack1)
    print("playere")
    local punch2 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1["Attack 3"])
    local canDamage = false
    local hitbox = Instance.new("Part")
    hitbox.Transparency = 1
    hitbox.Parent = workspace
    hitbox.Anchored = true
    print("yes")
    hitbox.CanCollide = false
    hitbox.Shape = Enum.PartType.Block
    hitbox.Size = Vector3.new (10,10,10)
    hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
    game.Debris:AddItem(hitbox,2)

    local Hits = {}
    hitbox.Touched:Connect(function(hit)

        if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
            if not    hit.Parent:FindFirstChild(player.Name) then
                if Hits[hit.Parent.Name] then
                    return
                end
                Hits[hit.Parent.Name] = true
                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                print("damage")
                task.wait(.5)
                Hits[hit.Parent.Name] = false
            m1count = 1
                wait()
            end


                 end
        end)


end)

hybrid linden
#

ok try it

left scroll
hybrid linden
#

TRY IT NOW

left scroll
#

17:21:30.648 Players.Robloxfan000098.Backpack.Melee1:18: Incomplete statement: expected assignment or a function call - Studio - Melee1:18

hybrid linden
#

WHERES LINE EIGHTEEN

left scroll
#

nvm that

#

thats another script error

#

but yeah it wont play the

hybrid linden
#

ok fix it

left scroll
#

animations

#

like only first one

left scroll
#

probably me raging

#

17:23:12.769 ServerScriptService.CombatServer:10: attempt to index nil with 'Character' - Server - CombatServer:10

hybrid linden
#

ratio

#

fix it

#

skill issues

left scroll
#

HOW IS IT

#

oh nvm

#

this isnt local script

#

πŸ’€

hybrid linden
#

?

#

is combat server a local

left scroll
#

no

hybrid linden
#

it needs to be

#

are u dumb

#

because locals are server

left scroll
#

why does

void nexus
#

hey

hybrid linden
#

and scripts are client

#

oh fuck

#

reverse go back

left scroll
#

a server script

void nexus
left scroll
#

needto be

#

local

#

😭

hybrid linden
#

um

#

ask reverse

#

reverse its true that server scripts need to be local

#

right

#

πŸ™‚

#

ok he saying yes in his spirtural body

left scroll
#

i used loca player

#

in a non local script

void nexus
#

the problem SHOULD be

left scroll
#

i am just dumb

#

but Yeah what do i substitute it with

void nexus
#

before hoss comes back and gets mad at me

#

try local character = workspace:WaitForChild(player.name)

#

QUICK

#

BEFORE HOSS FINDS OUT WHAT I DID

left scroll
#

i wonder what you did but ok

#

name is null

#

πŸ’€

#

i am quite sure local player isnt meant to work

void nexus
#

wait a minute

#

hold on

left scroll
#

on a non local scipt

void nexus
#

is this a server script?

#

πŸ€¦β€β™‚οΈ

left scroll
#

isnt that what i said earlier

void nexus
#

local player no exist here

left scroll
#

i was asking for a local player substitute

void nexus
#

i aint read allat

left scroll
void nexus
#

there is

#

gimme a sec

hybrid linden
#

ReverseDat ur scirpting licesne is tgetting taken away

void nexus
#

gWAIT

#

WAIt

#

WAIT

hybrid linden
#

sending it to hoss too

void nexus
#
-- Put the rest of script in this



end)```
void nexus
#

df u mean πŸ’€

#

thats the best way to get player in server script

hybrid linden
#

local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()

#

πŸ’€

void nexus
#

wtf

#

Someone flush this piss name down the toilet

hybrid linden
#

no

void nexus
#

wait

#

OMG

#

WAIt

#

I JUST READ THE SCRIPT FOR THE FIRS TTIME

#

kinda weird u aint define the remoteevent

#

all good tho

#

delete local player line

#

@left scroll

#

delete this shit

left scroll
#

already did

#

100 years ago

#

when i realized its not gonna work

#

πŸ’€

void nexus
#

k it should work then

#

u got a player alrdy

compact gate
void nexus
#

NO HOSS

#

PLZ

compact gate
#

@void nexus

#

i saw that shit

void nexus
#

PLEASe

#

NO

#

WAIT

#

WAIt

compact gate
#

u dropped in my eyes so much

#

ur nothing

void nexus
#

PLEASe

compact gate
#

ur not even s1

void nexus
#

I CAN EPXLAIN

#

I DIDNT READ THE SCRIPT

compact gate
#

@brisk acorn revoke his rank pls

void nexus
#

I DIDNT READ THE SCRIPT

#

NO

#

!!!!

left scroll
#

🍿

compact gate
#

what is null @left scroll

void nexus
left scroll
#

loadanimation

#

is nil

#

πŸ’€

#
local Combo = 0
game.ReplicatedStorage.Unarmed.OnServerEvent:Connect(function(player)

    if Combo >= 3 then
        Combo = 0
        
    end

    local character = workspace:FindFirstChild(player.name)
    local humanoid = character:WaitForChild("Humanoid")
local Unarmed = game.StarterPack.Unarmed1
        local Animations = {
            Unarmed.Attack1,
            Unarmed.Attack3,
            Unarmed.Parent.Melee1.Kick,
        }
        local Animation = Humanoid:LoadAnimation(Animations[Combo])


    local punch1 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1.Attack1)
    print("playere")
    local punch2 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1["Attack 3"])
    local canDamage = false
    local hitbox = Instance.new("Part")
    hitbox.Transparency = 1
    hitbox.Parent = workspace
    hitbox.Anchored = true
    print("yes")
    hitbox.CanCollide = false
    hitbox.Shape = Enum.PartType.Block
    hitbox.Size = Vector3.new (10,10,10)
    hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
    game.Debris:AddItem(hitbox,2)

    local Hits = {}
    hitbox.Touched:Connect(function(hit)

        if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
            if not    hit.Parent:FindFirstChild(player.Name) then
                if Hits[hit.Parent.Name] then
                    return
                end
                Hits[hit.Parent.Name] = true
                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                print("damage")
                task.wait(.5)
                Hits[hit.Parent.Name] = false
            m1count = 1
                wait()
            end


                 end
        end)


    end)

end )````
#

(i removed [1] [2] as it was null)

compact gate
#

yes 1 2 was my animation names

#

😭

left scroll
#

yeah ofc

void nexus
#

hoss u fraud

compact gate
#

works?

left scroll
#

that was obvious to a monkey brain like me too

compact gate
#

delete these 2

left scroll
# compact gate works?

17:32:30.426 ServerScriptService.CombatServer:18: attempt to index nil with 'LoadAnimation' - Server - CombatServer:18

compact gate
#

u dont need them

left scroll
#

oh right

left scroll
#

why is loadanimation nill

#

it is

#

oh right

#

caps

#

case sensitive

compact gate
#
    local Combo = 0
game.ReplicatedStorage.Unarmed.OnServerEvent:Connect(function(player)
    local Character = Player.Character
    local Humanoid = Character:WaitForChild("Humanoid")

        if Combo >= 3 then
            Combo = 0

        end
        local Unarmed = game.StarterPack.Unarmed1
        local Animations = {
            Unarmed.Attack1,
            Unarmed.Attack3,
            Unarmed.Parent.Melee1.Kick,
        }
        local Animation = Humanoid:LoadAnimation(Animations[Combo])


        local punch1 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1.Attack1)
        print("playere")
        local punch2 = player.Character.Humanoid:LoadAnimation(game.StarterPack.Unarmed1["Attack 3"])
        local canDamage = false
        local hitbox = Instance.new("Part")
        hitbox.Transparency = 1
        hitbox.Parent = workspace
        hitbox.Anchored = true
        print("yes")
        hitbox.CanCollide = false
        hitbox.Shape = Enum.PartType.Block
        hitbox.Size = Vector3.new (10,10,10)
        hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
        game.Debris:AddItem(hitbox,2)

        local Hits = {}
        hitbox.Touched:Connect(function(hit)

            if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
                if not    hit.Parent:FindFirstChild(player.Name) then
                    if Hits[hit.Parent.Name] then
                        return
                    end
                    Hits[hit.Parent.Name] = true
                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                    print("damage")
                    task.wait(.5)
                    Hits[hit.Parent.Name] = false
                    wait()
                end


            end
        end)


    end)
#

@left scroll

#

they are trolling u

compact gate
#

i got rid of the character variable

#

where it was incredibly wrong

left scroll
#

" 17:35:12.933 LoadAnimation requires an Animation object - Server - CombatServer:18"

compact gate
#

deletd a variable we dont use

left scroll
compact gate
#

can u do

#

print("Animations")

cursive lynx
#

still yapping here

left scroll
#

after what

compact gate
#

and see classname

#

after animations directly

#

show me the folder too πŸ‘

left scroll
#

it wont print animations

compact gate
#

wdym

left scroll
#

wait

#

is my local script causing problems

#
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local UIS = game:GetService("UserInputService")
local debounce = false

UIS.InputBegan:Connect(function(Input, IS)
    if IS then return end
    if debounce then return end
    if Input.UserInputType == Enum.UserInputType.MouseButton1 then
        debounce = true
        game.ReplicatedStorage.Unarmed:FireServer()
        local animation = script:WaitForChild("Attack1")
        local track = humanoid:LoadAnimation(animation)
        track:Play()
        print("F")
                    humanoid.WalkSpeed = 5
                    humanoid.JumpPower = 0
        wait(.5)    
                    humanoid.JumpPower = 50
                    humanoid.WalkSpeed = 16
            
        debounce = false
    
    end
end)```
#

as it does play the attack1 animation

#

on left click

void nexus
#

that might actually be a problemo

compact gate
#

not really

#

just get rid of it from here

left scroll
#

shall i remove track:play

#

from the local script

compact gate
#

and animation too

#

u dont need it here

left scroll
#

removed both animation adn track varibales

#

aswell as track:play

compact gate
#

now try

left scroll
#

i got 2 errrors

#

" 17:38:00.049 OnServerEvent can only be used on the server - Client - Melee1:2"

#

" 17:38:00.717 LoadAnimation requires an Animation object - Server - CombatServer:18"

compact gate
#

why do u have

#

on server event

#

on client

#

😭

void nexus
left scroll
#

wtf

void nexus
#

he prolly meant to do onclientevent

left scroll
#

WHY IS THE CODE I DID IN SERVER SCRIPT

#

IN THE MELEE SCRIPT

#

😭

#

WHAT

compact gate
#

u tell me

left scroll
#

i want to answer myself

#

OH

#

I PASTED YOUR CODE

#

IN THE WRONG SCRIPT

#

LMAOO

void nexus
left scroll
#

I AM SO FUCKING DUMB

#

anyways i fixed that

left scroll
#

fixed that

#

@compact gate

#

it still says load animation needs a animation object

#

17:44:29.330 LoadAnimation requires an Animation object - Server - CombatServer:16

#

@void nexus

void nexus
#

uh

#

im boutta go eat soon but

#

u got any animation id in ur kick?

left scroll
void nexus
#

strange

#

can u show a pic of the kick properties

left scroll
left scroll
#

kick attack3 attack1

#

or what

#

kick is also used for heavy attack

#

and the animation plays perfectly in that

void nexus
#

do all they anims work?

#

or just kick not working

left scroll
#

@void nexus

left scroll
#

kick does work from another script tho

void nexus
#

yeah u gotta get hoss to finsih his job here

#

imma go eat

left scroll
#
game.ReplicatedStorage.Unarmed.OnServerEvent:Connect(function(player)
    local Character = player.Character
    local Humanoid = Character:WaitForChild("Humanoid")

    if Combo >= 3 then
        Combo = 0

    end
    local Unarmed = game.StarterPack.Unarmed1
    local Animations = {
        Unarmed.Attack1,
        Unarmed.Attack3,
        Unarmed.Parent.Melee1.Kick,
    }
    local Animation = Humanoid:LoadAnimation(Animations[Combo])

    print("playere")
    local canDamage = false
    local hitbox = Instance.new("Part")
    hitbox.Transparency = 1
    hitbox.Parent = workspace
    hitbox.Anchored = true
    print("yes")
    hitbox.CanCollide = false
    hitbox.Shape = Enum.PartType.Block
    hitbox.Size = Vector3.new (10,10,10)
    hitbox.CFrame = player.Character.HumanoidRootPart.CFrame CFrame.new(0,0,-5)
    game.Debris:AddItem(hitbox,2)

    local Hits = {}
    hitbox.Touched:Connect(function(hit)

        if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= player.Name then
            if not    hit.Parent:FindFirstChild(player.Name) then
                if Hits[hit.Parent.Name] then
                    return
                end
                Hits[hit.Parent.Name] = true
                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
                print("damage")
                task.wait(.5)
                Hits[hit.Parent.Name] = false
                wait()
            end


        end
    end)


end)``` current code
void nexus
#

wait

#

before i go

#

where is the counter += 1

#

been wondering for a while

left scroll
#

counter?

rare portalBOT
#

studio** You are now Level 9! **studio

void nexus
#

yeah

#

u know

#

the thing that increases the counter number

#

so it cycles through the animations

left scroll
#

OH RIGHT WHERE IS THAT

#

oh also @void nexus

void nexus
#

also

left scroll
#

i have one question

void nexus
#

ye

left scroll
#

where does it play the animation

void nexus
#

i was actually

#

about to ask that

left scroll
#

πŸ’€

void nexus
#

been wondering all this for a while ngl

#

so ye

#

that might be it

left scroll
#

is this fine

#

animation play is meant to be there

#

i aint sure about combo +=1

void nexus
#

yeah its fine

#

as long as its after play should be fine

left scroll
#

still same error

void nexus
#

show error

#

and tbh i think u should make combo = 1

left scroll
#

@void nexus also how does it know which animation to play on what combo value

void nexus
#

1 being the first thing

#

2 being the second

#

and so on

left scroll
void nexus
#

not sure

#

also

#

uh

#

theres some more wrong but hoss got this

left scroll
charred heart
#

DBD??

novel lantern
#

yappersville, rsc

left scroll
#

whats that

left scroll
left scroll
#

(i already fixed it all thank you yall)

compact gate
#

how did u guys yap so much

#

😭