Make part move in front of the player when player click

Help I want to make the part (hitbox) appear in front of the player:

image

I want the hitbox to appear at:

HumanoidRootPart position

  • (x, y, z)

Low Hitbox Appear at:

  • (x, y - 1.8, z - 0.6)

Mid Hitbox:

  • (x, y - 0.95, z - 2.15)

Tall Hitbox

  • (x, y + 1.6, z -2.25)

I have already try to search google for something like that but it look like it impossible because i want to make it on SERVER.

I suck at scripting sorry if this question is too dumb (or it impossible)

local players = game:GetService("Players")
local player = players.LocalPlayer or players.PlayerAdded:Wait()
local character = player.Character or player.CharacterAdded:Wait()
local hmr = character:WaitForChild("HumanoidRootPart")
local mouse = player:GetMouse()
local part = workspace:WaitForChild("Part")

mouse.Button1Down:Connect(function()
	part.CFrame = hmr.CFrame
end)

I believe this should do the trick.

Cool it really work, it not making the hitbox offset but it ok i will try to find a solution