{$CLEO .cs}

0000: NOP 
wait 0 
Model.Load(#BAT)
038B: load_requested_models 

:PICK_66
wait 0
Model.Available(#BAT) 
if 
   00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 257.2742 -43.0006 1002.0234 radius 5.0 5.0 5.0
jf @PICK_66 
Object.Create(1@, #BAT, 257.2742 -43.5 1001.9)
0453: set_object 1@ XYZ_rotation 85.0 0.0 -70.0

:PICK_76
wait 0 
if and
0471:   actor $PLAYER_ACTOR near_object_in_rectangle 1@ radius 2.0 2.0 sphere 0 
is_key_pressed 70 
jf @PICK_76 
wait 0 
Object.Destroy(1@)
01B2: give_actor $PLAYER_ACTOR weapon 5 ammo 1 // Load the weapon model before using this

:PICK_64
wait 0
if or
03D9:   save_done
80FE:   not actor $PLAYER_ACTOR sphere 0 in_sphere 2490.781 -1705.4697 1018.3437 radius 60.0 60.0 60.0
jf @PICK_64
 Object.Destroy(1@)
  wait 360000
jump @PICK_66
