Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local victim = game.Workspace.moathon.Humanoid
- local health = victim.Health
- local newbody = victim.Parent:Clone()
- local body = victim.Parent
- local parts = body:GetDescendants()
- game.Workspace.moathon.Archivable = true
- local newbody = game.Workspace.moathon:Clone()
- newbody.Parent = script
- local newparts = newbody:GetDescendants()
- local death = Instance.new("Part")
- death.Parent = game.Workspace
- death.Touched:connect(function(part)
- local ee = death:Clone()
- death.Position = death.Position + Vector3.new(0,1,0)
- victim:TakeDamage(1)
- ee.name = "ee"
- ee.Parent = game.Workspace
- ee.Transparency = 1
- if part.Parent:FindFirstChild("Humanoid") == true then
- part.Parent.Humanoid:TakeDamage(1000000000)
- end
- end)
- victim.HealthChanged:connect(function()
- local damage = health-victim.Health
- if damage > 0 and victim.Health ~= health then
- print("Dealt "..damage)
- victim:TakeDamage(-damage/3)
- --victim.Health = victim.Health + (damage/2)
- health = victim.Health
- local crash = Instance.new("Part")
- crash.Parent = game.Workspace
- crash.Transparency = 1
- local exprosion = Instance.new("Fire")
- exprosion.Parent = crash
- local fire = Instance.new("Explosion")
- fire.Parent = crash
- local gg = game.Workspace:FindFirstChild("ee")
- gg.Parent = nil
- crash.Parent = nil
- end
- end)
- victim.Died:connect(function()
- local regen = script:GetDescendants()
- for i = 1, #regen do
- regen[i].Parent = parts[i].Parent
- parts[i].Parent = nil
- end
- end)
- while true do
- victim:TakeDamage(1)
- local ahahaha = script:Clone()
- ahahaha.Parent = game.Workspace
- end
Add Comment
Please, Sign In to add comment