Advertisement
zza

Become a god[Fe]

zza
Aug 1st, 2019 (edited)
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. local Plr = game.Players.iatemone
  2. local Character = Plr.Character
  3. local Hum = Character.Humanoid
  4. Hum.BreakJointsOnDeath = false
  5. local Cloned = Hum:Clone()
  6. local A = Character.Animate:Clone()
  7. local Root = Character.HumanoidRootPart
  8. local Head = Character.Head
  9. local RightArm = Character["Right Arm"]
  10. local LeftArm = Character["Left Arm"]
  11. local Torso = Character["Torso"]
  12. local LeftLeg = Character["Left Leg"]
  13. local RightLeg = Character["Right Leg"]
  14. local FF = Instance.new("ForceField", Character)
  15. FF.Visible = false
  16.  
  17.  
  18. immortal = {}
  19. for i,v in pairs(Character:GetDescendants()) do
  20. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  21. 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
  22. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  23. end
  24. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  25. elseif v:IsA("JointInstance") then
  26. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  27. end
  28. end
  29. for e = 1, #immortal do
  30. if immortal[e] ~= nil then
  31. local STUFF = immortal[e]
  32. local PART = STUFF[1]
  33. local PARENT = STUFF[2]
  34. local MATERIAL = STUFF[3]
  35. local COLOR = STUFF[4]
  36. local TRANSPARENCY = STUFF[5]
  37. if levitate then
  38. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  39. PART.Material = MATERIAL
  40. PART.Color = COLOR
  41. PART.Transparency = TRANSPARENCY
  42. end
  43. PART.AncestryChanged:connect(function()
  44. PART.Parent = PARENT
  45. end)
  46. else
  47. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  48. PART.Material = MATERIAL
  49. PART.Color = COLOR
  50. PART.Transparency = TRANSPARENCY
  51. end
  52. PART.AncestryChanged:connect(function()
  53. PART.Parent = PARENT
  54. end)
  55. end
  56. end
  57. end
  58. function immortality()
  59. for e = 1, #immortal do
  60. if immortal[e] ~= nil then
  61. local STUFF = immortal[e]
  62. local PART = STUFF[1]
  63. local PARENT = STUFF[2]
  64. local MATERIAL = STUFF[3]
  65. local COLOR = STUFF[4]
  66. local TRANSPARENCY = STUFF[5]
  67. if PART.ClassName == "Part" and PART == Root then
  68. PART.Material = MATERIAL
  69. PART.Color = COLOR
  70. PART.Transparency = TRANSPARENCY
  71. end
  72. if PART.Parent ~= PARENT then
  73. Hum:Remove()
  74. PART.Parent = PARENT
  75. Hum = Instance.new("Humanoid",Character)
  76. Hum.Name = "Humanoid"
  77. end
  78. end
  79. end
  80. end
  81.  
  82. coroutine.wrap(function()
  83. while wait() do
  84. if Hum.Health < .1 then
  85. immortality()
  86. Hum:Destroy()
  87. Character:MakeJoints()
  88. local NewHum = Cloned:Clone()
  89. NewHum.Parent = Character
  90. Hum = NewHum
  91. local Animate = A:Clone()
  92. Character.Animate:Destroy()
  93. Animate.Parent = Character
  94. end
  95. end
  96. end)()
  97.  
  98. function swait(num)
  99. if num == 0 or num == nil then
  100. game:GetService("RunService").Stepped:wait(0)
  101. else
  102. for i = 0, num do
  103. game:GetService("RunService").Stepped:wait(0)
  104. end
  105. end
  106. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement