I made a script with a SurfaceGui in it. The script is located in a Model with tons of Parts all named Screen.
What I want to do is for the script to replicate the SurfaceGui into all the Parts at once, however the problem is that it only replicates once, and in only one particular Screen instead. Do I need to add a while loop or something?
--
rep = script.SurfaceGui:Clone()
for i,v in pairs(game.Workspace.InformationScreens:GetChildren()) do if v.Name == "Screen" then rep.Parent = v end end

1 comment
It works! Thanks a lot!!