How could you weld a part infront of the player

  1. What do you want to achieve?
    I want the bucket to be welded infront of the player and make it point up instead to the side

  2. What is the issue?
    I’m not sure how to find the players position and set it, and rotate it

  3. What solutions have you tried so far?
    I’ve found one solution that works, but instead of setting the parts position infront of the player, it sets it at world origin
    I haven’t yet tried anything related to the rotation of the bucket yet as I want to fix the main issue

local Bucket = script.Parent
    if hit.Parent:FindFirstChild("Humanoid") then
        local UPPER_TORSO = hit.Parent.UpperTorso
        local weld ="Weld")
        weld.Part0 = UPPER_TORSO
        weld.Part1 = Bucket
        weld.Parent = script.Parent
        weld.Part1.Position =,3,-2)


this is what the script produces
The bucket itself is a union if that matters at all

Set the Bucket.Position to hit.Parent.UpperTorso.Position.