hello everyone this is my first post i need help with it. i have been doing a obby game so i tried to create a spinning killbrick thats is not collidable the problem is that when i make it non collidable it doesnt kill anymore. what should i do? i have been trying to fix this without success. here is the script in case you need it. script:
script.Parent.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.TakeDamage = -3
end
end)

1 comment
Please format your code. It's simple. Just select your code, press the blue "lua" button, and your done!