I tried parenting the part to the HumanoidRootPart so it can move to the player but it doesnt work. Any help?
Try moving the position to the object's position (like Torso.) Code;
workspace.Part.Position = Player.Character.Torso.Position