GammaGeek
|
  |
| Joined: 10 Aug 2014 |
| Total Posts: 11182 |
|
|
| 20 Nov 2014 06:58 PM |
| Scripters forum isn't active. |
|
|
| Report Abuse |
|
|
GammaGeek
|
  |
| Joined: 10 Aug 2014 |
| Total Posts: 11182 |
|
|
| 20 Nov 2014 06:58 PM |
Oh stupid me, I forgot the script:
print 'WavetimerGUI script loaded'
game.ReplicatedStorage.Alien.Parent = game.Workspace game.StarterGui.WaveCounterGUI.Frame.Text = "Martians left:
|
|
|
| Report Abuse |
|
|
|
| 20 Nov 2014 06:58 PM |
if
there.are.enemies.left
then
show.gui.saying.how.many.enemies.are.left
~ If you're reading this, you can read. | +23779 ~ |
|
|
| Report Abuse |
|
|
Snaili
|
  |
| Joined: 07 May 2011 |
| Total Posts: 7318 |
|
|
| 20 Nov 2014 06:58 PM |
| even if the scripters forum isnt active there are still other ones you can go to |
|
|
| Report Abuse |
|
|
GammaGeek
|
  |
| Joined: 10 Aug 2014 |
| Total Posts: 11182 |
|
|
| 20 Nov 2014 06:59 PM |
@asian
I take it you can't script, right? |
|
|
| Report Abuse |
|
|
| |
|
GammaGeek
|
  |
| Joined: 10 Aug 2014 |
| Total Posts: 11182 |
|
| |
|
|
| 20 Nov 2014 07:04 PM |
id hate to leave you without an answer but sadly I must |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 20 Nov 2014 07:08 PM |
I'm taking this straight from one of my games
function elim(tab, obj) for i, v in pairs(tab) do if v == obj then table.remove(tab, i) end end end
local enemies = {}
local enemy = i:Clone() enemy:MakeJoints() enemy.Parent = workspace table.insert(enemies, enemy) enemy.Zombie.Died:connect(function() elim(enemies, enemy) wait(2) enemy:Destroy() end) #enemies will be the number of enemies at any given time.
Dark nights are unpleasant; Yes, for strangers to travel. |
|
|
| Report Abuse |
|
|
|
| 20 Nov 2014 07:15 PM |
"I take it you can't script, right?"
ye
~ If you're reading this, you can read. | +23779 ~ |
|
|
| Report Abuse |
|
|