|
| 27 Dec 2011 11:41 PM |
| I need someone to make a script for me that chooses a random player for one of my games. It's like a spinner, that spins 100 times, and the 100th time it spins is the person chosen. Anyone willing to make it for me? |
|
|
| Report Abuse |
|
|
TheFlub
|
  |
| Joined: 28 Sep 2011 |
| Total Posts: 197 |
|
| |
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 27 Dec 2011 11:44 PM |
"I need someone to make a script for me"
Nope. Requesting a code is against the rule. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 27 Dec 2011 11:49 PM |
@phellem
It's not againt the rule it's not allowed. You can still do it. |
|
|
| Report Abuse |
|
|
|
| 27 Dec 2011 11:51 PM |
@Miz
Against the rules == not allowed |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Dec 2011 12:39 AM |
@ggfunny
No, I mean if you accept a request you won't get a ban or anything :P |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Dec 2011 02:51 AM |
@Miz
True, but it's a pain when people request, so nobody really ever answers them. :P |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Dec 2011 09:43 AM |
| Eh, actually, some people answer. Like maybe a lava brick or something...Just not something huge. |
|
|
| Report Abuse |
|
|
DXPower
|
  |
| Joined: 21 Oct 2008 |
| Total Posts: 2866 |
|
|
| 28 Dec 2011 10:56 AM |
Here's a hint: Use a for loop.
Saving the world, one rainbow barf at a time. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
| |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 28 Dec 2011 04:51 PM |
@Phellem
I think I already covered that part :P |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
| |
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 28 Dec 2011 04:58 PM |
This should choose a random player.
players = game.Players:GetPlayers() chosen = math.random(1,#players) chosenplayer = players[chosen] |
|
|
| Report Abuse |
|
|