Which option to choose

Pictures underneath;

Option 1;
https://gyazo.com/514a9071fc6611a245dcd1d0ec5a84ce

Option 2;
https://gyazo.com/6377d6f7e1d369aa82164f139ca4ca13

Question;
Which one should I use?

Edit: I believe I should use the WaitForChild, since there is no BodyPosition made already, but I’m not sure.

Edit 2: Just realised this is probably in the wrong forum.

Option 2 will check if it exists, and then create it if it doesn’t exist.

Option 1 will yield if it doesn’t exist, and will never create a new BodyPosition.

I would go with Option2, but if you want to just yield until it exists, use Option 1. Although I don’t see the point of including the or Instance.new("BodyPosition") in Option1.

2 Likes

They could add a yield time with WaitForChild() as follows:
:WaitForChild(obj, time to yield)