Skip to content

Instantly share code, notes, and snippets.

View ajmwagar's full-sized avatar
🏠
Working from home

Avery Wagar ajmwagar

🏠
Working from home
View GitHub Profile
// Import the zipbot library
const { Bot, Event } = require("zipbot");
const axios = require("axios");
const Querystring = require('querystring');
// Create a new bot object
// However no auth is needed since we host it all in our own private environment
const bot = new Bot();

Keybase proof

I hereby claim:

  • I am ajmwagar on github.
  • I am ajmwagar (https://keybase.io/ajmwagar) on keybase.
  • I have a public key ASC8J7vnwwMEDW8iXSyWbVgh2cK2wARY_chJfQq7plwc-go

To claim this, I am signing this object:

@ajmwagar
ajmwagar / fly.js
Last active December 11, 2017 00:01
// Setup variables
var maxSpeed = 50.0;
var accelKey = "lshift";
var slowKet = "space"
var leftKey = "left";
var rightKey = "right";
var upKey = "up";
var downKey = "down";
var accel = 1.2;
var decel = 0.8;
using UnityEngine;
using System.Collections.Generic;
public class Controls : MonoBehaviour {
// This
public RaycastHit lastRaycastHit;
public LayerMask teleportLayer;
public GameObject player;
public Camera cam;