I don't even understand what that whole code block was meant to do anyways. After it, you'll just end up having 'player' = the last child of 'playc'. And if that's what you want then why not do:
[code]
player = GetChild(playc,CountChildren(playc))
[/codebox]
Please correct me if I'm wrong. Though, about your main question here I have no idea, but it sounds like Hujiklo is right.
[code]
player = GetChild(playc,CountChildren(playc))
[/codebox]
Please correct me if I'm wrong. Though, about your main question here I have no idea, but it sounds like Hujiklo is right.