So I have this simple script where it pulls an item out of storage and spawns infront of the player as a form of hitbox, I have been using the CFrame * CFrame.new as a way to position the hitbox. However it makes for impractical hitboxes that are glitchy and don't really correspond to the player well, especially when making the character lunge forward.
Is there anyway to make the block stick with the play as he moves?
local HB = game.ServerStorage.HB1:WaitForChild("H2")
local Character = player.Character
local Hitb = HB:Clone()
Hitb.CFrame = Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-7)
Hitb.Parent = player.Character.HumanoidRootPart

2 comments
Have you tried welding it to the character?
I'll see if it works.