Here's your starter for ten:
Timer() returns the length of time since the app started. so t#=timer() would set t# to the length of time the app has been running for. Timer() on its own is doing absolutely nothing for your app apart from wasting CPU.
In your code, you have two sections as follows:
Select c
case 1:
SetSpritePosition(Duck[1],0,105)
endcase
case 2:
SetSpritePosition(Duck[2],20,105)
endcase
case 3:
SetSpritePosition(Duck[3],40,105)
endcase
case 4:
SetSpritePosition(Duck[4],60,105)
endcase
case 5:
SetSpritePosition(Duck[5],80,105)
endcase
EndSelect
These can both be re-written as:
SetSpritePosition(Duck[c],20*(c-1),105)
You have a comment: //Repeat Random if Rand1 = Rand2
but then you don't repeat... you just try one more time. What if it is the same result again the 2nd time around? Instead you need:
While Rand1 = Rand2
Rand1 = Random(1,MaxDuck)
endwhile
There's too much wrong with your code. A complete re-write would be easier than trying to fix it. In fact, I have done just that. A simple duckshoot game in 48 lines of code with increasing difficult over time (more ducks to shoot, and they get faster). It's actually quite neat so I think I'll work on it a little more.
Good luck with yours man!