jakub15
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 2299 |
|
|
| 24 Jul 2012 03:40 AM |
On the server? Just wondering. so it will first say 1, but when another person joins, 2. and on. and when one comes off, the number will decrease by 1. How would you do this kind of script? |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:43 AM |
m = Instance.new("Message", Workspace) while wait() do m.Text = "There are " ..game.Players.NumPlayers.. " playing right now." end
Bad example. |
|
|
| Report Abuse |
|
|
jakub15
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 2299 |
|
|
| 24 Jul 2012 03:44 AM |
| I might do that in a 'Hint' or something. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:44 AM |
| Oh whoops. Forgot, you wrote gui. But I think you can transform that yourself, don't you? |
|
|
| Report Abuse |
|
|
jakub15
|
  |
| Joined: 25 Oct 2008 |
| Total Posts: 2299 |
|
|
| 24 Jul 2012 03:46 AM |
Well, i'm not a excellent scripter, just learning.
I know there will have to be while true do, because I dont want it to be echoed only once. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 24 Jul 2012 03:47 AM |
Just create your GUI (if you're able to do that) manually and insert that script into that box:
while wait() do script.Parent.Text = game.Players.NumPlayers.. " are online." end
|
|
|
| Report Abuse |
|
|