Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local head = script.Parent.Head
- head.Touched:Connect(function(otherPart)
- local hum = otherPart.Parent:FindFirstChild("Humanoid")
- if hum then
- local fire = Instance.new("Fire", otherPart)
- fire.Size = 10
- for i=1, 10, 1 do
- wait(.5)
- fire.Size *= .1
- hum:TakeDamage(20)
- end
- fire:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement