I am welding a HumanoidRootPart to a part in a cannon, so that when the cannon turns the player turns as well. It initially functions normally, however after the player gets killed being welded to the cannon, whoever then tries to man the cannon (welding themselves to the part) gets themselves killed.
I’ve ironed it down to the weld causing the problem. Whenever the a weld is formed between that part specifically and a character, the character instantly dies. Does anyone know anything regarding welds and character death, or how to solve this problem?
This is odd. Where are you parenting the weld to? If it’s not parented to the Character who dies, then you should try doing so as it’d erase the weld as well when the Character disappears or dies.
This is happening to me too. It works completely fine the first time and a player can equip a turret without any problems. However if they are killed in some way or another while they are using the turret, he and anybody else who tries to use said turret will die when being welded thus rendering the model as single-use and it’s gamebreaking. Does anyone know what the problem is? Here’s my entire welding code.