I am trying to try new things so I had made a prototype game but i can,t get my code working the problem is when the player dies he does respawn at my specific pos(X and y) any help?? ๐ --levels-- --objs-- --make_player(x1,y1) --make_ballons(x1,y1) -------- --area---- level=1 function make_levels() --vars-- txt_y=60 -------- --objs---place_here_โฌ๏ธ make_ballons(13*8,6*8) ---------------------- end function update_levels() txt_y+=sin(time()*0.5)*0.4 for p in all(players) do if p.x > area_x2 - p.w then p.x = 127 - p.w p.dx = 0 elseif p.x < area_x1 then p.x = 0 p.dx = 0 end end --levels-- if level==1 then camx=0 camy=0 --make_player-- if can_make_player then make_player(2*8,11*8) can_make_player=false end --------------- if touched_ballons then level=2 end elseif level==2 then camx=0+128 camy=0 if can_make_player then make_player(2*8,11*8) can_make_player=false end end ---------- end function text_gui() if level==1 then prt_out("you", 10, txt_y, 12, 1) prt_out("must", 25, txt_y, 12, 1) prt_out("die", 45, txt_y, 12, 1) prt_out("touch", 60, txt_y, 12, 1) prt_out("ballon", 85, txt_y, 12, 1) end end