iam not sure but i think there is sone thing worng with the OnPlayerSpawn();
i thing it shot look like this:
onPlayerSpawned()
{
self endon("disconnect");
for(;
{
self waittill("spawned_player");
}
}
ups ima sry made it woring here is the right one
onPlayerSpawned()
{
self endon("disconnect");
for(;
{
self waittill("spawned_player");
}
}