task.wait(0.55)
local hrp = plr.Character:FindFirstChild("HumanoidRootPart")
local hitbox = Instance.new("Part")
hitbox.Size = Vector3.new(5, 10, 5)
hitbox.Transparency = 0.5
hitbox.BrickColor = BrickColor.new("Really red")
hitbox.CanCollide = false
hitbox.Anchored = false
hitbox.CFrame = hrp.CFrame
hitbox.Parent = workspace -- altijd in Workspace voor physics stabiliteit
-- WeldConstraint zodat hij meebeweegt
local weld = Instance.new("WeldConstraint")
weld.Part0 = hrp
weld.Part1 = hitbox
weld.Parent = hitbox
weld.C0 = CFrame.new(0, 0, 0)
game.Debris:AddItem(hitbox, 1)
local WaterTornadoVFX = game.ReplicatedStorage.VFX.WaterTornadoVFX:Clone()
yo im creating a part i want to add the hitbox to my character, but everytime i add it, it glitching out. I want the hitbox to move with the character.
** You are now Level 1! **