Advertisement
zombieslayerwtf

limbs regrow script [might remove your hat]

Mar 23rd, 2018
4,063
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.01 KB | None | 0 0
  1. local ContentProvider = game:GetService("ContentProvider")
  2.  
  3. local function LoadAssets(AssetList)
  4. -- Takes an asset list and preloads it. Will not wait for them to load.
  5.  
  6. for _, AssetId in pairs(AssetList) do
  7. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  8. end
  9. end
  10.  
  11. LoadAssets({11442510,30956707})
  12. local Gibs = game.Workspace
  13.  
  14. function Kill(Character)
  15. Character.Humanoid.Health = 0
  16. local poo = Instance.new("IntValue",Character)
  17. poo.Name = "haha nope"
  18. local svch = Character
  19. local hum = Character:findFirstChild("Humanoid")
  20. Character.Archivable = true
  21. local chrclone = Character:clone()
  22. Character.Archivable = false
  23.  
  24. local ch = chrclone:GetChildren()
  25. local i
  26. for i = 1,#ch do
  27. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  28. ch[i]:remove()
  29. end
  30. end
  31. local function Scan(ch)
  32. local e
  33. for e = 1,#ch do
  34. Scan(ch[e]:GetChildren())
  35. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  36. ch[e]:remove()
  37. end
  38. end
  39. end
  40. Scan(chrclone:GetChildren())
  41.  
  42. local hum2 = chrclone:findFirstChild("Humanoid")
  43.  
  44.  
  45. if hum2 ~= nil then
  46. hum2.Name = "Humanoid2"
  47. hum2.PlatformStand = true
  48. hum2.Sit = true
  49. hum2.MaxHealth = 0
  50. hum2.Health = 0
  51. end
  52.  
  53. local ch = Character:GetChildren()
  54. local i
  55. for i = 1,#ch do
  56. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  57. ch[i]:remove()
  58. end
  59. end
  60.  
  61. wait(0.2)
  62.  
  63. local ch = Character:GetChildren()
  64. local i
  65. for i = 1,#ch do
  66. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  67. ch[i]:remove()
  68. end
  69. end
  70. Character = chrclone
  71. local Torso = Character.Torso
  72. local movevector = Vector3.new()
  73.  
  74. if Torso then
  75. local Head = Character:FindFirstChild("Head")
  76. local Limb = Character:FindFirstChild("Right Arm")
  77. if Limb then
  78.  
  79. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  80. local Joint = Instance.new("Glue")
  81. Joint.Name = "RightShoulder"
  82. Joint.Part0 = Torso
  83. Joint.Part1 = Limb
  84. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  85. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  86. Joint.Parent = Torso
  87.  
  88. local B = Instance.new("Part")
  89. B.TopSurface = 0
  90. B.BottomSurface = 0
  91. B.formFactor = "Symmetric"
  92. B.Size = Vector3.new(1, 1, 1)
  93. B.Transparency = 1
  94. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  95. B.Parent = Character
  96. local W = Instance.new("Weld")
  97. W.Part0 = Limb
  98. W.Part1 = B
  99. W.C0 = CFrame.new(0, -0.5, 0)
  100. W.Parent = Limb
  101.  
  102. end
  103. local Limb = Character:FindFirstChild("Left Arm")
  104. if Limb then
  105.  
  106. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  107. local Joint = Instance.new("Glue")
  108. Joint.Name = "LeftShoulder"
  109. Joint.Part0 = Torso
  110. Joint.Part1 = Limb
  111. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  112. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  113. Joint.Parent = Torso
  114.  
  115. local B = Instance.new("Part")
  116. B.TopSurface = 0
  117. B.BottomSurface = 0
  118. B.formFactor = "Symmetric"
  119. B.Size = Vector3.new(1, 1, 1)
  120. B.Transparency = 1
  121. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  122. B.Parent = Character
  123. local W = Instance.new("Weld")
  124. W.Part0 = Limb
  125. W.Part1 = B
  126. W.C0 = CFrame.new(0, -0.5, 0)
  127. W.Parent = Limb
  128.  
  129. end
  130. local Limb = Character:FindFirstChild("Right Leg")
  131. if Limb then
  132.  
  133. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  134. local Joint = Instance.new("Glue")
  135. Joint.Name = "RightHip"
  136. Joint.Part0 = Torso
  137. Joint.Part1 = Limb
  138. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  139. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  140. Joint.Parent = Torso
  141.  
  142. local B = Instance.new("Part")
  143. B.TopSurface = 0
  144. B.BottomSurface = 0
  145. B.formFactor = "Symmetric"
  146. B.Size = Vector3.new(1, 1, 1)
  147. B.Transparency = 1
  148. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  149. B.Parent = Character
  150. local W = Instance.new("Weld")
  151. W.Part0 = Limb
  152. W.Part1 = B
  153. W.C0 = CFrame.new(0, -0.5, 0)
  154. W.Parent = Limb
  155.  
  156. end
  157. local Limb = Character:FindFirstChild("Left Leg")
  158. if Limb then
  159.  
  160. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  161. local Joint = Instance.new("Glue")
  162. Joint.Name = "LeftHip"
  163. Joint.Part0 = Torso
  164. Joint.Part1 = Limb
  165. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  166. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  167. Joint.Parent = Torso
  168.  
  169. local B = Instance.new("Part")
  170. B.TopSurface = 0
  171. B.BottomSurface = 0
  172. B.formFactor = "Symmetric"
  173. B.Size = Vector3.new(1, 1, 1)
  174. B.Transparency = 1
  175. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  176. B.Parent = Character
  177. local W = Instance.new("Weld")
  178. W.Part0 = Limb
  179. W.Part1 = B
  180. W.C0 = CFrame.new(0, -0.5, 0)
  181. W.Parent = Limb
  182.  
  183. end
  184. --[
  185. local Bar = Instance.new("Part")
  186. Bar.TopSurface = 0
  187. Bar.BottomSurface = 0
  188. Bar.formFactor = "Symmetric"
  189. Bar.Size = Vector3.new(1, 1, 1)
  190. Bar.Transparency = 1
  191. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  192. Bar.Parent = Character
  193. local Weld = Instance.new("Weld")
  194. Weld.Part0 = Torso
  195. Weld.Part1 = Bar
  196. Weld.C0 = CFrame.new(0, 0.5, 0)
  197. Weld.Parent = Torso
  198. --]]
  199. end
  200. Character.Parent = Gibs
  201. game.Debris:AddItem(Character, 12)
  202. if movevector ~= Vector3.new() then
  203. for i = 1,10 do
  204. wait()
  205. Torso.Velocity = Vector3.new(0,0,-100)
  206. Head.Velocity = movevector * 200
  207. end
  208. end
  209. local duh = Torso
  210. ee = Instance.new("Part")
  211. ee.Anchored = false
  212. ee.CanCollide = false
  213. ee.Parent = duh
  214. ee.Transparency =1
  215. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  216. wee = Instance.new("Weld")
  217. wee.Parent = duh
  218. wee.Part0 = duh
  219. wee.Part1 = ee
  220. wee.C0 = CFrame.new(0, 1, 0)
  221. ge = Instance.new('ParticleEmitter')
  222. ge.Parent = ee
  223. ge.Texture = "rbxassetid://29712167"
  224. ge.Size = NumberSequence.new(0.2,0.05)
  225. ge.Acceleration = Vector3.new(0, -20, 0)
  226. ge.Rate = 100000
  227. ge.Speed = NumberRange.new(7,8)
  228. ge.Lifetime = NumberRange.new(3,4)
  229. ge.VelocitySpread = 10
  230. ge.VelocityInheritance = 0.3
  231. ea = Instance.new("Part")
  232. ea.Anchored = false
  233. ea.CanCollide = false
  234. ea.Parent = Character.Head
  235. ea.Transparency =1
  236. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  237. wea = Instance.new("Weld")
  238. wea.Parent = Character.Head
  239. wea.Part0 = Character.Head
  240. wea.Part1 = ea
  241. wea.C0 = CFrame.new(0, -0.7, 0)
  242. ga = Instance.new('ParticleEmitter')
  243. ga.Parent = ea
  244. ga.Texture = "rbxassetid://29712167"
  245. ga.Size = NumberSequence.new(0.2,0.05)
  246. ga.Acceleration = Vector3.new(0, -20, 0)
  247. ga.Rate = 100000
  248. ga.Speed = NumberRange.new(7,8)
  249. ga.Lifetime = NumberRange.new(3,4)
  250. ga.VelocitySpread = 10
  251. ga.VelocityInheritance = 0.3
  252. ga.EmissionDirection = Enum.NormalId.Bottom
  253. end
  254. local plr = game.Players.LocalPlayer
  255. local chr = plr.Character
  256. local mouse = plr:GetMouse()
  257. local intro = coroutine.wrap(function()
  258. wait(.2)
  259. end)
  260.  
  261.  
  262.  
  263. wait(.2)
  264. local tors = chr.Torso
  265. chr.Head.Transparency = 1
  266. for i,v in pairs(chr:GetChildren()) do
  267. if v.ClassName == "CharacterMesh" then
  268. v:Destroy()
  269. end
  270. end
  271. local humroot = chr.HumanoidRootPart:Clone()
  272. local torsclone = tors:Clone()
  273. local anim = chr.Animate:Clone()
  274. local hum = chr.Humanoid:Clone()
  275. local head = chr.Head:Clone()
  276. local neck = chr.Torso.Neck:Clone()
  277. local rightarm = chr["Right Arm"]:Clone()
  278. local leftarm = chr["Left Arm"]:Clone()
  279. local leftleg = chr["Left Leg"]:Clone()
  280. local rightleg = chr["Right Leg"]:Clone()
  281. local rightshoulder = tors["Right Shoulder"]:Clone()
  282. local leftshoulder = tors["Left Shoulder"]:Clone()
  283. local righthip = tors["Right Hip"]:Clone()
  284. local lefthip = tors["Left Hip"]:Clone()
  285. local shirt = nil
  286. local pants = nil
  287. local hats = {}
  288. local lastpos = CFrame.new(0,0,0)
  289. local on = true
  290.  
  291. if chr:FindFirstChildOfClass('Shirt') then
  292. shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
  293. end
  294. if chr:FindFirstChildOfClass('Pants') then
  295. pants = chr:FindFirstChildOfClass('Pants'):Clone()
  296. end
  297. for i,v in pairs(chr:GetChildren()) do
  298. if v.ClassName == "Accessory" then
  299. table.insert(hats,v:Clone())
  300. end
  301. end
  302. local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
  303. chr.Humanoid:Destroy()
  304.  
  305. game:GetService('RunService').Stepped:connect(function()
  306. if chr.Parent == nil then
  307. chr.RobloxLocked = false
  308. chr.Parent = game.Workspace
  309. end
  310. if chr:FindFirstChildOfClass('Humanoid') == nil then
  311. hum:Clone().Parent = chr
  312. chr.Animate:Destroy()
  313. anim:Clone().Parent = chr
  314. end
  315. if chr:FindFirstChild('HumanoidRootPart') == nil then
  316. humroot:Clone().Parent = chr
  317. humroot.CFrame = lastpos
  318. chr.Humanoid:Destroy()
  319. hum:Clone().Parent = chr
  320. chr.Animate:Destroy()
  321. anim:Clone().Parent = chr
  322. chr.HumanoidRootPart.RootJoint:Destroy()
  323. end
  324. if chr:FindFirstChild('Torso') == nil then
  325. chr.Humanoid:Destroy()
  326. local tor = tors:Clone()
  327. tor.Parent = chr
  328. hum:Clone().Parent = chr
  329. chr.Animate:Destroy()
  330. anim:Clone().Parent = chr
  331. end
  332. if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
  333. local rtj = rootjoint:Clone()
  334. rtj.Parent = chr.HumanoidRootPart
  335. rtj.Part0 = chr.HumanoidRootPart
  336. rtj.Part1 = chr.Torso
  337. end
  338. if chr:FindFirstChild('Head') == nil then
  339. chr.Humanoid:Destroy()
  340. head:Clone().Parent = chr
  341. hum:Clone().Parent = chr
  342. chr.Animate:Destroy()
  343. anim:Clone().Parent = chr
  344. end
  345. if chr.Torso:FindFirstChild('Neck') == nil then
  346. chr.Humanoid:Destroy()
  347. local hec = neck:Clone()
  348. hec.Parent = chr.Torso
  349. hec.Part0 = chr.Torso
  350. hec.Part1 = chr.Head
  351. hum:Clone().Parent = chr
  352. chr.Animate:Destroy()
  353. anim:Clone().Parent = chr
  354. end
  355. if chr:FindFirstChild('Right Leg') == nil then
  356. rightleg:Clone().Parent = chr
  357. local fi = righthip:Clone()
  358. fi.Parent = chr.Torso
  359. fi.Part0 = chr.Torso
  360. fi.Part1 = chr["Right Leg"]
  361. end
  362. if chr:FindFirstChild('Right Arm') == nil then
  363. rightarm:Clone().Parent = chr
  364. local fi = rightshoulder:Clone()
  365. fi.Parent = chr.Torso
  366. fi.Part0 = chr.Torso
  367. fi.Part1 = chr["Right Arm"]
  368. end
  369. if chr:FindFirstChild('Left Leg') == nil then
  370. leftleg:Clone().Parent = chr
  371. local fi = lefthip:Clone()
  372. fi.Parent = chr.Torso
  373. fi.Part0 = chr.Torso
  374. fi.Part1 = chr["Left Leg"]
  375. end
  376. if chr:FindFirstChild('Left Arm') == nil then
  377. leftarm:Clone().Parent = chr
  378. local fi = leftshoulder:Clone()
  379. fi.Parent = chr.Torso
  380. fi.Part0 = chr.Torso
  381. fi.Part1 = chr["Left Arm"]
  382. end
  383. chr.Humanoid.Health = chr.Humanoid.MaxHealth
  384. chr.Head.Transparency = 0
  385. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement