memberhero

Artix FE

Dec 19th, 2020 (edited)
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 147.61 KB | None | 0 0
  1. local Player = owner
  2. local Character = Player.Character
  3. local mouse,Mouse,MMouse = nil
  4. local RemoteEvent = Instance.new("RemoteEvent")
  5. RemoteEvent.Name = "KeyDown"
  6. RemoteEvent.Parent = Character
  7. local RemoteEvent2 = Instance.new("RemoteEvent")
  8. RemoteEvent2.Name = "ButtonDown"
  9. RemoteEvent2.Parent = Character
  10. local RemoteEvent3 = Instance.new("RemoteFunction")
  11. RemoteEvent3.Name = "MousePos"
  12. RemoteEvent3.Parent = Character
  13. function getMouseHit()
  14. return RemoteEvent3:InvokeClient (owner, 1);
  15. end;
  16. function getMouseTarget()
  17. return RemoteEvent3:InvokeClient (owner, 2);
  18. end;
  19. NLS([==[
  20. local Player = game.Players.LocalPlayer
  21. local mouse = Player:GetMouse()
  22. local remote = Player.Character:WaitForChild("KeyDown")
  23. local remote2 = Player.Character:WaitForChild("ButtonDown")
  24. local remote3 = Player.Character:WaitForChild("MousePos")
  25. mouse.KeyDown:Connect(function(k)
  26. k = k:lower()
  27. remote:FireServer(k)
  28. end)
  29.  
  30. mouse.Button1Down:Connect(function()
  31. remote2:FireServer()
  32. end)
  33.  
  34. remote3.OnClientInvoke = function (request, ...)
  35. if (request == 1) then
  36. return mouse.Hit.p;
  37. end;
  38. if (request == 2) then
  39. return mouse.Target;
  40. end;
  41. end;
  42.  
  43.  
  44.  
  45. ]==],Player.Character)
  46. print("FE Converter By basstracker1970")
  47.  
  48. print[[Q = Super destructive blast/Psycho drive
  49. E = Combo 1
  50. R = Homing bombs
  51. T = Energy slam
  52. Y = Combo 2
  53. P = Hellstorm
  54. Z = Destructive mode(Gives you access to key Q)
  55. X = Speed mode(Gives you access to key Q)]]
  56.  
  57.  
  58. Character=Player.Character
  59. Character.Humanoid.Name = "noneofurbusiness"
  60. hum = Character.noneofurbusiness
  61. LeftArm=Character["Left Arm"]
  62. LeftLeg=Character["Left Leg"]
  63. RightArm=Character["Right Arm"]
  64. RightLeg=Character["Right Leg"]
  65. Root=Character["HumanoidRootPart"]
  66. Head=Character["Head"]
  67. Torso=Character["Torso"]
  68. Neck=Torso["Neck"]
  69. power = false
  70. speed = false
  71. rainbow = false
  72. walking = false
  73. hitdebounce = false
  74. jumping = false
  75. invisible = false
  76. attacking = false
  77. firsttime = false
  78. tauntdebounce = false
  79. raygun = false
  80. position = nil
  81. classical = true
  82. trailtrans = 0
  83. dada = false
  84. secondform = false
  85. industrial = false
  86. wad = false
  87. sidekicktaunting = false
  88. popstar = false
  89. vinyl = false
  90. brutal = false
  91. love = false
  92. godgun = false
  93. talkingtalking = false
  94. glasson = true
  95. glassonp = false
  96. sidekick = false
  97. psychoboost = false
  98. MseGuide = true
  99. sidekickshootanim = false
  100. running = false
  101. settime = 0
  102. sine = 0
  103. sine2 = 0
  104. t = 0
  105. ws = 32
  106. change = 1
  107. change2 = .8
  108. combo1 = true
  109. equip = false
  110. swetch = false
  111. dgs = 75
  112. combo2 = false
  113. switch1 = true
  114. switch2 = false
  115. tauntdebounce = false
  116. firsttime2 = false
  117. stop = false
  118. combo3 = false
  119. gunallowance = false
  120. shooting = false
  121. mow = .2
  122. RunSrv = game:GetService("RunService")
  123. RenderStepped = game:GetService("RunService").RenderStepped
  124. removeuseless = game:GetService("Debris")
  125. smoothen = game:GetService("TweenService")
  126. cam = workspace.CurrentCamera
  127. hum.HipHeight = 1.46
  128. Head.face:Remove()
  129. local dmt2={3241742150,2435339444,835909856,3042508467,2327920334,2410016947,3282861846}
  130. t1t={}
  131. t2t={}
  132.  
  133. LeftArm.Transparency = 1
  134. RightArm.Transparency = 1
  135.  
  136. screenGui = Instance.new("ScreenGui")
  137. screenGui.Parent = script.Parent
  138.  
  139. metalsound = Instance.new("Sound",Torso)
  140. metalsound.SoundId = "rbxassetid://3242049967"
  141. metalsound.Volume = 2
  142. metalsound.Pitch = 1.65
  143. metalsound.Name = "l"
  144. metalsound.Looped = true
  145. metalsound:Play()
  146.  
  147. surgesound = Instance.new("Sound",Torso)
  148. surgesound.SoundId = "rbxassetid://3298009288"
  149. surgesound.Volume = 0
  150. surgesound.Pitch = 1
  151. surgesound.Name = "n"
  152. surgesound.Looped = true
  153. surgesound:Play()
  154.  
  155. local dmt2random = dmt2[math.random(1,#dmt2)]
  156. doomtheme = Instance.new("Sound", Torso)
  157. doomtheme.Volume = 3
  158. doomtheme.Name = "doomtheme"
  159. doomtheme.Looped = true
  160. doomtheme.SoundId = "rbxassetid://"..dmt2random
  161. if doomtheme.SoundId == "rbxassetid://2410016947" then
  162. doomtheme.Pitch = .67
  163. end
  164. doomtheme:Play()
  165.  
  166. Torso.ChildRemoved:connect(function(removed)
  167. if removed.Name == "doomtheme" then
  168. local dmt2random = dmt2[math.random(1,#dmt2)]
  169. doomtheme = Instance.new("Sound", Torso)
  170. doomtheme.Volume = 3
  171. doomtheme.Name = "doomtheme"
  172. doomtheme.Looped = true
  173. doomtheme.SoundId = "rbxassetid://"..dmt2random
  174. if doomtheme.SoundId == "rbxassetid://2410016947" then
  175. doomtheme.Pitch = .67
  176. end
  177. doomtheme:Play()
  178. end
  179. end)
  180. Torso.ChildRemoved:connect(function(removed)
  181. if removed.Name == "l" then
  182. metalsound = Instance.new("Sound",Torso)
  183. metalsound.SoundId = "rbxassetid://3242049967"
  184. metalsound.Volume = 2
  185. metalsound.Pitch = 1.65
  186. metalsound.Name = "l"
  187. metalsound.Looped = true
  188. metalsound:Play()
  189. end
  190. end)
  191. Torso.ChildRemoved:connect(function(removed)
  192. if removed.Name == "n" then
  193. surgesound = Instance.new("Sound",Torso)
  194. surgesound.SoundId = "rbxassetid://3298009288"
  195. if power or speed then
  196. surgesound.Volume = 1.5
  197. else
  198. surgesound.Volume = 0
  199. end
  200. surgesound.Pitch = 1
  201. surgesound.Name = "n"
  202. surgesound.Looped = true
  203. surgesound:Play()
  204. end
  205. end)
  206.  
  207. local HEADLERP = Instance.new("ManualWeld")
  208. HEADLERP.Parent = Head
  209. HEADLERP.Part0 = Head
  210. HEADLERP.Part1 = Head
  211. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  212.  
  213. local TORSOLERP = Instance.new("ManualWeld")
  214. TORSOLERP.Parent = Root
  215. TORSOLERP.Part0 = Torso
  216. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  217.  
  218. local ROOTLERP = Instance.new("ManualWeld")
  219. ROOTLERP.Parent = Root
  220. ROOTLERP.Part0 = Root
  221. ROOTLERP.Part1 = Torso
  222. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  223.  
  224. local RIGHTARMLERP = Instance.new("ManualWeld")
  225. RIGHTARMLERP.Parent = RightArm
  226. RIGHTARMLERP.Part0 = RightArm
  227. RIGHTARMLERP.Part1 = Torso
  228. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  229.  
  230. local LEFTARMLERP = Instance.new("ManualWeld")
  231. LEFTARMLERP.Parent = LeftArm
  232. LEFTARMLERP.Part0 = LeftArm
  233. LEFTARMLERP.Part1 = Torso
  234. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  235.  
  236. local RIGHTLEGLERP = Instance.new("ManualWeld")
  237. RIGHTLEGLERP.Parent = RightLeg
  238. RIGHTLEGLERP.Part0 = RightLeg
  239. RIGHTLEGLERP.Part1 = Torso
  240. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  241.  
  242. local LEFTLEGLERP = Instance.new("ManualWeld")
  243. LEFTLEGLERP.Parent = LeftLeg
  244. LEFTLEGLERP.Part0 = LeftLeg
  245. LEFTLEGLERP.Part1 = Torso
  246. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  247.  
  248. local function weldBetween(a, b)
  249. local weld = Instance.new("ManualWeld", a)
  250. weld.Part0 = a
  251. weld.Part1 = b
  252. weld.C0 = a.CFrame:inverse() * b.CFrame
  253. return weld
  254. end
  255.  
  256. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  257. A = Instance.new("Attachment", PARENT)
  258. A.Position = POSITION1
  259. A.Name = "A"
  260. B = Instance.new("Attachment", PARENT)
  261. B.Position = POSITION2
  262. B.Name = "B"
  263. tr1 = Instance.new("Trail", PARENT)
  264. tr1.Attachment0 = A
  265. tr1.Attachment1 = B
  266. tr1.Enabled = true
  267. tr1.Lifetime = LIFETIME
  268. tr1.TextureMode = "Static"
  269. tr1.LightInfluence = 0
  270. tr1.Color = COLOR
  271. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  272. end
  273.  
  274. function colortween(a,speed,color1)
  275. local z = {
  276. Color = color1
  277. }
  278. local tween = smoothen:Create(a,TweenInfo.new(speed,Enum.EasingStyle.Linear),z)
  279. tween:Play()
  280. end
  281.  
  282. function takeDamage(victim,damage)
  283. if victim.MaxHealth < 50000 and victim ~= hum then
  284. victim.Health = victim.Health - damage
  285. else
  286. victim.Parent:BreakJoints()
  287. end
  288. end
  289.  
  290. function velo(a,name,pos,speed)
  291. local bov = Instance.new("BodyVelocity",a)
  292. bov.Name = name
  293. bov.maxForce = Vector3.new(99999,99999,99999)
  294. a.CFrame = CFrame.new(a.Position,pos)
  295. bov.velocity = a.CFrame.lookVector*speed
  296. end
  297.  
  298. coroutine.wrap(function()
  299. while wait() do
  300. hum.WalkSpeed = ws
  301. hum.JumpPower = 75
  302. end
  303. end)()
  304. godmode = coroutine.wrap(function()
  305. for i,v in pairs(Character:GetChildren()) do
  306. if v:IsA("BasePart") and v ~= Root then
  307. v.Anchored = false
  308. end
  309. end
  310. while true do
  311. hum.MaxHealth = math.huge
  312. wait(0.0000001)
  313. hum.Health = math.huge
  314. wait()
  315. end
  316. end)
  317. godmode()
  318. ff = Instance.new("ForceField", Character)
  319. ff.Visible = false
  320.  
  321. ----defaultpos----
  322. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  323. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  324. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  325. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  326. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  327. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  328. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  329. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  330. ----defaultpos----
  331.  
  332. coroutine.wrap(function()
  333. for i,v in pairs(Character:GetChildren()) do
  334. if v.Name == "Animate" then v:Remove()
  335. end
  336. end
  337. end)()
  338.  
  339. function damagealll(Radius,Position)
  340. local Returning = {}
  341. for _,v in pairs(workspace:GetChildren()) do
  342. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  343. if v:FindFirstChild("Torso") then
  344. local Mag = (v.Torso.Position - Position).magnitude
  345. if Mag < Radius then
  346. table.insert(Returning,v)
  347. end
  348. elseif v:FindFirstChild("UpperTorso") then
  349. local Mag = (v.UpperTorso.Position - Position).magnitude
  350. if Mag < Radius then
  351. table.insert(Returning,v)
  352. end
  353. end
  354. end
  355. end
  356. return Returning
  357. end
  358.  
  359. ArtificialHB = Instance.new("BindableEvent", script)
  360. ArtificialHB.Name = "Heartbeat"
  361. script:WaitForChild("Heartbeat")
  362.  
  363. frame = 1 / 60
  364. tf = 0
  365. allowframeloss = false
  366. tossremainder = false
  367.  
  368.  
  369. lastframe = tick()
  370. script.Heartbeat:Fire()
  371.  
  372.  
  373. game:GetService("RunService").Heartbeat:connect(function(s, p)
  374. tf = tf + s
  375. if tf >= frame then
  376. if allowframeloss then
  377. script.Heartbeat:Fire()
  378. lastframe = tick()
  379. else
  380. for i = 1, math.floor(tf / frame) do
  381. script.Heartbeat:Fire()
  382. end
  383. lastframe = tick()
  384. end
  385. if tossremainder then
  386. tf = 0
  387. else
  388. tf = tf - frame * math.floor(tf / frame)
  389. end
  390. end
  391. end)
  392.  
  393. function swait(num)
  394. if num == 0 or num == nil then
  395. game:service("RunService").Stepped:wait(0)
  396. else
  397. for i = 0, num do
  398. game:service("RunService").Stepped:wait(0)
  399. end
  400. end
  401. end
  402.  
  403. for _,x in pairs(Character:GetChildren()) do
  404. if x:IsA("Decal") then x:Remove() end
  405. end
  406.  
  407. function SOUND(PARENT,ID,VOL,LOOP,PITCH,REMOVE)
  408. local so = Instance.new("Sound")
  409. so.Parent = PARENT
  410. so.SoundId = "rbxassetid://"..ID
  411. so.Volume = VOL
  412. so.Looped = LOOP
  413. so.Pitch = PITCH
  414. so:Play()
  415. removeuseless:AddItem(so,REMOVE)
  416. end
  417.  
  418. leftrot = Instance.new("Part",Torso)
  419. leftrot.Size = Vector3.new(1,1,1)
  420. leftrot.Anchored = false
  421. leftrot.Transparency = 1
  422. leftrot.CanCollide = false
  423. leftrotweld = weldBetween(leftrot,Torso)
  424. leftrotweld.C0 = CFrame.new(.96,-.5,0)
  425.  
  426. rightrot = Instance.new("Part",Torso)
  427. rightrot.Size = Vector3.new(1,1,1)
  428. rightrot.Anchored = false
  429. rightrot.Transparency = 1
  430. rightrot.CanCollide = false
  431. rightrotweld = weldBetween(rightrot,Torso)
  432. rightrotweld.C0 = CFrame.new(-.96,-.5,0)
  433.  
  434. local v = 0
  435. local v2 = 0
  436. local v3 = 0
  437. local v4 = 0
  438. for i = 1, 38 do----test
  439. v4 = v4 + .15
  440. v = v + .1
  441. v2 = v2 + .015
  442. v3 = v3 + 1.9
  443. local xx = v4
  444. local xx2 = 0
  445. xx2 = xx2 + .05
  446. local m = Instance.new("Part",Torso)
  447. m.Size = Vector3.new(.15,.7-v2,.7-v2)
  448. m.Anchored = false
  449. m.Material = "Glass"
  450. m.BrickColor = BrickColor.new("Really black")
  451. m.CanCollide = false
  452. table.insert(t1t,m)
  453. local mweld = weldBetween(m,leftrot)
  454. mweld.C0 = mweld.C0 * CFrame.new(0+v,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0-v3))
  455. coroutine.wrap(function()
  456. local b = 0
  457. while true do
  458. mweld.C0 = mweld.C0:lerp(mweld.C0 * CFrame.Angles(math.rad(xx*1.2*math.sin(sine2/22)),math.rad(xx*1.2*-math.sin(sine2/16)),math.rad(xx*1.5*math.sin(sine2/19))),.1)
  459. swait()
  460. end
  461. end)()
  462. end
  463.  
  464. local v = 0
  465. local v2 = 0
  466. local v3 = 0
  467. local v4 = 0
  468. for i = 1, 38 do----test
  469. v4 = v4 + .15
  470. v = v + .1
  471. v2 = v2 + .015
  472. v3 = v3 + 1.9
  473. local xx = v4
  474. local xx2 = 0
  475. xx2 = xx2 + .05
  476. local m = Instance.new("Part",Torso)
  477. m.Size = Vector3.new(.15,.7-v2,.7-v2)
  478. m.Anchored = false
  479. m.Material = "Glass"
  480. m.BrickColor = BrickColor.new("Really black")
  481. m.CanCollide = false
  482. table.insert(t2t,m)
  483. local mweld = weldBetween(m,rightrot)
  484. mweld.C0 = mweld.C0 * CFrame.new(0-v,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0+v3))
  485. coroutine.wrap(function()
  486. local b = 0
  487. while true do
  488. mweld.C0 = mweld.C0:lerp(mweld.C0 * CFrame.Angles(math.rad(xx*1.2*-math.sin(sine2/22)),math.rad(xx*1.2*math.sin(sine2/16)),math.rad(xx*1.5*-math.sin(sine2/19))),.1)
  489. swait()
  490. end
  491. end)()
  492. end
  493.  
  494. local zp = 0
  495. local zp2 = 0
  496. local zp3 = 0
  497. for i = 1, 21 do
  498. zp = zp + .1
  499. zp2 = zp2 - .04
  500. zp3 = zp3 + .045
  501. local m2 = Instance.new("Part",RightLeg)
  502. m2.Size = Vector3.new(1.001,.1,1.001)
  503. m2.Anchored = false
  504. m2.CanCollide = true
  505. m2.BrickColor = BrickColor.new("Really black")
  506. m2.Material = "Glass"
  507. m2.Transparency = 0 + zp3
  508. m2weld = weldBetween(m2,RightLeg)
  509. m2weld.C0 = m2weld.C0 * CFrame.new(0,1.09-zp,0)
  510. end
  511.  
  512. local zp = 0
  513. local zp2 = 0
  514. local zp3 = 0
  515. for i = 1, 21 do
  516. zp = zp + .1
  517. zp2 = zp2 - .04
  518. zp3 = zp3 + .045
  519. local m2 = Instance.new("Part",LeftLeg)
  520. m2.Size = Vector3.new(1.001,.1,1.001)
  521. m2.Anchored = false
  522. m2.CanCollide = true
  523. m2.BrickColor = BrickColor.new("Really black")
  524. m2.Material = "Glass"
  525. m2.Transparency = 0 + zp3
  526. m2weld = weldBetween(m2,LeftLeg)
  527. m2weld.C0 = m2weld.C0 * CFrame.new(0,1.09-zp,0)
  528. end
  529.  
  530. leglocater = Instance.new("Part",Torso)
  531. leglocater.Size = Vector3.new(1,1,1)
  532. leglocater.Anchored = false
  533. leglocater.CanCollide = false
  534. leglocater.Transparency = 1
  535. leglocaterweld = weldBetween(leglocater,RightLeg)
  536. leglocaterweld.C0 = leglocaterweld.C0 * CFrame.new(23.4,2.7,-109.7)
  537.  
  538. leglocater2 = Instance.new("Part",Torso)
  539. leglocater2.Size = Vector3.new(1,1,1)
  540. leglocater2.Anchored = false
  541. leglocater2.CanCollide = false
  542. leglocater2.Transparency = 1
  543. leglocaterweld2 = weldBetween(leglocater2,LeftLeg)
  544. leglocaterweld2.C0 = leglocaterweld2.C0 * CFrame.new(22.25,2.7,-109.7)
  545.  
  546. mas2 = Instance.new("Model",Torso)
  547. o1 = Instance.new("Part")
  548. o2 = Instance.new("Part")
  549. o3 = Instance.new("Part")
  550. o4 = Instance.new("Part")
  551. o5 = Instance.new("Part")
  552. o6 = Instance.new("Part")
  553. o7 = Instance.new("Part")
  554. o8 = Instance.new("Part")
  555. o9 = Instance.new("WedgePart")
  556. o10 = Instance.new("WedgePart")
  557. o11 = Instance.new("Part")
  558. o12 = Instance.new("Part")
  559. o13 = Instance.new("WedgePart")
  560. o14 = Instance.new("WedgePart")
  561. o15 = Instance.new("WedgePart")
  562. o1.Parent = mas2
  563. o1.Material = Enum.Material.Glass
  564. o1.BrickColor = BrickColor.new("Black")
  565. o1.Rotation = Vector3.new(-167.020004, 0, -180)
  566. o1.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  567. o1.CFrame = CFrame.new(22.2711983, 1.98674273, -109.049728, -1, 0, 0, 0, 0.974454999, 0.224583, 0, 0.224583, -0.974454999)
  568. o1.BottomSurface = Enum.SurfaceType.Smooth
  569. o1.TopSurface = Enum.SurfaceType.Smooth
  570. o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  571. o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  572. o2.Parent = mas2
  573. o2.Material = Enum.Material.Glass
  574. o2.BrickColor = BrickColor.new("Black")
  575. o2.Rotation = Vector3.new(162.979996, 0, -180)
  576. o2.Size = Vector3.new(0.611088395, 1.38694274, 0.41598022)
  577. o2.CFrame = CFrame.new(22.2711983, 2.7342577, -109.202713, -1, 0, 0, 0, 0.956193984, -0.292733997, 0, -0.292733997, -0.956193984)
  578. o2.BottomSurface = Enum.SurfaceType.Smooth
  579. o2.TopSurface = Enum.SurfaceType.Smooth
  580. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  581. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  582. o3.Parent = mas2
  583. o3.Material = Enum.Material.Glass
  584. o3.BrickColor = BrickColor.new("Black")
  585. o3.Rotation = Vector3.new(-147.020004, 0, -180)
  586. o3.Size = Vector3.new(0.611088395, 0.464611918, 0.41598022)
  587. o3.CFrame = CFrame.new(22.2711983, 1.6572485, -109.195732, -1, 0, 0, 0, 0.838876307, 0.544322193, 0, 0.544322193, -0.838876307)
  588. o3.BottomSurface = Enum.SurfaceType.Smooth
  589. o3.TopSurface = Enum.SurfaceType.Smooth
  590. o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  591. o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  592. o4.Parent = mas2
  593. o4.Material = Enum.Material.Glass
  594. o4.BrickColor = BrickColor.new("Black")
  595. o4.Rotation = Vector3.new(-32.9799995, 0, 0)
  596. o4.Size = Vector3.new(0.611088395, 0.477927923, 0.41598022)
  597. o4.CFrame = CFrame.new(22.268013, 1.65166092, -110.273109, 1, 0, 0, 0, 0.838876307, 0.544322193, 0, -0.544322193, 0.838876307)
  598. o4.BottomSurface = Enum.SurfaceType.Smooth
  599. o4.TopSurface = Enum.SurfaceType.Smooth
  600. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  601. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  602. o5.Parent = mas2
  603. o5.Material = Enum.Material.Glass
  604. o5.BrickColor = BrickColor.new("Black")
  605. o5.Rotation = Vector3.new(17.0200005, 0, 0)
  606. o5.Size = Vector3.new(0.611088395, 1.41862273, 0.41598022)
  607. o5.CFrame = CFrame.new(22.268013, 2.74940205, -110.265167, 1, 0, 0, 0, 0.956193984, -0.292733997, 0, 0.292733997, 0.956193984)
  608. o5.BottomSurface = Enum.SurfaceType.Smooth
  609. o5.TopSurface = Enum.SurfaceType.Smooth
  610. o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  611. o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  612. o6.Parent = mas2
  613. o6.Material = Enum.Material.Glass
  614. o6.BrickColor = BrickColor.new("Black")
  615. o6.Rotation = Vector3.new(90, 72.9800034, -90)
  616. o6.Size = Vector3.new(0.611088395, 1.4569428, 0.41598022)
  617. o6.CFrame = CFrame.new(21.739912, 2.70259023, -109.720184, 0, 0.292733997, 0.956193984, 0, 0.956193984, -0.292733997, -1, 0, 0)
  618. o6.BottomSurface = Enum.SurfaceType.Smooth
  619. o6.TopSurface = Enum.SurfaceType.Smooth
  620. o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  621. o6.Color = Color3.new(0.105882, 0.164706, 0.207843)
  622. o7.Parent = mas2
  623. o7.Material = Enum.Material.Glass
  624. o7.BrickColor = BrickColor.new("Black")
  625. o7.Rotation = Vector3.new(-90, 22.0200005, 90)
  626. o7.Size = Vector3.new(0.570121765, 0.57664001, 0.240845904)
  627. o7.CFrame = CFrame.new(21.7325439, 1.67757654, -109.709969, 0, -0.927042246, 0.374957085, 0, 0.374957085, 0.927042246, -1, 0, 0)
  628. o7.BottomSurface = Enum.SurfaceType.Smooth
  629. o7.TopSurface = Enum.SurfaceType.Smooth
  630. o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  631. o7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  632. o8.Parent = mas2
  633. o8.Material = Enum.Material.Glass
  634. o8.BrickColor = BrickColor.new("Black")
  635. o8.Rotation = Vector3.new(-90, 77.0199966, 90)
  636. o8.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  637. o8.CFrame = CFrame.new(21.5767155, 1.92161, -109.720177, 0, -0.224583, 0.974454999, 0, 0.974454999, 0.224583, -1, 0, 0)
  638. o8.BottomSurface = Enum.SurfaceType.Smooth
  639. o8.TopSurface = Enum.SurfaceType.Smooth
  640. o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  641. o8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  642. o9.Parent = mas2
  643. o9.Material = Enum.Material.Glass
  644. o9.BrickColor = BrickColor.new("Toothpaste")
  645. o9.Rotation = Vector3.new(-90, 22.0200005, 90)
  646. o9.Size = Vector3.new(0.609640539, 0.815749586, 0.36387372)
  647. o9.CFrame = CFrame.new(21.7509365, 1.34398293, -109.713966, 1.29999999e-05, -0.927042246, 0.374957085, 0, 0.374957085, 0.927042246, -1, -1.20515488e-05, 4.87444231e-06)
  648. o9.BottomSurface = Enum.SurfaceType.Smooth
  649. o9.Color = Color3.new(0, 1, 1)
  650. o9.Color = Color3.new(0, 1, 1)
  651. o10.Parent = mas2
  652. o10.Material = Enum.Material.SmoothPlastic
  653. o10.BrickColor = BrickColor.new("Toothpaste")
  654. o10.Rotation = Vector3.new(-0.49000001, 0, -180)
  655. o10.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  656. o10.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  657. o10.BottomSurface = Enum.SurfaceType.Smooth
  658. o10.Color = Color3.new(0, 1, 1)
  659. o10.Color = Color3.new(0, 1, 1)
  660. o11.Parent = mas2
  661. o11.Material = Enum.Material.Glass
  662. o11.BrickColor = BrickColor.new("Black")
  663. o11.Rotation = Vector3.new(-90.4899979, 0, 0)
  664. o11.Size = Vector3.new(0.611088395, 1.16370118, 0.2324512)
  665. o11.CFrame = CFrame.new(22.268013, 1.45806074, -109.736092, 1, 0, 0, 0, -0.00861299969, 0.999962986, 0, -0.999962986, -0.00861299969)
  666. o11.BottomSurface = Enum.SurfaceType.Smooth
  667. o11.TopSurface = Enum.SurfaceType.Smooth
  668. o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  669. o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  670. o12.Parent = mas2
  671. o12.Material = Enum.Material.Glass
  672. o12.BrickColor = BrickColor.new("Black")
  673. o12.Rotation = Vector3.new(-12.9799995, 0, 0)
  674. o12.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  675. o12.CFrame = CFrame.new(22.268013, 1.98674273, -110.42276, 1, 0, 0, 0, 0.974454999, 0.224583, 0, -0.224583, 0.974454999)
  676. o12.BottomSurface = Enum.SurfaceType.Smooth
  677. o12.TopSurface = Enum.SurfaceType.Smooth
  678. o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  679. o12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  680. o13.Parent = mas2
  681. o13.Material = Enum.Material.Glass
  682. o13.BrickColor = BrickColor.new("Toothpaste")
  683. o13.Rotation = Vector3.new(-179.509995, 0, 0)
  684. o13.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
  685. o13.CFrame = CFrame.new(22.2570095, 1.22059798, -109.38369, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
  686. o13.BottomSurface = Enum.SurfaceType.Smooth
  687. o13.Color = Color3.new(0, 1, 1)
  688. o13.Color = Color3.new(0, 1, 1)
  689. o14.Parent = mas
  690. o14.Material = Enum.Material.Glass
  691. o14.BrickColor = BrickColor.new("Toothpaste")
  692. o14.Rotation = Vector3.new(-179.509995, 0, 0)
  693. o14.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
  694. o14.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
  695. o14.BottomSurface = Enum.SurfaceType.Smooth
  696. o14.Color = Color3.new(0, 1, 1)
  697. o14.Color = Color3.new(0, 1, 1)
  698. o15.Parent = mas2
  699. o15.Material = Enum.Material.Glass
  700. o15.BrickColor = BrickColor.new("Toothpaste")
  701. o15.Rotation = Vector3.new(-0.49000001, 0, -180)
  702. o15.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
  703. o15.CFrame = CFrame.new(22.2570095, 1.21046901, -110.098427, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  704. o15.BottomSurface = Enum.SurfaceType.Smooth
  705. o15.Color = Color3.new(0, 1, 1)
  706. o15.Color = Color3.new(0, 1, 1)
  707. o17 = Instance.new("WedgePart")
  708. o18 = Instance.new("WedgePart")
  709. o17.Parent = mas2
  710. o17.Material = Enum.Material.Glass
  711. o17.BrickColor = BrickColor.new("Toothpaste")
  712. o17.Rotation = Vector3.new(-0.49000001, 0, -180)
  713. o17.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  714. o17.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  715. o17.BottomSurface = Enum.SurfaceType.Smooth
  716. o17.Color = Color3.new(0, 1, 1)
  717. o17.Color = Color3.new(0, 1, 1)
  718. o18.Parent = mas2
  719. o18.Material = Enum.Material.Glass
  720. o18.BrickColor = BrickColor.new("Toothpaste")
  721. o18.Rotation = Vector3.new(-179.509995, 0, 0)
  722. o18.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
  723. o18.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
  724. o18.BottomSurface = Enum.SurfaceType.Smooth
  725. o18.Color = Color3.new(0, 1, 1)
  726. o18.Color = Color3.new(0, 1, 1)
  727. o1 = Instance.new("WedgePart")
  728. o2 = Instance.new("WedgePart")
  729. o3 = Instance.new("WedgePart")
  730. o4 = Instance.new("WedgePart")
  731. o1.Parent = mas2
  732. o1.Material = Enum.Material.SmoothPlastic
  733. o1.BrickColor = BrickColor.new("Toothpaste")
  734. o1.Rotation = Vector3.new(-0.49000001, 0, -180)
  735. o1.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  736. o1.CFrame = CFrame.new(22.2570095, 0.825033665, -110.003471, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  737. o1.BottomSurface = Enum.SurfaceType.Smooth
  738. o1.Color = Color3.new(0, 1, 1)
  739. o1.Color = Color3.new(0, 1, 1)
  740. o2.Parent = mas2
  741. o2.Material = Enum.Material.Glass
  742. o2.BrickColor = BrickColor.new("Toothpaste")
  743. o2.Rotation = Vector3.new(-179.509995, 0, 0)
  744. o2.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
  745. o2.CFrame = CFrame.new(22.2570095, 0.828138828, -109.469574, 1, 0, 0, 0, -0.999962986, 0.00861299969, 0, -0.00861299969, -0.999962986)
  746. o2.BottomSurface = Enum.SurfaceType.Smooth
  747. o2.Color = Color3.new(0, 1, 1)
  748. o2.Color = Color3.new(0, 1, 1)
  749. o3.Parent = mas2
  750. o3.Material = Enum.Material.Glass
  751. o3.BrickColor = BrickColor.new("Toothpaste")
  752. o3.Rotation = Vector3.new(-179.509995, 0, 0)
  753. o3.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  754. o3.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
  755. o3.BottomSurface = Enum.SurfaceType.Smooth
  756. o3.Color = Color3.new(0, 1, 1)
  757. o3.Color = Color3.new(0, 1, 1)
  758.  
  759. mas2.Parent = Torso
  760. mas2:MakeJoints()
  761.  
  762. function weld2()
  763. local parts,last = {}
  764. local function scan(mas2)
  765. for _,v in pairs(mas2:GetChildren()) do
  766. if (v:IsA("BasePart")) then
  767. if (last) then
  768. local w = Instance.new("Weld")
  769. w.Name = ("%s_Weld"):format(v.Name)
  770. w.Part0,w.Part1 = last,leglocater2
  771. w.C0 = last.CFrame:inverse()
  772. w.Parent = last
  773. end
  774. last = v
  775. table.insert(parts,v)
  776. end
  777. scan(v)
  778. end
  779. end
  780. scan(mas2)
  781. for _,v in pairs(parts) do
  782. v.CanCollide = false
  783. v.Anchored = false
  784. v.Parent = Head
  785. end
  786. end
  787.  
  788. weld2()
  789.  
  790. mas = Instance.new("Model",Torso)
  791. o1 = Instance.new("Part")
  792. o2 = Instance.new("Part")
  793. o3 = Instance.new("Part")
  794. o4 = Instance.new("Part")
  795. o5 = Instance.new("Part")
  796. o6 = Instance.new("WedgePart")
  797. o7 = Instance.new("WedgePart")
  798. o8 = Instance.new("WedgePart")
  799. o9 = Instance.new("Part")
  800. o10 = Instance.new("Part")
  801. o11 = Instance.new("Part")
  802. o12 = Instance.new("WedgePart")
  803. o13 = Instance.new("Part")
  804. o14 = Instance.new("Part")
  805. o15 = Instance.new("WedgePart")
  806. o1.Parent = mas
  807. o1.Material = Enum.Material.Glass
  808. o1.BrickColor = BrickColor.new("Black")
  809. o1.Rotation = Vector3.new(-32.9799995, 0, 0)
  810. o1.Size = Vector3.new(0.611088395, 0.464611918, 0.41598022)
  811. o1.CFrame = CFrame.new(23.3834858, 1.65648532, -110.253166, 1, 0, 0, 0, 0.83887583, 0.544322908, 0, -0.544322908, 0.83887583)
  812. o1.BottomSurface = Enum.SurfaceType.Smooth
  813. o1.TopSurface = Enum.SurfaceType.Smooth
  814. o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  815. o1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  816. o2.Parent = mas
  817. o2.Material = Enum.Material.Glass
  818. o2.BrickColor = BrickColor.new("Black")
  819. o2.Rotation = Vector3.new(-12.9799995, 0, 0)
  820. o2.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  821. o2.CFrame = CFrame.new(23.3834839, 1.9859823, -110.39917, 1, 0, 0, 0, 0.974454999, 0.224583, 0, -0.224583, 0.974454999)
  822. o2.BottomSurface = Enum.SurfaceType.Smooth
  823. o2.TopSurface = Enum.SurfaceType.Smooth
  824. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  825. o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  826. o3.Parent = mas
  827. o3.Material = Enum.Material.Glass
  828. o3.BrickColor = BrickColor.new("Black")
  829. o3.Rotation = Vector3.new(17.0200005, 0, 0)
  830. o3.Size = Vector3.new(0.611088395, 1.39694285, 0.41598022)
  831. o3.CFrame = CFrame.new(23.3834858, 2.73827434, -110.244751, 1, 0, 0, 0, 0.956193984, -0.292733997, 0, 0.292733997, 0.956193984)
  832. o3.BottomSurface = Enum.SurfaceType.Smooth
  833. o3.TopSurface = Enum.SurfaceType.Smooth
  834. o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  835. o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  836. o4.Parent = mas
  837. o4.Material = Enum.Material.Glass
  838. o4.BrickColor = BrickColor.new("Black")
  839. o4.Rotation = Vector3.new(162.979996, 0, -180)
  840. o4.Size = Vector3.new(0.611088395, 1.34223616, 0.41598022)
  841. o4.CFrame = CFrame.new(23.3866711, 2.71211886, -109.172554, -1, 0, 0, 0, 0.956193984, -0.292733997, 0, -0.292733997, -0.956193984)
  842. o4.BottomSurface = Enum.SurfaceType.Smooth
  843. o4.TopSurface = Enum.SurfaceType.Smooth
  844. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  845. o4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  846. o5.Parent = mas
  847. o5.Material = Enum.Material.Glass
  848. o5.BrickColor = BrickColor.new("Black")
  849. o5.Rotation = Vector3.new(-147.020004, 0, -180)
  850. o5.Size = Vector3.new(0.611088395, 0.477927923, 0.41598022)
  851. o5.CFrame = CFrame.new(23.3866711, 1.65090275, -109.175789, -1, 0, 0, 0, 0.838876307, 0.544322193, 0, 0.544322193, -0.838876307)
  852. o5.BottomSurface = Enum.SurfaceType.Smooth
  853. o5.TopSurface = Enum.SurfaceType.Smooth
  854. o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  855. o5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  856. o6.Parent = mas
  857. o6.Material = Enum.Material.Glass
  858. o6.BrickColor = BrickColor.new("Toothpaste")
  859. o6.Rotation = Vector3.new(-0.49000001, 0, -180)
  860. o6.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
  861. o6.CFrame = CFrame.new(23.3976727, 1.2198379, -110.065208, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  862. o6.BottomSurface = Enum.SurfaceType.Smooth
  863. o6.Color = Color3.new(0, 1, 1)
  864. o6.Color = Color3.new(0, 1, 1)
  865. o7.Parent = mas
  866. o7.Material = Enum.Material.Glass
  867. o7.BrickColor = BrickColor.new("Toothpaste")
  868. o7.Rotation = Vector3.new(-0.49000001, 0, -180)
  869. o7.Size = Vector3.new(0.475612402, 1.04096365, 0.416848063)
  870. o7.CFrame = CFrame.new(23.3976727, 0.827378273, -109.979324, -1, 0, 0, 0, -0.999962986, 0.00861299969, 0, 0.00861299969, 0.999962986)
  871. o7.BottomSurface = Enum.SurfaceType.Smooth
  872. o7.Color = Color3.new(0, 1, 1)
  873. o7.Color = Color3.new(0, 1, 1)
  874. o8.Parent = mas
  875. o8.Material = Enum.Material.Glass
  876. o8.BrickColor = BrickColor.new("Toothpaste")
  877. o8.Rotation = Vector3.new(-90, -22.0200005, -90)
  878. o8.Size = Vector3.new(0.609640539, 0.815749586, 0.36387372)
  879. o8.CFrame = CFrame.new(23.9037457, 1.34321952, -109.734932, -1.21480516e-05, 0.927048683, -0.374960363, -4.91226911e-06, 0.374959707, 0.927046955, 1.00000882, 1.31261768e-05, 5.40245679e-08)
  880. o8.BottomSurface = Enum.SurfaceType.Smooth
  881. o8.Color = Color3.new(0, 1, 1)
  882. o8.Color = Color3.new(0, 1, 1)
  883. o9.Parent = mas
  884. o9.Material = Enum.Material.Glass
  885. o9.BrickColor = BrickColor.new("Black")
  886. o9.Rotation = Vector3.new(-90, -77.0199966, -90)
  887. o9.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  888. o9.CFrame = CFrame.new(24.0779667, 1.92084956, -109.728722, 0, 0.224583, -0.974454999, 0, 0.974454999, 0.224583, 1, 0, 0)
  889. o9.BottomSurface = Enum.SurfaceType.Smooth
  890. o9.TopSurface = Enum.SurfaceType.Smooth
  891. o9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  892. o9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  893. o10.Parent = mas
  894. o10.Material = Enum.Material.Glass
  895. o10.BrickColor = BrickColor.new("Black")
  896. o10.Rotation = Vector3.new(90, -72.9800034, 90)
  897. o10.Size = Vector3.new(0.611088395, 1.4569428, 0.41598022)
  898. o10.CFrame = CFrame.new(23.9147701, 2.70182657, -109.728714, 0, -0.292733997, -0.956193984, 0, 0.956193984, -0.292733997, 1, 0, 0)
  899. o10.BottomSurface = Enum.SurfaceType.Smooth
  900. o10.TopSurface = Enum.SurfaceType.Smooth
  901. o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
  902. o10.Color = Color3.new(0.105882, 0.164706, 0.207843)
  903. o11.Parent = mas
  904. o11.Material = Enum.Material.Glass
  905. o11.BrickColor = BrickColor.new("Black")
  906. o11.Rotation = Vector3.new(-90, -22.0200005, -90)
  907. o11.Size = Vector3.new(0.561928511, 0.57664001, 0.240845904)
  908. o11.CFrame = CFrame.new(23.9221382, 1.67681599, -109.734833, 0, 0.927042246, -0.374957085, 0, 0.374957085, 0.927042246, 1, 0, 0)
  909. o11.BottomSurface = Enum.SurfaceType.Smooth
  910. o11.TopSurface = Enum.SurfaceType.Smooth
  911. o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  912. o11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  913. o12.Parent = mas
  914. o12.Material = Enum.Material.Glass
  915. o12.BrickColor = BrickColor.new("Toothpaste")
  916. o12.Rotation = Vector3.new(-179.509995, 0, 0)
  917. o12.Size = Vector3.new(0.475612402, 0.256477833, 0.470691025)
  918. o12.CFrame = CFrame.new(23.3976727, 1.20970654, -109.350471, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
  919. o12.BottomSurface = Enum.SurfaceType.Smooth
  920. o12.Color = Color3.new(0, 1, 1)
  921. o12.Color = Color3.new(0, 1, 1)
  922. o13.Parent = mas
  923. o13.Material = Enum.Material.Glass
  924. o13.BrickColor = BrickColor.new("Black")
  925. o13.Rotation = Vector3.new(-89.5100021, 0, -180)
  926. o13.Size = Vector3.new(0.611088395, 1.16370118, 0.2324512)
  927. o13.CFrame = CFrame.new(23.3866711, 1.45730305, -109.712807, -1, 0, 0, 0, -0.00861299969, 0.999962986, 0, 0.999962986, 0.00861299969)
  928. o13.BottomSurface = Enum.SurfaceType.Smooth
  929. o13.TopSurface = Enum.SurfaceType.Smooth
  930. o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  931. o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  932. o14.Parent = mas
  933. o14.Material = Enum.Material.Glass
  934. o14.BrickColor = BrickColor.new("Black")
  935. o14.Rotation = Vector3.new(-167.020004, 0, -180)
  936. o14.Size = Vector3.new(0.611088395, 0.415110946, 0.41598022)
  937. o14.CFrame = CFrame.new(23.3866711, 1.9859823, -109.026138, -1, 0, 0, 0, 0.974454999, 0.224583, 0, 0.224583, -0.974454999)
  938. o14.BottomSurface = Enum.SurfaceType.Smooth
  939. o14.TopSurface = Enum.SurfaceType.Smooth
  940. o14.Color = Color3.new(0.105882, 0.164706, 0.207843)
  941. o14.Color = Color3.new(0.105882, 0.164706, 0.207843)
  942. o15.Parent = mas
  943. o15.Material = Enum.Material.Glass
  944. o15.BrickColor = BrickColor.new("Toothpaste")
  945. o15.Rotation = Vector3.new(-179.509995, 0, 0)
  946. o15.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  947. o15.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
  948. o15.BottomSurface = Enum.SurfaceType.Smooth
  949. o15.Color = Color3.new(0, 1, 1)
  950. o15.Color = Color3.new(0, 1, 1)
  951. o31 = Instance.new("WedgePart")
  952. o31.Parent = mas
  953. o31.Material = Enum.Material.Glass
  954. o31.BrickColor = BrickColor.new("Toothpaste")
  955. o31.Rotation = Vector3.new(-179.509995, 0, 0)
  956. o31.Size = Vector3.new(0.475612402, 1.02706826, 0.435085207)
  957. o31.CFrame = CFrame.new(23.3976727, 0.824273586, -109.445427, 1, 0, 0, 0, -0.999962926, 0.00861287117, 0, -0.00861287117, -0.999962926)
  958. o31.BottomSurface = Enum.SurfaceType.Smooth
  959. o31.Color = Color3.new(0, 1, 1)
  960. o31.Color = Color3.new(0, 1, 1)
  961. mas.Parent = workspace
  962. mas:MakeJoints()
  963.  
  964. function weld()
  965. local parts,last = {}
  966. local function scan(mas)
  967. for _,v in pairs(mas:GetChildren()) do
  968. if (v:IsA("BasePart")) then
  969. if (last) then
  970. local w = Instance.new("Weld")
  971. w.Name = ("%s_Weld"):format(v.Name)
  972. w.Part0,w.Part1 = last,leglocater
  973. w.C0 = last.CFrame:inverse()
  974. w.Parent = last
  975. end
  976. last = v
  977. table.insert(parts,v)
  978. end
  979. scan(v)
  980. end
  981. end
  982. scan(mas)
  983. for _,v in pairs(parts) do
  984. v.CanCollide = false
  985. v.Anchored = false
  986. v.Parent = Head
  987. end
  988. end
  989.  
  990. weld()
  991.  
  992. jacket = Instance.new("Part",Torso)
  993. jacket.BrickColor = BrickColor.new("Really black")
  994. jacket.Material = "Glass"
  995. jacket.Anchored = false
  996. jacket.CanCollide = false
  997. jacketmesh = Instance.new("SpecialMesh",jacket)
  998. jacketmesh.MeshId = "rbxassetid://2608727167"
  999. jacketmesh.Scale = Vector3.new(.05,.05,.044)
  1000. jacketweld = weldBetween(jacket,Torso)
  1001. jacketweld.C0 = jacketweld.C0 * CFrame.new(0,-.7,-.1)
  1002.  
  1003. leftlocation = Instance.new("Part",LeftArm)
  1004. leftlocation.Size = Vector3.new(1,1,1)
  1005. leftlocation.Transparency = 1
  1006. leftlocationweld = weldBetween(leftlocation,LeftArm)
  1007. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  1008. rightlocation = Instance.new("Part",RightArm)
  1009. rightlocation.Size = Vector3.new(1,1,1)
  1010. rightlocation.Transparency = 1
  1011. rightlocationweld = weldBetween(rightlocation,RightArm)
  1012. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  1013.  
  1014. RemoteEvent.OnServerEvent:Connect(function(plr,k)
  1015. k=k:lower()
  1016. if k=='m' then
  1017. immortality()
  1018. for i,v in pairs(Player.Character:GetDescendants()) do
  1019. if v:IsA("BodyVelocity") then
  1020. v:Remove()
  1021. end
  1022. end
  1023. elseif k=='g' then
  1024. for i = 1, 30 do
  1025. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-1,.5,0)*CFrame.Angles(math.rad(50),math.rad(-90),math.rad(60)),.2)
  1026. swait()
  1027. end
  1028. elseif k=='z' then
  1029. if debounce then return end
  1030. if power then
  1031. debounce = true
  1032. power = false
  1033. coroutine.wrap(function()
  1034. repeat if power then break end swait() surgesound.Volume = surgesound.Volume - .1 until surgesound.Volume < .01
  1035. surgesound.Volume = 0
  1036. end)()
  1037. debounce = false
  1038. else
  1039. debounce = true
  1040. power = true
  1041. speed = false
  1042. coroutine.wrap(function()
  1043. repeat if not power then break end swait() surgesound.Volume = surgesound.Volume + .1 until surgesound.Volume > 1.5
  1044. end)()
  1045. coroutine.wrap(function()
  1046. while power do
  1047. for i,v in pairs(t2t) do
  1048. if power then
  1049. if v:IsA("Part") then
  1050. coroutine.wrap(function()
  1051. colortween(v,.25,BrickColor.new("Crimson").Color)
  1052. wait(.25)
  1053. colortween(v,.25,BrickColor.new("Really black").Color)
  1054. wait(.25)
  1055. end)()
  1056. swait()
  1057. end
  1058. end
  1059. end
  1060. swait()
  1061. end
  1062. end)()
  1063. coroutine.wrap(function()
  1064. while power do
  1065. for i,v in pairs(t1t) do
  1066. if power then
  1067. if v:IsA("Part") then
  1068. coroutine.wrap(function()
  1069. colortween(v,.25,BrickColor.new("Crimson").Color)
  1070. wait(.25)
  1071. colortween(v,.25,BrickColor.new("Really black").Color)
  1072. wait(.25)
  1073. end)()
  1074. swait()
  1075. end
  1076. end
  1077. end
  1078. swait()
  1079. end
  1080. end)()
  1081. attacking = false
  1082. debounce = false
  1083. end
  1084. elseif k=='x' then
  1085. if debounce then return end
  1086. if speed then
  1087. debounce = true
  1088. speed = false
  1089. coroutine.wrap(function()
  1090. repeat if speed then break end swait() surgesound.Volume = surgesound.Volume - .1 until surgesound.Volume < .01
  1091. surgesound.Volume = 0
  1092. end)()
  1093. debounce = false
  1094. else
  1095. debounce = true
  1096. speed = true
  1097. power = false
  1098. coroutine.wrap(function()
  1099. repeat if not speed then break end swait() surgesound.Volume = surgesound.Volume + .1 until surgesound.Volume > 1.5
  1100. end)()
  1101. coroutine.wrap(function()
  1102. while speed do
  1103. for i,v in pairs(t2t) do
  1104. if speed then
  1105. if v:IsA("Part") then
  1106. coroutine.wrap(function()
  1107. colortween(v,.25,BrickColor.new("Cyan").Color)
  1108. wait(.25)
  1109. colortween(v,.25,BrickColor.new("Really black").Color)
  1110. wait(.25)
  1111. end)()
  1112. swait()
  1113. end
  1114. end
  1115. end
  1116. swait()
  1117. end
  1118. end)()
  1119. coroutine.wrap(function()
  1120. while speed do
  1121. for i,v in pairs(t1t) do
  1122. if speed then
  1123. if v:IsA("Part") then
  1124. coroutine.wrap(function()
  1125. colortween(v,.25,BrickColor.new("Cyan").Color)
  1126. wait(.25)
  1127. colortween(v,.25,BrickColor.new("Really black").Color)
  1128. wait(.25)
  1129. end)()
  1130. swait()
  1131. end
  1132. end
  1133. end
  1134. swait()
  1135. end
  1136. end)()
  1137. attacking = false
  1138. debounce = false
  1139. end
  1140. elseif k=='y' then
  1141. if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1142. local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
  1143. if enemyhum.Health < 1 then return end
  1144. local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  1145. if debounce then return end
  1146. debounce = true
  1147. attacking = true
  1148. metalsound.Volume = 0
  1149. local hitboxr = Instance.new("Part",Torso)
  1150. hitboxr.Size = Vector3.new(1,1,1)
  1151. hitboxr.CanCollide = false
  1152. hitboxr.Anchored = false
  1153. hitboxr.Transparency = 1
  1154. hitboxweld = weldBetween(hitboxr,LeftLeg)
  1155. hitboxweld.C0 = CFrame.new(0,2.5,0)
  1156. local g1 = Instance.new("BodyGyro", nil)
  1157. g1.CFrame = Root.CFrame
  1158. g1.Parent = Root
  1159. g1.D = 175
  1160. g1.P = 20000
  1161. g1.MaxTorque = Vector3.new(0,90000,0)
  1162. for i = 1, 7 do
  1163. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.25)
  1164. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
  1165. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  1166. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  1167. swait()
  1168. end
  1169. local touchedtrue = false
  1170. for i = 1, 30 do
  1171. if touchedtrue then break end
  1172. Hit = damagealll(6,hitboxr.Position)
  1173. for _,v in pairs(Hit) do
  1174. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1175. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1176. touchedtrue = true
  1177. takeDamage(slachtoffer,math.random(9,12))
  1178. SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
  1179. torloc = Instance.new("Part",Torso)
  1180. torloc.Size = Vector3.new(1,1,1)
  1181. torloc.Anchored = true
  1182. torloc.Transparency = 1
  1183. torloc.CanCollide = false
  1184. torloc.CFrame = Torso.CFrame * CFrame.new(0,50,-60)
  1185. coroutine.wrap(function()
  1186. for i = 1, 15 do
  1187. ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(torloc.Position),.2)
  1188. swait()
  1189. end
  1190. ETorsoweld = weldBetween(ETorso,torloc)
  1191. end)()
  1192. end
  1193. end
  1194. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0)),.4)
  1195. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  1196. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  1197. swait()
  1198. end
  1199. removeuseless:AddItem(g1,.001)
  1200. local be = .1
  1201. for i = 1, 30 do
  1202. be = be - .0025
  1203. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)),be)
  1204. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  1205. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  1206. swait()
  1207. end
  1208. for i = 1, 20 do
  1209. be = be + .005
  1210. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(200), math.rad(0), math.rad(0)),be)
  1211. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0)), 0.4)
  1212. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5)), 0.4)
  1213. swait()
  1214. end
  1215. ws = 0
  1216. for i = 1, 30 do
  1217. be = be + .005
  1218. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 1.6 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), be)
  1219. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), be)
  1220. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), be)
  1221. swait()
  1222. end
  1223. if touchedtrue then
  1224. SOUND(Torso,1412100204,10,false,math.random(9,11)/10,10)
  1225. SOUND(Torso,3254129745,8,false,1,6)
  1226. local lp = Instance.new("Part",Torso)
  1227. lp.Size = Vector3.new(1,1,1)
  1228. lp.Anchored = true
  1229. lp.Transparency = 1
  1230. lp.CanCollide = false
  1231. lp.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1232. A = Instance.new("Attachment", lp)
  1233. A.Position = Vector3.new(.2,.2,0)
  1234. A.Name = "A"
  1235. B = Instance.new("Attachment", lp)
  1236. B.Position = Vector3.new(-.2,-.2,0)
  1237. B.Name = "B"
  1238. tr1 = Instance.new("Trail", lp)
  1239. tr1.Attachment0 = A
  1240. tr1.Attachment1 = B
  1241. tr1.Enabled = true
  1242. tr1.Lifetime = 2
  1243. tr1.TextureMode = "Static"
  1244. tr1.LightInfluence = 0
  1245. tr1.Color = ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color)
  1246. tr1.Transparency = NumberSequence.new(1, 1)
  1247. for i = 1, 60 do
  1248. trailtrans = trailtrans - .01
  1249. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1250. local lp2 = Instance.new("Part",Torso)
  1251. lp2.Size = Vector3.new(1,1,1)
  1252. lp2.Anchored = true
  1253. lp2.Transparency = 1
  1254. lp2.CanCollide = false
  1255. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1256. local zamu = Instance.new("Part",Torso)
  1257. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1258. zamu.Anchored = true
  1259. zamu.CanCollide = false
  1260. zamu.Transparency = trailtrans
  1261. zamu.BrickColor = BrickColor.new("White")
  1262. zamu.Material = "Neon"
  1263. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1264. coroutine.wrap(function()
  1265. local y1 = math.random(-180,180)
  1266. local y2 = math.random(-180,180)
  1267. local y3 = math.random(-180,180)
  1268. for i = 1, 20 do
  1269. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1270. zamu.Transparency = zamu.Transparency + .05
  1271. swait()
  1272. end
  1273. zamu:Remove()
  1274. lp2:Remove()
  1275. end)()
  1276. lp.CFrame = lp2.CFrame
  1277. mow = mow + .005
  1278. change = change + .0075
  1279. swait()
  1280. end
  1281. lolweld = weldBetween(Torso,torloc)
  1282. lolweld:Remove()
  1283. trailtrans = trailtrans - .01
  1284. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1285. local lp2 = Instance.new("Part",Torso)
  1286. lp2.Size = Vector3.new(1,1,1)
  1287. lp2.Anchored = true
  1288. lp2.Transparency = 1
  1289. lp2.CanCollide = false
  1290. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1291. local zamu = Instance.new("Part",Torso)
  1292. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1293. zamu.Anchored = true
  1294. zamu.CanCollide = false
  1295. zamu.Transparency = trailtrans
  1296. zamu.BrickColor = BrickColor.new("White")
  1297. zamu.Material = "Neon"
  1298. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1299. coroutine.wrap(function()
  1300. local y1 = math.random(-180,180)
  1301. local y2 = math.random(-180,180)
  1302. local y3 = math.random(-180,180)
  1303. for i = 1, 20 do
  1304. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1305. zamu.Transparency = zamu.Transparency + .05
  1306. swait()
  1307. end
  1308. zamu:Remove()
  1309. lp2:Remove()
  1310. end)()
  1311. lp.CFrame = lp2.CFrame
  1312. mow = mow + .005
  1313. change = change + .0075
  1314. coroutine.wrap(function()
  1315. for i = 1, 5 do
  1316. trailtrans = trailtrans - .01
  1317. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1318. local lp2 = Instance.new("Part",Torso)
  1319. lp2.Size = Vector3.new(1,1,1)
  1320. lp2.Anchored = true
  1321. lp2.Transparency = 1
  1322. lp2.CanCollide = false
  1323. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1324. local zamu = Instance.new("Part",Torso)
  1325. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1326. zamu.Anchored = true
  1327. zamu.CanCollide = false
  1328. zamu.Transparency = trailtrans
  1329. zamu.BrickColor = BrickColor.new("White")
  1330. zamu.Material = "Neon"
  1331. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1332. coroutine.wrap(function()
  1333. local y1 = math.random(-180,180)
  1334. local y2 = math.random(-180,180)
  1335. local y3 = math.random(-180,180)
  1336. for i = 1, 20 do
  1337. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1338. zamu.Transparency = zamu.Transparency + .05
  1339. swait()
  1340. end
  1341. zamu:Remove()
  1342. lp2:Remove()
  1343. end)()
  1344. lp.CFrame = lp2.CFrame
  1345. mow = mow + .005
  1346. change = change + .0075
  1347. swait()
  1348. end
  1349. end)()
  1350. rightrotweld.C0 = CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0)
  1351. leftrotweld.C0 = CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0)
  1352. ROOTLERP.C0 = CFrame.new(.1, .3, -1) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1353. RIGHTLEGLERP.C0 = CFrame.new(-.5, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(3))
  1354. LEFTLEGLERP.C0 = CFrame.new(0.5, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(-3))
  1355. lolweld = weldBetween(Root,torloc)
  1356. lolweld.C0 = CFrame.new(0,0,-5)
  1357. torloc2 = Instance.new("Part",Torso)
  1358. torloc2.Size = Vector3.new(1,1,1)
  1359. torloc2.Anchored = true
  1360. torloc2.Transparency = 1
  1361. torloc2.CanCollide = false
  1362. torloc2.CFrame = Root.CFrame * CFrame.new(0,0,-120)
  1363. ETorsoweld:Remove()
  1364. Torso.Anchored = false
  1365. Hit = damagealll(10,Root.Position)
  1366. for _,v in pairs(Hit) do
  1367. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
  1368. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1369. takeDamage(slachtoffer,math.random(12,19))
  1370. SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
  1371. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1372. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1373. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1374. vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*235
  1375. removeuseless:AddItem(vel,.1)
  1376. end
  1377. end
  1378. coroutine.wrap(function()
  1379. for i = 1, 12 do
  1380. ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(torloc2.Position),.2)
  1381. swait()
  1382. end
  1383. ETorsoweld2 = weldBetween(ETorso,torloc2)
  1384. end)()
  1385. for i = 1, 40 do
  1386. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.1, 2, -1) * CFrame.Angles(math.rad(160), math.rad(90), math.rad(0)),.05)
  1387. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10)),.025)
  1388. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(10)),.025)
  1389. swait()
  1390. end
  1391. SOUND(Torso,3254129745,8,false,1,6)
  1392. for i = 1, 40 do
  1393. trailtrans = trailtrans - .01
  1394. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1395. local lp2 = Instance.new("Part",Torso)
  1396. lp2.Size = Vector3.new(1,1,1)
  1397. lp2.Anchored = true
  1398. lp2.Transparency = 1
  1399. lp2.CanCollide = false
  1400. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1401. local zamu = Instance.new("Part",Torso)
  1402. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1403. zamu.Anchored = true
  1404. zamu.CanCollide = false
  1405. zamu.Transparency = trailtrans
  1406. zamu.BrickColor = BrickColor.new("White")
  1407. zamu.Material = "Neon"
  1408. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1409. coroutine.wrap(function()
  1410. local y1 = math.random(-180,180)
  1411. local y2 = math.random(-180,180)
  1412. local y3 = math.random(-180,180)
  1413. for i = 1, 20 do
  1414. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1415. zamu.Transparency = zamu.Transparency + .05
  1416. swait()
  1417. end
  1418. zamu:Remove()
  1419. lp2:Remove()
  1420. end)()
  1421. lp.CFrame = lp2.CFrame
  1422. mow = mow + .005
  1423. change = change + .0075
  1424. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(.1, 2, -1) * CFrame.Angles(math.rad(160), math.rad(90), math.rad(0)),.05)
  1425. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(3), math.rad(-10)),.05)
  1426. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 1.9, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(10)),.05)
  1427. swait()
  1428. end
  1429. coroutine.wrap(function()
  1430. for i = 1, 5 do
  1431. trailtrans = trailtrans - .01
  1432. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1433. local lp2 = Instance.new("Part",Torso)
  1434. lp2.Size = Vector3.new(1,1,1)
  1435. lp2.Anchored = true
  1436. lp2.Transparency = 1
  1437. lp2.CanCollide = false
  1438. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1439. local zamu = Instance.new("Part",Torso)
  1440. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1441. zamu.Anchored = true
  1442. zamu.CanCollide = false
  1443. zamu.Transparency = trailtrans
  1444. zamu.BrickColor = BrickColor.new("White")
  1445. zamu.Material = "Neon"
  1446. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1447. coroutine.wrap(function()
  1448. local y1 = math.random(-180,180)
  1449. local y2 = math.random(-180,180)
  1450. local y3 = math.random(-180,180)
  1451. for i = 1, 20 do
  1452. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1453. zamu.Transparency = zamu.Transparency + .05
  1454. swait()
  1455. end
  1456. zamu:Remove()
  1457. lp2:Remove()
  1458. end)()
  1459. lp.CFrame = lp2.CFrame
  1460. mow = mow + .005
  1461. change = change + .0075
  1462. swait()
  1463. end
  1464. end)()
  1465. Torso.Anchored = false
  1466. lolweld:Remove()
  1467. torloc:Remove()
  1468. SOUND(Torso,518230185,10,false,math.random(9,11)/10,8)
  1469. weldos2 = weldBetween(Torso,torloc2)
  1470. weldos2.C0 = CFrame.new(0,0,3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(50),math.rad(50))--fock
  1471. ROOTLERP.C0 = CFrame.new(0, .5, 0) * CFrame.Angles(math.rad(22), math.rad(0), math.rad(0))
  1472. RIGHTLEGLERP.C0 = CFrame.new(-.39, 2, .6) * CFrame.Angles(math.rad(37), math.rad(0), math.rad(0))
  1473. LEFTLEGLERP.C0 = CFrame.new(0.5, 1.1, -1.1) * CFrame.Angles(math.rad(-87), math.rad(3), math.rad(5))
  1474. local bok = 0
  1475. for i = 1, 50 do
  1476. bok = bok + .005
  1477. trailtrans = trailtrans - .01
  1478. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  1479. local lp2 = Instance.new("Part",Torso)
  1480. lp2.Size = Vector3.new(1,1,1)
  1481. lp2.Anchored = true
  1482. lp2.Transparency = 1
  1483. lp2.CanCollide = false
  1484. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  1485. local zamu = Instance.new("Part",Torso)
  1486. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  1487. zamu.Anchored = true
  1488. zamu.CanCollide = false
  1489. zamu.Transparency = trailtrans
  1490. zamu.BrickColor = BrickColor.new("White")
  1491. zamu.Material = "Neon"
  1492. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1493. coroutine.wrap(function()
  1494. local y1 = math.random(-180,180)
  1495. local y2 = math.random(-180,180)
  1496. local y3 = math.random(-180,180)
  1497. for i = 1, 20 do
  1498. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  1499. zamu.Transparency = zamu.Transparency + .05
  1500. swait()
  1501. end
  1502. zamu:Remove()
  1503. lp2:Remove()
  1504. end)()
  1505. lp.CFrame = lp2.CFrame
  1506. mow = mow + .005
  1507. change = change + .0075
  1508. weldos2.C0 = weldos2.C0:lerp(CFrame.new(0,0,3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(-80),math.rad(50)),bok)--fock
  1509. swait()
  1510. end
  1511. ETorsoweld2:Remove()
  1512. Hit = damagealll(10,Root.Position)
  1513. for _,v in pairs(Hit) do
  1514. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
  1515. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1516. takeDamage(slachtoffer,math.random(27,38))
  1517. SOUND(LeftLeg,2053414752,10,false,math.random(9,11)/10,5)
  1518. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1519. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1520. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1521. vel.velocity = CFrame.new(LeftLeg.Position,torso.Position).lookVector*235
  1522. removeuseless:AddItem(vel,.1)
  1523. end
  1524. end
  1525. for i = 1, 40 do
  1526. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1527. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1528. weldos2.C0 = weldos2.C0:lerp(CFrame.new(.5,0,-3) * CFrame.Angles(math.rad(math.rad(100)),math.rad(170),math.rad(50)),.2)--fock
  1529. swait()
  1530. end
  1531. weldos2:Remove()
  1532. local hitfloor = false
  1533. local hitboxl = Instance.new("Part",Torso)
  1534. hitboxl.Size = Vector3.new(1,1,1)
  1535. hitboxl.CanCollide = false
  1536. hitboxl.Anchored = false
  1537. hitboxl.Transparency = 1
  1538. hitboxweld2 = weldBetween(hitboxl,LeftLeg)
  1539. hitboxweld2.C0 = CFrame.new(0,2.5,0)
  1540. local malz = false
  1541. hitboxl.Touched:connect(function(getpart)
  1542. if getpart:IsA("Part") and getpart.Parent ~= Character and getpart.Parent.Parent ~= Character then
  1543. if malz then return end
  1544. malz = true
  1545. hitfloor = true
  1546. end
  1547. end)
  1548. while not hitfloor do
  1549. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  1550. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
  1551. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  1552. swait()
  1553. end
  1554. for i = 1, 20 do
  1555. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1556. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1557. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1558. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  1559. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1560. swait()
  1561. end
  1562. torloc2:Remove()
  1563. hitboxr:Remove()
  1564. hitboxl:Remove()
  1565. end
  1566. attacking = false
  1567. debounce = false
  1568. ws = 45
  1569. end
  1570. elseif k=='t' then
  1571. if debounce then return end
  1572. debounce = true
  1573. attacking = true
  1574. wad = true
  1575. metalsound.Volume = 0
  1576. local mrf = Instance.new("Sound",Torso)
  1577. mrf.SoundId = "rbxassetid://2680700408"
  1578. mrf.Volume = 8
  1579. mrf.Pitch = math.random(9,11)/10
  1580. mrf:Play()
  1581. for i = 1, 22 do
  1582. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
  1583. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
  1584. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1585. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1586. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  1587. swait()
  1588. end
  1589. ws = 0
  1590. coroutine.wrap(function()
  1591. for i = 1, 30 do
  1592. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1593. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1594. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1595. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  1596. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1597. swait()
  1598. end
  1599. end)()
  1600. local n = Instance.new("Part",Torso)
  1601. n.Size = Vector3.new(1,1,1)
  1602. n.Anchored = true
  1603. n.CanCollide = false
  1604. n.Transparency = 1
  1605. n.CFrame = Root.CFrame * CFrame.new(0,-4,0)
  1606. local bob = Instance.new("Part",Torso)
  1607. bob.Size = Vector3.new(2,2,2)
  1608. bob.Shape = "Ball"
  1609. bob.Anchored = true
  1610. bob.CanCollide = false
  1611. bob.BrickColor = BrickColor.new("Crimson")
  1612. bob.Material = "Neon"
  1613. bob.Transparency = 0
  1614. bob.CFrame = Root.CFrame
  1615. coroutine.wrap(function()
  1616. for i = 1, 20 do
  1617. bob.Size = bob.Size + Vector3.new(12,12,12)
  1618. bob.Transparency = bob.Transparency + .05
  1619. swait()
  1620. end
  1621. bob:Remove()
  1622. end)()
  1623. coroutine.wrap(function()
  1624. local shockwave = Instance.new("Part", Torso)
  1625. shockwave.Size = Vector3.new(1,1,1)
  1626. shockwave.CanCollide = false
  1627. shockwave.Anchored = true
  1628. shockwave.Transparency = 0
  1629. shockwave.BrickColor = BrickColor.new("White")
  1630. shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
  1631. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1632. shockwavemesh.Scale = Vector3.new(4,.7,4)
  1633. shockwavemesh.MeshId = "rbxassetid://20329976"
  1634. local shockwave2 = Instance.new("Part", Torso)
  1635. shockwave2.Size = Vector3.new(1,1,1)
  1636. shockwave2.CanCollide = false
  1637. shockwave2.Anchored = true
  1638. shockwave2.Transparency = 0
  1639. shockwave2.BrickColor = BrickColor.new("White")
  1640. shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
  1641. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1642. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  1643. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1644. local shockwave3 = Instance.new("Part", Torso)
  1645. shockwave3.Size = Vector3.new(1,1,1)
  1646. shockwave3.CanCollide = false
  1647. shockwave3.Anchored = true
  1648. shockwave3.Transparency = 0
  1649. shockwave3.BrickColor = BrickColor.new("White")
  1650. shockwave3.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
  1651. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  1652. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  1653. shockwavemesh3.MeshId = "rbxassetid://20329976"
  1654. local shockwave4 = Instance.new("Part", Torso)
  1655. shockwave4.Size = Vector3.new(1,1,1)
  1656. shockwave4.CanCollide = false
  1657. shockwave4.Anchored = true
  1658. shockwave2.Transparency = 0
  1659. shockwave4.BrickColor = BrickColor.new("White")
  1660. shockwave4.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
  1661. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  1662. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  1663. shockwavemesh4.MeshId = "rbxassetid://20329976"
  1664. for i = 1, 50 do
  1665. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
  1666. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
  1667. shockwave.Transparency = shockwave.Transparency + 0.03
  1668. shockwave2.Transparency = shockwave2.Transparency + 0.03
  1669. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,5,8)
  1670. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,5,8)
  1671. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+9),0)
  1672. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-9),0)
  1673. shockwave3.Transparency = shockwave3.Transparency + 0.05
  1674. shockwave4.Transparency = shockwave4.Transparency + 0.05
  1675. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,3,10)
  1676. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,3,10)
  1677. swait()
  1678. end
  1679. shockwave:Remove()
  1680. shockwave2:Remove()
  1681. shockwave3:Remove()
  1682. shockwave4:Remove()
  1683. end)()
  1684. local bom = Instance.new("Sound",Torso)
  1685. bom.SoundId = "rbxassetid://169445602"
  1686. bom.Volume = 10
  1687. bom.Pitch = math.random(9,11)/10
  1688. bom:Play()
  1689. removeuseless:AddItem(bom,4)
  1690. for i = 1, 20 do
  1691. Hit = damagealll(68,Root.Position)
  1692. for _,v in pairs(Hit) do
  1693. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1694. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1695. takeDamage(slachtoffer,math.random(2,8))
  1696. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1697. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1698. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1699. vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*185
  1700. removeuseless:AddItem(vel,.1)
  1701. end
  1702. end
  1703. local g = math.random(1,2)
  1704. local v = 0
  1705. local v2 = 0
  1706. local magn = (Root.Position - n.Position).magnitude
  1707. if g == 1 then
  1708. v = -8
  1709. v2 = 8
  1710. else
  1711. v = 8
  1712. v2 = -8
  1713. end
  1714. local t1 = math.random(-180,180)
  1715. local t2 = math.random(-180,180)
  1716. local t3 = math.random(-180,180)
  1717. if g == 1 then
  1718. coroutine.wrap(function()
  1719. local shockwave = Instance.new("Part", Torso)
  1720. shockwave.Size = Vector3.new(1,1,1)
  1721. shockwave.CanCollide = false
  1722. shockwave.Anchored = true
  1723. shockwave.Transparency = .2
  1724. shockwave.BrickColor = BrickColor.new("Crimson")
  1725. shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.75,0)
  1726. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1727. shockwavemesh.Scale = Vector3.new(4,.7,4)
  1728. shockwavemesh.MeshId = "rbxassetid://20329976"
  1729. local shockwave2 = Instance.new("Part", Torso)
  1730. shockwave2.Size = Vector3.new(1,1,1)
  1731. shockwave2.CanCollide = false
  1732. shockwave2.Anchored = true
  1733. shockwave2.Transparency = .2
  1734. shockwave2.BrickColor = BrickColor.new("Really black")
  1735. shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-1.6,0)
  1736. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1737. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  1738. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1739. for i = 1, 50 do
  1740. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(11,21)),0)
  1741. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(9,16)),0)
  1742. shockwave.Transparency = shockwave.Transparency + 0.03
  1743. shockwave2.Transparency = shockwave2.Transparency + 0.03
  1744. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(4,.7,4)
  1745. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,.7,4)
  1746. swait()
  1747. end
  1748. shockwave:Remove()
  1749. shockwave2:Remove()
  1750. end)()
  1751. local stek = Instance.new("Part",Torso)
  1752. stek.Size = Vector3.new(math.random(10,14),1,1)
  1753. stek.BrickColor = BrickColor.new("Crimson")
  1754. stek.Material = "Neon"
  1755. stek.Anchored = true
  1756. stek.CanCollide = false
  1757. stek.CFrame = Root.CFrame
  1758. local stek2 = Instance.new("Part",Torso)
  1759. stek2.Size = Vector3.new(1,1,1)
  1760. stek2.BrickColor = BrickColor.new("Crimson")
  1761. stek2.Material = "Neon"
  1762. stek2.Anchored = true
  1763. stek2.Transparency = 1
  1764. stek2.CanCollide = false
  1765. stek2.CFrame = Root.CFrame * CFrame.new(math.random(-60,60),math.random(-60,60),math.random(-60,60))
  1766. coroutine.wrap(function()
  1767. for i = 1, 20 do
  1768. stek.CFrame = stek.CFrame:lerp(CFrame.new(stek2.Position) * CFrame.Angles(math.rad(t1),math.rad(t2),math.rad(t3)),.25)
  1769. stek.Transparency = stek.Transparency + .05
  1770. swait()
  1771. end
  1772. stek:Remove()
  1773. stek2:Remove()
  1774. end)()
  1775. local bob = Instance.new("Part",Torso)
  1776. bob.Size = Vector3.new(2,2,2)
  1777. bob.Shape = "Ball"
  1778. bob.Anchored = true
  1779. bob.CanCollide = false
  1780. bob.BrickColor = BrickColor.new("Crimson")
  1781. bob.Material = "Neon"
  1782. bob.Transparency = .7
  1783. bob.CFrame = Root.CFrame
  1784. coroutine.wrap(function()
  1785. for i = 1, 40 do
  1786. bob.Size = bob.Size + Vector3.new(6,6,6)
  1787. bob.Transparency = bob.Transparency + .025
  1788. swait()
  1789. end
  1790. bob:Remove()
  1791. end)()
  1792. end
  1793. local ba = Instance.new("Part",Torso)
  1794. ba.Material = "Glass"
  1795. ba.Transparency = 1
  1796. ba.BrickColor = BrickColor.new("Maroon")
  1797. ba.CanCollide = false
  1798. ba.Anchored = true
  1799. ba.CFrame = n.CFrame * CFrame.new(math.random(-65,65),0,math.random(-65,65)) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15)))
  1800. local magn2 = (ba.Position - Root.Position).magnitude
  1801. ba.Size = Vector3.new(magn2/10,magn2,magn2/10)
  1802. ba.CFrame = ba.CFrame * CFrame.new(0,-100,0)
  1803. ba.Transparency = .5
  1804. local mx = Instance.new("Sound",ba)
  1805. mx.SoundId = "rbxassetid://3245486889"
  1806. mx.Volume = 3
  1807. mx.Pitch = math.random(10,16)/10
  1808. mx:Play()
  1809. coroutine.wrap(function()
  1810. for i = 1, 30 do
  1811. ba.CFrame = ba.CFrame:lerp(ba.CFrame * CFrame.new(0,0+magn2/12,0),2)
  1812. swait()
  1813. end
  1814. local mlo = Instance.new("Part",Torso)
  1815. mlo.Size = Vector3.new(1,1,1)
  1816. mlo.Anchored = true
  1817. mlo.Transparency = 1
  1818. mlo.CanCollide = false
  1819. mlo.CFrame = ba.CFrame * CFrame.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1820. local r1 = math.random(-180,180)
  1821. local r2 = math.random(-180,180)
  1822. local r3 = math.random(-180,180)
  1823. for i = 1, 40 do
  1824. ba.Size = ba.Size + Vector3.new(0,5,0)
  1825. ba.Size = ba.Size - Vector3.new(.2,0,.2)
  1826. ba.CFrame = ba.CFrame:lerp(CFrame.new(mlo.Position) * CFrame.Angles(math.rad(r1),math.rad(r2),math.rad(3)),.2)
  1827. ba.Transparency = ba.Transparency + .025
  1828. swait()
  1829. end
  1830. ba:Remove()
  1831. mlo:Remove()
  1832. end)()
  1833. swait(.5)
  1834. end
  1835. for i = 1, 20 do
  1836. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1837. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  1838. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1839. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  1840. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  1841. swait()
  1842. end
  1843. ws = 45
  1844. debounce = false
  1845. attacking = false
  1846. elseif k=='e' then
  1847. if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1848. local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
  1849. if enemyhum.Health < 1 then return end
  1850. local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  1851. if debounce then return end
  1852. debounce = true
  1853. attacking = true
  1854. metalsound.Volume = 0
  1855. local g1 = Instance.new("BodyGyro", nil)
  1856. g1.CFrame = Root.CFrame
  1857. g1.Parent = Root
  1858. g1.D = 175
  1859. g1.P = 20000
  1860. g1.MaxTorque = Vector3.new(0,90000,0)
  1861. for i = 1, 15 do
  1862. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.15)
  1863. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,.9,1) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.25)
  1864. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(25),math.rad(0)), 0.25)
  1865. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-125),math.rad(-25),math.rad(0)), 0.25)
  1866. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1., .8) * CFrame.Angles(math.rad(55), math.rad(0), math.rad(-6)), 0.25)
  1867. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
  1868. swait()
  1869. end
  1870. local hb = Instance.new("Part",Torso)
  1871. hb.Size = Vector3.new(1,1,1)
  1872. hb.Anchored = true
  1873. hb.Transparency = 1
  1874. hb.CanCollide = false
  1875. hb.CFrame = Root.CFrame * CFrame.new(0,0,-60)
  1876. local hitboxr = Instance.new("Part",Torso)
  1877. hitboxr.Size = Vector3.new(1,1,1)
  1878. hitboxr.CanCollide = false
  1879. hitboxr.Anchored = false
  1880. hitboxr.Transparency = 1
  1881. hitboxweld = weldBetween(hitboxr,RightLeg)
  1882. hitboxweld.C0 = CFrame.new(0,2.5,0)
  1883. ws = 0
  1884. local trytohit = false
  1885. for i = 1, 15 do
  1886. if not trytohit then
  1887. Hit = damagealll(3,hitboxr.Position)
  1888. for _,v in pairs(Hit) do
  1889. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
  1890. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1891. takeDamage(slachtoffer,math.random(16,22))
  1892. trytohit = true
  1893. SOUND(LeftLeg,3041191430,10,false,math.random(9,11)/10,5)
  1894. if enemyhum.Health > 1 then
  1895. local bom = Instance.new("Part",Torso)
  1896. bom.Size = Vector3.new(6,60,6)
  1897. bom.Anchored = true
  1898. bom.CanCollide = false
  1899. bom.BrickColor = BrickColor.new("Maroon")
  1900. bom.Material = "Glass"
  1901. bom.Transparency = .5
  1902. bom.CFrame = hb.CFrame * CFrame.new(0,-20,0) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5)))
  1903. coroutine.wrap(function()
  1904. repeat wait() until not wad
  1905. wad = false
  1906. wait(10)
  1907. for i = 1, 40 do
  1908. bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),.05)
  1909. swait()
  1910. end
  1911. for i = 1, 20 do
  1912. bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.new(0,-50,0),.1)
  1913. bom.Transparency = bom.Transparency + .05
  1914. swait()
  1915. end
  1916. bom:Remove()
  1917. end)()
  1918. coroutine.wrap(function()
  1919. local shockwave = Instance.new("Part", Torso)
  1920. shockwave.Size = Vector3.new(1,1,1)
  1921. shockwave.CanCollide = false
  1922. shockwave.Anchored = true
  1923. shockwave.Transparency = 0
  1924. shockwave.BrickColor = BrickColor.new("Crimson")
  1925. shockwave.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.75,0)
  1926. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1927. shockwavemesh.Scale = Vector3.new(4,.7,4)
  1928. shockwavemesh.MeshId = "rbxassetid://20329976"
  1929. local shockwave2 = Instance.new("Part", Torso)
  1930. shockwave2.Size = Vector3.new(1,1,1)
  1931. shockwave2.CanCollide = false
  1932. shockwave2.Anchored = true
  1933. shockwave2.Transparency = 0
  1934. shockwave2.BrickColor = BrickColor.new("Crimson")
  1935. shockwave2.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.6,0)
  1936. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1937. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  1938. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1939. local shockwave3 = Instance.new("Part", Torso)
  1940. shockwave3.Size = Vector3.new(1,1,1)
  1941. shockwave3.CanCollide = false
  1942. shockwave3.Anchored = true
  1943. shockwave3.Transparency = 0
  1944. shockwave3.BrickColor = BrickColor.new("Crimson")
  1945. shockwave3.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.75,0)
  1946. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  1947. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  1948. shockwavemesh3.MeshId = "rbxassetid://20329976"
  1949. local shockwave4 = Instance.new("Part", Torso)
  1950. shockwave4.Size = Vector3.new(1,1,1)
  1951. shockwave4.CanCollide = false
  1952. shockwave4.Anchored = true
  1953. shockwave2.Transparency = 0
  1954. shockwave4.BrickColor = BrickColor.new("Crimson")
  1955. shockwave4.CFrame = CFrame.new(hb.Position) * CFrame.new(0,-1.6,0)
  1956. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  1957. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  1958. shockwavemesh4.MeshId = "rbxassetid://20329976"
  1959. for i = 1, 50 do
  1960. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+21),0)
  1961. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0)
  1962. shockwave.Transparency = shockwave.Transparency + 0.06
  1963. shockwave2.Transparency = shockwave2.Transparency + 0.06
  1964. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(4,1,4)
  1965. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(4,1,4)
  1966. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+6),0)
  1967. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-6),0)
  1968. shockwave3.Transparency = shockwave3.Transparency + 0.045
  1969. shockwave4.Transparency = shockwave4.Transparency + 0.045
  1970. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(2,3,2)
  1971. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(2,3,2)
  1972. swait()
  1973. end
  1974. shockwave:Remove()
  1975. shockwave2:Remove()
  1976. shockwave3:Remove()
  1977. shockwave4:Remove()
  1978. end)()
  1979. coroutine.wrap(function()
  1980. for i = 1, 12 do
  1981. bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),.1)
  1982. ETorso.CFrame = ETorso.CFrame:lerp(CFrame.new(hb.Position),.2)
  1983. swait()
  1984. end
  1985. coroutine.wrap(function()
  1986. for i = 1, 30 do
  1987. bom.CFrame = bom.CFrame:lerp(CFrame.new(hb.Position) * CFrame.Angles(math.rad(math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),.1)
  1988. swait()
  1989. end
  1990. end)()
  1991. ETorsoweld = weldBetween(ETorso,hb)
  1992. end)()
  1993. end
  1994. end
  1995. end
  1996. end
  1997. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.25)
  1998. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.25)
  1999. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.8, 1.7, -.1) * CFrame.Angles(math.rad(-0), math.rad(7), math.rad(72)), 0.25)
  2000. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .3, -.2) * CFrame.Angles(math.rad(12), math.rad(-0), math.rad(-12)), 0.25)
  2001. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, .7, .5) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.25)
  2002. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(72), math.rad(78), math.rad(0)), 0.3)
  2003. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.161, 2.1, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-18)), 0.25)
  2004. swait()
  2005. end
  2006. hitboxr:Remove()
  2007. removeuseless:AddItem(g1,.001)
  2008. local te = 0
  2009. for i = 1, 20 do
  2010. te = te + 18
  2011. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20 + te), math.rad(0), math.rad(0)), .25)
  2012. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.25)
  2013. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.25)
  2014. swait()
  2015. end
  2016. for i = 1, 20 do
  2017. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2018. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2019. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + 0 * math.sin(sine/12), 0.2 + 0 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 0 * math.sin(sine/12)), math.rad(0), math.rad(0)), 0.4)
  2020. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.8, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  2021. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + 0 * math.sin(sine/12), .5) * CFrame.Angles(math.rad(-9 + 0 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.4)
  2022. swait()
  2023. end
  2024. if trytohit and enemyhum.Health > 1 then
  2025. SOUND(Torso,2680700408,10,false,math.random(9,11)/10,10)
  2026. for i = 1, 25 do
  2027. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
  2028. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2029. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)),.2)
  2030. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2031. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
  2032. swait()
  2033. end
  2034. local mv = 0
  2035. local to = Instance.new("Part",Torso)
  2036. to.Size = Vector3.new(1,1,1)
  2037. to.Anchored = true
  2038. to.CanCollide = false
  2039. to.BrickColor = BrickColor.new("White")
  2040. to.CFrame = Root.CFrame
  2041. to.Transparency = 1
  2042. local tom = Instance.new("SpecialMesh",to)
  2043. tom.MeshId = "rbxassetid://168892432"
  2044. tom.Scale = Vector3.new(2.5,2.5,2.5)
  2045. coroutine.wrap(function()
  2046. for i = 1, 20 do
  2047. to.Transparency = to.Transparency - .015
  2048. swait()
  2049. end
  2050. end)()
  2051. local to2 = Instance.new("Part",Torso)
  2052. to2.Size = Vector3.new(1,1,1)
  2053. to2.Anchored = true
  2054. to2.CanCollide = false
  2055. to2.BrickColor = BrickColor.new("White")
  2056. to2.CFrame = Root.CFrame
  2057. to2.Transparency = 1
  2058. local tom2 = Instance.new("SpecialMesh",to2)
  2059. tom2.MeshId = "rbxassetid://168892432"
  2060. tom2.Scale = Vector3.new(1.5,1.5,1.5)
  2061. coroutine.wrap(function()
  2062. for i = 1, 20 do
  2063. to2.Transparency = to2.Transparency - .01
  2064. swait()
  2065. end
  2066. end)()
  2067. local to3 = Instance.new("Part",Torso)
  2068. to3.Size = Vector3.new(1,1,1)
  2069. to3.Anchored = true
  2070. to3.CanCollide = false
  2071. to3.BrickColor = BrickColor.new("White")
  2072. to3.CFrame = Root.CFrame
  2073. to3.Transparency = 1
  2074. local tom3 = Instance.new("SpecialMesh",to3)
  2075. tom3.MeshId = "rbxassetid://168892432"
  2076. tom3.Scale = Vector3.new(3.75,3.75,3.75)
  2077. coroutine.wrap(function()
  2078. for i = 1, 20 do
  2079. to3.Transparency = to3.Transparency - .008
  2080. swait()
  2081. end
  2082. end)()
  2083. for i = 1, 45 do
  2084. local mab = Instance.new("Part",Torso)
  2085. mab.Size = Vector3.new(math.random(3,4),.2,.2)
  2086. mab.BrickColor = BrickColor.new("Crimson")
  2087. mab.Material = "Neon"
  2088. mab.Transparency = 1
  2089. mab.Anchored = false
  2090. mab.CanCollide = false
  2091. mab.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2092. coroutine.wrap(function()
  2093. for i = 1, 10 do
  2094. mab.Transparency = mab.Transparency - .1
  2095. swait()
  2096. end
  2097. end)()
  2098. coroutine.wrap(function()
  2099. local bombom = false
  2100. for i = 1, 200 do
  2101. if bombom then break end
  2102. Hit = damagealll(5,mab.Position)
  2103. for _,v in pairs(Hit) do
  2104. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 and v:FindFirstChildOfClass("Humanoid") == enemyhum then
  2105. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2106. takeDamage(slachtoffer,1)
  2107. bombom = true
  2108. mab.Anchored = true
  2109. coroutine.wrap(function()
  2110. pcall(function()
  2111. local bam = Instance.new("Sound",slachtoffer.Parent.Head)
  2112. bam.SoundId = "rbxassetid://3245486889"
  2113. bam.Volume = 8
  2114. bam.Pitch = math.random(9,11)/10
  2115. bam:Play()
  2116. end)
  2117. for i = 1, 20 do
  2118. mab.Size = mab.Size + Vector3.new(1,0,0)
  2119. mab.Transparency = mab.Transparency + .05
  2120. swait()
  2121. end
  2122. if not bombom then
  2123. mab.Anchored = true
  2124. coroutine.wrap(function()
  2125. for i = 1, 20 do
  2126. mab.Size = mab.Size + Vector3.new(1,0,0)
  2127. mab.Transparency = mab.Transparency + .05
  2128. swait()
  2129. end
  2130. mab:Remove()
  2131. end)()
  2132. else
  2133. mab:Remove()
  2134. end
  2135. end)()
  2136. end
  2137. end
  2138. swait()
  2139. end
  2140. if not bombom then
  2141. mab:Remove()
  2142. end
  2143. end)()
  2144. local bov = Instance.new("RocketPropulsion",mab)
  2145. bov.MaxThrust = 4000
  2146. bov.MaxSpeed = 0
  2147. bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
  2148. bov.Target = ETorso
  2149. bov.TargetRadius = math.huge
  2150. bov:fire()
  2151. coroutine.wrap(function()
  2152. for i = 1, 50 do
  2153. bov.MaxSpeed = bov.MaxSpeed + 5
  2154. swait()
  2155. end
  2156. end)()
  2157. mv = mv + 30
  2158. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
  2159. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2160. to.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv),0)
  2161. to2.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(mv/1.5),0)
  2162. to3.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv/2),0)
  2163. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0+mv), math.rad(0)),.2)
  2164. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .6) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(6)), 0.25)
  2165. swait()
  2166. end
  2167. coroutine.wrap(function()
  2168. for i = 1, 20 do
  2169. to.Transparency = to.Transparency + .05
  2170. to2.Transparency = to2.Transparency + .05
  2171. to3.Transparency = to3.Transparency + .05
  2172. to.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv),0)
  2173. to2.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(mv/1.5),0)
  2174. to3.CFrame = Root.CFrame * CFrame.Angles(0,math.rad(-mv/2),0)
  2175. swait()
  2176. end
  2177. to:Remove()
  2178. to2:Remove()
  2179. to3:Remove()
  2180. end)()
  2181. end
  2182. removeuseless:AddItem(hb,3)
  2183. ws = 45
  2184. wad = false
  2185. debounce = false
  2186. attacking = false
  2187. end
  2188. elseif k=='p' then
  2189. if getMouseTarget() ~= nil then
  2190. if debounce then return end
  2191. debounce = true
  2192. attacking = true
  2193. metalsound.Volume = 0
  2194. ws = 0
  2195. local g1 = Instance.new("BodyGyro", nil)
  2196. g1.CFrame = Root.CFrame
  2197. g1.Parent = Root
  2198. g1.D = 175
  2199. g1.P = 20000
  2200. g1.MaxTorque = Vector3.new(0,90000,0)
  2201. for i = 1, 20 do
  2202. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
  2203. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2204. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2205. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2206. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0)),.2)
  2207. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2208. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2209. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2210. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2211. swait()
  2212. end
  2213. coroutine.wrap(function()
  2214. for i = 1, 30 do
  2215. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
  2216. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2217. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2218. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)),.2)
  2219. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2220. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2221. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2222. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2223. swait()
  2224. end
  2225. removeuseless:AddItem(g1,.001)
  2226. attacking = false
  2227. debounce = false
  2228. ws = 45
  2229. end)()
  2230. local p = Instance.new("Part",Torso)
  2231. p.Size = Vector3.new(1,1,1)
  2232. p.Anchored = true
  2233. p.CanCollide = false
  2234. p.CFrame = CFrame.new(getMouseHit())
  2235. p.BrickColor = getMouseTarget().BrickColor
  2236. p.Material = getMouseTarget().Material
  2237. p.Transparency = 1
  2238. local zpa = 0
  2239. SOUND(p,3302387879,10,false,math.random(9,11)/10,10)
  2240. coroutine.wrap(function()
  2241. for i = 1, 30 do
  2242. local mv = Instance.new("Part",Torso)
  2243. mv.Size = Vector3.new(1,1,1)
  2244. mv.Anchored = true
  2245. mv.CanCollide = false
  2246. mv.Transparency = 1
  2247. mv.CFrame = p.CFrame * CFrame.new(math.random(-30,30),35,math.random(-30,30))
  2248. local dragh = math.random(3,4)
  2249. local mv2 = Instance.new("Part",Torso)
  2250. mv2.Size = Vector3.new(dragh,dragh,dragh)
  2251. mv2.BrickColor = p.BrickColor
  2252. mv2.Material = p.Material
  2253. mv2.CanCollide = true
  2254. mv2.Anchored = false
  2255. mv2.CFrame = p.CFrame
  2256. coroutine.wrap(function()
  2257. velo(mv2,"l",mv.Position,325)
  2258. wait(.25)
  2259. mv2.l:Remove()
  2260. mv:Remove()
  2261. wait(10)
  2262. for i = 1, 40 do
  2263. mv2.Transparency = mv2.Transparency + .025
  2264. swait()
  2265. end
  2266. mv2:Remove()
  2267. end)()
  2268. end
  2269. end)()
  2270. for i = 1, 60 do
  2271. zpa = zpa + 5
  2272. p.CFrame = p.CFrame * CFrame.Angles(math.rad(0),math.rad(0+zpa),0)
  2273. local crater = Instance.new("Part",Torso)
  2274. crater.Size = Vector3.new(8,8,8)
  2275. crater.BrickColor = p.BrickColor
  2276. crater.Material = p.Material
  2277. crater.Anchored = true
  2278. crater.CanCollide = true
  2279. crater.CFrame = p.CFrame * CFrame.new(0,0,20) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2280. coroutine.wrap(function()
  2281. wait(10)
  2282. for i = 1, 40 do
  2283. crater.Transparency = crater.Transparency + .05
  2284. swait()
  2285. end
  2286. crater:Remove()
  2287. end)()
  2288. end
  2289. local bigbob = Instance.new("Part",Torso)
  2290. bigbob.Size = Vector3.new(16,16,16)
  2291. bigbob.Material = "Neon"
  2292. bigbob.BrickColor = BrickColor.new("Really black")
  2293. bigbob.Anchored = true
  2294. bigbob.CanCollide = false
  2295. bigbob.CFrame = p.CFrame * CFrame.new(0,-35,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2296. for i = 1, 20 do
  2297. bigbob.CFrame = bigbob.CFrame:lerp(p.CFrame * CFrame.new(0,35,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2298. swait()
  2299. end
  2300. SOUND(bigbob,3302456819,10,false,2,15)
  2301. colortween(bigbob,2,BrickColor.new("Crimson").Color)
  2302. local l = 0
  2303. local p = 0
  2304. local o = 0
  2305. for i = 1, 150 do
  2306. l = l + 2
  2307. p = p + 1
  2308. o = o + 3
  2309. bigbob.CFrame = bigbob.CFrame:lerp(CFrame.new(bigbob.Position) * CFrame.new(1 * math.sin(sine/16),1*math.sin(sine/19),1*math.sin(sine/17)) * CFrame.Angles(math.rad(l),math.rad(p),math.rad(o)),.2)
  2310. swait()
  2311. end
  2312. local m = Instance.new("Part",Torso)
  2313. m.Size = bigbob.Size
  2314. m.Anchored = true
  2315. m.CanCollide = false
  2316. m.BrickColor = bigbob.BrickColor
  2317. m.Material = bigbob.Material
  2318. m.CFrame = bigbob.CFrame
  2319. coroutine.wrap(function()
  2320. for i = 1, 20 do
  2321. m.Size = m.Size + Vector3.new(3,3,3)
  2322. m.Transparency = m.Transparency + .05
  2323. swait()
  2324. end
  2325. m:Remove()
  2326. end)()
  2327. SOUND(bigbob,3302426188,10,false,math.random(9,11)/10,10)
  2328. for i = 1, 500 do
  2329. local bomb = Instance.new("Part",Torso)
  2330. bomb.Size = Vector3.new(math.random(5,8),.8,.8)
  2331. bomb.Anchored = false
  2332. bomb.CanCollide = false
  2333. bomb.BrickColor = bigbob.BrickColor
  2334. bomb.Material = "Neon"
  2335. bomb.CFrame = bigbob.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2336. local bombhit2 = false
  2337. coroutine.wrap(function()
  2338. for i = 1, 500 do
  2339. if bombhit2 then break end
  2340. bomb.CFrame = bomb.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2341. swait()
  2342. end
  2343. if not bombhit2 then
  2344. for i = 1, 20 do
  2345. bomb.Transparency = bomb.Transparency + .05
  2346. swait()
  2347. end
  2348. bomb:Remove()
  2349. end
  2350. end)()
  2351. bomb.Touched:connect(function(bombhit)
  2352. if bombhit:IsA("Part") and bombhit.Parent.Parent ~= Character and bombhit.Parent ~= Character then
  2353. if bombhit2 then return end
  2354. bombhit2 = true
  2355. bomb.z:Remove()
  2356. bomb.Anchored = true
  2357. bomb.Transparency = 1
  2358. Hit = damagealll(31,bomb.Position)
  2359. for _,v in pairs(Hit) do
  2360. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2361. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2362. takeDamage(slachtoffer,math.random(7,12))
  2363. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2364. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2365. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2366. vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*125
  2367. removeuseless:AddItem(vel,.1)
  2368. end
  2369. end
  2370. local boom = Instance.new("Part",Torso)
  2371. boom.Size = Vector3.new(6,6,6)
  2372. boom.Anchored = true
  2373. boom.CanCollide = false
  2374. boom.BrickColor = BrickColor.new("Crimson")
  2375. boom.Material = "Neon"
  2376. boom.CFrame = bomb.CFrame
  2377. local boom2 = boom:Clone() boom2.BrickColor = BrickColor.new("Really black") boom2.Size = Vector3.new(4,4,4)
  2378. coroutine.wrap(function()
  2379. local shockwave = Instance.new("Part", Torso)
  2380. shockwave.Size = Vector3.new(1,1,1)
  2381. shockwave.CanCollide = false
  2382. shockwave.Anchored = true
  2383. shockwave.Transparency = .4
  2384. shockwave.BrickColor = BrickColor.new("White")
  2385. shockwave.CFrame = CFrame.new(bomb.Position) * CFrame.new(0,-1.75,0)
  2386. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  2387. shockwavemesh.Scale = Vector3.new(4,.7,4)
  2388. shockwavemesh.MeshId = "rbxassetid://20329976"
  2389. local shockwave2 = Instance.new("Part", Torso)
  2390. shockwave2.Size = Vector3.new(1,1,1)
  2391. shockwave2.CanCollide = false
  2392. shockwave2.Anchored = true
  2393. shockwave2.Transparency = .4
  2394. shockwave2.BrickColor = BrickColor.new("White")
  2395. shockwave2.CFrame = CFrame.new(bomb.Position) * CFrame.new(0,-1.6,0)
  2396. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  2397. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  2398. shockwavemesh2.MeshId = "rbxassetid://20329976"
  2399. local sonbox = Instance.new("Part",Torso)
  2400. sonbox.Size = Vector3.new(1,1,1)
  2401. sonbox.Anchored = true
  2402. sonbox.CanCollide = false
  2403. sonbox.Transparency = 1
  2404. sonbox.CFrame = boom.CFrame
  2405. SOUND(sonbox,636458264,10,false,math.random(9,12)/10,6)
  2406. for i = 1, 20 do
  2407. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  2408. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  2409. shockwave.Transparency = shockwave.Transparency + .025
  2410. shockwave2.Transparency = shockwave2.Transparency + .025
  2411. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3,3,3)
  2412. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(5,1,5)
  2413. swait()
  2414. end
  2415. shockwave:Remove()
  2416. shockwave2:Remove()
  2417. end)()
  2418. for i = 1, 40 do
  2419. boom.Size = boom.Size + Vector3.new(1,1,1)
  2420. boom2.Size = boom2.Size + Vector3.new(1,1,1)
  2421. boom.Transparency = boom.Transparency + .025
  2422. boom2.Transparency = boom2.Transparency + .025
  2423. boom.CFrame = boom.CFrame:lerp(CFrame.new(boom.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2424. boom2.CFrame = boom2.CFrame:lerp(CFrame.new(boom.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2425. swait()
  2426. end
  2427. boom:Remove()
  2428. boom2:Remove()
  2429. bomb:Remove()
  2430. end
  2431. end)
  2432. local bs = Instance.new("Part",Torso)
  2433. bs.Size = Vector3.new(1,1,1)
  2434. bs.Transparency = 1
  2435. bs.CanCollide = false
  2436. bs.Anchored = true
  2437. bs.CFrame = bigbob.CFrame * CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2438. velo(bomb,"z",bs.Position,250)
  2439. bs:Remove()
  2440. bigbob.Size = bigbob.Size - Vector3.new(.032,.032,.032)
  2441. bigbob.CFrame = bigbob.CFrame:lerp(CFrame.new(bigbob.Position) * CFrame.new(1 * math.sin(sine/16),1*math.sin(sine/19),1*math.sin(sine/17)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))),.2)
  2442. swait()
  2443. end
  2444. bigbob:Remove()
  2445. end
  2446. elseif k=='q' then
  2447. if speed then
  2448. if walking then
  2449. if debounce then return end
  2450. debounce = true
  2451. psychoboost = true
  2452. trailtrans = 1
  2453. SOUND(Torso,3254129745,10,false,1,6)
  2454. local lp = Instance.new("Part",Torso)
  2455. lp.Size = Vector3.new(1,1,1)
  2456. lp.Anchored = true
  2457. lp.Transparency = 1
  2458. lp.CanCollide = false
  2459. lp.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  2460. A = Instance.new("Attachment", lp)
  2461. A.Position = Vector3.new(.2,.2,0)
  2462. A.Name = "A"
  2463. B = Instance.new("Attachment", lp)
  2464. B.Position = Vector3.new(-.2,-.2,0)
  2465. B.Name = "B"
  2466. tr1 = Instance.new("Trail", lp)
  2467. tr1.Attachment0 = A
  2468. tr1.Attachment1 = B
  2469. tr1.Enabled = true
  2470. tr1.Lifetime = 2
  2471. tr1.TextureMode = "Static"
  2472. tr1.LightInfluence = 0
  2473. tr1.Color = ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color)
  2474. tr1.Transparency = NumberSequence.new(1, 1)
  2475. local psychoboosts = Instance.new("Sound",Torso)
  2476. psychoboosts.SoundId = "rbxassetid://3254129101"
  2477. psychoboosts.Volume = 0
  2478. psychoboosts.Looped = true
  2479. psychoboosts:Play()
  2480. for i = 1, 120 do
  2481. psychoboosts.Volume = psychoboosts.Volume + .08
  2482. if not walking then break end
  2483. trailtrans = trailtrans - .01
  2484. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  2485. Hit = damagealll(2,Root.Position)
  2486. for _,v in pairs(Hit) do
  2487. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2488. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2489. takeDamage(slachtoffer,math.random(1,2))
  2490. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2491. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2492. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2493. vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*30
  2494. removeuseless:AddItem(vel,.1)
  2495. end
  2496. end
  2497. local lp2 = Instance.new("Part",Torso)
  2498. lp2.Size = Vector3.new(1,1,1)
  2499. lp2.Anchored = true
  2500. lp2.Transparency = 1
  2501. lp2.CanCollide = false
  2502. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  2503. local zamu = Instance.new("Part",Torso)
  2504. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  2505. zamu.Anchored = true
  2506. zamu.CanCollide = false
  2507. zamu.Transparency = trailtrans
  2508. zamu.BrickColor = BrickColor.new("White")
  2509. zamu.Material = "Neon"
  2510. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2511. coroutine.wrap(function()
  2512. local y1 = math.random(-180,180)
  2513. local y2 = math.random(-180,180)
  2514. local y3 = math.random(-180,180)
  2515. for i = 1, 20 do
  2516. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  2517. zamu.Transparency = zamu.Transparency + .05
  2518. swait()
  2519. end
  2520. zamu:Remove()
  2521. lp2:Remove()
  2522. end)()
  2523. lp.CFrame = lp2.CFrame
  2524. mow = mow + .005
  2525. ws = ws + 1.5
  2526. change = change + .0075
  2527. swait()
  2528. end
  2529. coroutine.wrap(function()
  2530. while walking do
  2531. local ring = Instance.new("Part",Torso)
  2532. ring.Size = Vector3.new(1,1,1)
  2533. ring.Anchored = true
  2534. ring.CanCollide = false
  2535. ring.Transparency = .5
  2536. ring.BrickColor = BrickColor.new("White")
  2537. ring.Material = "Neon"
  2538. ring.CFrame = Root.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(90),0,0)
  2539. local ringmesh = Instance.new("SpecialMesh",ring)
  2540. ringmesh.MeshId = "rbxassetid://471124075"
  2541. ringmesh.Scale = Vector3.new(.01,.01,.01)
  2542. coroutine.wrap(function()
  2543. for i = 1, 10 do
  2544. ringmesh.Scale = ringmesh.Scale + Vector3.new(.01,.01,.01)
  2545. ring.Transparency = ring.Transparency + .025
  2546. swait()
  2547. end
  2548. for i = 1, 10 do
  2549. ringmesh.Scale = ringmesh.Scale - Vector3.new(.01,.01,.01)
  2550. ring.Transparency = ring.Transparency + .025
  2551. swait()
  2552. end
  2553. ring:Remove()
  2554. end)()
  2555. swait(10)
  2556. end
  2557. end)()
  2558. while walking do
  2559. psychoboosts.Volume = 10
  2560. Hit = damagealll(10,Root.Position)
  2561. for _,v in pairs(Hit) do
  2562. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2563. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2564. takeDamage(slachtoffer,math.random(2,8))
  2565. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2566. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2567. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2568. vel.velocity = CFrame.new(Root.Position,torso.Position).lookVector*150
  2569. removeuseless:AddItem(vel,.1)
  2570. end
  2571. end
  2572. tr1.Transparency = NumberSequence.new(trailtrans, 1)
  2573. local lp2 = Instance.new("Part",Torso)
  2574. lp2.Size = Vector3.new(1,1,1)
  2575. lp2.Anchored = true
  2576. lp2.Transparency = 1
  2577. lp2.CanCollide = false
  2578. lp2.CFrame = Root.CFrame * CFrame.new(math.random(-7,7),math.random(-7,7),math.random(-7,7))
  2579. local zamu = Instance.new("Part",Torso)
  2580. zamu.Size = Vector3.new(math.random(3,4),.25,.25)
  2581. zamu.Anchored = true
  2582. zamu.CanCollide = false
  2583. zamu.BrickColor = BrickColor.new("White")
  2584. zamu.Material = "Neon"
  2585. zamu.CFrame = Root.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  2586. coroutine.wrap(function()
  2587. local y1 = math.random(-180,180)
  2588. local y2 = math.random(-180,180)
  2589. local y3 = math.random(-180,180)
  2590. for i = 1, 20 do
  2591. zamu.CFrame = zamu.CFrame:lerp(CFrame.new(lp2.Position) * CFrame.Angles(math.rad(y1),math.rad(y2),math.rad(y3)),.2)
  2592. zamu.Transparency = zamu.Transparency + .05
  2593. swait()
  2594. end
  2595. zamu:Remove()
  2596. lp2:Remove()
  2597. end)()
  2598. lp.CFrame = lp2.CFrame
  2599. swait()
  2600. end
  2601. coroutine.wrap(function()
  2602. for i = 1, 20 do
  2603. psychoboosts.Volume = psychoboosts.Volume - .5
  2604. swait()
  2605. end
  2606. psychoboosts:Remove()
  2607. end)()
  2608. trailtrans = 0
  2609. removeuseless:AddItem(lp,6)
  2610. debounce = false
  2611. psychoboost = false
  2612. end
  2613. elseif power then
  2614. if debounce then return end
  2615. debounce = true
  2616. attacking = true
  2617. metalsound.Volume = 0
  2618. ws = 0
  2619. local g1 = Instance.new("BodyGyro", nil)
  2620. g1.CFrame = Root.CFrame
  2621. g1.Parent = Root
  2622. g1.D = 175
  2623. g1.P = 20000
  2624. g1.MaxTorque = Vector3.new(0,90000,0)
  2625. SOUND(Torso,1412100204,10,false,math.random(9,11)/10,10)
  2626. for i = 1, 30 do
  2627. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
  2628. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  2629. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  2630. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2631. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2632. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2633. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2634. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2635. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2636. swait()
  2637. end
  2638. local borb = Instance.new("Part",Torso)
  2639. borb.Size = Vector3.new(.1,.1,.1)
  2640. borb.Shape = "Ball"
  2641. borb.Transparency = .25
  2642. borb.Anchored = true
  2643. borb.CanCollide = false
  2644. borb.Material = "Neon"
  2645. borb.BrickColor = BrickColor.new("Really black")
  2646. borb.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
  2647. local particlemiter1 = Instance.new("ParticleEmitter", borb)
  2648. particlemiter1.Enabled = true
  2649. particlemiter1.Color = ColorSequence.new(Color3.new(255, 255, 255))
  2650. particlemiter1.Texture = "rbxassetid://1390780157"
  2651. particlemiter1.Lifetime = NumberRange.new(.05)
  2652. particlemiter1.Size = NumberSequence.new(6,6)
  2653. particlemiter1.Rate = 15
  2654. particlemiter1.Rotation = NumberRange.new(0,360)
  2655. particlemiter1.RotSpeed = NumberRange.new(0)
  2656. particlemiter1.Speed = NumberRange.new(0)
  2657. local borb2 = borb:Clone() borb2.Parent = Torso
  2658. borb2.Transparency = 0
  2659. borb2.BrickColor = BrickColor.new("Really black")
  2660. colortween(borb,.8,BrickColor.new("Crimson").Color)
  2661. for i = 1, 50 do
  2662. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,getMouseHit()),.11)
  2663. borb.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
  2664. borb2.CFrame = Root.CFrame * CFrame.new(0,0,-2.4)
  2665. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.2)
  2666. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  2667. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  2668. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  2669. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  2670. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2671. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.15,.5) * CFrame.Angles(math.rad(-72),0,0),.2)
  2672. borb.Size = borb.Size + Vector3.new(.06,.06,.06)
  2673. borb2.Size = borb2.Size + Vector3.new(.03,.03,.03)
  2674. swait()
  2675. end
  2676. coroutine.wrap(function()
  2677. for i = 1, 10 do
  2678. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.35,.8) * CFrame.Angles(math.rad(20),0,0),.3)
  2679. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.86,.7,.5) * CFrame.Angles(math.rad(-90),math.rad(50),0),.3)
  2680. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.86,.7,.5) * CFrame.Angles(math.rad(-90),math.rad(-50),0),.3)
  2681. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.3)
  2682. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.3)
  2683. swait()
  2684. end
  2685. attacking = false
  2686. debounce = false
  2687. ws = 45
  2688. removeuseless:AddItem(g1,.001)
  2689. end)()
  2690. borb2.Anchored = false
  2691. borb.Anchored = false
  2692. borb2weld = weldBetween(borb,borb2)
  2693. SOUND(borb,2743212628,10,false,math.random(9,11)/10,8)
  2694. velo(borb,"h",getMouseHit(),175)
  2695. coroutine.wrap(function()
  2696. local m = Instance.new("Part",Torso)
  2697. m.Size = Vector3.new(3,3,3)
  2698. m.Anchored = true
  2699. m.CanCollide = false
  2700. m.CFrame = borb.CFrame
  2701. m.BrickColor = BrickColor.new("Crimson")
  2702. m.Material = "Neon"
  2703. m.Shape = "Ball"
  2704. for i = 1, 20 do
  2705. m.Size = m.Size + Vector3.new(1,1,1)
  2706. m.Transparency = m.Transparency + .05
  2707. swait()
  2708. end
  2709. m:Remove()
  2710. end)()
  2711. orbhit = false
  2712. borb2.Touched:connect(function(toched)
  2713. if toched:IsA("Part") and toched.Parent.Parent ~= Character and toched.Parent ~= Character then
  2714. if orbhit then return end
  2715. orbhit = true
  2716. borb.h:Remove()
  2717. borb.Anchored = true
  2718. local borbeffect = borb:Clone() borbeffect.Parent = Torso borbeffect.Anchored = true borbeffect.Transparency = 1
  2719. SOUND(borbeffect,2880335731,10,false,math.random(9,11)/10,8)
  2720. local ma = 0
  2721. for i = 1, 55 do
  2722. ma = ma + .5
  2723. Hit = damagealll(2+ma,borb.Position)
  2724. for _,v in pairs(Hit) do
  2725. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2726. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2727. takeDamage(slachtoffer,1)
  2728. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2729. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2730. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2731. vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*100
  2732. removeuseless:AddItem(vel,.1)
  2733. end
  2734. end
  2735. coroutine.wrap(function()
  2736. local shockwave = Instance.new("Part", Torso)
  2737. shockwave.Size = Vector3.new(1,1,1)
  2738. shockwave.CanCollide = false
  2739. shockwave.Anchored = true
  2740. shockwave.Transparency = .4
  2741. shockwave.BrickColor = BrickColor.new("White")
  2742. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2743. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  2744. shockwavemesh.Scale = Vector3.new(4,.7,4)
  2745. shockwavemesh.MeshId = "rbxassetid://20329976"
  2746. local shockwave2 = Instance.new("Part", Torso)
  2747. shockwave2.Size = Vector3.new(1,1,1)
  2748. shockwave2.CanCollide = false
  2749. shockwave2.Anchored = true
  2750. shockwave2.Transparency = .4
  2751. shockwave2.BrickColor = BrickColor.new("White")
  2752. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2753. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  2754. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  2755. shockwavemesh2.MeshId = "rbxassetid://20329976"
  2756. local shockwave3 = Instance.new("Part", Torso)
  2757. shockwave3.Size = Vector3.new(1,1,1)
  2758. shockwave3.CanCollide = false
  2759. shockwave3.Anchored = true
  2760. shockwave3.Transparency = .4
  2761. shockwave3.BrickColor = BrickColor.new("White")
  2762. shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2763. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  2764. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  2765. shockwavemesh3.MeshId = "rbxassetid://20329976"
  2766. local shockwave4 = Instance.new("Part", Torso)
  2767. shockwave4.Size = Vector3.new(1,1,1)
  2768. shockwave4.CanCollide = false
  2769. shockwave4.Anchored = true
  2770. shockwave2.Transparency = .4
  2771. shockwave4.BrickColor = BrickColor.new("White")
  2772. shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2773. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  2774. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  2775. shockwavemesh4.MeshId = "rbxassetid://20329976"
  2776. for i = 1, 20 do
  2777. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  2778. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  2779. shockwave.Transparency = shockwave.Transparency + .05
  2780. shockwave2.Transparency = shockwave2.Transparency + .05
  2781. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
  2782. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
  2783. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
  2784. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
  2785. shockwave3.Transparency = shockwave3.Transparency + 0.05
  2786. shockwave4.Transparency = shockwave4.Transparency + 0.05
  2787. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
  2788. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
  2789. swait()
  2790. end
  2791. shockwave:Remove()
  2792. shockwave2:Remove()
  2793. shockwave3:Remove()
  2794. shockwave4:Remove()
  2795. end)()
  2796. borbeffect.Transparency = borbeffect.Transparency - .05
  2797. borbeffect.Size = borbeffect.Size + Vector3.new(.4,.4,.4)
  2798. swait()
  2799. end
  2800. for i = 1, 15 do
  2801. Hit = damagealll(ma+2,borb.Position)
  2802. for _,v in pairs(Hit) do
  2803. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2804. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2805. takeDamage(slachtoffer,1)
  2806. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2807. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2808. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2809. vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*250
  2810. removeuseless:AddItem(vel,.1)
  2811. end
  2812. end
  2813. coroutine.wrap(function()
  2814. local shockwave = Instance.new("Part", Torso)
  2815. shockwave.Size = Vector3.new(1,1,1)
  2816. shockwave.CanCollide = false
  2817. shockwave.Anchored = true
  2818. shockwave.Transparency = .4
  2819. shockwave.BrickColor = BrickColor.new("White")
  2820. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2821. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  2822. shockwavemesh.Scale = Vector3.new(4,.7,4)
  2823. shockwavemesh.MeshId = "rbxassetid://20329976"
  2824. local shockwave2 = Instance.new("Part", Torso)
  2825. shockwave2.Size = Vector3.new(1,1,1)
  2826. shockwave2.CanCollide = false
  2827. shockwave2.Anchored = true
  2828. shockwave2.Transparency = .4
  2829. shockwave2.BrickColor = BrickColor.new("White")
  2830. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2831. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  2832. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  2833. shockwavemesh2.MeshId = "rbxassetid://20329976"
  2834. local shockwave3 = Instance.new("Part", Torso)
  2835. shockwave3.Size = Vector3.new(1,1,1)
  2836. shockwave3.CanCollide = false
  2837. shockwave3.Anchored = true
  2838. shockwave3.Transparency = .4
  2839. shockwave3.BrickColor = BrickColor.new("White")
  2840. shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2841. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  2842. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  2843. shockwavemesh3.MeshId = "rbxassetid://20329976"
  2844. local shockwave4 = Instance.new("Part", Torso)
  2845. shockwave4.Size = Vector3.new(1,1,1)
  2846. shockwave4.CanCollide = false
  2847. shockwave4.Anchored = true
  2848. shockwave2.Transparency = .4
  2849. shockwave4.BrickColor = BrickColor.new("White")
  2850. shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2851. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  2852. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  2853. shockwavemesh4.MeshId = "rbxassetid://20329976"
  2854. for i = 1, 20 do
  2855. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  2856. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  2857. shockwave.Transparency = shockwave.Transparency + .05
  2858. shockwave2.Transparency = shockwave2.Transparency + .05
  2859. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
  2860. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
  2861. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
  2862. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
  2863. shockwave3.Transparency = shockwave3.Transparency + 0.05
  2864. shockwave4.Transparency = shockwave4.Transparency + 0.05
  2865. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
  2866. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
  2867. swait()
  2868. end
  2869. shockwave:Remove()
  2870. shockwave2:Remove()
  2871. shockwave3:Remove()
  2872. shockwave4:Remove()
  2873. end)()
  2874. borbeffect.Size = borbeffect.Size + Vector3.new(1.5*math.sin(sine),1.5*math.sin(sine),1.5*math.sin(sine))
  2875. swait()
  2876. end
  2877. for i = 1, 15 do
  2878. Hit = damagealll(ma+2,borb.Position)
  2879. for _,v in pairs(Hit) do
  2880. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2881. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2882. takeDamage(slachtoffer,1)
  2883. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2884. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2885. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2886. vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*250
  2887. removeuseless:AddItem(vel,.1)
  2888. end
  2889. end
  2890. coroutine.wrap(function()
  2891. local shockwave = Instance.new("Part", Torso)
  2892. shockwave.Size = Vector3.new(1,1,1)
  2893. shockwave.CanCollide = false
  2894. shockwave.Anchored = true
  2895. shockwave.Transparency = .4
  2896. shockwave.BrickColor = BrickColor.new("White")
  2897. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2898. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  2899. shockwavemesh.Scale = Vector3.new(4,.7,4)
  2900. shockwavemesh.MeshId = "rbxassetid://20329976"
  2901. local shockwave2 = Instance.new("Part", Torso)
  2902. shockwave2.Size = Vector3.new(1,1,1)
  2903. shockwave2.CanCollide = false
  2904. shockwave2.Anchored = true
  2905. shockwave2.Transparency = .4
  2906. shockwave2.BrickColor = BrickColor.new("White")
  2907. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2908. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  2909. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  2910. shockwavemesh2.MeshId = "rbxassetid://20329976"
  2911. local shockwave3 = Instance.new("Part", Torso)
  2912. shockwave3.Size = Vector3.new(1,1,1)
  2913. shockwave3.CanCollide = false
  2914. shockwave3.Anchored = true
  2915. shockwave3.Transparency = .4
  2916. shockwave3.BrickColor = BrickColor.new("White")
  2917. shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2918. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  2919. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  2920. shockwavemesh3.MeshId = "rbxassetid://20329976"
  2921. local shockwave4 = Instance.new("Part", Torso)
  2922. shockwave4.Size = Vector3.new(1,1,1)
  2923. shockwave4.CanCollide = false
  2924. shockwave4.Anchored = true
  2925. shockwave2.Transparency = .4
  2926. shockwave4.BrickColor = BrickColor.new("White")
  2927. shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2928. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  2929. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  2930. shockwavemesh4.MeshId = "rbxassetid://20329976"
  2931. for i = 1, 20 do
  2932. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  2933. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  2934. shockwave.Transparency = shockwave.Transparency + .05
  2935. shockwave2.Transparency = shockwave2.Transparency + .05
  2936. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
  2937. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
  2938. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
  2939. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
  2940. shockwave3.Transparency = shockwave3.Transparency + 0.05
  2941. shockwave4.Transparency = shockwave4.Transparency + 0.05
  2942. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
  2943. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
  2944. swait()
  2945. end
  2946. shockwave:Remove()
  2947. shockwave2:Remove()
  2948. shockwave3:Remove()
  2949. shockwave4:Remove()
  2950. end)()
  2951. borbeffect.Size = borbeffect.Size + Vector3.new(5*math.sin(sine),5*math.sin(sine),5*math.sin(sine))
  2952. swait()
  2953. end
  2954. for i = 1, 50 do
  2955. Hit = damagealll(ma+10,borb.Position)
  2956. for _,v in pairs(Hit) do
  2957. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2958. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  2959. takeDamage(slachtoffer,1)
  2960. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  2961. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  2962. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  2963. vel.velocity = CFrame.new(borb.Position,torso.Position).lookVector*375
  2964. removeuseless:AddItem(vel,.1)
  2965. end
  2966. end
  2967. coroutine.wrap(function()
  2968. local shockwave = Instance.new("Part", Torso)
  2969. shockwave.Size = Vector3.new(1,1,1)
  2970. shockwave.CanCollide = false
  2971. shockwave.Anchored = true
  2972. shockwave.Transparency = .4
  2973. shockwave.BrickColor = BrickColor.new("White")
  2974. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2975. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  2976. shockwavemesh.Scale = Vector3.new(4,.7,4)
  2977. shockwavemesh.MeshId = "rbxassetid://20329976"
  2978. local shockwave2 = Instance.new("Part", Torso)
  2979. shockwave2.Size = Vector3.new(1,1,1)
  2980. shockwave2.CanCollide = false
  2981. shockwave2.Anchored = true
  2982. shockwave2.Transparency = .4
  2983. shockwave2.BrickColor = BrickColor.new("White")
  2984. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  2985. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  2986. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  2987. shockwavemesh2.MeshId = "rbxassetid://20329976"
  2988. local shockwave3 = Instance.new("Part", Torso)
  2989. shockwave3.Size = Vector3.new(1,1,1)
  2990. shockwave3.CanCollide = false
  2991. shockwave3.Anchored = true
  2992. shockwave3.Transparency = .4
  2993. shockwave3.BrickColor = BrickColor.new("White")
  2994. shockwave3.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  2995. local shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
  2996. shockwavemesh3.Scale = Vector3.new(4,.7,4)
  2997. shockwavemesh3.MeshId = "rbxassetid://20329976"
  2998. local shockwave4 = Instance.new("Part", Torso)
  2999. shockwave4.Size = Vector3.new(1,1,1)
  3000. shockwave4.CanCollide = false
  3001. shockwave4.Anchored = true
  3002. shockwave2.Transparency = .4
  3003. shockwave4.BrickColor = BrickColor.new("White")
  3004. shockwave4.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  3005. local shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
  3006. shockwavemesh4.Scale = Vector3.new(4,.7,4)
  3007. shockwavemesh4.MeshId = "rbxassetid://20329976"
  3008. for i = 1, 20 do
  3009. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  3010. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  3011. shockwave.Transparency = shockwave.Transparency + .05
  3012. shockwave2.Transparency = shockwave2.Transparency + .05
  3013. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2,8)
  3014. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8,2,8)
  3015. shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(7,11)),0)
  3016. shockwave4.CFrame = shockwave4.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(7,11)),0)
  3017. shockwave3.Transparency = shockwave3.Transparency + 0.05
  3018. shockwave4.Transparency = shockwave4.Transparency + 0.05
  3019. shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(10,1,10)
  3020. shockwavemesh4.Scale = shockwavemesh4.Scale + Vector3.new(10,1,10)
  3021. swait()
  3022. end
  3023. shockwave:Remove()
  3024. shockwave2:Remove()
  3025. shockwave3:Remove()
  3026. shockwave4:Remove()
  3027. end)()
  3028. borbeffect.Size = borbeffect.Size + Vector3.new(20*math.sin(sine),20*math.sin(sine),20*math.sin(sine))
  3029. swait()
  3030. end
  3031. SOUND(borbeffect,255679373,10,false,math.random(9,11)/10,8)
  3032. local borbeffect2 = borbeffect:Clone() borbeffect2.Parent = Torso borbeffect2.Transparency = 0 borbeffect2.Size = Vector3.new(260,260,260)
  3033. coroutine.wrap(function()
  3034. for i = 1, 40 do
  3035. local m = Instance.new("Part",Torso)
  3036. m.Anchored = true
  3037. m.Size = Vector3.new(1,1,1)
  3038. m.CanCollide = false
  3039. m.CFrame = borb.CFrame * CFrame.new(math.random(-200,200),math.random(-200,200),math.random(-200,200))
  3040. m.Transparency = 1
  3041. local m2 = Instance.new("Part",Torso)
  3042. m2.Size = Vector3.new(math.random(35,45),5,5)
  3043. m2.Material = "Neon"
  3044. m2.Anchored = true
  3045. m2.CFrame = borb.CFrame
  3046. m2.BrickColor = BrickColor.new("Crimson")
  3047. coroutine.wrap(function()
  3048. local a = math.random(-180,180)
  3049. local b = math.random(-180,180)
  3050. local c = math.random(-180,180)
  3051. for i = 1, 20 do
  3052. m2.Transparency = m2.Transparency + .05
  3053. m2.CFrame = m2.CFrame:lerp(CFrame.new(m.Position) * CFrame.Angles(math.rad(a),math.rad(b),math.rad(c)),.2)
  3054. swait()
  3055. end
  3056. m:Remove()
  3057. borb:Remove()
  3058. borb2:Remove()
  3059. m2:Remove()
  3060. end)()
  3061. end
  3062. end)()
  3063. coroutine.wrap(function()
  3064. for i = 1, 10 do
  3065. borbeffect2.Transparency = borbeffect2.Transparency + .25
  3066. swait()
  3067. end
  3068. borbeffect2:Remove()
  3069. end)()
  3070. local dumbass = 2.5
  3071. for i = 1, 70 do
  3072. dumbass = dumbass + 1.25
  3073. Hit = damagealll(dumbass*4,borbeffect.Position)
  3074. for _,v in pairs(Hit) do
  3075. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3076. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3077. takeDamage(slachtoffer,1)
  3078. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3079. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3080. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3081. vel.velocity = CFrame.new(borbeffect.Position,torso.Position).lookVector*250
  3082. removeuseless:AddItem(vel,.1)
  3083. end
  3084. end
  3085. borbeffect.Size = borbeffect.Size + Vector3.new(5,5,5)
  3086. coroutine.wrap(function()
  3087. local shockwave = Instance.new("Part", Torso)
  3088. shockwave.Size = Vector3.new(1,1,1)
  3089. shockwave.CanCollide = false
  3090. shockwave.Anchored = true
  3091. shockwave.Transparency = .4
  3092. shockwave.BrickColor = BrickColor.new("White")
  3093. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  3094. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  3095. shockwavemesh.Scale = Vector3.new(4,.7,4)
  3096. shockwavemesh.MeshId = "rbxassetid://20329976"
  3097. local shockwave2 = Instance.new("Part", Torso)
  3098. shockwave2.Size = Vector3.new(1,1,1)
  3099. shockwave2.CanCollide = false
  3100. shockwave2.Anchored = true
  3101. shockwave2.Transparency = .4
  3102. shockwave2.BrickColor = BrickColor.new("White")
  3103. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  3104. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  3105. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  3106. shockwavemesh2.MeshId = "rbxassetid://20329976"
  3107. for i = 1, 20 do
  3108. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  3109. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  3110. shockwave.Transparency = shockwave.Transparency + .05
  3111. shockwave2.Transparency = shockwave2.Transparency + .05
  3112. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(3 + dumbass,2+dumbass/2.5,3 + dumbass)
  3113. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(3 + dumbass,2+dumbass/2.5,3 + dumbass)
  3114. swait()
  3115. end
  3116. shockwave:Remove()
  3117. shockwave2:Remove()
  3118. end)()
  3119. borbeffect.Transparency = borbeffect.Transparency - .05
  3120. borbeffect.Size = borbeffect.Size + Vector3.new(.4,.4,.4)
  3121. swait()
  3122. end
  3123. local tard = 5
  3124. local dumbass2 = .0
  3125. for i = 1, 230 do
  3126. local zi = 1
  3127. if zi == 1 then
  3128. dumbass = dumbass - .39
  3129. Hit = damagealll(dumbass*4,borbeffect.Position)
  3130. for _,v in pairs(Hit) do
  3131. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  3132. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3133. takeDamage(slachtoffer,1)
  3134. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3135. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3136. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3137. vel.velocity = CFrame.new(borbeffect.Position,torso.Position).lookVector*250
  3138. removeuseless:AddItem(vel,.1)
  3139. end
  3140. end
  3141. coroutine.wrap(function()
  3142. local shockwave = Instance.new("Part", Torso)
  3143. shockwave.Size = Vector3.new(1,1,1)
  3144. shockwave.CanCollide = false
  3145. shockwave.Anchored = true
  3146. shockwave.Transparency = .4+dumbass2
  3147. shockwave.BrickColor = BrickColor.new("White")
  3148. shockwave.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.75,0)
  3149. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  3150. shockwavemesh.Scale = Vector3.new(4,.7,4)
  3151. shockwavemesh.MeshId = "rbxassetid://20329976"
  3152. local shockwave2 = Instance.new("Part", Torso)
  3153. shockwave2.Size = Vector3.new(1,1,1)
  3154. shockwave2.CanCollide = false
  3155. shockwave2.Anchored = true
  3156. shockwave2.Transparency = .4+dumbass2
  3157. shockwave2.BrickColor = BrickColor.new("White")
  3158. shockwave2.CFrame = CFrame.new(borb.Position) * CFrame.new(0,-1.6,0)
  3159. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  3160. shockwavemesh2.Scale = Vector3.new(4,.7,4)
  3161. shockwavemesh2.MeshId = "rbxassetid://20329976"
  3162. for i = 1, 20 do
  3163. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(16,21)),0)
  3164. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(13,16)),0)
  3165. shockwave.Transparency = shockwave.Transparency + .05
  3166. shockwave2.Transparency = shockwave2.Transparency + .05
  3167. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8 + dumbass,1.25+dumbass/2.5,8 + dumbass)
  3168. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(8 + dumbass,1.25+dumbass/2.5,8 + dumbass)
  3169. swait()
  3170. end
  3171. shockwave:Remove()
  3172. shockwave2:Remove()
  3173. end)()
  3174. end
  3175. tard = tard - .06
  3176. borbeffect.Size = borbeffect.Size + Vector3.new(tard,tard,tard)
  3177. swait()
  3178. end
  3179. borbeffect:Remove()
  3180. end
  3181. end)
  3182. for i = 1, 500 do
  3183. if orbhit then break end
  3184. swait()
  3185. end
  3186. if not orbhit then
  3187. for i = 1, 20 do
  3188. borb.Transparency = borb.Transparency + .05
  3189. borb2.Transparency = borb2.Transparency + .05
  3190. swait()
  3191. end
  3192. borb:Remove()
  3193. borb2:Remove()
  3194. end
  3195. end
  3196. elseif k=='r' then
  3197. if getMouseTarget() ~= nil and getMouseTarget().Parent ~= Character and getMouseTarget().Parent.Parent ~= Character and getMouseTarget().Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3198. local enemyhum = getMouseTarget().Parent:FindFirstChildOfClass("Humanoid")
  3199. if enemyhum.Health < 1 then return end
  3200. local ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
  3201. if debounce then return end
  3202. debounce = true
  3203. attacking = true
  3204. metalsound.Volume = 0
  3205. ws = 0
  3206. local g1 = Instance.new("BodyGyro", nil)
  3207. g1.CFrame = Root.CFrame
  3208. g1.Parent = Root
  3209. g1.D = 175
  3210. g1.P = 20000
  3211. g1.MaxTorque = Vector3.new(0,9000,0)
  3212. coroutine.wrap(function()
  3213. for i = 1, 30 do
  3214. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3215. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3216. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3217. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3218. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3219. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.09)
  3220. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
  3221. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,.46,.0) * CFrame.Angles(math.rad(-178),0,0),.2)
  3222. swait()
  3223. end
  3224. end)()
  3225. local mrf = Instance.new("Sound",Torso)
  3226. mrf.SoundId = "rbxassetid://2680700408"
  3227. mrf.Volume = 8
  3228. mrf.Pitch = math.random(9,11)/10
  3229. mrf:Play()
  3230. for i = 1, 50 do
  3231. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.09)
  3232. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3233. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3234. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3235. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3236. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3237. local bl = Instance.new("Part",Torso)
  3238. bl.Size = Vector3.new(math.random(5,10),.5,.5)
  3239. bl.Anchored = true
  3240. bl.CanCollide = false
  3241. bl.BrickColor = BrickColor.new("Really black")
  3242. bl.Material = "Neon"
  3243. bl.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),math.random(-5,5),math.random(-15,15)) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  3244. bl.Transparency = 1
  3245. coroutine.wrap(function()
  3246. local random1 = math.random(-180,180)
  3247. local random2 = math.random(-180,180)
  3248. local random3 = math.random(-180,180)
  3249. for i = 1, 20 do
  3250. bl.CFrame = bl.CFrame:lerp(bl.CFrame * CFrame.new(3*math.sin(sine/14),2*math.sin(sine/12),5*math.sin(sine/18)) * CFrame.Angles(math.rad(random1*math.sin(sine/15)),math.rad(random2*math.sin(sine/13)),math.rad(random3*math.sin(sine/18))),.05)
  3251. bl.Transparency = bl.Transparency - .05
  3252. swait()
  3253. end
  3254. local z = 0
  3255. local z2 = {
  3256. Color = BrickColor.new("Crimson").Color
  3257. }
  3258. local sm = smoothen:Create(bl,TweenInfo.new(2,Enum.EasingStyle.Linear),z2)
  3259. sm:Play()
  3260. for i = 1, 100 do
  3261. bl.CFrame = bl.CFrame:lerp(bl.CFrame * CFrame.new(3*math.sin(sine/14),2*math.sin(sine/12),5*math.sin(sine/18)) * CFrame.Angles(math.rad(random1*math.sin(sine/15)),math.rad(random2*math.sin(sine/13)),math.rad(random3*math.sin(sine/18))),.05)
  3262. swait()
  3263. end
  3264. bl.Anchored = false
  3265. bl.Transparency = 0
  3266. local bov = Instance.new("RocketPropulsion",bl)
  3267. bov.MaxThrust = 4000
  3268. bov.MaxSpeed = 0
  3269. bov.MaxTorque = Vector3.new(99999999,99999999,99999999)
  3270. bov.Target = ETorso
  3271. bov.TargetRadius = math.huge
  3272. bov:fire()
  3273. local blhit = false
  3274. coroutine.wrap(function()
  3275. local einzel = 0
  3276. for i = 1, 500 do
  3277. if blhit then break end
  3278. Hit = damagealll(12,bl.Position)
  3279. for _,v in pairs(Hit) do
  3280. if v:FindFirstChildOfClass("Humanoid") then
  3281. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  3282. if slachtoffer == enemyhum then
  3283. blhit = true
  3284. local bam = Instance.new("Sound",slachtoffer.Parent.Head)
  3285. bam.SoundId = "rbxassetid://3245486889"
  3286. bam.Volume = 8
  3287. bam.Pitch = math.random(9,11)/10
  3288. bam:Play()
  3289. removeuseless:AddItem(bam,8)
  3290. for i = 1, 5 do
  3291. local ran1 = math.random(-180,180)
  3292. local ran2 = math.random(-180,180)
  3293. local ran3 = math.random(-180,180)
  3294. local bam2 = Instance.new("Part",Torso)
  3295. bam2.Size = Vector3.new(math.random(2,4),.35,.35)
  3296. bam2.BrickColor = bl.BrickColor
  3297. bam2.Material = bl.Material
  3298. bam2.Anchored = true
  3299. bam2.CanCollide = false
  3300. bam2.CFrame = bl.CFrame
  3301. local bamloc = Instance.new("Part",Torso)
  3302. bamloc.Size = Vector3.new(1,1,1)
  3303. bamloc.Anchored = true
  3304. bamloc.Transparency = 1
  3305. bamloc.CanCollide = false
  3306. bamloc.CFrame = bl.CFrame * CFrame.new(math.random(-30,30),math.random(-15,15),math.random(-30,30))
  3307. coroutine.wrap(function()
  3308. for i = 1, 40 do
  3309. bam2.Transparency = bam2.Transparency + .05
  3310. bam2.CFrame = bam2.CFrame:lerp(CFrame.new(bamloc.Position) * CFrame.Angles(math.rad(ran1),math.rad(ran2),math.rad(ran3)),.1)
  3311. swait()
  3312. end
  3313. bam2:Remove()
  3314. bamloc:Remove()
  3315. end)()
  3316. end
  3317. coroutine.wrap(function()
  3318. for i = 1, 20 do
  3319. bl.Size = bl.Size + Vector3.new(1.5,0,0)
  3320. bl.Transparency = bl.Transparency + .05
  3321. swait()
  3322. end
  3323. bl:Remove()
  3324. end)()
  3325. takeDamage(slachtoffer,math.random(2,7))
  3326. end
  3327. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  3328. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  3329. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  3330. vel.velocity = CFrame.new(bl.Position,torso.Position).lookVector*10
  3331. removeuseless:AddItem(vel,.1)
  3332. end
  3333. end
  3334. einzel = einzel + .1
  3335. bov.MaxSpeed = bov.MaxSpeed + einzel
  3336. swait()
  3337. end
  3338. if not blhit then
  3339. for i = 1, 20 do
  3340. bl.Size = bl.Size + Vector3.new(1.5,0,0)
  3341. bl.Transparency = bl.Transparency + .05
  3342. swait()
  3343. end
  3344. bl:Remove()
  3345. end
  3346. end)()
  3347. end)()
  3348. swait(2)
  3349. end
  3350. ws = 45
  3351. removeuseless:AddItem(g1,.001)
  3352. attacking = false
  3353. debounce = false
  3354. end
  3355. end
  3356. end)
  3357.  
  3358. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  3359. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  3360. end
  3361.  
  3362. function ray2(StartPos, EndPos, Distance, Ignore)
  3363. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  3364. return ray(StartPos, DIRECTION, Distance, Ignore)
  3365. end
  3366.  
  3367. checks1 = coroutine.wrap(function() -------Checks
  3368. while true do
  3369. hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,0,0))).lookVector,4 * 1,Character)
  3370. if Root.Velocity.Magnitude < 5 and hf == nil then
  3371. position = "Idle"
  3372. elseif Root.Velocity.Magnitude > 5 and hf == nil then
  3373. position = "Walking"
  3374. else
  3375. end
  3376. swait()
  3377. end
  3378. end)
  3379. checks1()
  3380.  
  3381. OrgnC0 = Neck.C0
  3382. immortal = {}
  3383. for i,v in pairs(Character:GetDescendants()) do
  3384. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  3385. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  3386. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  3387. end
  3388. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  3389. elseif v:IsA("JointInstance") then
  3390. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  3391. end
  3392. end
  3393. for e = 1, #immortal do
  3394. if immortal[e] ~= nil then
  3395. local STUFF = immortal[e]
  3396. local PART = STUFF[1]
  3397. local PARENT = STUFF[2]
  3398. local MATERIAL = STUFF[3]
  3399. local COLOR = STUFF[4]
  3400. local TRANSPARENCY = STUFF[5]
  3401. if levitate then
  3402. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  3403. PART.Material = MATERIAL
  3404. PART.Color = COLOR
  3405. PART.Transparency = TRANSPARENCY
  3406. end
  3407. PART.AncestryChanged:connect(function()
  3408. PART.Parent = PARENT
  3409. end)
  3410. else
  3411. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  3412. PART.Material = MATERIAL
  3413. PART.Color = COLOR
  3414. PART.Transparency = TRANSPARENCY
  3415. end
  3416. PART.AncestryChanged:connect(function()
  3417. PART.Parent = PARENT
  3418. end)
  3419. end
  3420. end
  3421. end
  3422. function immortality()
  3423. for e = 1, #immortal do
  3424. if immortal[e] ~= nil then
  3425. local STUFF = immortal[e]
  3426. local PART = STUFF[1]
  3427. local PARENT = STUFF[2]
  3428. local MATERIAL = STUFF[3]
  3429. local COLOR = STUFF[4]
  3430. local TRANSPARENCY = STUFF[5]
  3431. if PART.ClassName == "Part" and PART == Root then
  3432. PART.Material = MATERIAL
  3433. PART.Color = COLOR
  3434. PART.Transparency = TRANSPARENCY
  3435. end
  3436. if PART.Parent ~= PARENT then
  3437. hum:Remove()
  3438. PART.Parent = PARENT
  3439. hum = Instance.new("Humanoid",Character)
  3440. if levitate then
  3441. eyo1:Remove()
  3442. eyo2:Remove()
  3443. end
  3444. hum.Name = "noneofurbusiness"
  3445. end
  3446. end
  3447. end
  3448. end
  3449. coroutine.wrap(function()
  3450. while true do
  3451. hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  3452. if hum.Health < .1 then
  3453. immortality()
  3454. end
  3455. wait()
  3456. end
  3457. end)()
  3458.  
  3459. local anims = coroutine.wrap(function()
  3460. while true do
  3461. settime = 0.05
  3462. sine = sine + change
  3463. sine2 = sine2 + change2
  3464. if position == "Jump" and not attacking then
  3465. change = .8
  3466. walking = false
  3467. metalsound.Volume = 0
  3468. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3469. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5, .15, 0) * CFrame.Angles(math.rad(10), math.rad(2), math.rad(10)), 0.2)
  3470. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .15, 0) * CFrame.Angles(math.rad(-10), math.rad(-2), math.rad(-10)), 0.2)
  3471. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.09)
  3472. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  3473. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
  3474. elseif position == "Falling" and not attacking then
  3475. change = .8
  3476. walking = false
  3477. metalsound.Volume = 0
  3478. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3479. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.09)
  3480. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
  3481. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
  3482. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/12), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/12)), math.rad(0), math.rad(0)), 0.25)
  3483. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  3484. elseif position == "Walking" and not attacking then
  3485. if not psychoboost then
  3486. change = .8
  3487. ws = 45
  3488. mow = .2
  3489. end
  3490. walking = true
  3491. hum.HipHeight = 1.16
  3492. metalsound.Volume = 2
  3493. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
  3494. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.05,-.5) * CFrame.Angles(math.rad(72),0,0),.2)
  3495. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3496. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3 - .3 * math.sin(sine/8),.45 +.45 * math.sin(sine/8),-.3 - .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*math.sin(sine/8)),math.rad(-30 + 40*math.sin(sine/8)),math.rad(-10, math.sin(-20 * math.sin(sine/4)))),.3)
  3497. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3 - .3 * math.sin(sine/8),.45 -.45 * math.sin(sine/8),-.3 + .26*math.sin(sine/8)) * CFrame.Angles(math.rad(75*-math.sin(sine/8)),math.rad(30 + 40*math.sin(sine/8)),math.rad(10, math.sin(-20 * math.sin(sine/4)))),.3)
  3498. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3499. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  3500. if psychoboost then
  3501. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/2), 0) * CFrame.Angles(math.rad(-28), math.rad(12 * -math.cos(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/6))), mow/2)
  3502. else
  3503. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + 0.29*math.sin(sine/2), 0) * CFrame.Angles(math.rad(-15), math.rad(12 * -math.cos(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/6))), mow/2)
  3504. end
  3505. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.52, 1.62 - .54 * math.cos(sine/4)/2.8,.2 - .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(20 - 60* math.sin(sine/4)), math.rad(9-16)*math.cos(sine/4), math.rad(0), math.cos(65 * math.cos(sine/4))), mow)
  3506. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.52, 1.62 + .54 * math.cos(sine/4)/2.8,.2 + .5 * math.sin(sine/4)) * CFrame.Angles(math.rad(20 + 60* math.sin(sine/4)), math.rad(-9+16)*math.cos(sine/6), math.rad(0), math.cos(65 * math.cos(sine/4))), mow)
  3507. elseif position == "Idle" and not attacking then
  3508. change = .8
  3509. spin = true
  3510. walking = false
  3511. hum.HipHeight = 1.46
  3512. metalsound.Volume = 0
  3513. rightrotweld.C0 = rightrotweld.C0:lerp(CFrame.new(-.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3514. leftrotweld.C0 = leftrotweld.C0:lerp(CFrame.new(.96,-.5,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3515. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.2)
  3516. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),.2)
  3517. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.2)
  3518. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.4, 2 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(-5), math.rad(30 + 0 * math.sin(sine/12)), math.rad(-5 - .1 * math.sin(sine/12))), 0.2)
  3519. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  3520. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.55, 2.0 - .1 * math.sin(sine/12), .2) * CFrame.Angles(math.rad(5), math.rad(-20 + 0 * math.sin(sine/12)), math.rad(5 + .1 * math.sin(sine/12))), 0.2)
  3521. end
  3522. swait()
  3523. end
  3524. end)
  3525. anims()
  3526. warn("Legendary power awakened. Made by Supr14")
Add Comment
Please, Sign In to add comment