|
| 15 Jul 2014 11:24 PM |
for i,v in pairs(game.Players:GetChildren()) do game.Players.PlayerGui.Hint2:remove() end
I probably know why, game.Players.(Username).PlayerGui.Hint2:remove() might be the solution, but I don't remember how to do username stuff like that.
Help out? |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Jul 2014 11:26 PM |
for i,v in pairs(game.Players:GetChildren()) do v.PlayerGui.Hint2:remove() end
|
|
|
| Report Abuse |
|
|
|
| 15 Jul 2014 11:26 PM |
v is the player..
so
v:WaitForChild("PlayerGui").Hint2:Destroy() |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Jul 2014 11:47 PM |
g = game.Players:GetChildren() for i = 1, #g do if g[i].PlayerGui:findFirstChild("Hint2") then g[i].PlayerGui.Hint2:Destroy() end end
This worked fine for me. If it doesn't then you're not giving us enough information.
|
|
|
| Report Abuse |
|
|
|
| 16 Jul 2014 11:08 AM |
RemoveGuis = function() for i,v in pairs(game.Players:GetChildren()) do ypcall(function() v:FindFirstChild("Hint2",true):Destroy() end) end end) while wait(360) do RemoveGuis() end |
|
|
| Report Abuse |
|
|
|
| 16 Jul 2014 12:34 PM |
Thanks for the help@all. Much appreciated. |
|
|
| Report Abuse |
|
|