I am trying to combine two parts together for my admin tabs I am making, but they dont stay together, they move apart..
Any ideas?
local Part1 = Instance.new('Part', game.Workspace)
Part1.Anchored=true
Part1.Transparency=0.5
Part1.Size=Vector3.new(5,5,5)
Part1.CanCollide=false
local Part2 = Instance.new('Part', game.Workspace)
Part2.Anchored=true
Part2.Transparency=0.3
Part2.Size=Vector3.new(3,3,3)
Part2.CanCollide=false
Part2.CFrame = Part1.CFrame * CFrame.new(0,0,0)
game:GetService('RunService').Stepped:connect(function()
Part1.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position) * CFrame.new(0,0,-5)
end)

1 comment
Try welding the parts together first.