Skip to content

Instantly share code, notes, and snippets.

@Matthew-Burfield
Last active April 8, 2017 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Matthew-Burfield/6d251a5596e20bdf429a859f5244c3cf to your computer and use it in GitHub Desktop.
Save Matthew-Burfield/6d251a5596e20bdf429a859f5244c3cf to your computer and use it in GitHub Desktop.
const magik = magikcraft.io;
function fire(num = 1) {
const playerLoc = magik.getSender().getLocation();
playerLoc.yaw += 10;
magik.ianuae(playerLoc);
magik.infierno();
if (num > 0) {
magik.setTimeout(function () {
fire(num - 1);
}, 100);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment