How do I make to from more options choose that's what I need?
01 | local plr = game:service( "Players" ).LocalPlayer |
02 | local chest = workspace.Characters.chests |
07 | for _,v in next , chest [ "smallchest" ] do |
08 | v.Part.CFrame = CFrame.new(plr.Character.HumanoidRootPart.CFrame.X,plr.Character.HumanoidRootPart.CFrame.Y,plr.Character.HumanoidRootPart.CFrame.Z - _G.distance) |
09 | v.Part.Anchored = true |
In a folder workspace.Characters.chests there are various of chests, but I need a certain chest to be attracted. How can I do that? Please help!