Originally posted by Kyle Sloane
Nevermind I figured it out. Anyone else getting this error just change it from sim.getParentEntityId() to getParentEntityId() cuz its a method of the script class not the sim class
It's a method of the Entity class, not Script. Script extends Entity.