zed_isJayTheLionJR

UnKiIlable v3

Jun 18th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  255. local plr = game.Players.LocalPlayer
  256. local chr = plr.Character
  257. local mouse = plr:GetMouse()
  258. local intro = coroutine.wrap(function()
  259. local gui = Instance.new('ScreenGui',plr.PlayerGui)
  260. gui.Name = "Intro"
  261. local fr = Instance.new('Frame',gui)
  262. fr.Size = UDim2.new(0.4,0,0,0)
  263. fr.Position = UDim2.new(0.3,0,-0.1,0)
  264. fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
  265. fr.BorderSizePixel = 5
  266. fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  267. local title = Instance.new('TextLabel',fr)
  268. title.Size = UDim2.new(1,0,0.4,0)
  269. title.Position = UDim2.new(0,0,0.1,0)
  270. title.BackgroundTransparency = 1
  271. title.TextColor3 = Color3.fromRGB(198, 45, 45)
  272. title.TextScaled = true
  273. title.Text = 'Deadpool Script'
  274. local desc = Instance.new('TextLabel',fr)
  275. desc.Size = UDim2.new(1,0,0.5,0)
  276. desc.Position = UDim2.new(0,0,0.5,0)
  277. desc.BackgroundTransparency = 1
  278. desc.TextColor3 = Color3.fromRGB(198, 45, 45)
  279. desc.TextScaled = true
  280. desc.Text = ''
  281. wait(1)
  282. fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
  283. wait(2)
  284. local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
  285. local leng = string.len(str)
  286. for i = 1,leng do
  287. desc.Text = string.sub(str,1,i)
  288. wait()
  289. end
  290. wait(2)
  291. fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
  292. wait(2)
  293. gui:Destroy()
  294. end)
  295. intro()
  296.  
  297.  
  298. wait(2)
  299. local tors = chr.Torso
  300. chr.Head.Transparency = 1
  301. for i,v in pairs(chr:GetChildren()) do
  302. if v.ClassName == "CharacterMesh" then
  303. v:Destroy()
  304. end
  305. end
  306. local humroot = chr.HumanoidRootPart:Clone()
  307. local torsclone = tors:Clone()
  308. local anim = chr.Animate:Clone()
  309. local hum = chr.Humanoid:Clone()
  310. local head = chr.Head:Clone()
  311. local neck = chr.Torso.Neck:Clone()
  312. local rightarm = chr["Right Arm"]:Clone()
  313. local leftarm = chr["Left Arm"]:Clone()
  314. local leftleg = chr["Left Leg"]:Clone()
  315. local rightleg = chr["Right Leg"]:Clone()
  316. local rightshoulder = tors["Right Shoulder"]:Clone()
  317. local leftshoulder = tors["Left Shoulder"]:Clone()
  318. local righthip = tors["Right Hip"]:Clone()
  319. local lefthip = tors["Left Hip"]:Clone()
  320. local shirt = nil
  321. local pants = nil
  322. local hats = {}
  323. local lastpos = CFrame.new(0,0,0)
  324. local on = true
  325. local doing = false
  326. local stabbing = false
  327. local slicing = false
  328. local toolz = Instance.new('Tool',plr.Backpack)
  329. toolz.Name = "Katana"
  330. toolz.RequiresHandle = false
  331. toolz.CanBeDropped = false
  332. local partz = Instance.new('Part',toolz)
  333. partz.Size = Vector3.new(0.2,0.2,3)
  334. partz.CanCollide = false
  335. local meshz = Instance.new('SpecialMesh',partz)
  336. meshz.MeshId = 'rbxassetid://11442510'
  337. meshz.TextureId = 'rbxassetid://30956707'
  338. meshz.VertexColor = Vector3.new(0,0,0)
  339.  
  340. toolz.Equipped:connect(function(mouse)
  341. if chr:FindFirstChild('Right Arm') then
  342. local weld = Instance.new('Weld',partz)
  343. weld.Part0 = partz
  344. weld.Part1 = chr["Right Arm"]
  345. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  346. end
  347. mouse.KeyDown:connect(function(key)
  348. if doing == false then
  349. if key == 'z' then
  350. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  351. doing = true
  352. local weld = Instance.new('Weld',chr["Right Arm"])
  353. weld.Part0 = chr["Right Arm"]
  354. weld.Part1 = chr.Torso
  355. weld.C0 = CFrame.new(-1.5,0,0)
  356. for i=1,25 do
  357. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
  358. wait()
  359. end
  360. wait()
  361. stabbing = true
  362. for i=1,10 do
  363. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
  364. wait()
  365. end
  366. wait()
  367. for i=1,25 do
  368. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
  369. wait()
  370. end
  371. chr["Right Arm"]:Destroy()
  372. doing = false
  373. stabbing = false
  374. end
  375. elseif key == 'x' then
  376. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  377. doing = true
  378. local weld = Instance.new('Weld',chr["Right Arm"])
  379. weld.Part0 = chr["Right Arm"]
  380. weld.Part1 = chr.Torso
  381. weld.C0 = CFrame.new(-1.5,0,0)
  382. for i=1,25 do
  383. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
  384. wait()
  385. end
  386. wait()
  387. slicing = true
  388. for i=1,5 do
  389. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
  390. wait()
  391. end
  392. wait()
  393. for i=1,12.5 do
  394. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
  395. wait()
  396. end
  397. chr["Right Arm"]:Destroy()
  398. doing = false
  399. slicing = false
  400. end
  401. end
  402. end
  403. end)
  404. end)
  405.  
  406. partz.Touched:connect(function(hit)
  407. if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
  408. hit.Parent.Humanoid.Health = 0
  409. elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
  410. local he = Instance.new('IntValue',hit.Parent)
  411. he.Name = "heck"
  412. Kill(hit.Parent)
  413. end
  414. end)
  415.  
  416. toolz.Unequipped:connect(function(mouse)
  417. if partz:FindFirstChildOfClass('Weld') then
  418. partz:FindFirstChildOfClass('Weld'):Destroy()
  419. end
  420. end)
  421. toolz.AncestryChanged:connect(function(child, parent)
  422. if parent ~= chr and parent ~= plr.Backpack then
  423. wait()
  424. toolz.Parent = plr.Backpack
  425. end
  426. end)
  427.  
  428. mouse.KeyDown:connect(function(key)
  429. if key == "n" then
  430. wait()
  431. toolz:Equip()
  432. end
  433. end)
  434. if chr:FindFirstChildOfClass('Shirt') then
  435. shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
  436. end
  437. if chr:FindFirstChildOfClass('Pants') then
  438. pants = chr:FindFirstChildOfClass('Pants'):Clone()
  439. end
  440. for i,v in pairs(chr:GetChildren()) do
  441. if v.ClassName == "Accessory" then
  442. table.insert(hats,v:Clone())
  443. end
  444. end
  445. local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
  446. chr.Humanoid:Destroy()
  447. local gui = Instance.new('ScreenGui')
  448. gui.Parent = game.Players.LocalPlayer.PlayerGui
  449. gui.Name = "Deadpool"
  450. gui.ResetOnSpawn = false
  451. local frame = Instance.new('Frame',gui)
  452. frame.Size = UDim2.new(0.2,0,0.2,0)
  453. frame.Position = UDim2.new(0,0,0.9,0)
  454. frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  455. frame.BorderSizePixel = 4
  456. frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
  457. frame.Active = true
  458. frame.Draggable = true
  459. local txt = Instance.new('TextLabel',frame)
  460. txt.Text = "Demon Gui"
  461. txt.TextColor3 = Color3.fromRGB(198, 45, 45)
  462. txt.Size = UDim2.new(1,0,0.3,0)
  463. txt.TextScaled = true
  464. txt.BackgroundTransparency = 1
  465. local but = Instance.new('TextButton',frame)
  466. but.Text = "Toggle Suit"
  467. but.TextColor3 = Color3.fromRGB(38, 38, 38)
  468. but.Size = UDim2.new(0.7,0,0.3,0)
  469. but.Position = UDim2.new(0.15,0,0.5,0)
  470. but.BorderSizePixel = 0
  471. but.TextScaled = true
  472. but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
  473. but.MouseButton1Down:connect(function()
  474. on = not on
  475. end)
  476. game:GetService('RunService').Stepped:connect(function()
  477. if chr.Parent == nil then
  478. chr.RobloxLocked = false
  479. chr.Parent = game.Workspace
  480. end
  481. if chr:FindFirstChildOfClass('Humanoid') == nil then
  482. hum:Clone().Parent = chr
  483. chr.Animate:Destroy()
  484. anim:Clone().Parent = chr
  485. end
  486. if chr:FindFirstChild('HumanoidRootPart') == nil then
  487. humroot:Clone().Parent = chr
  488. humroot.CFrame = lastpos
  489. chr.Humanoid:Destroy()
  490. hum:Clone().Parent = chr
  491. chr.Animate:Destroy()
  492. anim:Clone().Parent = chr
  493. chr.HumanoidRootPart.RootJoint:Destroy()
  494. end
  495. if chr:FindFirstChild('Torso') == nil then
  496. chr.Humanoid:Destroy()
  497. local tor = tors:Clone()
  498. tor.Parent = chr
  499. hum:Clone().Parent = chr
  500. chr.Animate:Destroy()
  501. anim:Clone().Parent = chr
  502. end
  503. if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
  504. local rtj = rootjoint:Clone()
  505. rtj.Parent = chr.HumanoidRootPart
  506. rtj.Part0 = chr.HumanoidRootPart
  507. rtj.Part1 = chr.Torso
  508. end
  509. if chr:FindFirstChild('Head') == nil then
  510. chr.Humanoid:Destroy()
  511. head:Clone().Parent = chr
  512. hum:Clone().Parent = chr
  513. chr.Animate:Destroy()
  514. anim:Clone().Parent = chr
  515. end
  516. if chr.Torso:FindFirstChild('Neck') == nil then
  517. chr.Humanoid:Destroy()
  518. local hec = neck:Clone()
  519. hec.Parent = chr.Torso
  520. hec.Part0 = chr.Torso
  521. hec.Part1 = chr.Head
  522. hum:Clone().Parent = chr
  523. chr.Animate:Destroy()
  524. anim:Clone().Parent = chr
  525. end
  526. if chr:FindFirstChild('Right Leg') == nil then
  527. rightleg:Clone().Parent = chr
  528. local fi = righthip:Clone()
  529. fi.Parent = chr.Torso
  530. fi.Part0 = chr.Torso
  531. fi.Part1 = chr["Right Leg"]
  532. end
  533. if chr:FindFirstChild('Right Arm') == nil then
  534. rightarm:Clone().Parent = chr
  535. local fi = rightshoulder:Clone()
  536. fi.Parent = chr.Torso
  537. fi.Part0 = chr.Torso
  538. fi.Part1 = chr["Right Arm"]
  539. end
  540. if chr:FindFirstChild('Left Leg') == nil then
  541. leftleg:Clone().Parent = chr
  542. local fi = lefthip:Clone()
  543. fi.Parent = chr.Torso
  544. fi.Part0 = chr.Torso
  545. fi.Part1 = chr["Left Leg"]
  546. end
  547. if chr:FindFirstChild('Left Arm') == nil then
  548. leftarm:Clone().Parent = chr
  549. local fi = leftshoulder:Clone()
  550. fi.Parent = chr.Torso
  551. fi.Part0 = chr.Torso
  552. fi.Part1 = chr["Left Arm"]
  553. end
  554. for i,v in pairs(chr:GetChildren()) do
  555. if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
  556. v:Destroy()
  557. end
  558. end
  559. chr.Humanoid.Health = chr.Humanoid.MaxHealth
  560. if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
  561. local weld = Instance.new('Weld',partz)
  562. weld.Part0 = partz
  563. weld.Part1 = chr["Right Arm"]
  564. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  565. end
  566. lastpos = chr.HumanoidRootPart.CFrame
  567. local kat = Instance.new('Part',chr)
  568. kat.Size = Vector3.new(0.4,3,0.2)
  569. kat.Name = "KatanaHolder"
  570. kat.Material = Enum.Material.SmoothPlastic
  571. kat.BrickColor = BrickColor.new('Really black')
  572. kat.CanCollide = false
  573. local we = Instance.new('Weld',kat)
  574. we.Part0 = kat
  575. we.Part1 = chr.Torso
  576. we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
  577. if on == true then
  578. local shirt = Instance.new('Shirt',chr)
  579. shirt.ShirtTemplate = 'rbxassetid://1159325231'
  580. local pants = Instance.new('Pants',chr)
  581. pants.PantsTemplate = 'rbxassetid://787069171'
  582. else
  583. chr.Head.Transparency = 0
  584. if shirt ~= nil then
  585. shirt:Clone().Parent = chr
  586. end
  587. if pants ~= nil then
  588. pants:Clone().Parent = chr
  589. end
  590. for i,v in pairs(hats) do
  591. v:Clone().Parent = chr
  592. end
  593. end
  594. end)
  595.  
  596. wait()
  597. script.Name = "_.:| E-Shield |:._"
  598. --script.Parent = _EShield_
  599. local LocalPlayer = game:service'Players'.LocalPlayer
  600. local b, Platform = nil
  601. local PlayerOnly = false
  602. local Touched = {}
  603. local Mouse = LocalPlayer:GetMouse()
  604. local ShiftDown, CtrlDown, MouseDown, Mouse2Down, MouseDeb, Mouse2Tick = false, false, false, false, false, 0
  605.  
  606. function Create()
  607. if b then pcall(function() b:Destroy() end) end
  608. if Platform then pcall(function() Platform:Destroy() end) end
  609. local t = LocalPlayer.Character:FindFirstChild("Torso")
  610. local posit = Vector3.new(0, 50, 0)
  611. if t then posit = t.Position end
  612. Platform = Instance.new("Part")
  613. Platform.formFactor = "Custom"
  614. Platform.Size = Vector3.new(10, 1, 10)
  615. Platform.Transparency = 1
  616. Platform.Anchored = true
  617. Platform.CanCollide = true
  618. b = Instance.new("Part", game:service'Workspace')
  619. b.Position = posit
  620. b.Shape = "Block"
  621. b.Transparency = 1
  622. b.Anchored = true
  623. b.Reflectance = 0
  624. b.Size = Mouse2Down and Vector3.new(25, 25, 25) or Vector3.new(15, 15, 15)
  625. b.Color = Mouse2Down and Color3.new(0, 0, 0) or Color3.new(0, 0, 0)
  626. b.TopSurface = "Smooth"
  627. b.BottomSurface = "Smooth"
  628. b.Locked = true
  629. b.CanCollide = false
  630. b.Changed:connect(function(w)
  631. if w == "Parent" then
  632. Create()
  633. end
  634. end)
  635. b.Touched:connect(function(obj)
  636. if obj.Name ~= "WillNotBeRemoved" and not TouchedStatus(obj) and not obj:IsDescendantOf(LocalPlayer.Character) and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) and obj.Name ~= "Base" and obj.className == "Part" then
  637. table.insert(Touched, obj)
  638. if PlayerOnly then
  639. if GetPlayer(obj) then
  640. Destroying(obj)
  641. end
  642. else
  643. Destroying(obj)
  644. end
  645. end
  646. end)
  647. end
  648.  
  649. function GetRecursiveChildren(Parent)
  650. local ret = {}
  651. for i, v in pairs(Parent:GetChildren()) do
  652. if #v:GetChildren() > 0 then
  653. local childs = GetRecursiveChildren(v)
  654. for i1, v1 in pairs(childs) do
  655. ret[#ret + 1] = v1
  656. end
  657. end
  658. ret[#ret + 1] = v
  659. end
  660. return ret
  661. end
  662.  
  663. function GetPlayer(Target)
  664. for _,v in pairs(game:service'Players':GetPlayers()) do
  665. if v.Character ~= nil and Target:IsDescendantOf(v.Character) then
  666. return v
  667. end
  668. end
  669. return nil
  670. end
  671.  
  672. function TouchedStatus(Target)
  673. for _,v in pairs(Touched) do
  674. if v == Target then
  675. return true
  676. end
  677. end
  678. return false
  679. end
  680.  
  681. function Destroying(obj)
  682. local ran, err = coroutine.resume(coroutine.create(function()
  683. if not Mouse2Down then
  684. obj:BreakJoints()
  685. obj.CanCollide = false
  686. obj.Anchored = false
  687. obj.formFactor = "Custom"
  688. obj.Size = obj.Size * Vector3.new(math.random(), math.random(), math.random())
  689. local bp = Instance.new("BodyPosition")
  690. bp.maxForce = Vector3.new(1/0,1/0,1/0)
  691. bp.Parent = obj
  692. local X, Y, Z = nil, nil, nil
  693. coroutine.wrap(function()
  694. while obj and obj.Parent do
  695. X, Y, Z = math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)
  696. wait(0.3)
  697. end
  698. end)()
  699. coroutine.wrap(function()
  700. while obj and obj.Parent do
  701. bp.position = LocalPlayer.Character.Torso.Position + Vector3.new(X, Y, Z)
  702. wait()
  703. end
  704. end)()
  705. coroutine.wrap(function()
  706. local transp = 0
  707. for i = 1, 50 do
  708. transp = transp + 0.02
  709. obj.Transparency = transp
  710. wait(0.05)
  711. end
  712. game:service'Debris':AddItem(obj, 0)
  713. end)()
  714. elseif Mouse2Down then
  715. local selbox = Instance.new("SelectionBox", obj)
  716. selbox.Adornee = obj
  717. selbox.Color = BrickColor.new("Really red")
  718. selbox.Transparency = 0
  719. wait(2)
  720. coroutine.wrap(function()
  721. local transp = 0
  722. local Size, Position = obj.Size, obj.Position
  723. local brickTable = {}
  724. game:service'Debris':AddItem(obj, 0)
  725. for i = 1, math.random(2, 4) do
  726. local x, y, z = math.random(), math.random(), math.random()
  727. local Brick = Instance.new("Part")
  728. Brick.Name = "WillNotBeRemoved"
  729. Brick.Parent = game:service'Workspace'
  730. Brick.BrickColor = BrickColor.new("White")
  731. Brick.Size = Size * Vector3.new(x, y, z)
  732. Brick.CFrame = CFrame.new(Position) * CFrame.Angles( x * 180, y * 180, z * 180)
  733. Brick.Locked = true
  734. Brick.Anchored = false
  735. Brick.CanCollide = false
  736. local Selection = Instance.new("SelectionBox", Brick)
  737. Selection.Adornee = Brick
  738. Selection.Color = BrickColor.new("White")
  739. Selection.Transparency = 0
  740. local BodyVelo = Instance.new("BodyVelocity", Brick)
  741. BodyVelo.maxForce = Vector3.new(1/0, 1/0, 1/0)
  742. BodyVelo.velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  743. brickTable[#brickTable + 1] = {Brick, Selection}
  744. end
  745. for i = 1, 50 do
  746. transp = transp + 0.02
  747. for i1, v in pairs(brickTable) do
  748. v[1].Transparency = transp
  749. v[2].Transparency = transp
  750. end
  751. wait(0.05)
  752. end
  753. --for i, v in pairs(brickTable) do game:service'Debris':AddItem(v[1], 0) game:service'Debris':AddItem(v[2], 0) end
  754. end)()
  755. end
  756. end))
  757. if not ran then print(".:| EShield |:. " .. err) end
  758. end
  759.  
  760. Create()
  761.  
  762. Mouse.Button1Down:connect(function()
  763. MouseDown = true
  764. end)
  765.  
  766. Mouse.Button1Up:connect(function()
  767. MouseDown = false
  768. end)
  769.  
  770. Mouse.KeyDown:connect(function(key)
  771. local key = type(key) == "string" and key:lower() or ""
  772. if key == "r" then
  773. print = function() end
  774. script:Destroy()
  775. for i, v in pairs(getfenv()) do pcall(function() v:Destroy() end) getfenv()[i] = nil end
  776. end
  777. end)
  778.  
  779. Mouse.Button2Down:connect(function()
  780. if not Mouse2Down then
  781. Mouse2Tick = tick()
  782. Mouse2Down = true
  783. coroutine.wrap(function()
  784. for i = 1.1, 0, -0.1 do if Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
  785. for i = 0, 1.1, 0.1 do if Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
  786. end)()
  787. coroutine.wrap(function()
  788. for i = 15, 25 do if Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
  789. end)()
  790. end
  791. end)
  792.  
  793. Mouse.Button2Up:connect(function()
  794. if Mouse2Down then
  795. if math.floor(tick() - Mouse2Tick) > 1 then
  796. Mouse2Down = false
  797. coroutine.wrap(function()
  798. for i = 1.1, 0, -0.1 do if not Mouse2Down then b.Color = Color3.new(i, 0, 0) end wait(0.01) end
  799. for i = 0, 1.1, 0.1 do if not Mouse2Down then b.Color = Color3.new(0, 0, i) end wait(0.01) end
  800. end)()
  801. coroutine.wrap(function()
  802. for i = 25, 15, -1 do if not Mouse2Down then b.Size = Vector3.new(i, i, i) b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position) end wait(0.05) end
  803. end)()
  804. end
  805. end
  806. end)
  807.  
  808. Mouse.KeyDown:connect(function(key)
  809. if key == "0" then
  810. ShiftDown = true
  811. elseif key == "1" or key == "2" then
  812. CtrlDown = true
  813. end
  814. end)
  815.  
  816. Mouse.KeyUp:connect(function(key)
  817. if key == "0" then
  818. ShiftDown = false
  819. elseif key == "1" or key == "2" then
  820. CtrlDown = false
  821. end
  822. end)
  823.  
  824. coroutine.wrap(function()
  825. while wait(0.05) do
  826. for i = 0.2, 0.8, 0.1 do
  827. b.Transparency = i
  828. wait(0.05)
  829. end
  830. for i = 0.7, 0.1, -0.1 do
  831. b.Transparency = i
  832. wait(0.05)
  833. end
  834. end
  835. end)()
  836.  
  837. game:service'RunService'.Stepped:connect(function()
  838. coroutine.resume(coroutine.create(function()
  839. b.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  840. end))
  841. coroutine.resume(coroutine.create(function()
  842. for i, v in pairs(Touched) do
  843. if v.Parent == nil or v == nil then
  844. table.remove(Touched, i)
  845. end
  846. end
  847. end))
  848. coroutine.resume(coroutine.create(function()
  849. local Height = LocalPlayer.Character.Torso.CFrame.y - 3.5
  850. if ShiftDown then
  851. Height = Height - 0.25
  852. if CtrlDown then
  853. Height = Height - 0.75
  854. end
  855. end
  856. local TargetCFrame = LocalPlayer.Character.Torso.CFrame
  857. local TargetAngle = LocalPlayer.Character.Torso.CFrame.lookVector
  858. Platform.Parent = game:service'Workspace'.CurrentCamera
  859. Platform.CFrame = CFrame.new(TargetCFrame.x, Height, TargetCFrame.z)
  860. Platform.CanCollide = true
  861. LocalPlayer.Character.Torso.CFrame = TargetCFrame * CFrame.new(0, -(TargetCFrame.y) + Height + 3.5, 0)
  862. end))
  863. coroutine.resume(coroutine.create(function()
  864. if LocalPlayer.Parent ~= nil then
  865. for i, v in pairs(GetRecursiveChildren(LocalPlayer.Character)) do
  866. if v.className == "Part" then v.CanCollide = false end
  867. end
  868. end
  869. end))
  870. coroutine.resume(coroutine.create(function()
  871. if MouseDown and not MouseDeb and not Mouse2Down then
  872. MouseDeb = true
  873. coroutine.wrap(function() wait(1) MouseDeb = false end)()
  874. local dist = Instance.new("Part")
  875. dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  876. dist.formFactor = "Custom"
  877. dist.Shape = "Ball"
  878. dist.Name = "WillNotBeRemoved"
  879. dist.Transparency = 0
  880. dist.Reflectance = 0.1
  881. dist.Size = Vector3.new(10, 10, 10)
  882. dist.BrickColor = BrickColor.new("New Yeller")
  883. dist.TopSurface = "Smooth"
  884. dist.Anchored = true
  885. dist.BottomSurface = "Smooth"
  886. dist.Locked = true
  887. dist.CanCollide = false
  888. dist.Parent = game:service'Workspace'
  889. dist.Touched:connect(function(obj)
  890. coroutine.resume(coroutine.create(function()
  891. local Player = GetPlayer(obj)
  892. if Player and Player ~= LocalPlayer and Player.Character and Player.Character:FindFirstChild("Torso") then
  893. local BV = Instance.new("BodyVelocity", Player.Character.Torso)
  894. BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
  895. BV.velocity = ((LocalPlayer.Character.Torso.Position - Player.Character.Torso.Position).unit * -50)
  896. game:service'Debris':AddItem(BV, 1)
  897. elseif not Player and obj ~= b and obj.Name ~= "Base" and not obj:IsDescendantOf(game:service'Workspace'.CurrentCamera) then
  898. obj:BreakJoints()
  899. obj.Anchored = false
  900. obj.CanCollide = false
  901. local BV = Instance.new("BodyVelocity", obj)
  902. BV.maxForce = Vector3.new(1/0, 1/0, 1/0)
  903. BV.velocity = ((LocalPlayer.Character.Torso.Position - obj.Position).unit * -50)
  904. game:service'Debris':AddItem(BV, 1)
  905. end
  906. end))
  907. end)
  908. coroutine.wrap(function()
  909. for i = 1, 100 do
  910. dist.Transparency = dist.Transparency + 0.01
  911. dist.Size = dist.Size + Vector3.new(1, 1, 1)
  912. dist.CFrame = CFrame.new(LocalPlayer.Character.Torso.Position)
  913. wait()
  914. end
  915. game:service'Debris':AddItem(dist, 0)
  916. end)()
  917. end
  918. end))
  919. end)
Add Comment
Please, Sign In to add comment