local debounce = false
DMGPart.Touched:connect(function(part)
local h = part.Parent:FindFirstChild("Humanoid")
if h and not debounce then
debounce = true
h:TakeDamage(10)
if h.WalkSpeed == 3 and h and not debounce then
h:TakeDamage(1)
You're meant to take 10 damage if your walkspeed is not equal to 3. However even when my walkspeed is equal to 3 it still inflicts 10 damage.

1 comment
You forgot to add the 'end's to end the Chunks. :)