Advertisement
zeckons

Untitled

Sep 10th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. local folder = Instance.new("Folder", game.Workspace)
  2. folder.Name = "CoreGui"
  3.  
  4. local versionvalue = Instance.new("IntValue", game.ServerScriptService)
  5.  
  6. versionvalue.Value = 1
  7.  
  8. versionvalue.Name = "Version"
  9.  
  10. Parts = game.CoreGui:GetChildren()
  11.  
  12. for i = 1,#Parts do
  13.  
  14. local version = Instance.new("Folder", folder)
  15.  
  16. versionvalue.Value = versionvalue.Value + 1
  17.  
  18. version.Name = Parts[i].Name..": Version "..versionvalue.Value
  19.  
  20. print([[Loaded ]]..Parts[i].Name.." : "..versionvalue.Value)
  21.  
  22. wait(0.1)
  23.  
  24. Parts[i]:Clone().Parent = version
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement