Fully updated with working bullet detection