|
| 12 Sep 2015 11:11 AM |
im trying to learn local player = game.Players.LocalPlayer
player.CharacterAdded:connect(function(character) player.PlayerGui:ClearAllChildren() local scripts = character:WaitForChild("Scripts") for i, localscript in pairs(scripts:GetChildren()) do if localscript:IsA("LocalScript") then if not localscript.Disabled then localscript.Disabled = true localscript.Disabled = false end end end for i, gui in pairs(game.ReplicatedStorage.StarterGui:GetChildren()) do gui:Clone().Parent = player.PlayerGui end end) |
|
|
| Report Abuse |
|
adzz123
|
  |
| Joined: 11 Jun 2011 |
| Total Posts: 260 |
|
|
| 12 Sep 2015 11:40 AM |
It's basically making a GUI and deleting it then remaking it.
"I'm not God, but I'll let you live another day." ~ Adam A. |
|
|
| Report Abuse |
|