Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.39 KB | None | 0 0
  1. //Survival Script
  2. echotrig = 0
  3. gotspawn = 0
  4.  
  5. recursive_alive_check = [
  6.   if (! (alive)) [
  7.     if (= $echotrig 0) [
  8.       time_of_death = (millis)
  9.       echo You survived for (divf (- $time_of_death $time_of_spawn) 1000) seconds.
  10.       echotrig = 1; gotspawn = 0
  11.     ]
  12.   ] [ echotrig = 0; if (= $gotspawn 0) [ time_of_spawn = (millis); gotspawn = 1 ] ]
  13.   sleep 5 [recursive_alive_check]
  14. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement