generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

can anyone explain this script to me?

Previous Thread :: Next Thread 
ApocSurrvivalist is not online. ApocSurrvivalist
Joined: 22 Apr 2013
Total Posts: 5840
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image