hydraontopp_void/Void/Modules/Glide.cs
#region

using Void.ClientBase;
using Void.ClientBase.VersionBase;
using Void.Modules.vModuleExtra;

#endregion

namespace Void.Modules
{
    internal class Glide : Module
    {
        public Glide() : base("Glide", (char)0x07, "Player")
        {
            addBypass(new BypassBox(new string[] { "Void", "Horion", "None" }));
        } // Not defined

        public override void OnTick()
        {
            if (Game.isNull) return;

            if (bypasses[0].curIndex == 0)
                MCM.writeFloat(Game.localPlayer + VersionClass.GetData("velocity") + 4, -0.01f);
            if (bypasses[0].curIndex == 1)
                MCM.writeFloat(Game.localPlayer + VersionClass.GetData("velocity") + 4, -0.1f);
            if (bypasses[0].curIndex == 2)
                MCM.writeFloat(Game.localPlayer + VersionClass.GetData("velocity") + 4, 0f);
        }
    }
}