FlameYeti
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 22158 |
|
| |
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 04 Oct 2014 08:05 AM |
I don't know, perhaps we could use our psychic powers to understand what you mean?
Explain more. What are you trying to do? |
|
|
| Report Abuse |
|
|
FlameYeti
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 22158 |
|
|
| 04 Oct 2014 08:07 AM |
like
the mad murderer
i only know like
random = math.random(1,5)
if random == 1 then..
elseif.. |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 04 Oct 2014 08:08 AM |
| You want math.random to select a random player you mean? |
|
|
| Report Abuse |
|
|
FlameYeti
|
  |
| Joined: 14 Jan 2009 |
| Total Posts: 22158 |
|
| |
|
Sinblade
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 2782 |
|
|
| 04 Oct 2014 04:07 PM |
local players = game.Players:GetPlayers()
then get the number and get the player from the table |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 04 Oct 2014 04:10 PM |
Plyrs = game:GetService('Players'):GetChildren Selected = Plyrs[math.random(1, #Plyrs)]
Selected is now a player |
|
|
| Report Abuse |
|
|