vovaa3

Untitled

Feb 22nd, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.44 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.  
  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 = "Deadpool 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. local pants = Instance.new('Pants',chr)
  580. local mask = Instance.new('Part',chr)
  581. mask.Name = "Mask"
  582. mask.Size = Vector3.new(2,1,1)
  583.  
  584.  
  585. else
  586. chr.Head.Transparency = 0
  587. if shirt ~= nil then
  588. shirt:Clone().Parent = chr
  589. end
  590. if pants ~= nil then
  591. pants:Clone().Parent = chr
  592. end
  593. for i,v in pairs(hats) do
  594. v:Clone().Parent = chr
  595. end
  596. end
  597. end)
  598. player = game:service("Players").LocalPlayer
  599. char = player.Character
  600. local beat = true
  601. local beattime = 0.6
  602. suit = Instance.new("Model", char)
  603. suit.Name = "Determination"
  604. local vDebounce = false
  605. Torso = char.Torso
  606. cf = CFrame.new
  607. euler = CFrame.fromEulerAnglesXYZ
  608. slashvalue = 1
  609. beamvalue = 1
  610. onehitkill = true
  611. onehitkilltwo = true
  612. specialattack = false
  613. for _, v in pairs(char.Head:GetChildren()) do
  614. if v.ClassName == "Decal" then
  615. v:remove()
  616. end
  617. end
  618. for _, v in pairs(char:GetChildren()) do
  619. if v.ClassName == "Hat" then
  620. v:remove()
  621. end
  622. end
  623. for _, v in pairs(char:GetChildren()) do
  624. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" then
  625. v:remove()
  626. end
  627. end
  628. shirt = Instance.new("Shirt", char)
  629. pants = Instance.new("Pants", char)
  630. face = Instance.new("Decal", char.Head)
  631. faceDecal.Texture='rbxassetid://400377667';
  632. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334755544"
  633. pants.PantsTemplate = "http://www.roblox.com/asset/?id=315964941"
  634. local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
  635. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  636. Hat.Name = "Hat_F"
  637. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  638. if Handle.Name ~= "Handle" then
  639. Handle.Size = Vector3.new(1, 1, 1)
  640. end
  641. Handle.BottomSurface = 0
  642. Handle.Name = "Handle"
  643. Handle.TopSurface = 0
  644. Handle.Locked = 1
  645. local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
  646. Mesh.TextureId = "http://www.roblox.com/asset/?id="
  647. Mesh.MeshId = "http://www.roblox.com/asset/?id=495214311"
  648. Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  649. Hat.Parent = char
  650. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  651. RW.Name = "Right Shoulder"
  652. LW.Name = "Left Shoulder"
  653. RSH, LSH = nil, nil
  654. LS = Torso["Left Shoulder"]
  655. LH = Torso["Left Hip"]
  656. RS = Torso["Right Shoulder"]
  657. RH = Torso["Right Hip"]
  658. RSH = char.Torso["Right Shoulder"]
  659. LSH = char.Torso["Left Shoulder"]
  660. local LSounds = {
  661. MegaloStrikesBack = Instance.new("Sound")
  662. }
  663. LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=576197352"
  664. LSounds.MegaloStrikesBack.Volume = 10
  665. function PlayLoopedSound(soundname, pitch)
  666. LSounds[soundname].Parent = char.Torso
  667. LSounds[soundname].Pitch = pitch
  668. LSounds[soundname]:Play()
  669. LSounds[soundname].Looped = true
  670. oldloopedsound = LSounds[soundname]
  671. LSounds[soundname] = LSounds[soundname]:clone()
  672. end
  673. local Sounds = {
  674. Hurt = Instance.new("Sound"),
  675. Slash = Instance.new("Sound"),
  676. Explode = Instance.new("Sound"),
  677. Sans = Instance.new("Sound")
  678. }
  679. Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=394934205"
  680. Sounds.Slash.Volume = 1
  681. Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  682. Sounds.Hurt.Volume = 1
  683. Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=388205678"
  684. Sounds.Sans.Volume = 1
  685. Sounds.Explode.SoundId = "rbxasset://sounds/collide.wav"
  686. Sounds.Explode.Volume = 1
  687. function PlaySound(soundname, pitch)
  688. Sounds[soundname].Parent = Torso
  689. Sounds[soundname].Pitch = pitch
  690. Sounds[soundname]:Play()
  691. local oldsound = Sounds[soundname]
  692. coroutine.resume(coroutine.create(function()
  693. wait(4)
  694. oldsound:Destroy()
  695. end))
  696. Sounds[soundname] = Sounds[soundname]:clone()
  697. end
  698. --char.Humanoid.MaxHealth = 99999999999999999999999999
  699. --char.Humanoid.Health = 9999999999999999999999999999
  700. function CharaTalks()
  701. local m = Instance.new("Model", char.Head)
  702. m.Name = "* W"
  703. local chat = Instance.new("Part", m)
  704. chat.TopSurface = "Smooth"
  705. chat.BottomSurface = "Smooth"
  706. chat.Name = "Head"
  707. chat.FormFactor = "Custom"
  708. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  709. chat.Transparency = 0.9
  710. chat.CanCollide = false
  711. chat.Anchored = true
  712. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  713. local h = Instance.new("Humanoid", m)
  714. h.MaxHealth = 0
  715. m.Name = "* We"
  716. wait()
  717. m.Name = "* Wel"
  718. wait()
  719. m.Name = "* Welc"
  720. wait()
  721. m.Name = "* Welco"
  722. wait()
  723. m.Name = "* Welcom"
  724. wait()
  725. m.Name = "* Welcome"
  726. wait()
  727. m.Name = "* Welcome "
  728. wait()
  729. m.Name = "* Welcome t"
  730. wait()
  731. m.Name = "* Welcome to"
  732. wait()
  733. m.Name = "* Welcome to "
  734. wait()
  735. m.Name = "* Welcome to m"
  736. wait()
  737. m.Name = "* Welcome to my"
  738. wait()
  739. m.Name = "* Welcome to my "
  740. wait()
  741. m.Name = "* Welcome to my S"
  742. wait()
  743. m.Name = "* Welcome to my SP"
  744. wait()
  745. m.Name = "* Welcome to my SPE"
  746. wait()
  747. m.Name = "* Welcome to my SPEC"
  748. wait()
  749. m.Name = "* Welcome to my SPECI"
  750. wait()
  751. m.Name = "* Welcome to my SPECIA"
  752. wait()
  753. m.Name = "* Welcome to my SPECIAL"
  754. wait()
  755. m.Name = "* Welcome to my SPECIAL "
  756. wait()
  757. m.Name = "* Welcome to my SPECIAL A"
  758. wait()
  759. m.Name = "* Welcome to my SPECIAL AT"
  760. wait()
  761. m.Name = "* Welcome to my SPECIAL ATT"
  762. wait()
  763. m.Name = "* Welcome to my SPECIAL ATTA"
  764. wait()
  765. m.Name = "* Welcome to my SPECIAL ATTAC"
  766. wait()
  767. m.Name = "* Welcome to my SPECIAL ATTACK"
  768. wait()
  769. m.Name = "* Welcome to my SPECIAL ATTACK!"
  770. wait()
  771. m:remove()
  772. end
  773. function GETDUNKED()
  774. coroutine.resume(coroutine.create(function()
  775. local m = Instance.new("Model", char.Head)
  776. m.Name = "* G"
  777. local chat = Instance.new("Part", m)
  778. chat.TopSurface = "Smooth"
  779. chat.BottomSurface = "Smooth"
  780. chat.Name = "Head"
  781. chat.FormFactor = "Custom"
  782. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  783. chat.Transparency = 0.9
  784. chat.CanCollide = false
  785. chat.Anchored = true
  786. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  787. local h = Instance.new("Humanoid", m)
  788. h.MaxHealth = 0
  789. PlaySound("Sans", 1)
  790. m.Name = "* GE"
  791. wait(0.1)
  792. PlaySound("Sans", 1)
  793. m.Name = "* GEE"
  794. wait(0.1)
  795. PlaySound("Sans", 1)
  796. m.Name = "* GEEE"
  797. wait(0.1)
  798. PlaySound("Sans", 1)
  799. m.Name = "* GEEET"
  800. wait(0.1)
  801. PlaySound("Sans", 1)
  802. m.Name = "* GEEETT"
  803. wait(0.1)
  804. PlaySound("Sans", 1)
  805. m.Name = "* GEEETTT"
  806. wait(0.3)
  807. PlaySound("Sans", 1)
  808. m.Name = "* GEEETTT D"
  809. wait(0.1)
  810. PlaySound("Sans", 1)
  811. m.Name = "* GEEETTT DU"
  812. wait(0.1)
  813. PlaySound("Sans", 1)
  814. m.Name = "* GEEETTT DUN"
  815. wait(0.1)
  816. PlaySound("Sans", 1)
  817. m.Name = "* GEEETTT DUNK"
  818. wait(0.1)
  819. PlaySound("Sans", 1)
  820. m.Name = "* GEEETTT DUNKE"
  821. wait(0.1)
  822. PlaySound("Sans", 1)
  823. m.Name = "* GEEETTT DUNKED"
  824. wait(0.3)
  825. PlaySound("Sans", 1)
  826. m.Name = "* GEEETTT DUNKED O"
  827. wait(0.1)
  828. PlaySound("Sans", 1)
  829. m.Name = "* GEEETTT DUNKED ON"
  830. wait(0.1)
  831. PlaySound("Sans", 1)
  832. m.Name = "* GEEETTT DUNKED ON!"
  833. wait(0.3)
  834. PlaySound("Sans", 1)
  835. m.Name = "* Y"
  836. wait(0.1)
  837. PlaySound("Sans", 1)
  838. m.Name = "* Yo"
  839. wait(0.1)
  840. PlaySound("Sans", 1)
  841. m.Name = "* You"
  842. wait(0.1)
  843. PlaySound("Sans", 1)
  844. m.Name = "* You m"
  845. wait(0.1)
  846. PlaySound("Sans", 1)
  847. m.Name = "* You me"
  848. wait(0.1)
  849. PlaySound("Sans", 1)
  850. m.Name = "* You meg"
  851. wait(0.1)
  852. PlaySound("Sans", 1)
  853. m.Name = "* You mega"
  854. wait(0.1)
  855. PlaySound("Sans", 1)
  856. m.Name = "* You megal"
  857. wait(0.1)
  858. PlaySound("Sans", 1)
  859. m.Name = "* You megalo"
  860. wait(0.1)
  861. PlaySound("Sans", 1)
  862. m.Name = "* You megalom"
  863. wait(0.1)
  864. PlaySound("Sans", 1)
  865. m.Name = "* You megaloma"
  866. wait(0.1)
  867. PlaySound("Sans", 1)
  868. m.Name = "* You megaloman"
  869. wait(0.1)
  870. PlaySound("Sans", 1)
  871. m.Name = "* You megalomani"
  872. wait(0.1)
  873. PlaySound("Sans", 1)
  874. m.Name = "* You megalomania"
  875. wait(0.1)
  876. PlaySound("Sans", 1)
  877. m.Name = "* You megalomaniac"
  878. wait(0.1)
  879. PlaySound("Sans", 1)
  880. m.Name = "* You megalomaniac!"
  881. wait(3)
  882. m:remove()
  883. end))
  884. end
  885. function startup()
  886. coroutine.resume(coroutine.create(function()
  887. local m = Instance.new("Model", char)
  888. m.Name = "* C"
  889. local chat = Instance.new("Part", m)
  890. chat.TopSurface = "Smooth"
  891. chat.BottomSurface = "Smooth"
  892. chat.Name = "Head"
  893. chat.FormFactor = "Custom"
  894. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  895. chat.Transparency = 0.9
  896. chat.CanCollide = false
  897. local Weld7 = Instance.new("Weld", char)
  898. Weld7.Part0 = char.Head
  899. Weld7.Part1 = chat
  900. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  901. local cy7 = Instance.new("BlockMesh", chat)
  902. local h = Instance.new("Humanoid", m)
  903. h.MaxHealth = 0
  904. m.Name = "* Ch"
  905. wait(0.2)
  906. m.Name = "* Cha"
  907. wait(0.2)
  908. m.Name = "* Char"
  909. wait(0.2)
  910. m.Name = "* Chara"
  911. wait(0.2)
  912. m.Name = "* Chara."
  913. wait(0.5)
  914. m.Name = "* Chara.."
  915. wait(0.5)
  916. m.Name = "* Chara..."
  917. wait(0.5)
  918. wait(5)
  919. m:remove()
  920. end))
  921. end
  922. startup()
  923. PlayLoopedSound("MegaloStrikesBack", 1)
  924. Tool = Instance.new("HopperBin", player.Backpack)
  925. Tool.Name = "Charas Megalovania Knife"
  926. Tool.Selected:connect(function(mouse)
  927. RW.Part0 = char.Torso
  928. RW.C0 = CFrame.new(1.5, 0.5, 0)
  929. RW.C1 = CFrame.new(0, 0.5, 0)
  930. RW.Part1 = char["Right Arm"]
  931. RW.Parent = char.Torso
  932. handle = Instance.new("Part", suit)
  933. handle.TopSurface = "Smooth"
  934. handle.BottomSurface = "Smooth"
  935. handle.Size = Vector3.new(0.2, 0.5, 0.5)
  936. handle.CanCollide = false
  937. handle.BrickColor = BrickColor.new("Dark stone grey")
  938. handle.FormFactor = "Custom"
  939. local Weldb = Instance.new("Weld", char)
  940. Weldb.Part0 = char["Right Arm"]
  941. Weldb.Part1 = handle
  942. Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
  943. local KnifeMesh = Instance.new("SpecialMesh", handle)
  944. KnifeMesh.MeshType = "FileMesh"
  945. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  946. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  947. function touch(hit)
  948. if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
  949. if hit.Parent.Name == char.Name then
  950. return
  951. end
  952. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
  953. do
  954. local HitSounds = {
  955. Hurt = Instance.new("Sound")
  956. }
  957. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=571898289"
  958. HitSounds.Hurt.Volume = 1
  959. function PlayHitSound(soundname, pitch)
  960. HitSounds[soundname].Parent = hit.Parent.Torso
  961. HitSounds[soundname].Pitch = pitch
  962. HitSounds[soundname]:Play()
  963. local oldsound = HitSounds[soundname]
  964. coroutine.resume(coroutine.create(function()
  965. wait(4)
  966. oldsound:Destroy()
  967. end))
  968. HitSounds[soundname] = HitSounds[soundname]:clone()
  969. end
  970. PlayHitSound("Hurt", 1)
  971. end
  972. end
  973. end
  974. handle.Touched:connect(touch)
  975. function teleportPlayer(pos)
  976. if player == nil or player.Character == nil then
  977. return
  978. end
  979. Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
  980. end
  981. function slash1()
  982. if not vDebounce then
  983. vDebounce = true
  984. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  985. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  986. wait(0.1)
  987. PlaySound("Slash", 1)
  988. coroutine.resume(coroutine.create(function()
  989. for i = 1, 10 do
  990. wait()
  991. local RedSlash = Instance.new("Part", suit)
  992. RedSlash.FormFactor = "Custom"
  993. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  994. RedSlash.Transparency = 0.5
  995. local selectionBox = Instance.new("SelectionBox", RedSlash)
  996. selectionBox.Adornee = RedSlash
  997. selectionBox.Color = BrickColor.new("Red")
  998. selectionBox.LineThickness = 0.005
  999. RedSlash.TopSurface = 0
  1000. RedSlash.BottomSurface = 0
  1001. local colorc = {"Red"}
  1002. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1003. RedSlash.BrickColor = Fire
  1004. RedSlash.CanCollide = false
  1005. RedSlash.Anchored = true
  1006. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1007. game.Debris:AddItem(RedSlash, 0.1)
  1008. end
  1009. end))
  1010. for i = 1, 3 do
  1011. wait()
  1012. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1013. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1014. end
  1015. wait(0.3)
  1016. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1017. RW.C1 = CFrame.new(0, 0.5, 0)
  1018. slashvalue = slashvalue + 1
  1019. vDebounce = false
  1020. end
  1021. end
  1022. function slash2()
  1023. if not vDebounce then
  1024. vDebounce = true
  1025. coroutine.resume(coroutine.create(function()
  1026. for i = 1, 20 do
  1027. wait()
  1028. local RedSlash2 = Instance.new("Part", suit)
  1029. RedSlash2.FormFactor = "Custom"
  1030. RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
  1031. RedSlash2.Transparency = 0.5
  1032. local selectionBox = Instance.new("SelectionBox", RedSlash2)
  1033. selectionBox.Adornee = RedSlash2
  1034. selectionBox.Color = BrickColor.new("Really black")
  1035. selectionBox.LineThickness = 0.005
  1036. RedSlash2.TopSurface = 0
  1037. RedSlash2.BottomSurface = 0
  1038. local colorc = {"Black"}
  1039. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1040. RedSlash2.BrickColor = Fire
  1041. RedSlash2.CanCollide = false
  1042. RedSlash2.Anchored = true
  1043. RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1044. game.Debris:AddItem(RedSlash2, 0.2)
  1045. end
  1046. end))
  1047. for i = 1, 10 do
  1048. wait()
  1049. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1050. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  1051. end
  1052. PlaySound("Slash", 1)
  1053. for i = 1, 3 do
  1054. wait()
  1055. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1056. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1057. end
  1058. wait(0.3)
  1059. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1060. RW.C1 = CFrame.new(0, 0.5, 0)
  1061. slashvalue = slashvalue + 1
  1062. vDebounce = false
  1063. end
  1064. end
  1065. function slash3()
  1066. if not vDebounce then
  1067. vDebounce = true
  1068. PlaySound("Slash", 1)
  1069. coroutine.resume(coroutine.create(function()
  1070. for i = 1, 20 do
  1071. wait()
  1072. local RedSlash3 = Instance.new("Part", suit)
  1073. RedSlash3.FormFactor = "Custom"
  1074. RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
  1075. RedSlash3.Transparency = 0.5
  1076. local selectionBox = Instance.new("SelectionBox", RedSlash3)
  1077. selectionBox.Adornee = RedSlash3
  1078. selectionBox.Color = BrickColor.new("Red")
  1079. selectionBox.LineThickness = 0.005
  1080. RedSlash3.TopSurface = 0
  1081. RedSlash3.BottomSurface = 0
  1082. local colorc = {"Red"}
  1083. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1084. RedSlash3.BrickColor = Fire
  1085. RedSlash3.CanCollide = false
  1086. RedSlash3.Anchored = true
  1087. RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1088. game.Debris:AddItem(RedSlash3, 0.3)
  1089. end
  1090. end))
  1091. for i = 1, 3 do
  1092. wait()
  1093. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1094. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1095. end
  1096. wait(0.3)
  1097. PlaySound("Slash", 1)
  1098. for i = 1, 3 do
  1099. wait()
  1100. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  1101. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  1102. end
  1103. wait(0.3)
  1104. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1105. RW.C1 = CFrame.new(0, 0.5, 0)
  1106. slashvalue = slashvalue - 2
  1107. vDebounce = false
  1108. end
  1109. end
  1110. function KnifeBeam1()
  1111. if not vDebounce then
  1112. vDebounce = true
  1113. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1114. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1115. wait(0.1)
  1116. PlaySound("Slash", 1)
  1117. coroutine.resume(coroutine.create(function()
  1118. for i = 1, 10 do
  1119. wait()
  1120. local p = Instance.new("Part", handle)
  1121. p.FormFactor = "Custom"
  1122. p.Size = Vector3.new(1, 0.5, 1)
  1123. p.Transparency = 0.5
  1124. local selectionBox = Instance.new("SelectionBox", p)
  1125. selectionBox.Adornee = p
  1126. selectionBox.Color = BrickColor.new("Red")
  1127. selectionBox.LineThickness = 0.005
  1128. p.Material = "Neon"
  1129. p.TopSurface = 0
  1130. p.BottomSurface = 0
  1131. local colorc = {"Red"}
  1132. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1133. p.BrickColor = Fire
  1134. p.CanCollide = false
  1135. p.Anchored = true
  1136. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1137. game.Debris:AddItem(p, 0.1)
  1138. end
  1139. end))
  1140. for i = 1, 3 do
  1141. wait()
  1142. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1143. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1144. end
  1145. coroutine.resume(coroutine.create(function()
  1146. local ps = Instance.new("Part", suit)
  1147. ps.Name = "MagicPart"
  1148. ps.TopSurface = "Smooth"
  1149. ps.BottomSurface = "Smooth"
  1150. ps.BrickColor = BrickColor.new("Institutional white")
  1151. ps.Material = "Neon"
  1152. ps.FormFactor = "Custom"
  1153. ps.Size = Vector3.new(5, 1, 1)
  1154. ps.Anchored = true
  1155. ps.Transparency = 0.5
  1156. ps.CanCollide = false
  1157. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1158. local selectionBox = Instance.new("SelectionBox", ps)
  1159. selectionBox.Adornee = ps
  1160. selectionBox.Color = BrickColor.new("Black")
  1161. selectionBox.LineThickness = 0.2
  1162. selectionBox.Transparency = 0.5
  1163. function touch(hit)
  1164. if hit.Parent.Name == char.Name then
  1165. return
  1166. end
  1167. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1168. ps:remove()
  1169. if hit.Parent.Name == char.Name then
  1170. return
  1171. end
  1172. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
  1173. do
  1174. local HitSounds = {
  1175. Hurt = Instance.new("Sound")
  1176. }
  1177. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1178. HitSounds.Hurt.Volume = 1
  1179. function PlayHitSound(soundname, pitch)
  1180. HitSounds[soundname].Parent = hit.Parent.Torso
  1181. HitSounds[soundname].Pitch = pitch
  1182. HitSounds[soundname]:Play()
  1183. local oldsound = HitSounds[soundname]
  1184. coroutine.resume(coroutine.create(function()
  1185. wait(4)
  1186. oldsound:Destroy()
  1187. end))
  1188. HitSounds[soundname] = HitSounds[soundname]:clone()
  1189. end
  1190. PlayHitSound("Hurt", 1)
  1191. end
  1192. end
  1193. end
  1194. ps.Touched:connect(touch)
  1195. coroutine.resume(coroutine.create(function()
  1196. for i = 1, 50 do
  1197. wait()
  1198. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  1199. end
  1200. ps.Transparency = ps.Transparency + 1
  1201. wait()
  1202. ps.Transparency = ps.Transparency + 1
  1203. wait()
  1204. ps.Transparency = ps.Transparency + 1
  1205. wait()
  1206. ps.Transparency = ps.Transparency + 1
  1207. wait()
  1208. ps.Transparency = ps.Transparency + 1
  1209. wait()
  1210. ps:remove()
  1211. end))
  1212. end))
  1213. wait(0.3)
  1214. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1215. RW.C1 = CFrame.new(0, 0.5, 0)
  1216. beamvalue = beamvalue + 1
  1217. vDebounce = false
  1218. end
  1219. end
  1220. function KnifeBeam2()
  1221. if not vDebounce then
  1222. vDebounce = true
  1223. coroutine.resume(coroutine.create(function()
  1224. for i = 1, 20 do
  1225. wait()
  1226. local p = Instance.new("Part", handle)
  1227. p.FormFactor = "Custom"
  1228. p.Size = Vector3.new(1, 0.5, 1)
  1229. p.Transparency = 0.5
  1230. local selectionBox = Instance.new("SelectionBox", p)
  1231. selectionBox.Adornee = p
  1232. selectionBox.Color = BrickColor.new("Red")
  1233. selectionBox.LineThickness = 0.005
  1234. p.TopSurface = 0
  1235. p.BottomSurface = 0
  1236. local colorc = {"Red"}
  1237. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1238. p.BrickColor = Fire
  1239. p.CanCollide = false
  1240. p.Anchored = true
  1241. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1242. game.Debris:AddItem(p, 0.2)
  1243. end
  1244. end))
  1245. for i = 1, 10 do
  1246. wait()
  1247. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1248. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  1249. end
  1250. PlaySound("Slash", 1)
  1251. for i = 1, 3 do
  1252. wait()
  1253. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1254. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1255. end
  1256. coroutine.resume(coroutine.create(function()
  1257. local ps = Instance.new("Part", suit)
  1258. ps.Name = "MagicPart"
  1259. ps.TopSurface = "Smooth"
  1260. ps.BottomSurface = "Smooth"
  1261. ps.BrickColor = BrickColor.new("Institutional white")
  1262. ps.Material = "Neon"
  1263. ps.FormFactor = "Custom"
  1264. ps.Size = Vector3.new(1, 5, 1)
  1265. ps.Anchored = true
  1266. ps.Transparency = 0.5
  1267. ps.CanCollide = false
  1268. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
  1269. local selectionBox = Instance.new("SelectionBox", ps)
  1270. selectionBox.Adornee = ps
  1271. selectionBox.Color = BrickColor.new("Black")
  1272. selectionBox.LineThickness = 0.2
  1273. selectionBox.Transparency = 0.5
  1274. function touch(hit)
  1275. if hit.Parent.Name == char.Name then
  1276. return
  1277. end
  1278. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1279. ps:remove()
  1280. if hit.Parent.Name == char.Name then
  1281. return
  1282. end
  1283. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
  1284. do
  1285. local HitSounds = {
  1286. Hurt = Instance.new("Sound")
  1287. }
  1288. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1289. HitSounds.Hurt.Volume = 1
  1290. function PlayHitSound(soundname, pitch)
  1291. HitSounds[soundname].Parent = hit.Parent.Torso
  1292. HitSounds[soundname].Pitch = pitch
  1293. HitSounds[soundname]:Play()
  1294. local oldsound = HitSounds[soundname]
  1295. coroutine.resume(coroutine.create(function()
  1296. wait(4)
  1297. oldsound:Destroy()
  1298. end))
  1299. HitSounds[soundname] = HitSounds[soundname]:clone()
  1300. end
  1301. PlayHitSound("Hurt", 1)
  1302. end
  1303. end
  1304. end
  1305. ps.Touched:connect(touch)
  1306. coroutine.resume(coroutine.create(function()
  1307. for i = 1, 50 do
  1308. wait()
  1309. ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
  1310. end
  1311. ps.Transparency = ps.Transparency + 1
  1312. wait()
  1313. ps.Transparency = ps.Transparency + 1
  1314. wait()
  1315. ps.Transparency = ps.Transparency + 1
  1316. wait()
  1317. ps.Transparency = ps.Transparency + 1
  1318. wait()
  1319. ps.Transparency = ps.Transparency + 1
  1320. wait()
  1321. ps:remove()
  1322. end))
  1323. end))
  1324. wait(0.3)
  1325. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1326. RW.C1 = CFrame.new(0, 0.5, 0)
  1327. beamvalue = beamvalue + 1
  1328. vDebounce = false
  1329. end
  1330. end
  1331. function KnifeBeam3()
  1332. if not vDebounce then
  1333. vDebounce = true
  1334. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1335. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1336. wait(0.1)
  1337. PlaySound("Slash", 1)
  1338. coroutine.resume(coroutine.create(function()
  1339. for i = 1, 10 do
  1340. wait()
  1341. local p = Instance.new("Part", handle)
  1342. p.FormFactor = "Custom"
  1343. p.Size = Vector3.new(1, 0.5, 1)
  1344. p.Transparency = 0.5
  1345. local selectionBox = Instance.new("SelectionBox", p)
  1346. selectionBox.Adornee = p
  1347. selectionBox.Color = BrickColor.new("Really black")
  1348. selectionBox.LineThickness = 0.005
  1349. p.Material = "Neon"
  1350. p.TopSurface = 0
  1351. p.BottomSurface = 0
  1352. local colorc = {"Black"}
  1353. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1354. p.BrickColor = Fire
  1355. p.CanCollide = false
  1356. p.Anchored = true
  1357. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1358. game.Debris:AddItem(p, 0.1)
  1359. end
  1360. end))
  1361. for i = 1, 3 do
  1362. wait()
  1363. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1364. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1365. end
  1366. coroutine.resume(coroutine.create(function()
  1367. local ps = Instance.new("Part", suit)
  1368. ps.Name = "MagicPart"
  1369. ps.TopSurface = "Smooth"
  1370. ps.BottomSurface = "Smooth"
  1371. ps.BrickColor = BrickColor.new("Institutional white")
  1372. ps.Material = "Neon"
  1373. ps.FormFactor = "Custom"
  1374. ps.Size = Vector3.new(10, 10, 1)
  1375. ps.Anchored = true
  1376. ps.Transparency = 0.5
  1377. ps.CanCollide = false
  1378. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1379. local selectionBox = Instance.new("SelectionBox", ps)
  1380. selectionBox.Adornee = ps
  1381. selectionBox.Color = BrickColor.new("Black")
  1382. selectionBox.LineThickness = 0.2
  1383. selectionBox.Transparency = 0.5
  1384. function touch(hit)
  1385. if hit.Parent.Name == char.Name then
  1386. return
  1387. end
  1388. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1389. ps:remove()
  1390. if hit.Parent.Name == char.Name then
  1391. return
  1392. end
  1393. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
  1394. do
  1395. local HitSounds = {
  1396. Hurt = Instance.new("Sound")
  1397. }
  1398. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1399. HitSounds.Hurt.Volume = 1
  1400. function PlayHitSound(soundname, pitch)
  1401. HitSounds[soundname].Parent = hit.Parent.Torso
  1402. HitSounds[soundname].Pitch = pitch
  1403. HitSounds[soundname]:Play()
  1404. local oldsound = HitSounds[soundname]
  1405. coroutine.resume(coroutine.create(function()
  1406. wait(4)
  1407. oldsound:Destroy()
  1408. end))
  1409. HitSounds[soundname] = HitSounds[soundname]:clone()
  1410. end
  1411. PlayHitSound("Hurt", 1)
  1412. end
  1413. end
  1414. end
  1415. ps.Touched:connect(touch)
  1416. coroutine.resume(coroutine.create(function()
  1417. for i = 1, 50 do
  1418. wait()
  1419. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
  1420. end
  1421. ps.Transparency = ps.Transparency + 1
  1422. wait()
  1423. ps.Transparency = ps.Transparency + 1
  1424. wait()
  1425. ps.Transparency = ps.Transparency + 1
  1426. wait()
  1427. ps.Transparency = ps.Transparency + 1
  1428. wait()
  1429. ps.Transparency = ps.Transparency + 1
  1430. wait()
  1431. ps:remove()
  1432. end))
  1433. end))
  1434. wait(0.3)
  1435. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1436. RW.C1 = CFrame.new(0, 0.5, 0)
  1437. beamvalue = beamvalue - 2
  1438. vDebounce = false
  1439. end
  1440. end
  1441. function drawded()
  1442. if onehitkill == true then
  1443. onehitkill = false
  1444. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1445. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1446. wait(0.1)
  1447. PlaySound("Slash", 1)
  1448. coroutine.resume(coroutine.create(function()
  1449. for i = 1, 10 do
  1450. wait()
  1451. local p = Instance.new("Part", handle)
  1452. p.FormFactor = "Custom"
  1453. p.Size = Vector3.new(1, 1, 1)
  1454. p.Transparency = 0.5
  1455. local selectionBox = Instance.new("SelectionBox", p)
  1456. selectionBox.Adornee = p
  1457. selectionBox.Color = BrickColor.new("Red")
  1458. selectionBox.LineThickness = 0.001
  1459. p.TopSurface = 0
  1460. p.BottomSurface = 0
  1461. local colorc = {
  1462. "Red"
  1463. }
  1464. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1465. p.BrickColor = Fire
  1466. p.CanCollide = false
  1467. p.Anchored = true
  1468. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1469. game.Debris:AddItem(p, 0.1)
  1470. end
  1471. end))
  1472. for i = 1, 3 do
  1473. wait()
  1474. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1475. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1476. end
  1477. coroutine.resume(coroutine.create(function()
  1478. ultra = Instance.new("Part", suit)
  1479. ultra.Name = "MagicPart"
  1480. ultra.TopSurface = "Smooth"
  1481. ultra.BottomSurface = "Smooth"
  1482. ultra.BrickColor = BrickColor.new("Really black")
  1483. ultra.Material = "Neon"
  1484. ultra.FormFactor = "Custom"
  1485. ultra.Size = Vector3.new(5, 1, 1)
  1486. ultra.Anchored = true
  1487. ultra.CanCollide = false
  1488. ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1489. local selectionBox = Instance.new("SelectionBox", ultra)
  1490. selectionBox.Adornee = ultra
  1491. selectionBox.Color = BrickColor.new("Really black")
  1492. selectionBox.LineThickness = 0.01
  1493. selectionBox.Transparency = 0
  1494. end))
  1495. wait(0.3)
  1496. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1497. RW.C1 = CFrame.new(0, 0.5, 0)
  1498. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1499. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1500. wait(0.1)
  1501. PlaySound("Slash", 1)
  1502. coroutine.resume(coroutine.create(function()
  1503. for i = 1, 10 do
  1504. wait()
  1505. local p = Instance.new("Part", handle)
  1506. p.FormFactor = "Custom"
  1507. p.Size = Vector3.new(1, 0.5, 1)
  1508. p.Transparency = 0.5
  1509. local selectionBox = Instance.new("SelectionBox", p)
  1510. selectionBox.Adornee = p
  1511. selectionBox.Color = BrickColor.new("Red")
  1512. selectionBox.LineThickness = 0.001
  1513. p.TopSurface = 0
  1514. p.BottomSurface = 0
  1515. local colorc = {
  1516. "Red"
  1517. }
  1518. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1519. p.BrickColor = Fire
  1520. p.CanCollide = false
  1521. p.Anchored = true
  1522. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1523. game.Debris:AddItem(p, 0.1)
  1524. end
  1525. end))
  1526. for i = 1, 3 do
  1527. wait()
  1528. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1529. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1530. end
  1531. coroutine.resume(coroutine.create(function()
  1532. ultra2 = Instance.new("Part", suit)
  1533. ultra2.Name = "MagicPart"
  1534. ultra2.TopSurface = "Smooth"
  1535. ultra2.BottomSurface = "Smooth"
  1536. ultra2.BrickColor = BrickColor.new("Red")
  1537. ultra2.Material = "Neon"
  1538. ultra2.FormFactor = "Custom"
  1539. ultra2.Size = Vector3.new(5, 1, 1)
  1540. ultra2.Anchored = true
  1541. ultra2.CanCollide = false
  1542. ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1543. local selectionBox = Instance.new("SelectionBox", ultra2)
  1544. selectionBox.Adornee = ultra2
  1545. selectionBox.Color = BrickColor.new("Really black")
  1546. selectionBox.LineThickness = 0.01
  1547. selectionBox.Transparency = 0
  1548. end))
  1549. wait(0.3)
  1550. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1551. RW.C1 = CFrame.new(0, 0.5, 0)
  1552. PlaySound("Slash", 1)
  1553. coroutine.resume(coroutine.create(function()
  1554. ultra3 = Instance.new("Part", suit)
  1555. ultra3.Name = "MagicPart"
  1556. ultra3.TopSurface = "Smooth"
  1557. ultra3.BottomSurface = "Smooth"
  1558. ultra3.BrickColor = BrickColor.new("Red")
  1559. ultra3.Material = "Neon"
  1560. ultra3.FormFactor = "Custom"
  1561. ultra3.Size = Vector3.new(1, 5, 1)
  1562. ultra3.Anchored = true
  1563. ultra3.CanCollide = false
  1564. ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1565. local selectionBox = Instance.new("SelectionBox", ultra3)
  1566. selectionBox.Adornee = ultra3
  1567. selectionBox.Color = BrickColor.new("Red")
  1568. selectionBox.LineThickness = 0.01
  1569. selectionBox.Transparency = 0
  1570. end))
  1571. coroutine.resume(coroutine.create(function()
  1572. for i = 1, 10 do
  1573. wait()
  1574. local p = Instance.new("Part", handle)
  1575. p.FormFactor = "Custom"
  1576. p.Size = Vector3.new(1, 0.5, 1)
  1577. p.Transparency = 0.5
  1578. local selectionBox = Instance.new("SelectionBox", p)
  1579. selectionBox.Adornee = p
  1580. selectionBox.Color = BrickColor.new("Red")
  1581. selectionBox.LineThickness = 0.001
  1582. p.TopSurface = 0
  1583. p.BottomSurface = 0
  1584. local colorc = {
  1585. "Red"
  1586. }
  1587. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1588. p.BrickColor = Fire
  1589. p.CanCollide = false
  1590. p.Anchored = true
  1591. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1592. game.Debris:AddItem(p, 0.1)
  1593. end
  1594. end))
  1595. coroutine.resume(coroutine.create(function()
  1596. for i = 1, 20 do
  1597. wait()
  1598. local p = Instance.new("Part", handle)
  1599. p.FormFactor = "Custom"
  1600. p.Size = Vector3.new(1, 0.5, 1)
  1601. p.Transparency = 0.5
  1602. local selectionBox = Instance.new("SelectionBox", p)
  1603. selectionBox.Adornee = p
  1604. selectionBox.Color = BrickColor.new("Red")
  1605. selectionBox.LineThickness = 0.005
  1606. p.TopSurface = 0
  1607. p.BottomSurface = 0
  1608. local colorc = {"Black"}
  1609. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1610. p.BrickColor = Fire
  1611. p.CanCollide = false
  1612. p.Anchored = true
  1613. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1614. game.Debris:AddItem(p, 0.3)
  1615. end
  1616. end))
  1617. for i = 1, 3 do
  1618. wait()
  1619. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1620. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1621. end
  1622. wait(0.3)
  1623. PlaySound("Slash", 1)
  1624. coroutine.resume(coroutine.create(function()
  1625. ultra4 = Instance.new("Part", suit)
  1626. ultra4.Name = "MagicPart"
  1627. ultra4.TopSurface = "Smooth"
  1628. ultra4.BottomSurface = "Smooth"
  1629. ultra4.BrickColor = BrickColor.new("Red")
  1630. ultra4.Material = "Neon"
  1631. ultra4.FormFactor = "Custom"
  1632. ultra4.Size = Vector3.new(1, 5, 1)
  1633. ultra4.Anchored = true
  1634. ultra4.CanCollide = false
  1635. ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1636. local selectionBox = Instance.new("SelectionBox", ultra3)
  1637. selectionBox.Adornee = ultra4
  1638. selectionBox.Color = BrickColor.new("Really black")
  1639. selectionBox.LineThickness = 0.01
  1640. selectionBox.Transparency = 0
  1641. end))
  1642. for i = 1, 3 do
  1643. wait()
  1644. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1645. RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
  1646. end
  1647. wait(0.3)
  1648. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1649. RW.C1 = CFrame.new(0, 0.5, 0)
  1650. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1651. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1652. wait(0.1)
  1653. PlaySound("Slash", 1)
  1654. coroutine.resume(coroutine.create(function()
  1655. for i = 1, 10 do
  1656. wait()
  1657. local p = Instance.new("Part", handle)
  1658. p.FormFactor = "Custom"
  1659. p.Size = Vector3.new(1, 0.5, 1)
  1660. p.Transparency = 0.5
  1661. local selectionBox = Instance.new("SelectionBox", p)
  1662. selectionBox.Adornee = p
  1663. selectionBox.Color = BrickColor.new("Red")
  1664. selectionBox.LineThickness = 0.001
  1665. p.TopSurface = 0
  1666. p.BottomSurface = 0
  1667. local colorc = {
  1668. "Red"
  1669. }
  1670. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1671. p.BrickColor = Fire
  1672. p.CanCollide = false
  1673. p.Anchored = true
  1674. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1675. game.Debris:AddItem(p, 0.1)
  1676. end
  1677. end))
  1678. for i = 1, 3 do
  1679. wait()
  1680. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1681. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1682. end
  1683. coroutine.resume(coroutine.create(function()
  1684. ultra5 = Instance.new("Part", suit)
  1685. ultra5.Name = "MagicPart"
  1686. ultra5.TopSurface = "Smooth"
  1687. ultra5.BottomSurface = "Smooth"
  1688. ultra5.BrickColor = BrickColor.new("Really black")
  1689. ultra5.Material = "Neon"
  1690. ultra5.FormFactor = "Custom"
  1691. ultra5.Size = Vector3.new(5, 1, 1)
  1692. ultra5.Anchored = true
  1693. ultra5.CanCollide = false
  1694. ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1695. local selectionBox = Instance.new("SelectionBox", ultra2)
  1696. selectionBox.Adornee = ultra5
  1697. selectionBox.Color = BrickColor.new("Really black")
  1698. selectionBox.LineThickness = 0.01
  1699. selectionBox.Transparency = 0
  1700. end))
  1701. wait()
  1702. local p = Instance.new("Part", handle)
  1703. p.FormFactor = "Custom"
  1704. p.Material = "Neon"
  1705. p.Size = Vector3.new(1, 2, 1)
  1706. p.Transparency = 0
  1707. local selectionBox = Instance.new("SelectionBox", p)
  1708. selectionBox.Adornee = p
  1709. selectionBox.Color = BrickColor.new("Red")
  1710. selectionBox.LineThickness = 0.001
  1711. p.TopSurface = 0
  1712. p.BottomSurface = 0
  1713. local colorc = {
  1714. "Red"
  1715. }
  1716. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1717. p.BrickColor = Fire
  1718. p.CanCollide = false
  1719. p.Anchored = true
  1720. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1721. local light1 = Instance.new("SpotLight", p)
  1722. light1.Brightness = 164
  1723. light1.Color = Color3.new(255, 0, 0)
  1724. light1.Range = 7
  1725. for i = 1, 13 do
  1726. p.Transparency = p.Transparency + 0.1
  1727. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1728. wait()
  1729. end
  1730. game.Debris:AddItem(p, 0.1)
  1731. coroutine.resume(coroutine.create(function()
  1732. coroutine.resume(coroutine.create(function()
  1733. for i = 1, 100 do
  1734. wait()
  1735. ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
  1736. end
  1737. end))
  1738. coroutine.resume(coroutine.create(function()
  1739. for i = 1, 100 do
  1740. wait()
  1741. ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
  1742. end
  1743. end))
  1744. coroutine.resume(coroutine.create(function()
  1745. for i = 1, 100 do
  1746. wait()
  1747. ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
  1748. end
  1749. end))
  1750. coroutine.resume(coroutine.create(function()
  1751. for i = 1, 100 do
  1752. wait()
  1753. ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
  1754. end
  1755. end))
  1756. coroutine.resume(coroutine.create(function()
  1757. for i = 1, 100 do
  1758. wait()
  1759. ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
  1760. end
  1761. end))
  1762. wait(3)
  1763. ultra.Transparency = ultra.Transparency + 1
  1764. ultra2.Transparency = ultra2.Transparency + 1
  1765. ultra3.Transparency = ultra3.Transparency + 1
  1766. ultra4.Transparency = ultra4.Transparency + 1
  1767. ultra5.Transparency = ultra5.Transparency + 1
  1768. wait()
  1769. ultra.Transparency = ultra.Transparency + 1
  1770. ultra2.Transparency = ultra2.Transparency + 1
  1771. ultra3.Transparency = ultra3.Transparency + 1
  1772. ultra4.Transparency = ultra4.Transparency + 1
  1773. ultra5.Transparency = ultra5.Transparency + 1
  1774. wait()
  1775. ultra.Transparency = ultra.Transparency + 1
  1776. ultra2.Transparency = ultra2.Transparency + 1
  1777. ultra3.Transparency = ultra3.Transparency + 1
  1778. ultra4.Transparency = ultra4.Transparency + 1
  1779. ultra5.Transparency = ultra5.Transparency + 1
  1780. wait()
  1781. ultra.Transparency = ultra.Transparency + 1
  1782. ultra2.Transparency = ultra2.Transparency + 1
  1783. ultra3.Transparency = ultra3.Transparency + 1
  1784. ultra4.Transparency = ultra4.Transparency + 1
  1785. ultra5.Transparency = ultra5.Transparency + 1
  1786. wait()
  1787. ultra.Transparency = ultra.Transparency + 1
  1788. ultra2.Transparency = ultra2.Transparency + 1
  1789. ultra3.Transparency = ultra3.Transparency + 1
  1790. ultra4.Transparency = ultra4.Transparency + 1
  1791. ultra5.Transparency = ultra5.Transparency + 1
  1792. wait()
  1793. ultra:remove()
  1794. ultra2:remove()
  1795. ultra3:remove()
  1796. ultra4:remove()
  1797. ultra5:remove()
  1798. end))
  1799. function touch(hit)
  1800. if hit.Parent.Name == char.Name then
  1801. return
  1802. end
  1803. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1804. if hit.Parent.Name == char.Name then
  1805. return
  1806. end
  1807. hit.Parent:BreakJoints()
  1808. ultra:remove()
  1809. do
  1810. local HitSounds = {
  1811. Hurt = Instance.new("Sound")
  1812. }
  1813. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1814. HitSounds.Hurt.Volume = 1
  1815. function PlayHitSound(soundname, pitch)
  1816. HitSounds[soundname].Parent = hit.Parent.Torso
  1817. HitSounds[soundname].Pitch = pitch
  1818. HitSounds[soundname]:Play()
  1819. local oldsound = HitSounds[soundname]
  1820. coroutine.resume(coroutine.create(function()
  1821. wait(4)
  1822. oldsound:Destroy()
  1823. end))
  1824. HitSounds[soundname] = HitSounds[soundname]:clone()
  1825. end
  1826. PlayHitSound("Hurt", 1)
  1827. end
  1828. end
  1829. end
  1830. ultra.Touched:connect(touch)
  1831. function touch(hit)
  1832. if hit.Parent.Name == char.Name then
  1833. return
  1834. end
  1835. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1836. if hit.Parent.Name == char.Name then
  1837. return
  1838. end
  1839. hit.Parent:BreakJoints()
  1840. ultra2:remove()
  1841. do
  1842. local HitSounds = {
  1843. Hurt = Instance.new("Sound")
  1844. }
  1845. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1846. HitSounds.Hurt.Volume = 1
  1847. function PlayHitSound(soundname, pitch)
  1848. HitSounds[soundname].Parent = hit.Parent.Torso
  1849. HitSounds[soundname].Pitch = pitch
  1850. HitSounds[soundname]:Play()
  1851. local oldsound = HitSounds[soundname]
  1852. coroutine.resume(coroutine.create(function()
  1853. wait(4)
  1854. oldsound:Destroy()
  1855. end))
  1856. HitSounds[soundname] = HitSounds[soundname]:clone()
  1857. end
  1858. PlayHitSound("Hurt", 1)
  1859. end
  1860. end
  1861. end
  1862. ultra2.Touched:connect(touch)
  1863. function touch(hit)
  1864. if hit.Parent.Name == char.Name then
  1865. return
  1866. end
  1867. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1868. if hit.Parent.Name == char.Name then
  1869. return
  1870. end
  1871. hit.Parent:BreakJoints()
  1872. ultra2:remove()
  1873. do
  1874. local HitSounds = {
  1875. Hurt = Instance.new("Sound")
  1876. }
  1877. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1878. HitSounds.Hurt.Volume = 1
  1879. function PlayHitSound(soundname, pitch)
  1880. HitSounds[soundname].Parent = hit.Parent.Torso
  1881. HitSounds[soundname].Pitch = pitch
  1882. HitSounds[soundname]:Play()
  1883. local oldsound = HitSounds[soundname]
  1884. coroutine.resume(coroutine.create(function()
  1885. wait(4)
  1886. oldsound:Destroy()
  1887. end))
  1888. HitSounds[soundname] = HitSounds[soundname]:clone()
  1889. end
  1890. PlayHitSound("Hurt", 1)
  1891. end
  1892. end
  1893. end
  1894. ultra2.Touched:connect(touch)
  1895. function touch(hit)
  1896. if hit.Parent.Name == char.Name then
  1897. return
  1898. end
  1899. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1900. if hit.Parent.Name == char.Name then
  1901. return
  1902. end
  1903. hit.Parent:BreakJoints()
  1904. ultra3:remove()
  1905. do
  1906. local HitSounds = {
  1907. Hurt = Instance.new("Sound")
  1908. }
  1909. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1910. HitSounds.Hurt.Volume = 1
  1911. function PlayHitSound(soundname, pitch)
  1912. HitSounds[soundname].Parent = hit.Parent.Torso
  1913. HitSounds[soundname].Pitch = pitch
  1914. HitSounds[soundname]:Play()
  1915. local oldsound = HitSounds[soundname]
  1916. coroutine.resume(coroutine.create(function()
  1917. wait(4)
  1918. oldsound:Destroy()
  1919. end))
  1920. HitSounds[soundname] = HitSounds[soundname]:clone()
  1921. end
  1922. PlayHitSound("Hurt", 1)
  1923. end
  1924. end
  1925. end
  1926. ultra3.Touched:connect(touch)
  1927. function touch(hit)
  1928. if hit.Parent.Name == char.Name then
  1929. return
  1930. end
  1931. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1932. if hit.Parent.Name == char.Name then
  1933. return
  1934. end
  1935. hit.Parent:BreakJoints()
  1936. ultra4:remove()
  1937. do
  1938. local HitSounds = {
  1939. Hurt = Instance.new("Sound")
  1940. }
  1941. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1942. HitSounds.Hurt.Volume = 1
  1943. function PlayHitSound(soundname, pitch)
  1944. HitSounds[soundname].Parent = hit.Parent.Torso
  1945. HitSounds[soundname].Pitch = pitch
  1946. HitSounds[soundname]:Play()
  1947. local oldsound = HitSounds[soundname]
  1948. coroutine.resume(coroutine.create(function()
  1949. wait(4)
  1950. oldsound:Destroy()
  1951. end))
  1952. HitSounds[soundname] = HitSounds[soundname]:clone()
  1953. end
  1954. PlayHitSound("Hurt", 1)
  1955. end
  1956. end
  1957. end
  1958. ultra4.Touched:connect(touch)
  1959. function touch(hit)
  1960. if hit.Parent.Name == char.Name then
  1961. return
  1962. end
  1963. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1964. if hit.Parent.Name == char.Name then
  1965. return
  1966. end
  1967. hit.Parent:BreakJoints()
  1968. ultra5:remove()
  1969. do
  1970. local HitSounds = {
  1971. Hurt = Instance.new("Sound")
  1972. }
  1973. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1974. HitSounds.Hurt.Volume = 1
  1975. function PlayHitSound(soundname, pitch)
  1976. HitSounds[soundname].Parent = hit.Parent.Torso
  1977. HitSounds[soundname].Pitch = pitch
  1978. HitSounds[soundname]:Play()
  1979. local oldsound = HitSounds[soundname]
  1980. coroutine.resume(coroutine.create(function()
  1981. wait(4)
  1982. oldsound:Destroy()
  1983. end))
  1984. HitSounds[soundname] = HitSounds[soundname]:clone()
  1985. end
  1986. PlayHitSound("Hurt", 1)
  1987. end
  1988. end
  1989. end
  1990. ultra5.Touched:connect(touch)
  1991. wait()
  1992. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1993. RW.C1 = CFrame.new(0, 0.5, 0)
  1994. local Dialogconnect = Instance.new("Part", suit)
  1995. Dialogconnect.TopSurface = "Smooth"
  1996. Dialogconnect.BottomSurface = "Smooth"
  1997. Dialogconnect.Material = "Neon"
  1998. Dialogconnect.FormFactor = "Custom"
  1999. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2000. Dialogconnect.Transparency = 1
  2001. Dialogconnect.CanCollide = false
  2002. Dialogconnect.BrickColor = BrickColor.new("Black")
  2003. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2004. selectionBox1.Adornee = Dialogconnect
  2005. selectionBox1.Color = BrickColor.new("Really black")
  2006. selectionBox1.LineThickness = 0.01
  2007. selectionBox1.Transparency = 1
  2008. local Weld = Instance.new("Weld", char)
  2009. Weld.Part0 = char.Torso
  2010. Weld.Part1 = Dialogconnect
  2011. Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2012. Dialogconnect.Transparency = 1
  2013. selectionBox1.Transparency = 1
  2014. wait()
  2015. Dialogconnect.Transparency = 0
  2016. selectionBox1.Transparency = 0
  2017. wait()
  2018. Dialogconnect.Transparency = 1
  2019. selectionBox1.Transparency = 1
  2020. wait()
  2021. Dialogconnect.Transparency = 0
  2022. selectionBox1.Transparency = 0
  2023. wait()
  2024. Dialogconnect.Transparency = 1
  2025. selectionBox1.Transparency = 1
  2026. wait()
  2027. Dialogconnect.Transparency = 0
  2028. selectionBox1.Transparency = 0
  2029. wait()
  2030. Dialogconnect.Transparency = 1
  2031. selectionBox1.Transparency = 1
  2032. wait()
  2033. Dialogconnect.Transparency = 0
  2034. selectionBox1.Transparency = 0
  2035. wait()
  2036. Dialogconnect.Transparency = 1
  2037. selectionBox1.Transparency = 1
  2038. wait()
  2039. Dialogconnect.Transparency = 0
  2040. selectionBox1.Transparency = 0
  2041. wait()
  2042. Dialogconnect.Transparency = 1
  2043. selectionBox1.Transparency = 1
  2044. wait()
  2045. Dialogconnect.Transparency = 0
  2046. selectionBox1.Transparency = 0
  2047. wait()
  2048. Dialogconnect.Transparency = 1
  2049. selectionBox1.Transparency = 1
  2050. wait()
  2051. Dialogconnect.Transparency = 0
  2052. selectionBox1.Transparency = 0
  2053. wait()
  2054. Dialogconnect.Transparency = 1
  2055. selectionBox1.Transparency = 1
  2056. wait()
  2057. Dialogconnect.Transparency = 0
  2058. selectionBox1.Transparency = 0
  2059. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2060. wait()
  2061. Dialogconnect.Transparency = 1
  2062. selectionBox1.Transparency = 1
  2063. wait()
  2064. Dialogconnect.Transparency = 0
  2065. selectionBox1.Transparency = 0
  2066. wait()
  2067. Dialogconnect.Transparency = 1
  2068. selectionBox1.Transparency = 1
  2069. wait()
  2070. Dialogconnect.Transparency = 0
  2071. selectionBox1.Transparency = 0
  2072. wait()
  2073. Dialogconnect.Transparency = 1
  2074. selectionBox1.Transparency = 1
  2075. wait()
  2076. Dialogconnect.Transparency = 0
  2077. selectionBox1.Transparency = 0
  2078. wait()
  2079. Dialogconnect.Transparency = 1
  2080. selectionBox1.Transparency = 1
  2081. wait()
  2082. Dialogconnect.Transparency = 0
  2083. selectionBox1.Transparency = 0
  2084. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2085. wait()
  2086. Dialogconnect.Transparency = 1
  2087. selectionBox1.Transparency = 1
  2088. wait()
  2089. Dialogconnect.Transparency = 0
  2090. selectionBox1.Transparency = 0
  2091. wait()
  2092. Dialogconnect.Transparency = 1
  2093. selectionBox1.Transparency = 1
  2094. wait()
  2095. Dialogconnect.Transparency = 0
  2096. selectionBox1.Transparency = 0
  2097. wait()
  2098. Dialogconnect.Transparency = 1
  2099. selectionBox1.Transparency = 1
  2100. wait()
  2101. Dialogconnect.Transparency = 0
  2102. selectionBox1.Transparency = 0
  2103. wait()
  2104. Dialogconnect.Transparency = 1
  2105. selectionBox1.Transparency = 1
  2106. wait()
  2107. Dialogconnect.Transparency = 0
  2108. selectionBox1.Transparency = 0
  2109. wait()
  2110. Dialogconnect.Transparency = 0
  2111. wait()
  2112. Dialogconnect.Transparency = 1
  2113. selectionBox1.Transparency = 1
  2114. wait()
  2115. Dialogconnect.Transparency = 0
  2116. selectionBox1.Transparency = 0
  2117. wait()
  2118. Dialogconnect.Transparency = 1
  2119. selectionBox1.Transparency = 1
  2120. wait()
  2121. Dialogconnect.Transparency = 0
  2122. selectionBox1.Transparency = 0
  2123. wait()
  2124. Dialogconnect.Transparency = 1
  2125. selectionBox1.Transparency = 1
  2126. wait()
  2127. Dialogconnect.Transparency = 0
  2128. selectionBox1.Transparency = 0
  2129. wait()
  2130. Dialogconnect.Transparency = 1
  2131. selectionBox1.Transparency = 1
  2132. wait()
  2133. Dialogconnect.Transparency = 0
  2134. selectionBox1.Transparency = 0
  2135. Dialogconnect:remove()
  2136. onehitkill = true
  2137. end
  2138. end
  2139. function Stuckhit()
  2140. if not vDebounce then
  2141. vDebounce = true
  2142. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  2143. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  2144. wait(0.1)
  2145. PlaySound("Slash", 1)
  2146. coroutine.resume(coroutine.create(function()
  2147. for i = 1, 10 do
  2148. wait()
  2149. local RedSlash = Instance.new("Part", handle)
  2150. RedSlash.FormFactor = "Custom"
  2151. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2152. RedSlash.Transparency = 0.5
  2153. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2154. selectionBox.Adornee = RedSlash
  2155. selectionBox.Color = BrickColor.new("Really black")
  2156. selectionBox.LineThickness = 0.005
  2157. RedSlash.TopSurface = 0
  2158. RedSlash.BottomSurface = 0
  2159. local colorc = {"Black"}
  2160. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2161. RedSlash.BrickColor = Fire
  2162. RedSlash.CanCollide = false
  2163. RedSlash.Anchored = true
  2164. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2165. game.Debris:AddItem(RedSlash, 0.1)
  2166. end
  2167. end))
  2168. for i = 1, 3 do
  2169. wait()
  2170. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  2171. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  2172. end
  2173. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
  2174. local hit, position = game.Workspace:FindPartOnRay(ray, player)
  2175. wait(0.1)
  2176. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
  2177. local position = mouse.Hit.p
  2178. local distance = (position - Handle.CFrame.p).magnitude
  2179. local rp = Instance.new("Part", workspace)
  2180. rp.Anchored = true
  2181. rp.TopSurface = "Smooth"
  2182. rp.BottomSurface = "Smooth"
  2183. rp.Transparency = 1
  2184. rp.BrickColor = BrickColor.new("Deep orange")
  2185. rp.FormFactor = "Custom"
  2186. rp.CanCollide = false
  2187. rp.Size = Vector3.new(0.6, 0.6, distance)
  2188. rp.Material = "Neon"
  2189. rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
  2190. local cy = Instance.new("BlockMesh", rp)
  2191. for i = 1, 10 do
  2192. wait()
  2193. cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
  2194. end
  2195. rp:Destroy()
  2196. local ps = Instance.new("Part", suit)
  2197. ps.Name = "MagicPart"
  2198. ps.TopSurface = "Smooth"
  2199. ps.BottomSurface = "Smooth"
  2200. ps.BrickColor = BrickColor.new("Black")
  2201. ps.FormFactor = "Custom"
  2202. ps.Transparency = 0.9
  2203. ps.Size = Vector3.new(5, 250, 5)
  2204. ps.Anchored = true
  2205. ps.CanCollide = false
  2206. ps.CFrame = CFrame.new(position)
  2207. local cy = Instance.new("BlockMesh", ps)
  2208. function touch(hit)
  2209. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  2210. if hit.Parent.Name == char.Name then
  2211. return
  2212. end
  2213. hit.Parent.Torso.Anchored = true
  2214. do
  2215. local HitSounds = {
  2216. Hurt = Instance.new("Sound")
  2217. }
  2218. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2219. HitSounds.Hurt.Volume = 1
  2220. function PlayHitSound(soundname, pitch)
  2221. HitSounds[soundname].Parent = hit.Parent.Torso
  2222. HitSounds[soundname].Pitch = pitch
  2223. HitSounds[soundname]:Play()
  2224. local oldsound = HitSounds[soundname]
  2225. coroutine.resume(coroutine.create(function()
  2226. wait(4)
  2227. oldsound:Destroy()
  2228. end))
  2229. HitSounds[soundname] = HitSounds[soundname]:clone()
  2230. end
  2231. PlayHitSound("Hurt", 1)
  2232. local p = Instance.new("Part", handle)
  2233. p.FormFactor = "Custom"
  2234. p.Material = "Neon"
  2235. p.Size = Vector3.new(1, 2, 1)
  2236. p.Transparency = 0
  2237. local selectionBox = Instance.new("SelectionBox", p)
  2238. selectionBox.Adornee = p
  2239. selectionBox.Color = BrickColor.new("Really black")
  2240. selectionBox.LineThickness = 0.001
  2241. p.TopSurface = 0
  2242. p.BottomSurface = 0
  2243. local colorc = {"Black"}
  2244. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2245. p.BrickColor = Fire
  2246. p.CanCollide = false
  2247. p.Anchored = true
  2248. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2249. coroutine.resume(coroutine.create(function()
  2250. for i = 1, 100 do
  2251. wait()
  2252. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2253. end
  2254. end))
  2255. local light1 = Instance.new("SpotLight", p)
  2256. light1.Brightness = 164
  2257. light1.Color = Color3.new(255, 0, 0)
  2258. light1.Range = 7
  2259. for i = 1, 13 do
  2260. p.Transparency = p.Transparency + 0.1
  2261. wait(0.4)
  2262. end
  2263. game.Debris:AddItem(p, 0.1)
  2264. PlaySound("Slash", 1)
  2265. coroutine.resume(coroutine.create(function()
  2266. for i = 1, 10 do
  2267. wait()
  2268. local RedSlash = Instance.new("Part", handle)
  2269. RedSlash.FormFactor = "Custom"
  2270. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2271. RedSlash.Transparency = 0.5
  2272. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2273. selectionBox.Adornee = RedSlash
  2274. selectionBox.Color = BrickColor.new("Really black")
  2275. selectionBox.LineThickness = 0.005
  2276. RedSlash.TopSurface = 0
  2277. RedSlash.BottomSurface = 0
  2278. local colorc = {"Black"}
  2279. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2280. RedSlash.BrickColor = Fire
  2281. RedSlash.CanCollide = false
  2282. RedSlash.Anchored = true
  2283. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2284. game.Debris:AddItem(RedSlash, 0.1)
  2285. end
  2286. end))
  2287. for i = 1, 3 do
  2288. wait()
  2289. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  2290. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  2291. end
  2292. hit.Parent.Torso.Anchored = false
  2293. hit.Parent.Torso:BreakJoints()
  2294. end
  2295. end
  2296. end
  2297. ps.Touched:connect(touch)
  2298. for i = 1, 8 do
  2299. wait(0.5)
  2300. ps.Transparency = ps.Transparency - 0.1
  2301. end
  2302. wait(2)
  2303. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2304. RW.C1 = CFrame.new(0, 0.5, 0)
  2305. ps:remove()
  2306. end
  2307. vDebounce = false
  2308. end
  2309. mouse.Button1Down:connect(function()
  2310. if slashvalue == 1 then
  2311. slash1()
  2312. elseif slashvalue == 3 then
  2313. slash3()
  2314. elseif slashvalue == 2 then
  2315. slash2()
  2316. end
  2317. end)
  2318. function WelcomeToMySpecialAttack()
  2319. CharaTalks()
  2320. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  2321. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  2322. wait(0.1)
  2323. PlaySound("Slash", 1)
  2324. coroutine.resume(coroutine.create(function()
  2325. for i = 1, 10 do
  2326. wait()
  2327. local RedSlash = Instance.new("Part", handle)
  2328. RedSlash.FormFactor = "Custom"
  2329. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2330. RedSlash.Transparency = 0.5
  2331. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2332. selectionBox.Adornee = RedSlash
  2333. selectionBox.Color = BrickColor.new("Really black")
  2334. selectionBox.LineThickness = 0.005
  2335. RedSlash.TopSurface = 0
  2336. RedSlash.BottomSurface = 0
  2337. local colorc = {"Black"}
  2338. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2339. RedSlash.BrickColor = Fire
  2340. RedSlash.CanCollide = false
  2341. RedSlash.Anchored = true
  2342. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2343. game.Debris:AddItem(RedSlash, 0.1)
  2344. end
  2345. end))
  2346. for i = 1, 3 do
  2347. wait()
  2348. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  2349. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  2350. end
  2351. PlaySound("Explode", 1)
  2352. coroutine.resume(coroutine.create(function()
  2353. local ps = Instance.new("Part", suit)
  2354. ps.Name = "MagicPart"
  2355. ps.TopSurface = "Smooth"
  2356. ps.BottomSurface = "Smooth"
  2357. ps.BrickColor = BrickColor.new("Black")
  2358. ps.Material = "Neon"
  2359. ps.FormFactor = "Custom"
  2360. ps.Size = Vector3.new(1500, 1500, 1000)
  2361. ps.Anchored = true
  2362. ps.Transparency = 0
  2363. ps.CanCollide = false
  2364. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
  2365. local selectionBox = Instance.new("SelectionBox", ps)
  2366. selectionBox.Adornee = ps
  2367. selectionBox.Color = BrickColor.new("Black")
  2368. selectionBox.LineThickness = 0.2
  2369. selectionBox.Transparency = 0.5
  2370. function touch(hit)
  2371. if hit.Parent.Name == char.Name then
  2372. return
  2373. end
  2374. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  2375. if hit.Parent.Name == char.Name then
  2376. return
  2377. end
  2378. hit.Parent:BreakJoints()
  2379. do
  2380. local HitSounds = {
  2381. Hurt = Instance.new("Sound")
  2382. }
  2383. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2384. HitSounds.Hurt.Volume = 1
  2385. function PlayHitSound(soundname, pitch)
  2386. HitSounds[soundname].Parent = hit.Parent.Torso
  2387. HitSounds[soundname].Pitch = pitch
  2388. HitSounds[soundname]:Play()
  2389. local oldsound = HitSounds[soundname]
  2390. coroutine.resume(coroutine.create(function()
  2391. wait(4)
  2392. oldsound:Destroy()
  2393. end))
  2394. HitSounds[soundname] = HitSounds[soundname]:clone()
  2395. end
  2396. PlayHitSound("Hurt", 1)
  2397. end
  2398. end
  2399. end
  2400. ps.Touched:connect(touch)
  2401. coroutine.resume(coroutine.create(function()
  2402. for i = 1, 500 do
  2403. wait()
  2404. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  2405. end
  2406. ps.Transparency = ps.Transparency + 0.2
  2407. wait()
  2408. ps.Transparency = ps.Transparency + 0.2
  2409. wait()
  2410. ps.Transparency = ps.Transparency + 0.2
  2411. wait()
  2412. ps.Transparency = ps.Transparency + 0.2
  2413. wait()
  2414. ps.Transparency = ps.Transparency + 0.2
  2415. ps:remove()
  2416. end))
  2417. end))
  2418. wait(2)
  2419. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2420. RW.C1 = CFrame.new(0, 0.5, 0)
  2421. end
  2422. mouse.KeyDown:connect(function(key)
  2423. if key == "r" and specialattack == false then
  2424. specialattack = true
  2425. WelcomeToMySpecialAttack()
  2426. local Dialogconnect = Instance.new("Part", suit)
  2427. Dialogconnect.TopSurface = "Smooth"
  2428. Dialogconnect.BottomSurface = "Smooth"
  2429. Dialogconnect.Material = "Neon"
  2430. Dialogconnect.FormFactor = "Custom"
  2431. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2432. Dialogconnect.Transparency = 1
  2433. Dialogconnect.CanCollide = false
  2434. Dialogconnect.BrickColor = BrickColor.new("Black")
  2435. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2436. selectionBox1.Adornee = Dialogconnect
  2437. selectionBox1.Color = BrickColor.new("Really black")
  2438. selectionBox1.LineThickness = 0.01
  2439. selectionBox1.Transparency = 1
  2440. local Weld = Instance.new("Weld", char)
  2441. Weld.Part0 = char.Torso
  2442. Weld.Part1 = Dialogconnect
  2443. Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2444. Dialogconnect.Transparency = 1
  2445. selectionBox1.Transparency = 1
  2446. wait()
  2447. Dialogconnect.Transparency = 0
  2448. selectionBox1.Transparency = 0
  2449. wait()
  2450. Dialogconnect.Transparency = 1
  2451. selectionBox1.Transparency = 1
  2452. wait()
  2453. Dialogconnect.Transparency = 0
  2454. selectionBox1.Transparency = 0
  2455. wait()
  2456. Dialogconnect.Transparency = 1
  2457. selectionBox1.Transparency = 1
  2458. wait()
  2459. Dialogconnect.Transparency = 0
  2460. selectionBox1.Transparency = 0
  2461. wait()
  2462. Dialogconnect.Transparency = 1
  2463. selectionBox1.Transparency = 1
  2464. wait()
  2465. Dialogconnect.Transparency = 0
  2466. selectionBox1.Transparency = 0
  2467. wait()
  2468. Dialogconnect.Transparency = 1
  2469. selectionBox1.Transparency = 1
  2470. wait()
  2471. Dialogconnect.Transparency = 0
  2472. selectionBox1.Transparency = 0
  2473. wait()
  2474. Dialogconnect.Transparency = 1
  2475. selectionBox1.Transparency = 1
  2476. wait()
  2477. Dialogconnect.Transparency = 0
  2478. selectionBox1.Transparency = 0
  2479. wait()
  2480. Dialogconnect.Transparency = 1
  2481. selectionBox1.Transparency = 1
  2482. wait()
  2483. Dialogconnect.Transparency = 0
  2484. selectionBox1.Transparency = 0
  2485. wait()
  2486. Dialogconnect.Transparency = 1
  2487. selectionBox1.Transparency = 1
  2488. wait()
  2489. Dialogconnect.Transparency = 0
  2490. selectionBox1.Transparency = 0
  2491. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2492. wait()
  2493. Dialogconnect.Transparency = 1
  2494. selectionBox1.Transparency = 1
  2495. wait()
  2496. Dialogconnect.Transparency = 0
  2497. selectionBox1.Transparency = 0
  2498. wait()
  2499. Dialogconnect.Transparency = 1
  2500. selectionBox1.Transparency = 1
  2501. wait()
  2502. Dialogconnect.Transparency = 0
  2503. selectionBox1.Transparency = 0
  2504. wait()
  2505. Dialogconnect.Transparency = 1
  2506. selectionBox1.Transparency = 1
  2507. wait()
  2508. Dialogconnect.Transparency = 0
  2509. selectionBox1.Transparency = 0
  2510. wait()
  2511. Dialogconnect.Transparency = 1
  2512. selectionBox1.Transparency = 1
  2513. wait()
  2514. Dialogconnect.Transparency = 0
  2515. selectionBox1.Transparency = 0
  2516. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2517. wait()
  2518. Dialogconnect.Transparency = 1
  2519. selectionBox1.Transparency = 1
  2520. wait()
  2521. Dialogconnect.Transparency = 0
  2522. selectionBox1.Transparency = 0
  2523. wait()
  2524. Dialogconnect.Transparency = 1
  2525. selectionBox1.Transparency = 1
  2526. wait()
  2527. Dialogconnect.Transparency = 0
  2528. selectionBox1.Transparency = 0
  2529. wait()
  2530. Dialogconnect.Transparency = 1
  2531. selectionBox1.Transparency = 1
  2532. wait()
  2533. Dialogconnect.Transparency = 0
  2534. selectionBox1.Transparency = 0
  2535. wait()
  2536. Dialogconnect.Transparency = 1
  2537. selectionBox1.Transparency = 1
  2538. wait()
  2539. Dialogconnect.Transparency = 0
  2540. selectionBox1.Transparency = 0
  2541. wait()
  2542. Dialogconnect.Transparency = 0
  2543. wait()
  2544. Dialogconnect.Transparency = 1
  2545. selectionBox1.Transparency = 1
  2546. wait()
  2547. Dialogconnect.Transparency = 0
  2548. selectionBox1.Transparency = 0
  2549. wait()
  2550. Dialogconnect.Transparency = 1
  2551. selectionBox1.Transparency = 1
  2552. wait()
  2553. Dialogconnect.Transparency = 0
  2554. selectionBox1.Transparency = 0
  2555. wait()
  2556. Dialogconnect.Transparency = 1
  2557. selectionBox1.Transparency = 1
  2558. wait()
  2559. Dialogconnect.Transparency = 0
  2560. selectionBox1.Transparency = 0
  2561. wait()
  2562. Dialogconnect.Transparency = 1
  2563. selectionBox1.Transparency = 1
  2564. wait()
  2565. Dialogconnect.Transparency = 0
  2566. selectionBox1.Transparency = 0
  2567. Dialogconnect:remove()
  2568. specialattack = false
  2569. end
  2570. if key == "q" then
  2571. if beamvalue == 1 then
  2572. KnifeBeam1()
  2573. elseif beamvalue == 2 then
  2574. KnifeBeam2()
  2575. elseif beamvalue == 3 then
  2576. KnifeBeam3()
  2577. end
  2578. end
  2579. if key == "x" and not vDebounce then
  2580. vDebounce = true
  2581. for i = 1, 5 do
  2582. wait()
  2583. Torso.Transparency = 0.5
  2584. char["Left Arm"].Transparency = 0.5
  2585. char["Left Leg"].Transparency = 0.5
  2586. char["Right Arm"].Transparency = 0.5
  2587. char["Right Leg"].Transparency = 0.5
  2588. char.Head.Transparency = 0.5
  2589. wait()
  2590. Torso.Transparency = 0
  2591. char["Left Arm"].Transparency = 0
  2592. char["Left Leg"].Transparency = 0
  2593. char["Right Arm"].Transparency = 0
  2594. char["Right Leg"].Transparency = 0
  2595. char.Head.Transparency = 0
  2596. end
  2597. teleportPlayer(mouse.hit.p)
  2598. vDebounce = false
  2599. end
  2600. if key == "z" and onehitkilltwo == true then
  2601. onehitkilltwo = false
  2602. Stuckhit()
  2603. local Dialogconnect = Instance.new("Part", suit)
  2604. Dialogconnect.TopSurface = "Smooth"
  2605. Dialogconnect.BottomSurface = "Smooth"
  2606. Dialogconnect.Material = "Neon"
  2607. Dialogconnect.FormFactor = "Custom"
  2608. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2609. Dialogconnect.Transparency = 1
  2610. Dialogconnect.CanCollide = false
  2611. Dialogconnect.BrickColor = BrickColor.new("Black")
  2612. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2613. selectionBox1.Adornee = Dialogconnect
  2614. selectionBox1.Color = BrickColor.new("Really black")
  2615. selectionBox1.LineThickness = 0.01
  2616. selectionBox1.Transparency = 1
  2617. local Weld = Instance.new("Weld", char)
  2618. Weld.Part0 = char.Torso
  2619. Weld.Part1 = Dialogconnect
  2620. Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2621. Dialogconnect.Transparency = 1
  2622. selectionBox1.Transparency = 1
  2623. wait()
  2624. Dialogconnect.Transparency = 0
  2625. selectionBox1.Transparency = 0
  2626. wait()
  2627. Dialogconnect.Transparency = 1
  2628. selectionBox1.Transparency = 1
  2629. wait()
  2630. Dialogconnect.Transparency = 0
  2631. selectionBox1.Transparency = 0
  2632. wait()
  2633. Dialogconnect.Transparency = 1
  2634. selectionBox1.Transparency = 1
  2635. wait()
  2636. Dialogconnect.Transparency = 0
  2637. selectionBox1.Transparency = 0
  2638. wait()
  2639. Dialogconnect.Transparency = 1
  2640. selectionBox1.Transparency = 1
  2641. wait()
  2642. Dialogconnect.Transparency = 0
  2643. selectionBox1.Transparency = 0
  2644. wait()
  2645. Dialogconnect.Transparency = 1
  2646. selectionBox1.Transparency = 1
  2647. wait()
  2648. Dialogconnect.Transparency = 0
  2649. selectionBox1.Transparency = 0
  2650. wait()
  2651. Dialogconnect.Transparency = 1
  2652. selectionBox1.Transparency = 1
  2653. wait()
  2654. Dialogconnect.Transparency = 0
  2655. selectionBox1.Transparency = 0
  2656. wait()
  2657. Dialogconnect.Transparency = 1
  2658. selectionBox1.Transparency = 1
  2659. wait()
  2660. Dialogconnect.Transparency = 0
  2661. selectionBox1.Transparency = 0
  2662. wait()
  2663. Dialogconnect.Transparency = 1
  2664. selectionBox1.Transparency = 1
  2665. wait()
  2666. Dialogconnect.Transparency = 0
  2667. selectionBox1.Transparency = 0
  2668. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2669. wait()
  2670. Dialogconnect.Transparency = 1
  2671. selectionBox1.Transparency = 1
  2672. wait()
  2673. Dialogconnect.Transparency = 0
  2674. selectionBox1.Transparency = 0
  2675. wait()
  2676. Dialogconnect.Transparency = 1
  2677. selectionBox1.Transparency = 1
  2678. wait()
  2679. Dialogconnect.Transparency = 0
  2680. selectionBox1.Transparency = 0
  2681. wait()
  2682. Dialogconnect.Transparency = 1
  2683. selectionBox1.Transparency = 1
  2684. wait()
  2685. Dialogconnect.Transparency = 0
  2686. selectionBox1.Transparency = 0
  2687. wait()
  2688. Dialogconnect.Transparency = 1
  2689. selectionBox1.Transparency = 1
  2690. wait()
  2691. Dialogconnect.Transparency = 0
  2692. selectionBox1.Transparency = 0
  2693. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2694. wait()
  2695. Dialogconnect.Transparency = 1
  2696. selectionBox1.Transparency = 1
  2697. wait()
  2698. Dialogconnect.Transparency = 0
  2699. selectionBox1.Transparency = 0
  2700. wait()
  2701. Dialogconnect.Transparency = 1
  2702. selectionBox1.Transparency = 1
  2703. wait()
  2704. Dialogconnect.Transparency = 0
  2705. selectionBox1.Transparency = 0
  2706. wait()
  2707. Dialogconnect.Transparency = 1
  2708. selectionBox1.Transparency = 1
  2709. wait()
  2710. Dialogconnect.Transparency = 0
  2711. selectionBox1.Transparency = 0
  2712. wait()
  2713. Dialogconnect.Transparency = 1
  2714. selectionBox1.Transparency = 1
  2715. wait()
  2716. Dialogconnect.Transparency = 0
  2717. selectionBox1.Transparency = 0
  2718. wait()
  2719. Dialogconnect.Transparency = 0
  2720. wait()
  2721. Dialogconnect.Transparency = 1
  2722. selectionBox1.Transparency = 1
  2723. wait()
  2724. Dialogconnect.Transparency = 0
  2725. selectionBox1.Transparency = 0
  2726. wait()
  2727. Dialogconnect.Transparency = 1
  2728. selectionBox1.Transparency = 1
  2729. wait()
  2730. Dialogconnect.Transparency = 0
  2731. selectionBox1.Transparency = 0
  2732. wait()
  2733. Dialogconnect.Transparency = 1
  2734. selectionBox1.Transparency = 1
  2735. wait()
  2736. Dialogconnect.Transparency = 0
  2737. selectionBox1.Transparency = 0
  2738. wait()
  2739. Dialogconnect.Transparency = 1
  2740. selectionBox1.Transparency = 1
  2741. wait()
  2742. Dialogconnect.Transparency = 0
  2743. selectionBox1.Transparency = 0
  2744. Dialogconnect:remove()
  2745. onehitkilltwo = true
  2746. end
  2747. if key == "e" then
  2748. drawded()
  2749. end
  2750. end)
  2751. Tool.Deselected:connect(function(mouse)
  2752. RW.Parent = nil
  2753. LW.Parent = nil
  2754. handle:remove()
  2755. RSH.Parent = player.Character.Torso
  2756. LSH.Parent = player.Character.Torso
  2757. end)
  2758. end)
  2759. function OnDeath()
  2760. GETDUNKED()
  2761. oldloopedsound:remove()
  2762. end
  2763. char.Humanoid.Died:connect(OnDeath)
  2764. print("Made By Jose Likes And Enjoys Roblox for Josemmoya")
  2765. wait(5)
  2766. print("Based on the animation Determination by Jigsaw Rules.")
  2767. wait(5)
  2768. print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
  2769. print("fixed by ROBLOX")
  2770. local plr = game.Players.LocalPlayer
  2771. local good = true
  2772. local R15 = false
  2773. while plr.Character == nil or plr.Character:FindFirstChildOfClass('Humanoid') == nil do
  2774. wait()
  2775. end
  2776. if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  2777. R15 = true
  2778. end
  2779.  
  2780. function makegui()
  2781. -- Objects
  2782.  
  2783. local ScreenGui = Instance.new("ScreenGui")
  2784. local Frame = Instance.new("Frame")
  2785. local TextBox = Instance.new("TextLabel")
  2786.  
  2787. -- Properties
  2788.  
  2789. ScreenGui.Parent = plr.PlayerGui
  2790.  
  2791. Frame.Parent = ScreenGui
  2792. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  2793. Frame.BackgroundTransparency = 0.5
  2794. Frame.BorderSizePixel = 0
  2795. Frame.Size = UDim2.new(1, 0, 0, 0)
  2796.  
  2797. TextBox.Parent = Frame
  2798. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  2799. TextBox.BackgroundTransparency = 1
  2800. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  2801. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  2802. TextBox.Font = Enum.Font.Code
  2803. TextBox.FontSize = Enum.FontSize.Size14
  2804. TextBox.Text = ""
  2805. TextBox.TextColor3 = Color3.new(1, 1, 1)
  2806. TextBox.TextScaled = true
  2807. TextBox.TextSize = 14
  2808. TextBox.TextWrapped = true
  2809. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2810. wait(1.5)
  2811. local text = "This script doesn't work in R15, sorry!"
  2812. for i=1,string.len(text) do
  2813. TextBox.Text = string.sub(text,1,i)
  2814. wait()
  2815. end
  2816. wait(2)
  2817. TextBox.Text = ""
  2818. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2819. end
  2820. function makegui2()
  2821. -- Objects
  2822.  
  2823. local ScreenGui = Instance.new("ScreenGui")
  2824. local Frame = Instance.new("Frame")
  2825. local TextBox = Instance.new("TextLabel")
  2826.  
  2827. -- Properties
  2828.  
  2829. ScreenGui.Parent = plr.PlayerGui
  2830.  
  2831. Frame.Parent = ScreenGui
  2832. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  2833. Frame.BackgroundTransparency = 0.5
  2834. Frame.BorderSizePixel = 0
  2835. Frame.Size = UDim2.new(1, 0, 0, 0)
  2836.  
  2837. TextBox.Parent = Frame
  2838. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  2839. TextBox.BackgroundTransparency = 1
  2840. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  2841. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  2842. TextBox.Font = Enum.Font.Code
  2843. TextBox.FontSize = Enum.FontSize.Size14
  2844. TextBox.Text = ""
  2845. TextBox.TextColor3 = Color3.new(1, 1, 1)
  2846. TextBox.TextScaled = true
  2847. TextBox.TextSize = 14
  2848. TextBox.TextWrapped = true
  2849. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2850. wait(1.5)
  2851. local text = "This script doesn't work in Filtering Enabled, sorry!"
  2852. for i=1,string.len(text) do
  2853. TextBox.Text = string.sub(text,1,i)
  2854. wait()
  2855. end
  2856. wait(2)
  2857. TextBox.Text = ""
  2858. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2859. end
  2860. function makegui3()
  2861. -- Objects
  2862.  
  2863. local ScreenGui = Instance.new("ScreenGui")
  2864. local Frame = Instance.new("Frame")
  2865. local TextBox = Instance.new("TextLabel")
  2866.  
  2867. -- Properties
  2868.  
  2869. ScreenGui.Parent = plr.PlayerGui
  2870.  
  2871. Frame.Parent = ScreenGui
  2872. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  2873. Frame.BackgroundTransparency = 0.5
  2874. Frame.BorderSizePixel = 0
  2875. Frame.Size = UDim2.new(1, 0, 0, 0)
  2876.  
  2877. TextBox.Parent = Frame
  2878. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  2879. TextBox.BackgroundTransparency = 1
  2880. TextBox.Position = UDim2.new(0.05, 0, 0.05, 0)
  2881. TextBox.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
  2882. TextBox.Font = Enum.Font.Code
  2883. TextBox.FontSize = Enum.FontSize.Size14
  2884. TextBox.Text = ""
  2885. TextBox.TextColor3 = Color3.new(1, 1, 1)
  2886. TextBox.TextScaled = true
  2887. TextBox.TextSize = 14
  2888. TextBox.TextWrapped = true
  2889. Frame:TweenSize(UDim2.new(1, 0, 0.2, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2890. wait(1.5)
  2891. local text = "Press F on a player to force choke them, and hold G to use force lightning."
  2892. for i=1,string.len(text) do
  2893. TextBox.Text = string.sub(text,1,i)
  2894. wait()
  2895. end
  2896. wait(2)
  2897. TextBox.Text = ""
  2898. Frame:TweenSize(UDim2.new(1, 0, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,1,false)
  2899. end
  2900.  
  2901.  
  2902. local coru = coroutine.wrap(function()
  2903. if R15 then
  2904. good = false
  2905. makegui()
  2906. elseif workspace.FilteringEnabled then
  2907. good = false
  2908. makegui2()
  2909. else
  2910. makegui3()
  2911. end
  2912. end)
  2913. coru()
  2914.  
  2915.  
  2916. if good then
  2917. local mou = plr:GetMouse()
  2918. local choking = false
  2919. local zapping = false
  2920. local target = nil
  2921. local lastzap = nil
  2922. local oldHit = nil
  2923. local startpos = CFrame.new(0,0,0)
  2924. local beforehealth = 100
  2925. local timez = 0
  2926.  
  2927. Gibs = workspace
  2928.  
  2929. function Kill(Character,yee,oh)
  2930. if Character:FindFirstChildOfClass('Humanoid') then
  2931. Character:FindFirstChildOfClass('Humanoid').Health = 0
  2932. local svch = Character
  2933. local hum = Character:findFirstChild("Humanoid")
  2934. Character.Archivable = true
  2935. local chrclone = Character:clone()
  2936. Character.Archivable = false
  2937.  
  2938. local ch = chrclone:GetChildren()
  2939. local i
  2940. for i = 1,#ch do
  2941. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2942. ch[i]:remove()
  2943. end
  2944. end
  2945. local function Scan(ch)
  2946. local e
  2947. for e = 1,#ch do
  2948. Scan(ch[e]:GetChildren())
  2949. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2950. ch[e]:remove()
  2951. end
  2952. end
  2953. end
  2954. Scan(chrclone:GetChildren())
  2955.  
  2956. local hum2 = chrclone:findFirstChild("Humanoid")
  2957.  
  2958.  
  2959. if hum2 ~= nil then
  2960. hum2.Name = "Humanoid2"
  2961. hum2.PlatformStand = true
  2962. hum2.Sit = true
  2963. hum2.MaxHealth = 0
  2964. hum2.Health = 0
  2965. end
  2966.  
  2967. local ch = Character:GetChildren()
  2968. local i
  2969. for i = 1,#ch do
  2970. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2971. ch[i]:remove()
  2972. end
  2973. end
  2974.  
  2975. wait(0.2)
  2976.  
  2977. local ch = Character:GetChildren()
  2978. local i
  2979. for i = 1,#ch do
  2980. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2981. ch[i]:remove()
  2982. end
  2983. end
  2984. Character = chrclone
  2985. local Torso = Character.Torso
  2986. local movevector = Vector3.new()
  2987. if Character.Torso ~= nil then
  2988. local killtors = Character:findFirstChild("Torso")
  2989. if killtors ~= nil then
  2990. movevector = CFrame.new(plr.Character["Right Arm"].Position,Torso.Position).lookVector
  2991. end
  2992. end
  2993. if Torso then
  2994. local Head = Character:FindFirstChild("Head")
  2995. if Head and yee == false then
  2996. local Neck = Instance.new("Weld")
  2997. Neck.Name = "Neck"
  2998. Neck.Part0 = Torso
  2999. Neck.Part1 = Head
  3000. Neck.C0 = CFrame.new(0, 1.5, 0)
  3001. Neck.C1 = CFrame.new()
  3002. Neck.Parent = Torso
  3003. end
  3004. local Limb = Character:FindFirstChild("Right Arm")
  3005. if Limb then
  3006. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  3007. local Joint = Instance.new("Glue")
  3008. Joint.Name = "RightShoulder"
  3009. Joint.Part0 = Torso
  3010. Joint.Part1 = Limb
  3011. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3012. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3013. Joint.Parent = Torso
  3014. local B = Instance.new("Part")
  3015. B.TopSurface = 0
  3016. B.BottomSurface = 0
  3017. B.formFactor = "Symmetric"
  3018. B.Size = Vector3.new(1, 1, 1)
  3019. B.Transparency = 1
  3020. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3021. B.Parent = Character
  3022. local W = Instance.new("Weld")
  3023. W.Part0 = Limb
  3024. W.Part1 = B
  3025. W.C0 = CFrame.new(0, -0.5, 0)
  3026. W.Parent = Limb
  3027. end
  3028. local Limb = Character:FindFirstChild("Left Arm")
  3029. if Limb then
  3030. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  3031. local Joint = Instance.new("Glue")
  3032. Joint.Name = "LeftShoulder"
  3033. Joint.Part0 = Torso
  3034. Joint.Part1 = Limb
  3035. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3036. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3037. Joint.Parent = Torso
  3038.  
  3039. local B = Instance.new("Part")
  3040. B.TopSurface = 0
  3041. B.BottomSurface = 0
  3042. B.formFactor = "Symmetric"
  3043. B.Size = Vector3.new(1, 1, 1)
  3044. B.Transparency = 1
  3045. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3046. B.Parent = Character
  3047. local W = Instance.new("Weld")
  3048. W.Part0 = Limb
  3049. W.Part1 = B
  3050. W.C0 = CFrame.new(0, -0.5, 0)
  3051. W.Parent = Limb
  3052. end
  3053. local Limb = Character:FindFirstChild("Right Leg")
  3054. if Limb then
  3055.  
  3056. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  3057. local Joint = Instance.new("Glue")
  3058. Joint.Name = "RightHip"
  3059. Joint.Part0 = Torso
  3060. Joint.Part1 = Limb
  3061. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3062. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3063. Joint.Parent = Torso
  3064.  
  3065. local B = Instance.new("Part")
  3066. B.TopSurface = 0
  3067. B.BottomSurface = 0
  3068. B.formFactor = "Symmetric"
  3069. B.Size = Vector3.new(1, 1, 1)
  3070. B.Transparency = 1
  3071. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3072. B.Parent = Character
  3073. local W = Instance.new("Weld")
  3074. W.Part0 = Limb
  3075. W.Part1 = B
  3076. W.C0 = CFrame.new(0, -0.5, 0)
  3077. W.Parent = Limb
  3078.  
  3079. end
  3080. local Limb = Character:FindFirstChild("Left Leg")
  3081. if Limb then
  3082.  
  3083. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  3084. local Joint = Instance.new("Glue")
  3085. Joint.Name = "LeftHip"
  3086. Joint.Part0 = Torso
  3087. Joint.Part1 = Limb
  3088. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3089. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3090. Joint.Parent = Torso
  3091.  
  3092. local B = Instance.new("Part")
  3093. B.TopSurface = 0
  3094. B.BottomSurface = 0
  3095. B.formFactor = "Symmetric"
  3096. B.Size = Vector3.new(1, 1, 1)
  3097. B.Transparency = 1
  3098. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3099. B.Parent = Character
  3100. local W = Instance.new("Weld")
  3101. W.Part0 = Limb
  3102. W.Part1 = B
  3103. W.C0 = CFrame.new(0, -0.5, 0)
  3104. W.Parent = Limb
  3105.  
  3106. end
  3107. --[
  3108. local Bar = Instance.new("Part")
  3109. Bar.TopSurface = 0
  3110. Bar.BottomSurface = 0
  3111. Bar.formFactor = "Symmetric"
  3112. Bar.Size = Vector3.new(1, 1, 1)
  3113. Bar.Transparency = 1
  3114. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  3115. Bar.Parent = Character
  3116. local Weld = Instance.new("Weld")
  3117. Weld.Part0 = Torso
  3118. Weld.Part1 = Bar
  3119. Weld.C0 = CFrame.new(0, 0.5, 0)
  3120. Weld.Parent = Torso
  3121. --]]
  3122. end
  3123. Character.Parent = Gibs
  3124. game.Debris:AddItem(Character, 12)
  3125. Character.Torso.Velocity = plr.Character.Torso.CFrame.lookVector*10
  3126. Character.Head.Velocity = plr.Character.Torso.CFrame.lookVector*10
  3127. if oh then
  3128. local repulse = Instance.new('BodyForce',Torso)
  3129. repulse.Force = movevector*10000 + Vector3.new(0,1000,0)
  3130. game.Debris:AddItem(repulse,0.05)
  3131. for i,v in pairs(chrclone:GetChildren()) do
  3132. if v:IsA('BasePart') then
  3133. v.BrickColor = BrickColor.Black()
  3134. end
  3135. end
  3136. local sound = Instance.new('Sound',Torso)
  3137. sound.EmitterSize = 50
  3138. sound.MaxDistance = 100
  3139. sound.Volume = 6
  3140. sound.SoundId = 'rbxassetid://157325701'
  3141. sound:Play()
  3142. sound.Ended:connect(function()
  3143. sound:Destroy()
  3144. end)
  3145. end
  3146. local duh = Torso
  3147. if yee == true then
  3148. ee = Instance.new("Part")
  3149. ee.Anchored = false
  3150. ee.CanCollide = false
  3151. ee.Parent = duh
  3152. ee.Transparency =1
  3153. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  3154. wee = Instance.new("Weld")
  3155. wee.Parent = duh
  3156. wee.Part0 = duh
  3157. wee.Part1 = ee
  3158. wee.C0 = CFrame.new(0, 1, 0)
  3159. ge = Instance.new('ParticleEmitter')
  3160. ge.Parent = ee
  3161. ge.Texture = "rbxassetid://29712167"
  3162. ge.Size = NumberSequence.new(0.2,0.05)
  3163. ge.Acceleration = Vector3.new(0, -20, 0)
  3164. ge.Rate = 100000
  3165. ge.Speed = NumberRange.new(7,8)
  3166. ge.Lifetime = NumberRange.new(3,4)
  3167. ge.VelocitySpread = 10
  3168. ge.VelocityInheritance = 0.3
  3169. ea = Instance.new("Part")
  3170. ea.Anchored = false
  3171. ea.CanCollide = false
  3172. ea.Parent = Character.Head
  3173. ea.Transparency =1
  3174. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  3175. wea = Instance.new("Weld")
  3176. wea.Parent = Character.Head
  3177. wea.Part0 = Character.Head
  3178. wea.Part1 = ea
  3179. wea.C0 = CFrame.new(0, -0.7, 0)
  3180. ga = Instance.new('ParticleEmitter')
  3181. ga.Parent = ea
  3182. ga.Texture = "rbxassetid://29712167"
  3183. ga.Size = NumberSequence.new(0.2,0.05)
  3184. ga.Acceleration = Vector3.new(0, -20, 0)
  3185. ga.Rate = 100000
  3186. ga.Speed = NumberRange.new(7,8)
  3187. ga.Lifetime = NumberRange.new(3,4)
  3188. ga.VelocitySpread = 10
  3189. ga.VelocityInheritance = 0.3
  3190. ga.EmissionDirection = Enum.NormalId.Bottom
  3191. end
  3192. end
  3193. end
  3194.  
  3195. function gettouching(startpos,endpos,dont)
  3196. local ray = Ray.new(startpos,(endpos-startpos).unit*300)
  3197. local ignore = {}
  3198. for i,v in pairs(game:GetService('Players'):GetChildren()) do
  3199. if v.Character and v ~= plr then
  3200. table.insert(ignore,v.Character)
  3201. end
  3202. end
  3203. local part,pos = workspace:FindPartOnRayWithWhitelist(ray,ignore,false)
  3204. if part then
  3205. if part.Parent:FindFirstChildOfClass('Humanoid') and part.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  3206. local coru = coroutine.wrap(function()
  3207. Kill(part.Parent,false,true)
  3208. end)
  3209. coru()
  3210. end
  3211. end
  3212. table.insert(ignore,dont)
  3213. local part2,pos2 = workspace:FindPartOnRayWithIgnoreList(ray,ignore,false,true)
  3214. if part2 and part2.Parent and part2.Parent ~= plr.Character and part2.Parent:FindFirstChildOfClass('Humanoid') and part2.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  3215. local coru = coroutine.wrap(function()
  3216. Kill(part2.Parent,false,true)
  3217. end)
  3218. coru()
  3219. end
  3220. end
  3221.  
  3222. function makelaser(parent)
  3223. local part = Instance.new('Part',parent)
  3224. part.Size = Vector3.new(0.2,0.2,0.2)
  3225. part.Transparency = 1
  3226. part.CanCollide = false
  3227. local weld = Instance.new('Weld',part)
  3228. weld.Part0 = part
  3229. weld.Part1 = plr.Character["Right Arm"]
  3230. weld.C0 = CFrame.new(0,1.25,0)
  3231. for i=1,5 do
  3232. local mouse = mou
  3233. targ = mouse.Target
  3234. if targ then
  3235. hum = targ.Parent:findFirstChild("Humanoid")
  3236. Hit = mouse.hit
  3237. local P = Instance.new("Part")
  3238. P.Name = "Guideline"
  3239. P.Material = Enum.Material.Neon
  3240. local Place0 = part.CFrame
  3241. P.formFactor = 0
  3242. P.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  3243. if plr.Character:FindFirstChild('Right Arm') then
  3244. for i,v in pairs(plr.Character:FindFirstChild('Right Arm'):GetChildren()) do
  3245. if v:IsA('Sound') and v.Name == "Electricity" then
  3246. if Place0 and Hit and (Place0.p - Hit.p).magnitude >= 20 then
  3247. v.MaxDistance = (Place0.p - Hit.p).magnitude
  3248. v.EmitterSize = (Place0.p - Hit.p).magnitude
  3249. elseif Place0 and Hit then
  3250. v.MaxDistance = 20
  3251. v.EmitterSize = 20
  3252. end
  3253. end
  3254. end
  3255. end
  3256. P.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  3257. P.Parent = parent
  3258. P.BrickColor = BrickColor.Yellow()
  3259. P.Anchored = true
  3260. P.CanCollide = false
  3261. P.Transparency = 1
  3262. local m = Instance.new("BlockMesh")
  3263. m.Scale = Vector3.new(0.1,0.1,1)
  3264. m.Parent = P
  3265. local mh = mouse.Hit
  3266. for c1 = 1, 1 do
  3267. oldHit = part.CFrame
  3268. for count = 1, 9 do
  3269. local val1 = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  3270. local val2 = P.Size.z / 10
  3271. local val3 = P.CFrame.lookVector * -1
  3272. local val4 = count * val2
  3273. local val5 = val4 * val3
  3274. local val6 = part.CFrame.p
  3275. local Hit = CFrame.new(val5 + val1 + val6)
  3276. local s = Instance.new("Part")
  3277. s.Name = "Spark"
  3278. s.Material = Enum.Material.Neon
  3279. local Place0 = oldHit
  3280. s.formFactor = 0
  3281. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  3282. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  3283. s.Parent = parent
  3284. s.BrickColor = BrickColor.new('Instatutional white')
  3285. s.Anchored = true
  3286. s.CanCollide = false
  3287. m = Instance.new("BlockMesh")
  3288. m.Scale = Vector3.new(0.1,0.1,1)
  3289. m.Parent = s
  3290. local clone = s:clone()
  3291. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  3292. clone.BrickColor = BrickColor.new('Electric blue')
  3293. clone.Transparency = 0.8
  3294. clone.Parent = s.Parent
  3295. oldHit = Hit
  3296. end
  3297. Hit = oldHit
  3298. local s = Instance.new("Part")
  3299. s.Name = "Spark"
  3300. s.Material = Enum.Material.Neon
  3301. local Place0 = mh
  3302. s.formFactor = 0
  3303. s.Size = Vector3.new(1,1,(Place0.p - Hit.p).magnitude)
  3304. s.CFrame = CFrame.new((Place0.p + Hit.p)/2,Place0.p)
  3305. s.Parent = parent
  3306. s.BrickColor = BrickColor.new('Instatutional white')
  3307. s.Anchored = true
  3308. s.CanCollide = false
  3309. m = Instance.new("BlockMesh")
  3310. m.Scale = Vector3.new(0.1,0.1,1)
  3311. m.Parent = s
  3312. local clone = s:clone()
  3313. clone.Mesh.Scale = Vector3.new(0.3,0.3,1.1)
  3314. clone.BrickColor = BrickColor.new('Electric blue')
  3315. clone.Transparency = 0.8
  3316. clone.Parent = s.Parent
  3317. gettouching(part.Position,mou.Hit.p,parent)
  3318. end
  3319. P:remove()
  3320. end
  3321. end
  3322. end
  3323.  
  3324. function chokearms(chr)
  3325. if chr:FindFirstChild('Torso') then
  3326. if chr:FindFirstChild('Right Arm') then
  3327. if chr.Torso:FindFirstChild('Right Shoulder') then
  3328. chr.Torso["Right Shoulder"]:Destroy()
  3329. end
  3330. local thing = Instance.new('Weld',chr.Torso)
  3331. thing.Name = "Right Shoulder"
  3332. thing.Part0 = chr.Torso
  3333. thing.Part1 = chr["Right Arm"]
  3334. thing.C0 = CFrame.new(0.811074257, 0.835914135, -0.381313324, 0.27563563, 0.961260796, 2.0569455e-06, 0.488285512, -0.140010983, -0.861379266, -0.828009903, 0.237427771, -0.50796169)
  3335. end
  3336. if chr:FindFirstChild('Left Arm') then
  3337. if chr.Torso:FindFirstChild('Left Shoulder') then
  3338. chr.Torso["Left Shoulder"]:Destroy()
  3339. end
  3340. local thing = Instance.new('Weld',chr.Torso)
  3341. thing.Name = "Left Shoulder"
  3342. thing.Part0 = chr["Left Arm"]
  3343. thing.Part1 = chr.Torso
  3344. thing.C0 = CFrame.new(0.962814331, -0.457080841, 0.306755066, 0.309041202, -0.579310298, 0.754249752, -0.951046288, -0.188228443, 0.245104745, -2.09111568e-05, -0.793076754, -0.609121859)
  3345. end
  3346. end
  3347. end
  3348.  
  3349. function fixarms(chr)
  3350. if chr:FindFirstChild('Torso') then
  3351. for i,v in pairs(chr.Torso:GetChildren()) do
  3352. if v.Name == "Right Shoulder" or v.Name == "Left Shoulder" then
  3353. v:Destroy()
  3354. end
  3355. end
  3356. if chr:FindFirstChild('Right Arm') then
  3357. local rs = Instance.new('Motor6D',chr.Torso)
  3358. rs.Name = "Right Shoulder"
  3359. rs.Part0 = chr.Torso
  3360. rs.Part1 = chr:FindFirstChild('Right Arm')
  3361. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3362. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3363. end
  3364. if chr:FindFirstChild('Left Arm') then
  3365. local ls = Instance.new('Motor6D',chr.Torso)
  3366. ls.Name = "Left Shoulder"
  3367. ls.Part0 = chr.Torso
  3368. ls.Part1 = chr:FindFirstChild('Left Arm')
  3369. ls.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3370. ls.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3371. end
  3372. end
  3373. end
  3374.  
  3375. mou.KeyDown:connect(function(key)
  3376. if key == "f" and mou.Target and zapping == false then
  3377. if choking == false then
  3378. local hum = mou.Target.Parent:FindFirstChildOfClass('Humanoid')
  3379.  
  3380. if hum == nil then
  3381. hum = mou.Target.Parent.Parent:FindFirstChildOfClass('Humanoid')
  3382. end
  3383.  
  3384. if hum and hum.Parent:FindFirstChild('Torso') and hum.Health > 0 then
  3385. beforehealth = hum.Health
  3386. choking = true
  3387. target = hum.Parent.Torso
  3388. local sound = Instance.new('Sound',target)
  3389. sound.Volume = 5
  3390. sound.EmitterSize = 50
  3391. sound.MaxDistance = 100
  3392. sound.SoundId = 'rbxassetid://418658161'
  3393. sound.Looped = false
  3394. sound.PlaybackSpeed = 0.75
  3395. sound.Name = "Choking"
  3396. sound:Play()
  3397. startpos = target.CFrame
  3398. chokearms(target.Parent)
  3399. local bod = Instance.new('BodyPosition',hum.Parent.Torso)
  3400. bod.Position = target.Position+Vector3.new(0,12,0)
  3401. bod.MaxForce = Vector3.new(100000,100000,100000)
  3402. bod.P = 1000
  3403. bod.D = 500
  3404. end
  3405. if target and target:FindFirstChild('Breathing') then
  3406. target.Breathing:Destroy()
  3407. end
  3408. local coru = coroutine.wrap(function()
  3409. while timez < 5 and choking do
  3410. timez = timez + 0.1
  3411. if target.Parent:FindFirstChildOfClass('Humanoid') then
  3412. if target.Parent:FindFirstChildOfClass('Humanoid').Health - (beforehealth/49) > 0 then
  3413. target.Parent:FindFirstChildOfClass('Humanoid').Health = target.Parent:FindFirstChildOfClass('Humanoid').Health - (beforehealth/49)
  3414. end
  3415. end
  3416. wait(0.1)
  3417. end
  3418. if timez >= 5 then
  3419. if target and target.Parent and target.Parent:FindFirstChildOfClass('Humanoid') and target.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  3420. if target and target:FindFirstChild('Choking') then
  3421. target.Choking:Stop()
  3422. target.Choking:Destroy()
  3423. end
  3424. if target then
  3425. for i,v in pairs(target:GetChildren()) do
  3426. if v:IsA("BodyPosition") then
  3427. v:Destroy()
  3428. end
  3429. end
  3430. end
  3431. Kill(target.Parent,false,false)
  3432. end
  3433. end
  3434. target = nil
  3435. choking = false
  3436. startpos = CFrame.new(0,0,0)
  3437. timez = 0
  3438. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  3439. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  3440. v:Destroy()
  3441. end
  3442. end
  3443. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  3444. local rs = Instance.new('Motor6D',plr.Character.Torso)
  3445. rs.Name = "Right Shoulder"
  3446. rs.Part0 = plr.Character.Torso
  3447. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  3448. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3449. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3450. end
  3451. end)
  3452. coru()
  3453. else
  3454. if target and target:FindFirstChild('Choking') then
  3455. fixarms(target.Parent)
  3456. target.Choking:Stop()
  3457. target.Choking:Destroy()
  3458. local sound = Instance.new('Sound',target)
  3459. sound.Volume = 5
  3460. sound.EmitterSize = 50
  3461. sound.MaxDistance = 100
  3462. sound.SoundId = 'rbxassetid://304511128'
  3463. sound.Looped = true
  3464. sound.PlaybackSpeed = 1
  3465. sound.Name = "Breathing"
  3466. sound:Play()
  3467. game:GetService('Debris'):AddItem(sound,timez)
  3468. for i,v in pairs(target:GetChildren()) do
  3469. if v:IsA("BodyPosition") then
  3470. v:Destroy()
  3471. end
  3472. end
  3473. end
  3474. if target.Parent:FindFirstChildOfClass('Humanoid') then
  3475. target.Parent:FindFirstChildOfClass('Humanoid').Health = beforehealth
  3476. end
  3477. target = nil
  3478. choking = false
  3479. startpos = CFrame.new(0,0,0)
  3480. timez = 0
  3481. end
  3482. elseif key == "g" and choking == false then
  3483. zapping = true
  3484. local electricity = Instance.new("Sound",plr.Character:FindFirstChild('Right Arm'))
  3485. electricity.Name = "Electricity"
  3486. electricity.SoundId = "rbxassetid://379557765"
  3487. electricity.Volume = 5
  3488. electricity.EmitterSize = 100
  3489. electricity.MaxDistance = 100
  3490. electricity.Looped = true
  3491. electricity:Play()
  3492. end
  3493. end)
  3494.  
  3495. mou.KeyUp:connect(function(key)
  3496. if key == "g" then
  3497. zapping = false
  3498. if plr.Character:FindFirstChild('Right Arm') then
  3499. for i,v in pairs(plr.Character:FindFirstChild('Right Arm'):GetChildren()) do
  3500. if v:IsA('Sound') and v.Name == "Electricity" then
  3501. v:Destroy()
  3502. end
  3503. end
  3504. end
  3505. end
  3506. end)
  3507.  
  3508.  
  3509. while true do
  3510. if choking and plr.Character and target and target.Parent and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') then
  3511. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  3512. if v.Name == "Right Shoulder" then
  3513. v:Destroy()
  3514. end
  3515. end
  3516. local Head = plr.Character.Head
  3517. local RightArm = plr.Character["Right Arm"]
  3518. local RightShoulder = Instance.new('Weld',plr.Character.Torso)
  3519. RightShoulder.Name = "Right Shoulder"
  3520. RightShoulder.Part0 = plr.Character.Torso
  3521. RightShoulder.Part1 = RightArm
  3522. RightShoulder.C0 = CFrame.new(1,1,-0.75)
  3523. local MousePosition = target.Position+(target.Size/2)
  3524. local ToMouse = (MousePosition - Head.Position).unit
  3525. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  3526. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  3527. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  3528. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  3529. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  3530. if tostring(LateralAngle) == "-1.#IND" then
  3531. LateralAngle = 0
  3532. end
  3533. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  3534. local change = false
  3535. if LateralAngle > (math.pi / 2) then
  3536. LateralAngle = (math.pi / 2)
  3537. change = true
  3538. end
  3539. if Cross.Y < 0 then
  3540. LateralAngle = -LateralAngle
  3541. end
  3542. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  3543. for i,v in pairs(target.Parent:GetChildren()) do
  3544. if v:IsA('Tool') then
  3545. v.ManualActivationOnly = true
  3546. end
  3547. end
  3548. elseif zapping == false and plr and plr.Character and plr.Character:FindFirstChild("Torso") and plr.Character:FindFirstChild('Right Arm') then
  3549. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  3550. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  3551. v:Destroy()
  3552. end
  3553. end
  3554. if target then
  3555. for i,v in pairs(target:GetChildren()) do
  3556. if v:IsA("BodyPosition") then
  3557. v:Destroy()
  3558. end
  3559. end
  3560. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  3561. local rs = Instance.new('Motor6D',plr.Character.Torso)
  3562. rs.Name = "Right Shoulder"
  3563. rs.Part0 = plr.Character.Torso
  3564. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  3565. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3566. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3567. end
  3568. if target.Parent then
  3569. for i,v in pairs(target.Parent:GetChildren()) do
  3570. if v:IsA('Tool') then
  3571. v.ManualActivationOnly = false
  3572. end
  3573. end
  3574. end
  3575. end
  3576. target = nil
  3577. choking = false
  3578. startpos = CFrame.new(0,0,0)
  3579. timez = 0
  3580. end
  3581. if zapping and plr.Character and mou.Hit and plr.Character:FindFirstChild('Head') and plr.Character:FindFirstChild('Right Arm') and plr.Character:FindFirstChild('Torso') then
  3582. if lastzap then
  3583. lastzap:Destroy()
  3584. lastzap = nil
  3585. end
  3586. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  3587. if v.Name == "Right Shoulder" then
  3588. v:Destroy()
  3589. end
  3590. end
  3591. local Head = plr.Character.Head
  3592. local RightArm = plr.Character["Right Arm"]
  3593. local RightShoulder = Instance.new('Weld',plr.Character.Torso)
  3594. RightShoulder.Name = "Right Shoulder"
  3595. RightShoulder.Part0 = plr.Character.Torso
  3596. RightShoulder.Part1 = RightArm
  3597. RightShoulder.C0 = CFrame.new(1,1,-0.75)
  3598. local MousePosition = mou.Hit.p
  3599. local ToMouse = (MousePosition - Head.Position).unit
  3600. local Angle = math.acos(ToMouse:Dot(Vector3.new(0, 1, 0)))
  3601. local FromRightArmPos = (Head.Position + Head.CFrame:vectorToWorldSpace(Vector3.new(((Head.Size.X / 2) + (RightArm.Size.X / 2)), ((Head.Size.Y / 2) - (RightArm.Size.Z / 2)), 0)))
  3602. local ToMouseRightArm = ((MousePosition - FromRightArmPos) * Vector3.new(1 ,0, 1)).unit
  3603. local Look = (Head.CFrame.lookVector * Vector3.new(1, 0, 1)).unit
  3604. local LateralAngle = math.acos(ToMouseRightArm:Dot(Look))
  3605. if tostring(LateralAngle) == "-1.#IND" then
  3606. LateralAngle = 0
  3607. end
  3608. local Cross = Head.CFrame.lookVector:Cross(ToMouseRightArm)
  3609. local change = false
  3610. if LateralAngle > (math.pi / 2) then
  3611. LateralAngle = (math.pi / 2)
  3612. change = true
  3613. end
  3614. if Cross.Y < 0 then
  3615. LateralAngle = -LateralAngle
  3616. end
  3617. RightShoulder.C0 = CFrame.new(RightShoulder.C0.p) * CFrame.Angles(((math.pi / 2) - Angle), ((math.pi / 2) + LateralAngle), math.pi/2)
  3618. local thing = Instance.new('Model',workspace)
  3619. thing.Name = "Zap"
  3620. lastzap = thing
  3621. makelaser(thing)
  3622. elseif choking == false and zapping == false then
  3623. if lastzap then
  3624. lastzap:Destroy()
  3625. lastzap = nil
  3626. end
  3627. if plr.Character:FindFirstChild('Torso') then
  3628. for i,v in pairs(plr.Character.Torso:GetChildren()) do
  3629. if v.Name == "Right Shoulder" and v:IsA('Weld') then
  3630. v:Destroy()
  3631. end
  3632. end
  3633. if plr.Character.Torso:FindFirstChild('Right Shoulder') == nil then
  3634. local rs = Instance.new('Motor6D',plr.Character.Torso)
  3635. rs.Name = "Right Shoulder"
  3636. rs.Part0 = plr.Character.Torso
  3637. rs.Part1 = plr.Character:FindFirstChild('Right Arm')
  3638. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3639. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3640. end
  3641. end
  3642. end
  3643. wait()
  3644. end
  3645. end
Add Comment
Please, Sign In to add comment