but when i run this script:
Code: Select all
{
Health [playerhealth]
HP [100]
JumpForce [100]
Spawn[ ()
{
Console(true);
LowLevel("setup");
} ]
setup[ ()
{
PlayerToPosition(0, 0, 0, false);
AttachCamera();
PlayerRender(false);
self.think = "controls";
} ]
controls[ ()
{
if(IsKeyDown(15) = true)
{
PositionToPlayer(0,0,0);
}
} ]
}