Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Damage Script
- -- Put in block you want to hurt player
- script.Parent.Touched:Connect(function(hit)
- local humanoid = hit.Parent:FindFirstChildWhichIsA("Humanoid")
- if humanoid then
- humanoid.Health = humanoid.Health-3 -- How much you want it to do a second
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement