Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Plr = game.Players.iatemone
- local Character = Plr.Character
- local Hum = Character.Humanoid
- Hum.BreakJointsOnDeath = false
- local Cloned = Hum:Clone()
- local A = Character.Animate:Clone()
- local Root = Character.HumanoidRootPart
- local Head = Character.Head
- local RightArm = Character["Right Arm"]
- local LeftArm = Character["Left Arm"]
- local Torso = Character["Torso"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local FF = Instance.new("ForceField", Character)
- FF.Visible = false
- immortal = {}
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
- if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
- elseif v:IsA("JointInstance") then
- table.insert(immortal,{v,v.Parent,nil,nil,nil})
- end
- end
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if levitate then
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- else
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- end
- function immortality()
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART == Root then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- Hum:Remove()
- PART.Parent = PARENT
- Hum = Instance.new("Humanoid",Character)
- Hum.Name = "Humanoid"
- end
- end
- end
- end
- coroutine.wrap(function()
- while wait() do
- if Hum.Health < .1 then
- immortality()
- Hum:Destroy()
- Character:MakeJoints()
- local NewHum = Cloned:Clone()
- NewHum.Parent = Character
- Hum = NewHum
- local Animate = A:Clone()
- Character.Animate:Destroy()
- Animate.Parent = Character
- end
- end
- end)()
- function swait(num)
- if num == 0 or num == nil then
- game:GetService("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:GetService("RunService").Stepped:wait(0)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement