How to make a damage ability script?

Hello, so i made an ability that spawn a pillar / part at the humanoidrootpart, but whenever i use it on a dummy or player, it wont damage it unless they move. I use Part.Touched:Connect(function(hit) but doesnt work properly.

Hello, Part.Touched is only invoked once when object actually touches it,.it’s not a repeating listener, making such listener could cause lags in your and other games, so you have to use different solution, for example tags or an array of humanoid which should be affected if they got such part in their HumanoidRootPart.

Alright, Ill try it out. Thanks!