Script randomly stops working after Tween, only print() works?

@Soflowsen @Sleazel This script is the only script in the game. I made this in a baseplate.

Is the part the player touches, anchored?

I think so, why should that matter?

It shouldn’t, but it somehow does. When it is not anchored in my file, then the second wait after the tween.completed:Wait(), doesn’t work.

Edit: Sleazel explained why that happens in the post below.

Yup, that fixes it. I have 0 clue what anchoring has to do with anything but it fixed my problem! Big shoutout to everyone that helped me :smiley:

Just to let you know that you are setting part to non-collide in the script (script.Parent.CanCollide = false ). If the part was not anchored, it will fall down and get destroyed once it reaches workspace.FallenPartsDestroyHeight. If the script was parented to the part (which it is in your case), it will get destroyed with the part, thus preventing continuation.

2 Likes