|
| 22 Nov 2013 11:52 PM |
Is there any way of making something true or false in a completely random way?
F.E.
script.Parent.Cancollide = true/false -- 50% chance of getting either |
|
|
| Report Abuse |
|
|
|
| 22 Nov 2013 11:56 PM |
script.Parent.Concollide = math.random(1,2)==1
would work. Also, post in Scripting Helpers next time.
~The alpaca of the acting world. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Nov 2013 12:10 AM |
| ^ Not completely random but yeah |
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 23 Nov 2013 12:32 AM |
| Put math.randomseed(tick()) at the beginning of the script o3o |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2013 08:17 AM |
| ^ Still not completely random. |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 23 Nov 2013 08:45 AM |
Quantum physics.
Still not completely random? Universe!!!!
- As, sorry, you can't simply make "completely random" stuff happen in Roblox.[NS] |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2013 09:40 AM |
| Since when has anything been 'completely random'? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Nov 2013 10:10 AM |
| Since Justin Bieber randomly stole a piece of napkin from a restaurant |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 23 Nov 2013 10:53 AM |
| but you see, he went n00de for his grandmother, so that must count for some good (in$3$t) |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2013 12:00 PM |
"Since when has anything been 'completely random'?"
As people have pointed out, some quantum happenings can often be totally random from our perspective. It's all quite confusing really.
also 19k posts yayz |
|
|
| Report Abuse |
|
|
|
| 23 Nov 2013 03:48 PM |
| Is there a way to check if a number is even? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|