|
| 13 Dec 2015 03:06 PM |
I am trying to make it so that GUI's in Folders get Cloned to certain Directory's, such as ServerScriptService, but it says that it's not able to find the ModuleScript for the Asset, when I have one. The Source of the Module is below, and so is a Screenshot.
local Rep = script.RAE.ReplicatedStorage:GetChildren() for i = 1, #Rep do Rep[i].Parent.Parent = game.ReplicatedStorage local SSS = script.RAE.ServerScriptService:GetChildren() for i = 1, #SSS do SSS[i].Parent.Parent = game.ServerScriptService local SG = script.RAE.StarterGui:GetChildren() for i = 1, #SG do SG[i].Parent.Parent = game.StarterGui end end end
Screenshot: gyazo(DOT)com/b6d70a63e8e185ba842ed258e281ab8e
(Replace (DOT) with a . ) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
| 13 Dec 2015 08:22 PM |
Error, but ye..
I tried doing this, didn't work. (I used one Parent, didn't mean to put two)
Not sure why. It's a ModuleScript, and.. I just don't know. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2015 08:58 PM |
| Try doing the end where it goes? and I don't think it is game.StarterGui (aka for I =1, #tuing end for I =1, #hg end) |
|
|
| Report Abuse |
|
|