im trying to make a script so that when you touch a part, it damages you (-17 health) here is what ive tried with what i learned so far, but it doesnt work plz help
repeat
game.Workspace:FindFirstChild(script.Parent.Touched).Humanoid.Health = game.Workspace:FindFirstChild(script.Parent.Touched).Humanoid.Health-17
until script.Parent.TouchEnded
Plz help Dx

2 comments
I would urge you to look for free models and to read and comprehend the scripts yourself. The script you're showing us right now is meaningless.
wow rlly helpful, Thanks C: sarcasme