#weapons disappear after death and I cant f igure out how to fix it

18 messages · Page 1 of 1 (latest)

rotund sky
#

where is this script located?

#

can you give some more info about what is not working exactly

limber yokeBOT
#

studio** You are now Level 1! **studio

rotund sky
#

and it does work the first time you spawn?

#

does the vmd still get updated with the right position

#

and if you keep updating the c0 of the weld

#

does that work

#

not the solution, just looking if that helps

flat rune
#

u never re-define vmd here so doesnt this just call the weldGun on a useless vmd

#

at least from the given code thats how it appears

rotund sky
#

vmd is global variable in this script and I don’t really see a part where vmd gets destroyed or set to nil

flat rune
rotund sky
#

yeah that destroys everything inside it

#

not vmd itself

#

also try and use player.CharaterAdded() instead of hum.Died and then a loop

flat rune
#

i dont have enough context for it to be conclusive but if it has important children inside it then they'd get destroyed rendering it useless

rotund sky
#

Yeah I don’t know either what’s inside of vmd

#

but looks like he is recreating all the welds