using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Avernus
{
public partial class Avernus : Form
{
Timer time = new Timer();
public Form1()
{
time.Tick += timertick;
time.Start();
}
private void timertick(object sender, EventArgs e)
{
if (ForlornApi.Api.IsRobloxOpen())
{
robloxopen.Text = "Roblox Open: ✔️";
}
else
{
robloxopen.Text = "Roblox Open: ✖️";
}
if (ForlornApi.Api.IsInjected())
{
status.Text = "Status: Injected!";
}
else
{
status.Text = "Status: Not Injected!";
}
}
private void Inject_Click(object sender, EventArgs e)
{
ForlornApi.Api.Inject();
}
private void KillRoblox_Click(object sender, EventArgs e)
{
ForlornApi.Api.KillRoblox();
}
private void Clear_Click(object sender, EventArgs e)
{
richTextBox1.Clear();
}
private void Execute_Click(object sender, EventArgs e)
{
ForlornApi.Api.ExecuteScript(richTextBox1.Text)
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
ForlornApi.Api.SetAutoInject(checkBox1.Checked);
}
}
}