Help with a code

Oh ok i prefer a new code from someone else, because maybe Im doing something wrong.