Local Script won't get physical objects such as Character Parts but gets non physical parts like scripts and Values

I don’t know if this is more of a bug or something I don’t know, recently I made a first person camera script for my AI that I used for a interesting camera angle on them fighting each other, (Ai vs Ai). This worked quite well and was a local script in the starter character scripts. However I decided to change maps and used the same script. This time however the local script detects the AI’s Character Model but does not detect body parts such as Head, Torso, Right Arm, Left Leg, etc. I used the Head and updated the players CFrame to the Head CFrame but now the local script doesn’t detect this. I tried figuring it out and used :GetChildren() And printed the children of the Character Model. Surprisingly the local script only detected non physical objects such as Values, Scripts and Another Model Inside the Character. This is my first time encountering this and I think this is a bug. Any help would be great!

Image of Characters ACTUAL Children

Image of the Print of the Characters Children

What it looks like

What it should look like

Do you have streaming enabled? If so, it might be that the parts haven’t been streamed in at the point you’re trying to detect the parts.

I would try disabling it to quickly see if that fixes anything.

2 Likes

Alright I will try that thanks!

It worked! I never have looked into model streaming before but now it makes a lot more sense given how large the map is. Have a great Day!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.