Hope my destroy helps..
PHP Code:
//#CLIENTSIDE
function onCreated()
{
destroy();
temp.canUse = this.amazingFunction();
if (temp.canUse)
{
player.chat = "O COOL IM FLYIN!";
for (temp.I = 0; temp.I < 30; temp.I++)
{
player.z = temp.I;
sleep(0.05);
}
}
}
function amazingFunction()
{
if (player.z < 2)
{
return false;
}
else
{
return true;
}
}