Advertisement
Upscalefanatic3

Time Lord

Oct 3rd, 2016
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.14 KB | None | 0 0
  1. script.Name = "TimeLord"
  2. script.Parent = game:GetService("ScriptContext")
  3.  
  4.  
  5. local function GetObject(Id)
  6. local Object = game:GetService("InsertService"):LoadAsset(Id)
  7. if Object == nil then return nil end
  8. Object = Object:GetChildren()
  9. if Object == nil then return nil end
  10. if Object[1] == nil then return nil end
  11. return Object[1]
  12. end
  13.  
  14.  
  15. function GetTexture(Id)
  16. local Texture = GetObject(Id)
  17. if Texture == nil then return nil end
  18. Texture = Texture.Texture
  19. game:GetService("ContentProvider"):Preload(Texture)
  20. return Texture
  21. end
  22.  
  23.  
  24. local RegenerateSkinColors = {"Br. yellowish orange", "Reddish brown", "Dark orange", "Nougat", "Brown", "Brick yellow", "Earth orange", "Earth yellow", "Lig. Yellowich orange", "Dark nougat", "Curry", "Pastel brown", "Light orange"}
  25. local RegenerateFaces = {
  26. "rbxasset://textures\\face.png",
  27. GetTexture(25556219),
  28. GetTexture(12145366),
  29. GetTexture(25321961),
  30. GetTexture(30394484),
  31. GetTexture(7075502),
  32. GetTexture(16132514),
  33. GetTexture(18151826),
  34. GetTexture(22119034),
  35. GetTexture(7074729),
  36. GetTexture(27003636),
  37. GetTexture(19398554),
  38. GetTexture(14030577),
  39. GetTexture(13038375),
  40. GetTexture(22587894),
  41. GetTexture(14812981),
  42. GetTexture(15432080),
  43. GetTexture(7076110),
  44. GetTexture(7699177)
  45. }
  46. local RegenerateHair = {
  47. GetObject(29952810),
  48. GetObject(13655562),
  49. GetObject(14129164),
  50. GetObject(32278814),
  51. GetObject(30332157),
  52. GetObject(48395623),
  53. GetObject(12819292),
  54. GetObject(13477818),
  55. GetObject(13477200),
  56. GetObject(11721248),
  57. GetObject(28221786),
  58. GetObject(46302558),
  59. GetObject(12519986),
  60. GetObject(12270336),
  61. GetObject(29466952),
  62. GetObject(13476917),
  63. GetObject(26658141),
  64. GetObject(20010032),
  65. GetObject(17877340),
  66. GetObject(16630147),
  67. GetObject(26778066),
  68. GetObject(20573103),
  69. GetObject(25517594),
  70. GetObject(12270145),
  71. GetObject(31312357),
  72. GetObject(12864800),
  73. GetObject(20643008)
  74. }
  75. local RegenerateAccessories = {
  76. GetObject(11884330),
  77. GetObject(22070802),
  78. GetObject(12520031),
  79. GetObject(22151904),
  80. GetObject(14767406),
  81. GetObject(25165538),
  82. GetObject(26425663),
  83. GetObject(30331986),
  84. GetObject(46158937),
  85. GetObject(51243351),
  86. GetObject(25741345),
  87. GetObject(30391179),
  88. GetObject(25737682),
  89. GetObject(27724716),
  90. GetObject(15095717),
  91. GetObject(44114585)
  92. }
  93.  
  94.  
  95. function _G.BecomeTimeLord(Player)
  96. local IsRegenerating = false
  97. local RegenerationTime = 5
  98. local TimeLord = Player:FindFirstChild("TimeLord")
  99. if TimeLord == nil then
  100. TimeLord = Instance.new("Model", Player)
  101. TimeLord.Name = "TimeLord"
  102. end
  103. local Regenerations = TimeLord:FindFirstChild("Regenerations")
  104. if Regenerations == nil then
  105. Regenerations = Instance.new("IntValue", TimeLord)
  106. Regenerations.Name = "Regenerations"
  107. end
  108. local IsTimeLord = TimeLord:FindFirstChild("IsTimeLord")
  109. if IsTimeLord == nil then
  110. IsTimeLord = Instance.new("BoolValue", TimeLord)
  111. IsTimeLord.Name = "IsTimeLord"
  112. IsTimeLord.Value = true
  113. end
  114. local AutoRegenerate = TimeLord:FindFirstChild("AutoRegenerate")
  115. if AutoRegenerate == nil then
  116. AutoRegenerate = Instance.new("BoolValue", TimeLord)
  117. AutoRegenerate.Name = "AutoRegenerate"
  118. AutoRegenerate.Value = true
  119. end
  120. local function Regenerate()
  121. if IsTimeLord.Value == false or IsTimeLord.Parent == nil or AutoRegenerate.Value == false or AutoRegenerate.Parent == nil or Regenerations.Value >= 12 or Regenerations.Parent == nil then return end
  122. local Character = Player.Character
  123. if Character == nil then return false end
  124. if Character:FindFirstChild("Torso") == nil then return false end
  125. if Character:FindFirstChild("Humanoid") == nil then return false end
  126. if IsRegenerating == true then return false end
  127. IsRegenerating = true
  128. Character.Humanoid.Health = 100
  129. Character.Humanoid.MaxHealth = 100 * 500
  130. Character.Humanoid.Health = 1 * 500
  131. wait(math.random(100, 2500) / 100)
  132. if Player.Character ~= Character or Player.Character == nil or Character:FindFirstChild("Humanoid") == nil then return false end
  133. if Character.Humanoid.Health <= 0 then return false end
  134. Regenerations.Value = Regenerations.Value + 1
  135. if math.random(1, 2) == 1 then
  136. coroutine.wrap(function()
  137. local OldWalkSpeed = Character.Humanoid.WalkSpeed
  138. while IsRegenerating == true do
  139. pcall(function() Character.Humanoid.WalkSpeed = 0 end)
  140. wait()
  141. end
  142. pcall(function() Character.Humanoid.WalkSpeed = OldWalkSpeed end)
  143. end)()
  144. else
  145. coroutine.wrap(function()
  146. Character.Humanoid.PlatformStand = true
  147. local OldFriction = Character.Torso.Friction
  148. Character.Torso.Friction = 1
  149. Character.Torso.RotVelocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  150. while IsRegenerating == true do
  151. pcall(function() Character.Humanoid.PlatformStand = true end)
  152. wait()
  153. end
  154. pcall(function() Character.Humanoid.PlatformStand = false end)
  155. end)()
  156. end
  157. local MainSmoke = Instance.new("Smoke", Character.Torso)
  158. MainSmoke.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  159. local Start = tick()
  160. local Max = tick() + (math.random(500, 1500) / 100)
  161. while tick() < Max do
  162. MainSmoke.Opacity = ((tick() - Start) / (Max - Start))
  163. MainSmoke.Size = ((tick() - Start) / (Max - Start)) * 3
  164. if Player.Character ~= Character or Player.Character == nil or Character:FindFirstChild("Humanoid") == nil then break end
  165. if Character.Humanoid.Health <= 0 then break end
  166. wait()
  167. end
  168. coroutine.wrap(function()
  169. wait(RegenerationTime + 1)
  170. MainSmoke.Enabled = false
  171. wait(7.5)
  172. MainSmoke:Remove()
  173. end)()
  174. if Player.Character ~= Character or Player.Character == nil or Character:FindFirstChild("Humanoid") == nil then return false end
  175. if Character.Humanoid.Health <= 0 then return false end
  176. for _, Part in pairs(Character:GetChildren()) do
  177. if Part:IsA("BackpackItem") then
  178. Part.Parent = Player.Backpack
  179. end
  180. end
  181. local OldLeftShoulder = "Left Shoulder"
  182. local OldRightShoulder = "Right Shoulder"
  183. for _, Part in pairs(Character.Torso:GetChildren()) do
  184. if string.match(Part.Name:lower(), "shoulder") then
  185. if string.match(Part.Name:lower(), "left") then
  186. OldLeftShoulder = Part.Name
  187. local Joint = Instance.new("Motor6D", Character.Torso)
  188. Joint.Name = "Regenerating Left Shoulder"
  189. Joint.Part0 = Part.Part0
  190. Joint.Part1 = Part.Part1
  191. Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-120))
  192. Joint.C1 = CFrame.new(0, 0.5, 0)
  193. Part:Remove()
  194. elseif string.match(Part.Name:lower(), "right") then
  195. OldRightShoulder = Part.Name
  196. local Joint = Instance.new("Motor6D", Character.Torso)
  197. Joint.Name = "Regenerating Right Shoulder"
  198. Joint.Part0 = Part.Part0
  199. Joint.Part1 = Part.Part1
  200. Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(120))
  201. Joint.C1 = CFrame.new(0, 0.5, 0)
  202. Part:Remove()
  203. end
  204. elseif Part.Name == "Neck" then
  205. Part.C0 = CFrame.new(0, 1, 0)
  206. Part.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-45), 0, 0)
  207. end
  208. end
  209. if Character:FindFirstChild("Right Arm") ~= nil then
  210. --[[
  211. local Smoke = Instance.new("Smoke", Character["Right Arm"])
  212. Smoke.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  213. Smoke.Size = 2.5
  214. Smoke.RiseVelocity = -5
  215. --]]
  216. local Fire = Instance.new("Fire", Character["Right Arm"])
  217. Fire.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  218. Fire.SecondaryColor = Color3.new(1, 1, 1)
  219. Fire.Size = 10
  220. Fire.Heat = -25
  221. coroutine.wrap(function()
  222. wait(RegenerationTime + 1)
  223. --Smoke.Enabled = false
  224. Fire.Enabled = false
  225. wait(4)
  226. --Smoke:Remove()
  227. Fire:Remove()
  228. end)()
  229. end
  230. if Character:FindFirstChild("Left Arm") ~= nil then
  231. --[[
  232. local Smoke = Instance.new("Smoke", Character["Left Arm"])
  233. Smoke.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  234. Smoke.Size = 2.5
  235. Smoke.RiseVelocity = -5
  236. --]]
  237. local Fire = Instance.new("Fire", Character["Left Arm"])
  238. Fire.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  239. Fire.SecondaryColor = Color3.new(1, 1, 1)
  240. Fire.Size = 10
  241. Fire.Heat = -25
  242. coroutine.wrap(function()
  243. wait(RegenerationTime + 1)
  244. --Smoke.Enabled = false
  245. Fire.Enabled = false
  246. wait(4)
  247. --Smoke:Remove()
  248. Fire:Remove()
  249. end)()
  250. end
  251. if Character:FindFirstChild("Head") ~= nil then
  252. --[[
  253. local Smoke = Instance.new("Smoke", Character.Head)
  254. Smoke.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  255. Smoke.Size = 3.5
  256. Smoke.RiseVelocity = 6
  257. --]]
  258. local Fire = Instance.new("Fire", Character.Head)
  259. Fire.Color = Color3.new(255 / 255, 153 / 255, 10 / 255)
  260. Fire.SecondaryColor = Color3.new(1, 1, 1)
  261. Fire.Size = 15
  262. Fire.Heat = 25
  263. coroutine.wrap(function()
  264. wait(RegenerationTime + 1)
  265. --Smoke.Enabled = false
  266. Fire.Enabled = false
  267. wait(4)
  268. --Smoke:Remove()
  269. Fire:Remove()
  270. end)()
  271. end
  272. wait(RegenerationTime)
  273. MainSmoke.Enabled = false
  274. coroutine.wrap(function()
  275. wait(4)
  276. MainSmoke:Remove()
  277. end)()
  278. if Player.Character ~= Character or Player.Character == nil or Character:FindFirstChild("Humanoid") == nil then return false end
  279. if Character.Humanoid.Health <= 0 then return false end
  280. local Bubble = Instance.new("Part", Workspace)
  281. Bubble.Name = "Regeneration Bubble"
  282. Bubble.BrickColor = BrickColor.new("Br. yellowish orange")
  283. Bubble.TopSurface = 0
  284. Bubble.BottomSurface = 0
  285. Bubble.FormFactor = "Custom"
  286. Bubble.Size = Vector3.new(1, 1, 1)
  287. Bubble.CanCollide = false
  288. local Weld = Instance.new("Weld", Character.Torso)
  289. Weld.Part0 = Weld.Parent
  290. Weld.Part1 = Bubble
  291. local Mesh = Instance.new("SpecialMesh", Bubble)
  292. Mesh.MeshType = "Sphere"
  293. for i = 0, 1, 0.02 do
  294. Mesh.Scale = Vector3.new(i, i, i) * 25
  295. Bubble.Transparency = 1 - i
  296. wait()
  297. end
  298. if Player.Character ~= Character or Player.Character == nil or Character:FindFirstChild("Humanoid") == nil then return false end
  299. if Character.Humanoid.Health <= 0 then return false end
  300. if math.random(1, 25) ~= 1 then
  301. if math.random(1, 2) == 1 then
  302. local Gui = Instance.new("ScreenGui", Player.PlayerGui)
  303. Gui.Name = "Blindness"
  304. local White = Instance.new("Frame", Gui)
  305. White.Name = "White"
  306. White.BorderSizePixel = 0
  307. White.BackgroundColor3 = Color3.new(1, 1, 1)
  308. White.Size = UDim2.new(1, 0, 1, 0)
  309. White.Position = UDim2.new(0, 0, 0, 0)
  310. coroutine.wrap(function()
  311. wait(math.random(100, 1000) / 100)
  312. for i = 0, 1, 0.005 do
  313. White.BackgroundTransparency = i
  314. wait()
  315. end
  316. end)()
  317. end
  318. coroutine.wrap(function()
  319. for i = 0, 1, 0.01 do
  320. Mesh.Scale = Vector3.new(25, 25, 25) + Vector3.new(i, i, i) * 10
  321. Bubble.Transparency = i
  322. wait()
  323. end
  324. Bubble:Remove()
  325. end)()
  326. Character.Humanoid.MaxHealth = 100
  327. Character.Humanoid.Health = math.random(750, 1000) / 10
  328. if Character:FindFirstChild("Right Arm") == nil then
  329. local Limb = Instance.new("Part")
  330. Limb.Name = "Right Arm"
  331. pcall(function() Limb.BrickColor = BrickColor.new(tostring(Character["Body Colors"].RightArmColor)) end)
  332. Limb.FormFactor = 0
  333. Limb.Size = Vector3.new(1, 2, 1)
  334. Limb.Parent = Character
  335. local Joint = Instance.new("Motor6D")
  336. Joint.Parent = Character:FindFirstChild("Torso")
  337. Joint.Part0 = Joint.Parent
  338. Joint.Part1 = Character["Right Arm"]
  339. Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  340. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  341. Joint.Name = "Right Shoulder"
  342. Joint.MaxVelocity = 0.15
  343. end
  344. if Character:FindFirstChild("Left Arm") == nil then
  345. local Limb = Instance.new("Part")
  346. Limb.Name = "Left Arm"
  347. pcall(function() Limb.BrickColor = BrickColor.new(tostring(Character["Body Colors"].LeftArmColor)) end)
  348. Limb.FormFactor = 0
  349. Limb.Size = Vector3.new(1, 2, 1)
  350. Limb.Parent = Character
  351. local Joint = Instance.new("Motor6D")
  352. Joint.Parent = Character:FindFirstChild("Torso")
  353. Joint.Part0 = Joint.Parent
  354. Joint.Part1 = Character["Left Arm"]
  355. Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  356. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  357. Joint.Name = "Left Shoulder"
  358. Joint.MaxVelocity = 0.15
  359. end
  360. if Character:FindFirstChild("Right Leg") == nil then
  361. local Limb = Instance.new("Part")
  362. Limb.Name = "Right Leg"
  363. pcall(function() Limb.BrickColor = BrickColor.new(tostring(Character["Body Colors"].RightLegColor)) end)
  364. Limb.TopSurface = 0
  365. Limb.BottomSurface = 0
  366. Limb.FormFactor = 0
  367. Limb.Size = Vector3.new(1, 2, 1)
  368. Limb.Parent = Character
  369. local Joint = Instance.new("Motor6D")
  370. Joint.Parent = Character:FindFirstChild("Torso")
  371. Joint.Part0 = Joint.Parent
  372. Joint.Part1 = Character["Right Leg"]
  373. Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  374. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  375. Joint.Name = "Right Hip"
  376. Joint.MaxVelocity = 0.1
  377. end
  378. if Character:FindFirstChild("Left Leg") == nil then
  379. local Limb = Instance.new("Part")
  380. Limb.Name = "Left Leg"
  381. pcall(function() Limb.BrickColor = BrickColor.new(tostring(Character["Body Colors"].LeftLegColor)) end)
  382. Limb.TopSurface = 0
  383. Limb.BottomSurface = 0
  384. Limb.FormFactor = 0
  385. Limb.Size = Vector3.new(1, 2, 1)
  386. Limb.Parent = Character
  387. local Joint = Instance.new("Motor6D")
  388. Joint.Parent = Character:FindFirstChild("Torso")
  389. Joint.Part0 = Joint.Parent
  390. Joint.Part1 = Character["Left Leg"]
  391. Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  392. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  393. Joint.Name = "Left Hip"
  394. Joint.MaxVelocity = 0.1
  395. end
  396. for _, Part in pairs(Character.Torso:GetChildren()) do
  397. if Part.Name == "Regenerating Left Shoulder" then
  398. Part.Name = OldLeftShoulder
  399. Part.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  400. Part.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  401. elseif Part.Name == "Regenerating Right Shoulder" then
  402. Part.Name = OldRightShoulder
  403. Part.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  404. Part.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  405. elseif Part.Name == "Neck" then
  406. Part.C0 = CFrame.new(0, 1, 0)
  407. Part.C1 = CFrame.new(0, -0.5, 0)
  408. end
  409. end
  410. local Animate = Character:FindFirstChild("Animate")
  411. if Animate ~= nil then
  412. Animate = Animate:Clone()
  413. Character.Animate:Remove()
  414. Animate.Parent = Character
  415. end
  416. local SkinColor = Character.Head.BrickColor
  417. NewSkinColor = BrickColor.new(RegenerateSkinColors[math.random(1, #RegenerateSkinColors)])
  418. for _, Part in pairs(Character:GetChildren()) do
  419. if Part:IsA("BasePart") then
  420. if Part.BrickColor == SkinColor then
  421. Part.BrickColor = NewSkinColor
  422. pcall(function() Character["Body Colors"][string.gsub(Part.Name, " ", "").. "Color"] = NewSkinColor end)
  423. end
  424. end
  425. end
  426. Character.Head.face.Texture = RegenerateFaces[math.random(1, #RegenerateFaces)]
  427. for _, Part in pairs(Character:GetChildren()) do
  428. if Part:IsA("Accoutrement") then
  429. Part:Remove()
  430. end
  431. end
  432. RegenerateHair[math.random(1, #RegenerateHair)]:Clone().Parent = Character
  433. if math.random(1, 3) == 1 then
  434. RegenerateAccessories[math.random(1, #RegenerateAccessories)]:Clone().Parent = Character
  435. end
  436. else
  437. for i = 0, 1, 0.1 do
  438. Mesh.Scale = Vector3.new(25, 25, 25) - Vector3.new(i, i, i) * 25
  439. Bubble.Transparency = i
  440. wait()
  441. end
  442. Character:BreakJoints()
  443. Bubble.Anchored = true
  444. coroutine.wrap(function()
  445. for i = 0, 1, 0.05 do
  446. Mesh.Scale = Vector3.new(25, 25, 25) + Vector3.new(i, i, i) * 50
  447. Bubble.Transparency = i
  448. wait()
  449. end
  450. Bubble:Remove()
  451. end)()
  452. local Explosion = Instance.new("Explosion", Workspace)
  453. Explosion.Position = Character.Torso.Position
  454. Explosion.BlastRadius = 10
  455. Explosion.BlastPressure = 1000000
  456. wait(1)
  457. end
  458. IsRegenerating = false
  459. return true
  460. end
  461. local function HookRegeneration()
  462. IsRegenerating = false
  463. Regenerations.Value = 0
  464. local Gui = Instance.new("ScreenGui", Player.PlayerGui)
  465. Gui.Name = "TimeLord Gui"
  466. local Count = Instance.new("TextLabel", Gui)
  467. Count.Name = "Regeneration Count"
  468. Count.BorderColor3 = Color3.new(0, 0, 0)
  469. Count.BackgroundColor3 = Color3.new(0.3, 0.3, 0.3)
  470. Count.Size = UDim2.new(0, 75, 0, 25)
  471. Count.Position = UDim2.new(1, -75, 1, -100)
  472. Count.TextColor3 = Color3.new(0, 0, 0)
  473. Count.FontSize = "Size24"
  474. coroutine.wrap(function()
  475. while true do
  476. Count.Text = Regenerations.Value
  477. wait()
  478. end
  479. end)()
  480. local Label = Count:Clone()
  481. Label.Parent = Gui
  482. Label.Name = "Regeneration Label"
  483. Label.Position = UDim2.new(1, -75, 1, -115)
  484. Label.Size = UDim2.new(0, 75, 0, 15)
  485. Label.Text = "Regenerations:"
  486. Label.FontSize = "Size8"
  487. local Button1 = Instance.new("TextButton", Gui)
  488. Button1.Name = "Regeneration Toggle"
  489. Button1.Text = "On"
  490. Button1.Size = UDim2.new(0, 75 / 2, 0, 15)
  491. Button1.Position = UDim2.new(1, -75, 1, -130)
  492. Button1.TextColor3 = Color3.new(0, 0, 0)
  493. Button1.MouseButton1Down:connect(function() AutoRegenerate.Value = not AutoRegenerate.Value end)
  494. coroutine.wrap(function()
  495. while Button1.Parent ~= nil do
  496. Button1.Text = (AutoRegenerate.Value == true and "On" or "Off")
  497. Button1.BackgroundColor3 = Color3.new(AutoRegenerate.Value == false and 0.9 or 0, AutoRegenerate.Value == true and 0.8 or 0, 0)
  498. wait()
  499. end
  500. end)()
  501. local Button2 = Instance.new("TextButton", Gui)
  502. Button2.Name = "Regeneration Toggle"
  503. Button2.Text = "Force"
  504. Button2.Size = UDim2.new(0, 75 / 2, 0, 15)
  505. Button2.Position = UDim2.new(1, -75 / 2, 1, -130)
  506. Button2.TextColor3 = Color3.new(0, 0, 0)
  507. Button2.MouseButton1Down:connect(function() Regenerate() end)
  508. coroutine.wrap(function()
  509. while Button2.Parent ~= nil do
  510. Button2.Text = IsRegenerating == false and "Force" or "Wait..."
  511. Button2.BackgroundColor3 = IsRegenerating == false and Color3.new(0.3, 0.3, 0.3) or Color3.new(0.15, 0.15, 0.15)
  512. Button2.TextColor3 = IsRegenerating == false and Color3.new(0, 0, 0) or Color3.new(0.8, 0.8, 0.8)
  513. wait()
  514. end
  515. end)()
  516. local Character = Player.Character
  517. Character.Humanoid.Changed:connect(function(Property)
  518. if Property == "Health" then
  519. if Character.Humanoid.Health <= 0 then
  520. Regenerate()
  521. end
  522. end
  523. end)
  524. Character.Torso.ChildRemoved:connect(function(Part)
  525. if IsRegenerating == true then return end
  526. if Part.Name == "Neck" then
  527. local Neck = Instance.new("Motor6D")
  528. Neck.Name = "Neck"
  529. Neck.Part0 = Character:FindFirstChild("Torso")
  530. Neck.Part1 = Character:FindFirstChild("Head")
  531. Neck.C0 = CFrame.new(0, 2, 0)
  532. Neck.C1 = CFrame.new(0, 0.5, 0)
  533. Neck.MaxVelocity = 0
  534. Neck.Parent = Character:FindFirstChild("Torso")
  535. Regenerate()
  536. end
  537. end)
  538. Character.ChildRemoved:connect(function(Part)
  539. if (Part.Name == "Head" or Part.Name == "Torso") and not (IsTimeLord.Value == false or IsTimeLord.Parent == nil or AutoRegenerate.Value == false or AutoRegenerate.Parent == nil or Regenerations.Value > 12 or Regenerations.Parent == nil) then
  540. if Character:FindFirstChild(Part.Name) ~= nil then return end
  541. Part:Clone().Parent = Character
  542. Regenerate()
  543. elseif Part.Name == "Left Arm" or Part.Name == "Right Arm" or Part.Name == "Left Leg" or Part.Name == "Right Leg" then
  544. Regenerate()
  545. end
  546. end)
  547. end
  548. Player.Changed:connect(function(Property)
  549. wait()
  550. if Property == "Character" and Player.Character ~= Character then
  551. HookRegeneration()
  552. end
  553. end)
  554. HookRegeneration()
  555. end
  556.  
  557.  
  558. _G.BecomeTimeLord(game:GetService("Players").Upscalegaming)
  559.  
  560.  
  561. --[[
  562. for _, p in pairs(game:GetService("Players"):GetPlayers()) do
  563. _G.BecomeTimeLord(p)
  564. end
  565. game:GetService("Players").ChildAdded:connect(function(p)
  566. if p:IsA("Player") then
  567. _G.BecomeTimeLord(p)
  568. end
  569. end)
  570. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement