alxspiker
|
  |
| Joined: 27 May 2010 |
| Total Posts: 518 |
|
|
| 25 Jun 2014 11:26 AM |
Well, I believe you get a random death date LOL... So I made this quick code for fun.
Code: deathdate=math.random(1,100) print("You will die at age "..deathdate)
I got: You will die at age 32
Yikes! |
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
| |
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 25 Jun 2014 11:35 AM |
> deathdate=math.random(1,100) print("You will die at age "..deathdate) You will die at age 1
oh |
|
|
| Report Abuse |
|
|
alxspiker
|
  |
| Joined: 27 May 2010 |
| Total Posts: 518 |
|
|
| 25 Jun 2014 11:37 AM |
Maybe the code should be
Code: YourAge=17 --Put your age here! deathdate=math.random(YourAge,100) print("You will die at age "..deathdate) |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 11:39 AM |
I will die at -2 Seems legit. |
|
|
| Report Abuse |
|
|
alxspiker
|
  |
| Joined: 27 May 2010 |
| Total Posts: 518 |
|
|
| 25 Jun 2014 11:45 AM |
Tan, there is no way in heck you could get -2, get a life and stop lying LOL.
If you ran the first code, it checks for a random number between 1 and 100, and -2 is not in between, also the second code, if you entered your correct age, which could not be negative, you would still get a positive number between your current age and 100. |
|
|
| Report Abuse |
|
|
Desisting
|
  |
| Joined: 06 Feb 2010 |
| Total Posts: 931 |
|
|
| 25 Jun 2014 11:47 AM |
You will die at age 99
#boss |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 12:03 PM |
plot twist: desisting is 98
http://puu.sh/9JEcR/70611f43fd.png wow i thot i wud liv 2 be over 100 :( |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
| |
|
| |
|
tyridge77
|
  |
| Joined: 21 Dec 2009 |
| Total Posts: 179 |
|
|
| 25 Jun 2014 01:30 PM |
| I'm immortal this is a lie |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 01:42 PM |
100! :O
I tried like 5 times to get that! |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
| |
|
| |
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
| |
|
| |
|
|
| 25 Jun 2014 03:32 PM |
local immortal_chance=4.5
local get_deathage=function(age) if age<=0 then return end local immortality_chance=math.random(age+1,120) if immortality_chance/10==4.5 then print'You are immortal.' else print'You will die at age'..immortality_chance..'.' end end
get_deathage(12) |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 03:34 PM |
| ^ Ahh, if it weren't for chaos theory, that function wouldn't have to be billions of lines long to get an accurate prediction... |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jun 2014 05:12 PM |
sorry i'm a few hours late, i'm- >get a life you know what forget it |
|
|
| Report Abuse |
|
|
RaidenJPN
|
  |
| Joined: 22 May 2013 |
| Total Posts: 6920 |
|
|
| 25 Jun 2014 07:02 PM |
23,
well...
damn.
7 years left. |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 07:53 PM |
deathdate=math.random(1,100) print("You will die at age "..deathdate^deathdate)
>You will die at age 2.978642e+185
life hax |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jun 2014 09:25 PM |
Hm...you need to exclude the age the target person is already at. -----
Age = [Insert Age Here] enabled = true
repeat m = math.random(1,100)
if m > Age then print("Your Death-date:".. m.."") enabled = false end wait()
until enabled == false
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2014 09:27 PM |
Well, to make it more simplistic, you could write:
m = math.random(Age, 100)
and exclude a few unnecessary lines.
>I will rip out your duodenum |
|
|
| Report Abuse |
|
|