Got trigger detection with the player working

Now the player can enter and exit the trigger and it will only affect
the player and nothing else.