Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local damagepart = Instance.new("Part")
- damagepart.Parent = game.workspace
- damagepart.Position = Vector3.new(164.288, 1, 172.363)
- damagepart.Size = Vector3.new(5,5, 5)
- Touched = false
- damagepart.Touched:connect(function(hit)
- if Touched == false then
- Touched = true
- local human = hit.Parent:findFirstChild("Humanoid")
- if (human ~= nil) then
- human.Health = human.Health - 5
- end
- Touched = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement