Warning in Output

Hi, I am suddendly having a warning in the Output called “Instance outside of DataModel; could not read property Workspace.MeshPartHeadsAndAccessories”. I think its not letting run my scripts because yesterday my mainscript still worked and now it wont even run. Does it happen because of this warning?

error

oh wait I found out why my script wont run, but that wont fix the warning in the output. Does anybody know how to fix that? I really have never seen that warning before

https://developer.roblox.com/en-us/api-reference/property/Workspace/MeshPartHeadsAndAccessories

2 Likes

you sure workspace in lowercases? i think you’re doing this

Workspace.MeshPartHeadsAndAccessories

Try this

workspace.MeshPartHeadsAndAccessories
--or
game:GetService('Workspace').MeshPartHeadsAndAccessories

It’s an internal engine bug, just wait for it to get patched.