How do I insert a billboard gui into multiple parts with the same name via script? [Solved]
Asked by
4 years ago Edited 4 years ago
I have multiple parts with the same name grouped, and I wanted to know how to insert a billboard gui into all of the parts with the same name via script. This is what I currently have:
01 | model = game.Workspace.Model |
03 | local billboard = Instance.new( "BillboardGui" ) |
04 | billboard.Parent = game.Workspace |
05 | billboard.Name = "Test" |
07 | for i,v in pairs (model:GetChildren()) do |
08 | if v.Name = = nameof then |
Thank you for your time.