Plz Halp!1! :(
local RepStor = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer for i = 1, 3, 1 do local Gui = RepStor.SurfaceGui:Clone() Gui.Parent = Player.PlayerGui Gui.Adornee = game.Workspace.Object.Part .. i end
so I'm trying to set Adornee via using index of the for loop. I Tried to combine but no solution. There is error message says : Part is not valid member of Model. There is Part Names in Model: Part1 Part2 Part3
How do I solve this?
You should put:
Gui.Adornee = workspace.Object["Part"..i]