# Need some help

**URL:** https://forum.kirupa.com/t/need-some-help/225563
**Category:** Uncategorized
**Created:** [May 13, 2007, 8:21pm UTC](https://forum.kirupa.com/t/need-some-help/225563 "2007-05-13T20:21:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Darkblade](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Darkblade](https://forum.kirupa.com/u/Darkblade)
#### Post date: [May 13, 2007, 8:21pm UTC](https://forum.kirupa.com/t/need-some-help/225563/1 "2007-05-13T20:21:39Z")

</div>

In one of my games in production I am trying to get my main charector “USman” to get into a truck, although deleting him after he gets in. Here is my code what am I doing wrong?

```auto

onClipEvent (load) {
entering = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(KEY.SHIFT)) {
        entering = true;
    } else {
        entering = false;
    }
    if (entering=true) {
        if (_root.truck.hitTest(removeMovieClip(USman))) {
            truck.gotoAndStop(3);
        }
}

```

I obviously have more code, but that is where I believe the problem lies. Also do I need to put any actionscript in the truck to make this work?

THANKS A LOT FOR ANY HELP!! :thumb2::thumb2:
