En la tecla de disparo:
var tiempo;
tiempo=0
if tiempo<6 {tiempo+=1} else {tiempo=0}
if tiempo=0
{
instance_create(x,y,bala)
}
///lo que hace es aumentar la variable tiempo en 1 y al llegar a 5 vuelve a 0 y se reinicia. Cuando la variable es 0 se puede disparar
var tiempo;
tiempo=0
if tiempo<6 {tiempo+=1} else {tiempo=0}
if tiempo=0
{
instance_create(x,y,bala)
}
///lo que hace es aumentar la variable tiempo en 1 y al llegar a 5 vuelve a 0 y se reinicia. Cuando la variable es 0 se puede disparar