2JJ1
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 1571 |
|
|
| 17 Aug 2015 07:23 PM |
In Studio mode, the teams update once a team is deleted. But in game play, a team isn't shown as deleted until the player is reset.
These are the lines that deletes the teams. game.Teams:FindFirstChild("Red"):Destroy() game.Teams:FindFirstChild("Blue"):Destroy()
What should I do? I heard of something about corescripts but i'm not sure how to use that. Can't seem to find any tutorials on them q-q |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2015 07:29 PM |
Still haven't gotten it? (I remember the last thread. :F)
Try this in a LocalScript somewhere. game:GetService("Teams").ChildRemoved:connect(function () game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false); wait(); game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, true); end);
Disables the leaderboard then re-enables it each time a child is removed from the teams list. |
|
|
| Report Abuse |
|
|
2JJ1
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 1571 |
|
|
| 17 Aug 2015 07:39 PM |
I used that before but I thought it created another one of the leaderboards. I tried again reading but something seemed off. I figured now that maybe some other script is doing something to the leaderboard. Turns out that scripths admin was doing that. Deleted it and now i'm doing fine.
Many thanks man! I can finally resume on the project. |
|
|
| Report Abuse |
|
|