|
| 02 Sep 2014 11:08 PM |
tablethatgetstextinit = {}
while wait() do script.Parent.Text = tablethatgetstextinit[#tablethatgetstextinit] ??? --loop here that adds player.Character NAMES into the table with table.insert end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
iYoshiFox
|
  |
| Joined: 14 Apr 2012 |
| Total Posts: 1058 |
|
|
| 03 Sep 2014 12:47 AM |
local Players = {}
while wait() do for _, v in pairs(game.Players:GetPlayers()) do for _, a in pairs(Players) do if v.Name ~= a.Name then table.insert(Players, v.Name) script.Parent.Text = v.Name end end end end
|
|
|
| Report Abuse |
|
|
lillil
|
  |
| Joined: 02 Aug 2006 |
| Total Posts: 2168 |
|
|
| 03 Sep 2014 01:05 AM |
Players={}
game:GetService('Players').PlayerAdded:connect(function(p) table.insert(Players,p.Name) end) |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2014 07:21 AM |
| so theres no way to set somethings text to contents of a table |
|
|
| Report Abuse |
|
|
Moxiii
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1198 |
|
|
| 03 Sep 2014 08:49 AM |
script.Parent.Text=unpack(table)
i think that's it
though it might be:
script.Parent.Text=tostring(unpack(table)) |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2014 04:21 PM |
| oh yeah i forgot about that wow thanks mox :o |
|
|
| Report Abuse |
|
|
Moxiii
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1198 |
|
|
| 03 Sep 2014 04:47 PM |
no problem c:
that's what this forum is for anyways |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2014 04:50 PM |
well since these guys made me think that i couldn't do it i deleted it and i have a new script please tell me if you can fix it because its not working c:
subnobl={} while wait() do print('runnin') function healthclone() if v then e = v.Character.Health:Clone() v.Character.Health:Destroy() wait(7) e.Parent = v.Character end end for i, v in pairs(game.Players:GetChildren()) do for _,a in pairs(subnobl) do if v.Name ~= subnobl[#subnobl] then
if v.Character then if v.Character.Humanoid then if v.Character.Humanoid.Health <= 10 then healthclone() table.insert(subnobl,v.Name) script.Parent.Text = script.Parent.Text..", "..v.Name.." is subduable/obliterable for 7 seconds!"
elseif v.Character.Humanoid.Health > 10 and v.Name == a.Name then table.remove(subnobl, v.Name) end end end end end end end
|
|
|
| Report Abuse |
|
|