I have an object going through my character and this is the script for it:
Image:
Script:
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local PartHolder = ObjectsFolder.PartHolder:Clone()
PartHolder:PivotTo(Character.HumanoidRootPart.CFrame)
PartHolder.Parent = Character
local PartHolderWeldConstraint = Instance.new("WeldConstraint")
PartHolderWeldConstraint.Part0 = PartHolder.PrimaryPart
PartHolderWeldConstraint.Part1 = Character.PrimaryPart
PartHolderWeldConstraint.Parent = PartHolderWeldConstraint.Part0
local Part = ObjectsFolder.Part:Clone()
Part:PivotTo(PartHolder.Holder.CFrame)
Part.Parent = Character
local PartWeldConstraint = Instance.new("WeldConstraint")
PartWeldConstraint.Part0 = Part.PrimaryPart
PartWeldConstraint.Part1 = PartHolder.PrimaryPart
PartWeldConstraint.Parent = PartWeldConstraint.Part0
end)
end)