#why am i getting this error

1 messages · Page 1 of 1 (latest)

pale zephyr
#

coding a grabpack and i dont know how to fix this error

woeful siren
#

you destroy it and then try to get its hitbox

#

it doesnt have a .Touched event since it doesnt exist anymore

jaunty wren
#

You’re doing task.wait on the same CPU thread

#

If u instead did task.delay with a function that does that then it would already be an improvement and fix your issue

#

But there’s more, this is just basic barebones

pale zephyr
#

ok

next steepleBOT
#

studio** You are now Level 3! **studio

pale zephyr
jaunty wren
#

This is the formatting:

task.delay(SECONDS_TO_WAIT, function()
    print(“hi”)
end)
pale zephyr
#

so like this

jaunty wren
grand epoch
pale zephyr
#

after 3 seconds its not gonna kill things anymore

grand epoch
#

okay nice