#How do i fix this error

1 messages · Page 1 of 1 (latest)

tight sundial
nimble dawn
#

Is your hitbox not checking to make sure you're actively swinging?

tight sundial
#

it works

#

just the error is

#

respawn system

#

i took the quest

#

killed them once

#

took again

#

and killed

#

they got registered as 2

#

but it should be as 1

#

and got spawned as 2

#

@nimble dawn

tight sundial
nimble dawn
brave wing
#

shycode?

tight sundial
#

@brave wing@nimble dawn

nimble dawn
#

It looks like you connect to the died event when a child is added to npcFolder and after you respawn in respawnNPC

brave wing
#

yeah

tight sundial
#

i have tried 2+hrs

#

i cant fix it

nimble dawn
brave wing
#

u call humanoid.died multiple times

tight sundial
nimble dawn
nimble dawn
tight sundial
#

removed other

#

only kept child added

#

this is what happened

nimble dawn
tight sundial
#

u fixed the over lap but not this problem @nimble dawn

#

it should give one kill

#

it give 2

#

or 3

nimble dawn
# tight sundial

Where is the code that does that? Actually increases that number?

tight sundial
#

script

#

serer script

nimble dawn
tight sundial
brave wing
tight sundial
#

@nimble dawn

#

😭

potent dragon
#

pls pastebin

#

next time pls use pastebin

tight sundial
#

I DID USE PASTEBIN

#

@potent dragon

#

@opal scroll

#

hi

#

ig u can only help me out

brave wing
#

are you sure you reset the players progress, or remove the previous quest or stuff like that

tight sundial
#

@brave wing

#

help me

#

😭

#

my brain is ded

#

u are my saviour

brave wing
#

try printing what the progress is at like every moment so u can find out where the error stems from

brave wing
tight sundial
#

ill try

tight sundial
#

@brave wing @nimble dawn

#

anyone of u here?

brave wing
#

yes

tight sundial
#

it still not working

#

i added print

#

statements

#

but it still doest work

#

it works fully

#

but the error or bug is still there

#

@brave wing

patent waveBOT
#

studio** You are now Level 14! **studio

brave wing
tight sundial
#

tell

#

it is not working

#

@brave wing

brave wing
#

ok send code

tight sundial
#

bet

#

@brave wing

#

@brave wing here

nimble dawn
#

The print statements were there to help you debug and figure out where it's going wrong

brave wing
#

what is broken rn, the respawning or quest

tight sundial
#

it respawns

#

like i killed them once

#

i like 1 npc once

#

it register as 1

#

in the quest

#

i.e

#

1/5

#

when i kill that npc again

#

it doubles

#

3/5

#

i wanna fix it

brave wing
#

i think this is wrong script then if the quest thing is borken

tight sundial
#

ill send the main script

#

@brave wing

brave wing
#

when the npcs die does it print twice or anything

vast ibex
#

connecting humanoid.died more than once (again)

tight sundial
#

😭

#

@vast ibex

tight sundial
#

U plz save me

#

I have tried over 2+ or 3+ hrs

vast ibex
tight sundial
#

U last hope pyro

tight sundial
vast ibex
#

imposter! 😱

tight sundial
#

Plz save mw

tight sundial
#

Plz save me

#

Plz 🙏🥺

#

@vast ibex

#

Plzz

vast ibex
#

you made the same error twice - you learned nothing. i see no benefit to anyone spoonfeeding you working code. that's not help. that's free labor.

vast ibex
tight sundial
vast ibex
brave wing
potent dragon
#

task.spawn

tight sundial
#

thnx @vast ibex @brave wing @nimble dawn @potent dragon

#

i made it work