Advertisement
Toey8415

...

Jun 27th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 117.30 KB | None | 0 0
  1. --//================================================================\\--
  2. --|| CREATED BY SHACKLUSTER | EDITED BY Toey8418
  3. --\\=================================================================//--
  4. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  5. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  6. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  7. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  8. local dmg = math.random(min,max)
  9. if humanoid.Health > 0 then
  10. if beserk == true then
  11. humanoid.Health = 0
  12. else
  13. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  14. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  15. if math.random(1,100) < critrate+ 1 then
  16. humanoid.Health = humanoid.Health - dmg*critmultiplier
  17. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  18. else
  19. humanoid.Health = humanoid.Health - dmg
  20. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  21. end
  22. local defence = Instance.new("BoolValue",hit.Parent)
  23. defence.Name = ("HitBy"..Player.Name)
  24. game:GetService("Debris"):AddItem(defence, 0.5)
  25. end
  26. end
  27. end
  28. end
  29. function turnto(position)
  30. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  31. end
  32. Player = game:GetService("Players").LocalPlayer
  33. PlayerGui = Player.PlayerGui
  34. Cam = workspace.CurrentCamera
  35. Backpack = Player.Backpack
  36. Character = Player.Character
  37. Humanoid = Character.Humanoid
  38. Humanoid.Name = "Six Tank is error :(:"
  39. Mouse = Player:GetMouse()
  40. RootPart = Character["HumanoidRootPart"]
  41. Torso = Character["Torso"]
  42. Head = Character["Head"]
  43. RightArm = Character["Right Arm"]
  44. LeftArm = Character["Left Arm"]
  45. RightLeg = Character["Right Leg"]
  46. LeftLeg = Character["Left Leg"]
  47. RootJoint = RootPart["RootJoint"]
  48. Neck = Torso["Neck"]
  49. RightShoulder = Torso["Right Shoulder"]
  50. LeftShoulder = Torso["Left Shoulder"]
  51. RightHip = Torso["Right Hip"]
  52. LeftHip = Torso["Left Hip"]
  53. local sick = Instance.new("Sound",Character)
  54. sick.SoundId = "rbxassetid://1140435341"
  55. sick.Looped = true
  56. sick.Pitch = 1
  57. sick.Volume = 50
  58. sick:Play()
  59.  
  60.  
  61. IT = Instance.new
  62. CF = CFrame.new
  63. VT = Vector3.new
  64. RAD = math.rad
  65. C3 = Color3.new
  66. UD2 = UDim2.new
  67. BRICKC = BrickColor.new
  68. ANGLES = CFrame.Angles
  69. EULER = CFrame.fromEulerAnglesXYZ
  70. COS = math.cos
  71. ACOS = math.acos
  72. SIN = math.sin
  73. ASIN = math.asin
  74. ABS = math.abs
  75. MRANDOM = math.random
  76. FLOOR = math.floor
  77.  
  78. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  79. local NEWMESH = IT(MESH)
  80. if MESH == "SpecialMesh" then
  81. NEWMESH.MeshType = MESHTYPE
  82. if MESHID ~= "nil" and MESHID ~= "" then
  83. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  84. end
  85. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  86. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  87. end
  88. end
  89. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  90. NEWMESH.Scale = SCALE
  91. NEWMESH.Parent = PARENT
  92. return NEWMESH
  93. end
  94.  
  95. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  96. local NEWPART = IT("Part")
  97. NEWPART.formFactor = FORMFACTOR
  98. NEWPART.Reflectance = REFLECTANCE
  99. NEWPART.Transparency = TRANSPARENCY
  100. NEWPART.CanCollide = false
  101. NEWPART.Locked = true
  102. NEWPART.Anchored = true
  103. if ANCHOR == false then
  104. NEWPART.Anchored = false
  105. end
  106. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  107. NEWPART.Name = NAME
  108. NEWPART.Size = SIZE
  109. NEWPART.Position = Torso.Position
  110. NEWPART.Material = MATERIAL
  111. NEWPART:BreakJoints()
  112. NEWPART.Parent = PARENT
  113. return NEWPART
  114. end
  115.  
  116.  
  117. --//=================================\\
  118. --|| CUSTOMIZATION
  119. --\\=================================//
  120.  
  121. Player_Size = 1 --Size of the player.
  122. Animation_Speed = 3
  123. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  124.  
  125. local Speed = 16
  126. local Effects2 = {}
  127.  
  128. --//=================================\\
  129. --|| END OF CUSTOMIZATION
  130. --\\=================================//
  131.  
  132. local function weldBetween(a, b)
  133. local weldd = Instance.new("ManualWeld")
  134. weldd.Part0 = a
  135. weldd.Part1 = b
  136. weldd.C0 = CFrame.new()
  137. weldd.C1 = b.CFrame:inverse() * a.CFrame
  138. weldd.Parent = a
  139. return weldd
  140. end
  141.  
  142. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  143. local acs = Instance.new("Part")
  144. acs.CanCollide = false
  145. acs.Anchored = false
  146. acs.Size = Vector3.new(0,0,0)
  147. acs.CFrame = attachmentpart.CFrame
  148. acs.Parent = Character
  149. acs.BrickColor = color
  150. local meshs = Instance.new("SpecialMesh")
  151. meshs.MeshId = mesh
  152. meshs.TextureId = texture
  153. meshs.Parent = acs
  154. meshs.Scale = scale
  155. meshs.Offset = offset
  156. weldBetween(attachmentpart,acs)
  157. end
  158.  
  159. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  160. if TYPE == "Gem" then
  161. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  162. acs.Anchored = false
  163. acs.CanCollide = false
  164. acs.CFrame = PART.CFrame
  165. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  166. weldBetween(PART,acs)
  167. elseif TYPE == "Skull" then
  168. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  169. acs.Anchored = false
  170. acs.CanCollide = false
  171. acs.CFrame = PART.CFrame
  172. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  173. weldBetween(PART,acs)
  174. elseif TYPE == "Eye" then
  175. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  176. acs.Anchored = false
  177. acs.CanCollide = false
  178. acs.CFrame = PART.CFrame
  179. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  180. weldBetween(PART,acs)
  181. end
  182. end
  183.  
  184. --//=================================\\
  185. --|| USEFUL VALUES
  186. --\\=================================//
  187.  
  188. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  189. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  191. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  192. local CHANGEDEFENSE = 0
  193. local CHANGEDAMAGE = 0
  194. local CHANGEMOVEMENT = 0
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local Rooted = false
  201. local SINE = 0
  202. local KEYHOLD = false
  203. local CHANGE = 2 / Animation_Speed
  204. local WALKINGANIM = false
  205. local WALK = 0
  206. local VALUE1 = false
  207. local VALUE2 = false
  208.  
  209. local ROBLOXIDLEANIMATION = IT("Animation")
  210. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  211. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  212. --ROBLOXIDLEANIMATION.Parent = Humanoid
  213. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  214. WEAPONGUI.Name = "Weapon GUI"
  215. local Weapon = IT("Model")
  216. Weapon.Name = "Adds"
  217. local Effects = IT("Folder", Weapon)
  218. Effects.Name = "Effects"
  219. local ANIMATOR = Humanoid.Animator
  220. local ANIMATE = Character.Animate
  221. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]" ", "263032182", "263032200", "263032221", "263032252", "263033191"}
  222. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  223. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  224. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  225. local UNANCHOR = true
  226.  
  227. local SKILLTEXTCOLOR = C3(0,0,0)
  228. local CHOSENBRICK = "Royal purple"
  229.  
  230. --//=================================\\
  231. --\\=================================//
  232. Class_Name = "My Six Tank.exe"
  233. Editor_Name = "Toey8418"
  234. Creator_Name = "Shackluster"
  235. Original_Name = "Six tanks"
  236. local toggleTag = true
  237. local txt = Instance.new("BillboardGui", Head)
  238. txt.Adornee = nil
  239. txt.Name = "NameDetect"
  240. txt.Size = UDim2.new(4, 0, 1.2, 0)
  241. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  242. local text = Instance.new("TextLabel", txt)
  243. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  244. text.FontSize = "Size8"
  245. text.TextScaled = true
  246. text.TextTransparency = 0
  247. text.BackgroundTransparency = 1
  248. text.TextTransparency = 0
  249. text.TextStrokeTransparency = 0
  250. text.Font = "Fantasy"
  251. text.TextStrokeColor3 = Color3.new(170,0,170)
  252. text.TextColor3 = Color3.new(0,0,0)
  253. text.Text = "Void"
  254.  
  255.  
  256. function RecolorTextAndRename(name,col1,col2)
  257. text.TextStrokeColor3 = col2
  258. text.TextColor3 = col1
  259. text.Text = name
  260. end
  261. print(Class_Name.." Loaded")
  262. print(Creator_Name.." Made This")
  263. print(Editor_Name.." Edited This")
  264. print(Original_Name.." Is The Original Script")
  265. --//=================================\\
  266. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  267. --\\=================================//
  268.  
  269. ArtificialHB = Instance.new("BindableEvent", script)
  270. ArtificialHB.Name = "ArtificialHB"
  271.  
  272. script:WaitForChild("ArtificialHB")
  273.  
  274. frame = Frame_Speed
  275. tf = 0
  276. allowframeloss = false
  277. tossremainder = false
  278. lastframe = tick()
  279. script.ArtificialHB:Fire()
  280.  
  281. game:GetService("RunService").Heartbeat:connect(function(s, p)
  282. tf = tf + s
  283. if tf >= frame then
  284. if allowframeloss then
  285. script.ArtificialHB:Fire()
  286. lastframe = tick()
  287. else
  288. for i = 1, math.floor(tf / frame) do
  289. script.ArtificialHB:Fire()
  290. end
  291. lastframe = tick()
  292. end
  293. if tossremainder then
  294. tf = 0
  295. else
  296. tf = tf - frame * math.floor(tf / frame)
  297. end
  298. end
  299. end)
  300.  
  301. --//=================================\\
  302. --\\=================================//
  303.  
  304.  
  305.  
  306.  
  307.  
  308. --//=================================\\
  309. --|| SOME FUNCTIONS
  310. --\\=================================//
  311.  
  312. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  313. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  314. end
  315.  
  316. function PositiveAngle(NUMBER)
  317. if NUMBER >= 0 then
  318. NUMBER = 0
  319. end
  320. return NUMBER
  321. end
  322.  
  323. function NegativeAngle(NUMBER)
  324. if NUMBER <= 0 then
  325. NUMBER = 0
  326. end
  327. return NUMBER
  328. end
  329.  
  330. function Swait(NUMBER)
  331. if NUMBER == 0 or NUMBER == nil then
  332. ArtificialHB.Event:wait()
  333. else
  334. for i = 1, NUMBER do
  335. ArtificialHB.Event:wait()
  336. end
  337. end
  338. end
  339.  
  340. function QuaternionFromCFrame(cf)
  341. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  342. local trace = m00 + m11 + m22
  343. if trace > 0 then
  344. local s = math.sqrt(1 + trace)
  345. local recip = 0.5 / s
  346. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  347. else
  348. local i = 0
  349. if m11 > m00 then
  350. i = 1
  351. end
  352. if m22 > (i == 0 and m00 or m11) then
  353. i = 2
  354. end
  355. if i == 0 then
  356. local s = math.sqrt(m00 - m11 - m22 + 1)
  357. local recip = 0.5 / s
  358. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  359. elseif i == 1 then
  360. local s = math.sqrt(m11 - m22 - m00 + 1)
  361. local recip = 0.5 / s
  362. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  363. elseif i == 2 then
  364. local s = math.sqrt(m22 - m00 - m11 + 1)
  365. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  366. end
  367. end
  368. end
  369.  
  370. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  371. local xs, ys, zs = x + x, y + y, z + z
  372. local wx, wy, wz = w * xs, w * ys, w * zs
  373. local xx = x * xs
  374. local xy = x * ys
  375. local xz = x * zs
  376. local yy = y * ys
  377. local yz = y * zs
  378. local zz = z * zs
  379. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  380. end
  381.  
  382. function QuaternionSlerp(a, b, t)
  383. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  384. local startInterp, finishInterp;
  385. if cosTheta >= 0.0001 then
  386. if (1 - cosTheta) > 0.0001 then
  387. local theta = ACOS(cosTheta)
  388. local invSinTheta = 1 / SIN(theta)
  389. startInterp = SIN((1 - t) * theta) * invSinTheta
  390. finishInterp = SIN(t * theta) * invSinTheta
  391. else
  392. startInterp = 1 - t
  393. finishInterp = t
  394. end
  395. else
  396. if (1 + cosTheta) > 0.0001 then
  397. local theta = ACOS(-cosTheta)
  398. local invSinTheta = 1 / SIN(theta)
  399. startInterp = SIN((t - 1) * theta) * invSinTheta
  400. finishInterp = SIN(t * theta) * invSinTheta
  401. else
  402. startInterp = t - 1
  403. finishInterp = t
  404. end
  405. end
  406. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  407. end
  408.  
  409. function Clerp(a, b, t)
  410. local qa = {QuaternionFromCFrame(a)}
  411. local qb = {QuaternionFromCFrame(b)}
  412. local ax, ay, az = a.x, a.y, a.z
  413. local bx, by, bz = b.x, b.y, b.z
  414. local _t = 1 - t
  415. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  416. end
  417.  
  418. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  419. local frame = IT("Frame")
  420. frame.BackgroundTransparency = TRANSPARENCY
  421. frame.BorderSizePixel = BORDERSIZEPIXEL
  422. frame.Position = POSITION
  423. frame.Size = SIZE
  424. frame.BackgroundColor3 = COLOR
  425. frame.BorderColor3 = BORDERCOLOR
  426. frame.Name = NAME
  427. frame.Parent = PARENT
  428. return frame
  429. end
  430.  
  431. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  432. local label = IT("TextLabel")
  433. label.BackgroundTransparency = 1
  434. label.Size = UD2(1, 0, 1, 0)
  435. label.Position = UD2(0, 0, 0, 0)
  436. label.TextColor3 = TEXTCOLOR
  437. label.TextStrokeTransparency = STROKETRANSPARENCY
  438. label.TextTransparency = TRANSPARENCY
  439. label.FontSize = TEXTFONTSIZE
  440. label.Font = TEXTFONT
  441. label.BorderSizePixel = BORDERSIZEPIXEL
  442. label.TextScaled = false
  443. label.Text = TEXT
  444. label.Name = NAME
  445. label.Parent = PARENT
  446. return label
  447. end
  448.  
  449. function NoOutlines(PART)
  450. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  451. end
  452.  
  453.  
  454. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  455. local NEWWELD = IT(TYPE)
  456. NEWWELD.Part0 = PART0
  457. NEWWELD.Part1 = PART1
  458. NEWWELD.C0 = C0
  459. NEWWELD.C1 = C1
  460. NEWWELD.Parent = PARENT
  461. return NEWWELD
  462. end
  463.  
  464.  
  465. function CreateSound(ID, PARENT, VOLUME, PITCH)
  466. local NEWSOUND = nil
  467. coroutine.resume(coroutine.create(function()
  468. NEWSOUND = IT("Sound", PARENT)
  469. NEWSOUND.Volume = VOLUME
  470. NEWSOUND.Pitch = PITCH
  471. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  472. Swait()
  473. NEWSOUND:play()
  474. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  475. end))
  476. return NEWSOUND
  477. end
  478.  
  479. function CFrameFromTopBack(at, top, back)
  480. local right = top:Cross(back)
  481. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  482. end
  483.  
  484. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  485. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  486. local mesh = IT("SpecialMesh",wave)
  487. mesh.MeshType = "FileMesh"
  488. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  489. mesh.Scale = SIZE
  490. mesh.Offset = VT(0,0,-SIZE.X/8)
  491. wave.CFrame = CFRAME
  492. coroutine.resume(coroutine.create(function(PART)
  493. for i = 1, WAIT do
  494. Swait()
  495. mesh.Scale = mesh.Scale + GROW
  496. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  497. if DOESROT == true then
  498. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  499. end
  500. wave.Transparency = wave.Transparency + (0.5/WAIT)
  501. if wave.Transparency > 0.99 then
  502. wave:remove()
  503. end
  504. end
  505. end))
  506. end
  507.  
  508. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  509. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  510. local mesh = IT("SpecialMesh",wave)
  511. mesh.MeshType = "FileMesh"
  512. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  513. mesh.Scale = SIZE
  514. mesh.Offset = VT(0,0,-SIZE.X/8)
  515. wave.CFrame = CFRAME
  516. coroutine.resume(coroutine.create(function(PART)
  517. for i = 1, WAIT do
  518. Swait()
  519. mesh.Scale = mesh.Scale + GROW
  520. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  521. if DOESROT == true then
  522. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  523. end
  524. wave.Transparency = wave.Transparency + (0.5/WAIT)
  525. if wave.Transparency > 0.99 then
  526. wave:remove()
  527. end
  528. end
  529. end))
  530. end
  531.  
  532. function clerp(a, b, t)
  533. return a:lerp(b, t)
  534. end
  535.  
  536. function newBezier(startpos, pos2, pos3, endpos, t)
  537. local A = clerp(startpos, pos2, t)
  538. local B = clerp(pos2, pos3, t)
  539. local C = clerp(pos3, endpos, t)
  540. local lerp1 = clerp(A, B, t)
  541. local lerp2 = clerp(B, C, t)
  542. local cubic = clerp(lerp1, lerp2, t)
  543. return cubic
  544. end
  545.  
  546. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  547. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  548. local mesh = IT("SpecialMesh",wave)
  549. mesh.MeshType = "FileMesh"
  550. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  551. mesh.Scale = SIZE
  552. mesh.Offset = VT(0,0,-SIZE.X/8)
  553. wave.CFrame = CFRAME
  554. coroutine.resume(coroutine.create(function(PART)
  555. for i = 1, WAIT do
  556. Swait()
  557. mesh.Scale = mesh.Scale + GROW
  558. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  559. if DOESROT == true then
  560. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  561. end
  562. wave.Transparency = wave.Transparency + (0.5/WAIT)
  563. if wave.Transparency > 0.99 then
  564. wave:remove()
  565. end
  566. end
  567. end))
  568. end
  569.  
  570. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  571. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  572. local mesh = IT("SpecialMesh",wave)
  573. mesh.MeshType = "FileMesh"
  574. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  575. mesh.Scale = SIZE
  576. mesh.Offset = VT(0,0,-SIZE.X/8)
  577. wave.CFrame = CFRAME
  578. coroutine.resume(coroutine.create(function(PART)
  579. for i = 1, WAIT do
  580. Swait()
  581. mesh.Scale = mesh.Scale + GROW
  582. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  583. if DOESROT == true then
  584. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  585. end
  586. wave.Transparency = wave.Transparency + (0.5/WAIT)
  587. if wave.Transparency > 0.99 then
  588. wave:remove()
  589. end
  590. end
  591. end))
  592. end
  593.  
  594. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  595. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  596. local mesh = IT("SpecialMesh",wave)
  597. mesh.MeshType = "FileMesh"
  598. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  599. mesh.Scale = SIZE
  600. wave.CFrame = CFRAME
  601. coroutine.resume(coroutine.create(function(PART)
  602. for i = 1, WAIT do
  603. Swait()
  604. mesh.Scale = mesh.Scale + GROW
  605. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  606. if DOESROT == true then
  607. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  608. end
  609. wave.Transparency = wave.Transparency + (0.5/WAIT)
  610. if wave.Transparency > 0.99 then
  611. wave:remove()
  612. end
  613. end
  614. end))
  615. end
  616.  
  617. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  618. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  619. local mesh = IT("SpecialMesh",wave)
  620. mesh.MeshType = "FileMesh"
  621. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  622. mesh.Scale = SIZE
  623. wave.CFrame = CFRAME
  624. coroutine.resume(coroutine.create(function(PART)
  625. for i = 1, WAIT do
  626. Swait()
  627. mesh.Scale = mesh.Scale + GROW
  628. if DOESROT == true then
  629. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  630. end
  631. wave.Transparency = wave.Transparency + (0.5/WAIT)
  632. if wave.Transparency > 0.99 then
  633. wave:remove()
  634. end
  635. end
  636. end))
  637. end
  638.  
  639. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  640. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  641. local mesh = IT("SpecialMesh",wave)
  642. mesh.MeshType = "FileMesh"
  643. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  644. mesh.Scale = SIZE
  645. mesh.Offset = VT(0,0,0)
  646. wave.CFrame = CFRAME
  647. coroutine.resume(coroutine.create(function(PART)
  648. for i = 1, WAIT do
  649. Swait()
  650. mesh.Scale = mesh.Scale + GROW
  651. if DOESROT == true then
  652. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  653. end
  654. wave.Transparency = wave.Transparency + (0.5/WAIT)
  655. if wave.Transparency > 0.99 then
  656. wave:remove()
  657. end
  658. end
  659. end))
  660. end
  661.  
  662. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  663. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  664. local mesh = IT("SpecialMesh",wave)
  665. mesh.MeshType = "Sphere"
  666. mesh.Scale = SIZE
  667. mesh.Offset = VT(0,0,0)
  668. wave.CFrame = CFRAME
  669. coroutine.resume(coroutine.create(function(PART)
  670. for i = 1, WAIT do
  671. Swait()
  672. mesh.Scale = mesh.Scale + GROW
  673. wave.Transparency = wave.Transparency + (1/WAIT)
  674. if wave.Transparency > 0.99 then
  675. wave:remove()
  676. end
  677. end
  678. end))
  679. end
  680.  
  681. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  682. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  683. local mesh = nil
  684. if KIND == "Base" then
  685. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  686. elseif KIND == "Thin" then
  687. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  688. elseif KIND == "Round" then
  689. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  690. end
  691. wave.CFrame = CFRAME
  692. coroutine.resume(coroutine.create(function(PART)
  693. for i = 1, WAIT do
  694. Swait()
  695. mesh.Scale = mesh.Scale + GROW/10
  696. wave.Transparency = wave.Transparency + (0.5/WAIT)
  697. if wave.Transparency > 0.99 then
  698. wave:remove()
  699. end
  700. end
  701. end))
  702. end
  703.  
  704. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  705. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  706. local mesh = IT("BlockMesh",wave)
  707. wave.CFrame = CFRAME
  708. coroutine.resume(coroutine.create(function(PART)
  709. for i = 1, WAIT do
  710. Swait()
  711. mesh.Scale = mesh.Scale + GROW
  712. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  713. wave.Transparency = wave.Transparency + (1/WAIT)
  714. if wave.Transparency > 0.99 then
  715. wave:remove()
  716. end
  717. end
  718. end))
  719. end
  720.  
  721. function MakeForm(PART,TYPE)
  722. if TYPE == "Cyl" then
  723. local MSH = IT("CylinderMesh",PART)
  724. elseif TYPE == "Ball" then
  725. local MSH = IT("SpecialMesh",PART)
  726. MSH.MeshType = "Sphere"
  727. elseif TYPE == "Wedge" then
  728. local MSH = IT("SpecialMesh",PART)
  729. MSH.MeshType = "Wedge"
  730. end
  731. end
  732.  
  733. function CheckTableForString(Table, String)
  734. for i, v in pairs(Table) do
  735. if string.find(string.lower(String), string.lower(v)) then
  736. return true
  737. end
  738. end
  739. return false
  740. end
  741.  
  742. function CheckIntangible(Hit)
  743. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  744. if Hit and Hit.Parent then
  745. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  746. return true
  747. end
  748. end
  749. return false
  750. end
  751.  
  752. Debris = game:GetService("Debris")
  753.  
  754. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  755. local Direction = CFrame.new(StartPos, Vec).lookVector
  756. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  757. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  758. if RayHit and CheckIntangible(RayHit) then
  759. if DelayIfHit then
  760. wait()
  761. end
  762. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  763. end
  764. return RayHit, RayPos, RayNormal
  765. end
  766.  
  767. function turnto(position)
  768. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  769. end
  770.  
  771. --//=================================\\
  772. --|| WEAPON CREATION
  773. --\\=================================//
  774. local EyeSizes={
  775. NumberSequenceKeypoint.new(0,2,0),
  776. NumberSequenceKeypoint.new(1,0,0)
  777. }
  778. local EyeTrans={
  779. NumberSequenceKeypoint.new(0,0.5,0),
  780. NumberSequenceKeypoint.new(1,1,0)
  781. }
  782. local PE=Instance.new("ParticleEmitter",nil)
  783. PE.LightEmission=.8
  784. PE.Color = ColorSequence.new(BRICKC("Crimson").Color,BRICKC("Mulberry").Color)
  785. PE.Size=NumberSequence.new(EyeSizes)
  786. PE.Transparency=NumberSequence.new(EyeTrans)
  787. PE.Lifetime=NumberRange.new(0.35,1)
  788. PE.Rotation=NumberRange.new(0,360)
  789. PE.Rate=100
  790. PE.VelocitySpread = 10000
  791. PE.Acceleration = Vector3.new(0,85,0)
  792. PE.Drag = 5
  793. PE.Speed = NumberRange.new(0.1,5)
  794. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  795. PE.ZOffset = 0.5
  796. PE.Name = "PE"
  797. PE.Enabled = false
  798.  
  799. local EYE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.6,0.1,1)/2,false)
  800. MakeForm(EYE,"Ball")
  801. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  802. local EYE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.6,0.1,1)/2,false)
  803. MakeForm(EYE,"Ball")
  804. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  805. local EYE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.1,1,1)/2,false)
  806. MakeForm(EYE,"Ball")
  807. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  808. local EYE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "FaceGradient", VT(0.1,1,1)/2,false)
  809. MakeForm(EYE,"Ball")
  810. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  811.  
  812. for _, c in pairs(Weapon:GetChildren()) do
  813. if c.ClassName == "Part" then
  814. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  815. end
  816. end
  817.  
  818.  
  819. Weapon.Parent = Character
  820.  
  821. Humanoid.Died:connect(function()
  822. ATTACK = true
  823. end)
  824.  
  825. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  826. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  827. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  828.  
  829. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  830. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  831. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle tanks", C3(0,0,0), 8, "SciFi", 0, 2, 1, "Text 3")
  832. --//=================================\\
  833. --|| DAMAGE FUNCTIONS
  834. --\\=================================//
  835.  
  836. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  837. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  838. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  839. local BODYGYRO = IT("BodyGyro", STATPART)
  840. local BODYPOSITION = IT("BodyPosition", STATPART)
  841. BODYPOSITION.P = 2000
  842. BODYPOSITION.D = 100
  843. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  844. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  845. game:GetService("Debris"):AddItem(STATPART ,5)
  846. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  847. BILLBOARDGUI.Adornee = STATPART
  848. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  849. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  850. BILLBOARDGUI.AlwaysOnTop = false
  851. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  852. TEXTLABEL.BackgroundTransparency = 1
  853. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  854. TEXTLABEL.Text = TEXT
  855. TEXTLABEL.Font = "SciFi"
  856. TEXTLABEL.FontSize="Size42"
  857. TEXTLABEL.TextColor3 = COLOR
  858. TEXTLABEL.TextStrokeTransparency = 1
  859. TEXTLABEL.TextScaled = true
  860. TEXTLABEL.TextWrapped = true
  861. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  862. if LABELTYPE == "Normal" then
  863. for i = 1, 30 do
  864. Swait()
  865. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  866. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  867. end
  868. elseif LABELTYPE == "Debuff" then
  869. for i = 1, 30 do
  870. Swait()
  871. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  872. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  873. end
  874. elseif LABELTYPE == "Shock" then
  875. local ORIGIN = STATPART.Position
  876. for i = 1, 30 do
  877. Swait()
  878. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  879. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  880. end
  881. end
  882. THEPART.Parent = nil
  883. end),STATPART, BODYPOSITION, TEXTLABEL)
  884. end
  885.  
  886. --//=================================\\
  887. --|| DAMAGING
  888. --\\=================================//
  889.  
  890. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  891. local defence = Instance.new("BoolValue",Humanoid.Parent)
  892. defence.Name = ("HitBy"..Player.Name)
  893. game:GetService("Debris"):AddItem(defence, 0.5)
  894. Humanoid.Health = Humanoid.Health - Damage
  895. if Humanoid.Parent:FindFirstChild("Head") then
  896. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  897. end
  898. end
  899.  
  900.  
  901. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  902. local dmg = math.random(min,max)
  903. for i,v in ipairs(workspace:GetChildren()) do
  904. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  905. local body = v:GetChildren()
  906. for part = 1, #body do
  907. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  908. if(body[part].Position - position).Magnitude < radius then
  909. if v.ClassName == "Model" then
  910. if v:FindFirstChildOfClass("Humanoid") then
  911. if CanBeDodgedByJumping == true then
  912. if body[part].Position.Y < position.Y+5 then
  913. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  914. end
  915. else
  916. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  917. end
  918. local bv = Instance.new("BodyVelocity")
  919. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  920. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  921. bv.Parent = body[part]
  922. Debris:AddItem(bv,0.2)
  923. end
  924. end
  925. end
  926. end
  927. end
  928. end
  929. if v:FindFirstChild("HitBy"..Player.Name) then
  930. v:FindFirstChild("HitBy"..Player.Name):remove()
  931. end
  932. end
  933. end
  934.  
  935. function AoEStun(POS,RANGE,LAST)
  936. for i,v in ipairs(workspace:GetChildren()) do
  937. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  938. local body = v:GetChildren()
  939. for part = 1, #body do
  940. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  941. if(body[part].Position - POS).Magnitude < RANGE then
  942. if v.ClassName == "Model" then
  943. if v:FindFirstChild("Humanoid") then
  944. if v.Humanoid.Health ~= 0 then
  945. Stun(v.Humanoid,LAST)
  946. local defence = Instance.new("BoolValue",v)
  947. defence.Name = ("StunnedBy"..Player.Name)
  948. game:GetService("Debris"):AddItem(defence, 0.1)
  949. end
  950. end
  951. end
  952. end
  953. end
  954. end
  955. end
  956. end
  957. end
  958.  
  959. function Stun(HUMANOID,LAST)
  960. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  961. HUMANOID.PlatformStand = true
  962. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  963. defence.Name = ("StunnedBy"..Player.Name)
  964. game:GetService("Debris"):AddItem(defence, LAST)
  965. if HUMANOID.Parent:FindFirstChild("Head") then
  966. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  967. end
  968. coroutine.resume(coroutine.create(function()
  969. Swait(LAST*100)
  970. HUMANOID.PlatformStand = false
  971. end))
  972. end
  973. end
  974.  
  975. function Poison(HUMANOID,LAST,DAMAGE)
  976. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  977. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  978. defence.Name = ("PoisonedBy"..Player.Name)
  979. game:GetService("Debris"):AddItem(defence, LAST)
  980. coroutine.resume(coroutine.create(function()
  981. for i = 1, LAST/2 do
  982. if HUMANOID.Parent:FindFirstChild("Head") then
  983. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  984. end
  985. Swait(2)
  986. HUMANOID.Health = HUMANOID.Health - DAMAGE
  987. end
  988. end))
  989. end
  990. end
  991.  
  992. function killnearest(position,range,maxstrength)
  993. for i,v in ipairs(workspace:GetChildren()) do
  994. local body = v:GetChildren()
  995. for part = 1, #body do
  996. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  997. if(body[part].Position - position).Magnitude < range then
  998. if v.ClassName == "Model" then
  999. v:BreakJoints()
  1000. end
  1001. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1002. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1003. end
  1004. end
  1005. end
  1006. if v.ClassName == "Part" then
  1007. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1008. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1009. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1010. end
  1011. end
  1012. end
  1013. end
  1014.  
  1015. --//=================================\\
  1016. --|| ATTACK FUNCTIONS AND STUFF --ATTACKS BOI
  1017. --\\=================================//
  1018. local LAUGHS = {834001699,834001752,834001797,834001828}
  1019.  
  1020. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1021. MakeForm(RightHole,"Cyl")
  1022. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1023. MakeForm(LeftHole,"Cyl")
  1024.  
  1025. function SpawnTrail(FROM,TO,BIG)
  1026. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1027. MakeForm(TRAIL,"Cyl")
  1028. local DIST = (FROM - TO).Magnitude
  1029. if BIG == true then
  1030. TRAIL.Size = VT(0.5,DIST,0.5)
  1031. else
  1032. TRAIL.Size = VT(0.25,DIST,0.25)
  1033. end
  1034. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1035. coroutine.resume(coroutine.create(function()
  1036. for i = 1, 5 do
  1037. Swait()
  1038. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1039. end
  1040. TRAIL:remove()
  1041. end))
  1042. end
  1043.  
  1044. function Deathbound()
  1045. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1046. ATTACK = true
  1047. Rooted = true
  1048. for i=0, 1, 0.1 / Animation_Speed do
  1049. Swait()
  1050. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1051. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1054. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1055. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1056. end
  1057. local DONE = false
  1058. local GATE = nil
  1059. local GATESPIN = true
  1060. coroutine.resume(coroutine.create(function()
  1061. repeat
  1062. Swait()
  1063. if GATE ~= nil then
  1064. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1065. end
  1066. until GATESPIN == false
  1067. end))
  1068. coroutine.resume(coroutine.create(function()
  1069. repeat
  1070. Swait()
  1071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1072. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1075. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1076. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1077. until DONE == true
  1078. Swait(50)
  1079. for i = 1, 35 do
  1080. Swait(4)
  1081. local FIRED = false
  1082. local CHILDREN = workspace:GetDescendants()
  1083. for index, CHILD in pairs(CHILDREN) do
  1084. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1085. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1086. if HUM then
  1087. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1088. if TORSO then
  1089. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1090. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1091. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1092. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1093. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1094. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1095. Kill(CHILD)
  1096. FIRED = true
  1097. break
  1098. end
  1099. end
  1100. end
  1101. end
  1102. end
  1103. if FIRED == false then
  1104. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1105. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1106. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1107. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1108. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1109. if HITBOD ~= nil then
  1110. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1111. Kill(HITBOD.Parent)
  1112. end
  1113. end
  1114. end
  1115. end
  1116. for i = 1, 45 do
  1117. Swait()
  1118. GATE.Size = GATE.Size - VT(3,0,3)
  1119. end
  1120. GATESPIN = false
  1121. GATE:remove()
  1122. end))
  1123. Swait(15)
  1124. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1125. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1126. local DECAL = IT("Decal",GATE)
  1127. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1128. DECAL.Face = "Top"
  1129. GATE.CFrame = CF(HITPOS)
  1130. CreateSound(160772554, GATE, 7, 1.3, false)
  1131. for i = 1, 45 do
  1132. Swait()
  1133. GATE.Size = GATE.Size + VT(3,0,3)
  1134. end
  1135. CreateSound(213603013, RightHole, 7, 1, false)
  1136. CreateSound(213603013, LeftHole, 7, 1, false)
  1137. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1138. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1139. ATTACK = false
  1140. Rooted = false
  1141. DONE = true
  1142. end
  1143.  
  1144. function WACKYEFFECT(Table)
  1145. local TYPE = (Table.EffectType or "Sphere")
  1146. local SIZE = (Table.Size or VT(1,1,1))
  1147. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1148. local TRANSPARENCY = (Table.Transparency or 0)
  1149. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1150. local CFRAME = (Table.CFrame or Torso.CFrame)
  1151. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1152. local ROTATION1 = (Table.RotationX or 0)
  1153. local ROTATION2 = (Table.RotationY or 0)
  1154. local ROTATION3 = (Table.RotationZ or 0)
  1155. local MATERIAL = (Table.Material or "Neon")
  1156. local COLOR = (Table.Color or C3(1,1,1))
  1157. local TIME = (Table.Time or 45)
  1158. local SOUNDID = (Table.SoundID or nil)
  1159. local SOUNDPITCH = (Table.SoundPitch or nil)
  1160. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1161. coroutine.resume(coroutine.create(function()
  1162. local PLAYSSOUND = false
  1163. local SOUND = nil
  1164. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1165. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1166. PLAYSSOUND = true
  1167. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1168. end
  1169. EFFECT.Color = COLOR
  1170. local MSH = nil
  1171. if TYPE == "Sphere" then
  1172. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1173. elseif TYPE == "Block" then
  1174. MSH = IT("BlockMesh",EFFECT)
  1175. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1176. elseif TYPE == "Wave" then
  1177. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1178. elseif TYPE == "Ring" then
  1179. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1180. elseif TYPE == "Slash" then
  1181. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1182. elseif TYPE == "Round Slash" then
  1183. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1184. elseif TYPE == "Swirl" then
  1185. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1186. elseif TYPE == "Skull" then
  1187. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1188. elseif TYPE == "Crystal" then
  1189. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1190. end
  1191. if MSH ~= nil then
  1192. local MOVESPEED = nil
  1193. if MOVEDIRECTION ~= nil then
  1194. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1195. end
  1196. local GROWTH = SIZE - ENDSIZE
  1197. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1198. if TYPE == "Block" then
  1199. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1200. else
  1201. EFFECT.CFrame = CFRAME
  1202. end
  1203. for LOOP = 1, TIME+1 do
  1204. Swait()
  1205. MSH.Scale = MSH.Scale - GROWTH/TIME
  1206. if TYPE == "Wave" then
  1207. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1208. end
  1209. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1210. if TYPE == "Block" then
  1211. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1212. else
  1213. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1214. end
  1215. if MOVEDIRECTION ~= nil then
  1216. local ORI = EFFECT.Orientation
  1217. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1218. EFFECT.Orientation = ORI
  1219. end
  1220. end
  1221. if PLAYSSOUND == false then
  1222. EFFECT:remove()
  1223. else
  1224. SOUND.Stopped:Connect(function()
  1225. EFFECT:remove()
  1226. end)
  1227. end
  1228. else
  1229. if PLAYSSOUND == false then
  1230. EFFECT:remove()
  1231. else
  1232. repeat Swait() until SOUND.Playing == false
  1233. EFFECT:remove()
  1234. end
  1235. end
  1236. end))
  1237. end
  1238.  
  1239. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1240. local CHILDREN = workspace:GetDescendants()
  1241. for index, CHILD in pairs(CHILDREN) do
  1242. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1243. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1244. if HUM then
  1245. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1246. if TORSO then
  1247. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1248. if BRUTAL == true then
  1249. Kill(CHILD)
  1250. else
  1251. CHILD:BreakJoints()
  1252. end
  1253. end
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259.  
  1260. local asd = Instance.new("ParticleEmitter")
  1261. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1262. asd.LightEmission = .1
  1263. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1264. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1265. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1266. asd.Transparency = bbb
  1267. asd.Size = aaa
  1268. asd.ZOffset = .9
  1269. asd.Acceleration = Vector3.new(0, -15, 0)
  1270. asd.LockedToPart = false
  1271. asd.EmissionDirection = "Back"
  1272. asd.Lifetime = NumberRange.new(1, 2)
  1273. asd.Rotation = NumberRange.new(-100, 100)
  1274. asd.RotSpeed = NumberRange.new(-100, 100)
  1275. asd.Speed = NumberRange.new(10)
  1276. asd.Enabled = false
  1277. asd.VelocitySpread = 999
  1278.  
  1279. function getbloody(victim,amount)
  1280. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1281. PART.CFrame = victim.CFrame
  1282. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1283. Debris:AddItem(PART,5)
  1284. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1285. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1286. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1287. local prtcl = asd:Clone()
  1288. prtcl.Parent = PART
  1289. prtcl:Emit(amount*10)
  1290. end
  1291.  
  1292. function Kill(Char)
  1293. local NewCharacter = IT("Model",Effects)
  1294. NewCharacter.Name = "Ow im ded ;-;"
  1295. for _, c in pairs(Char:GetDescendants()) do
  1296. if c:IsA("BasePart") and c.Transparency == 0 then
  1297. if c.Parent == Char then
  1298. getbloody(c,5)
  1299. end
  1300. c:BreakJoints()
  1301. c.Material = "Glass"
  1302. c.Color = C3(0.5,0,0)
  1303. c.CanCollide = true
  1304. c.Transparency = 0.3
  1305. if c:FindFirstChildOfClass("SpecialMesh") then
  1306. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1307. end
  1308. if c.Name == "Head" then
  1309. c:ClearAllChildren()
  1310. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1311. end
  1312. if c.ClassName == "MeshPart" then
  1313. c.TextureID = ""
  1314. end
  1315. if c:FindFirstChildOfClass("BodyPosition") then
  1316. c:FindFirstChildOfClass("BodyPosition"):remove()
  1317. end
  1318. if c:FindFirstChildOfClass("ParticleEmitter") then
  1319. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1320. end
  1321. c.Parent = NewCharacter
  1322. c.Name = "DeadPart"
  1323. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1324. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1325. end
  1326. end
  1327. Char:remove()
  1328. Debris:AddItem(NewCharacter,5)
  1329. end
  1330.  
  1331. local LAUGHS = {834001699,834001752,834001797,834001828}
  1332. function Morning_Star()
  1333. ATTACK = true
  1334. Rooted = true
  1335. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1336. for i=0, 1, 0.1 / Animation_Speed do
  1337. Swait()
  1338. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1339. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1340. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1341. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1342. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1343. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1344. end
  1345. coroutine.resume(coroutine.create(function()
  1346. local POS = Mouse.Hit.p
  1347. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Strike", VT(0,2000,0))
  1348. MakeForm(RAY,"Cyl")
  1349. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Strike", VT(0,0,0))
  1350. MakeForm(SPHERE,"Ball")
  1351. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1352. MakeForm(SHIELD,"Ball")
  1353. SHIELD.CFrame = CF(POS)
  1354. RAY.CFrame = CF(POS)
  1355. SPHERE.CFrame = CF(POS)
  1356. CreateSound(144699494, SPHERE, 10, 0.8, false)
  1357. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1358. for i = 1, 200 do
  1359. Swait()
  1360. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1361. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1362. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1363. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1364. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1365. end
  1366. for i = 1, 45 do
  1367. Swait()
  1368. RAY.Transparency = RAY.Transparency + 1/45
  1369. SPHERE.Transparency = RAY.Transparency
  1370. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1371. end
  1372. RAY:remove()
  1373. SHIELD:remove()
  1374. SPHERE:remove()
  1375. end))
  1376. for i=0, 1, 0.1 / Animation_Speed do
  1377. Swait()
  1378. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1379. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1380. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1381. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1382. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1383. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1384. end
  1385. ATTACK = false
  1386. Rooted = false
  1387. end
  1388.  
  1389. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1390. if DoesCourontine == false then
  1391. local Direction = CF(Part.Position,ToLocation)
  1392. local Distance = (Part.Position - ToLocation).magnitude
  1393. for i = 1, AmountOfTime do
  1394. Swait()
  1395. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1396. Direction = Part.CFrame
  1397. end
  1398. elseif DoesCourontine == true then
  1399. coroutine.resume(coroutine.create(function()
  1400. local Direction = CF(Part.Position,ToLocation)
  1401. local Distance = (Part.Position - ToLocation).magnitude
  1402. for i = 1, AmountOfTime do
  1403. Swait()
  1404. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1405. Direction = Part.CFrame
  1406. end
  1407. end))
  1408. end
  1409. end
  1410.  
  1411. function impale(chain,hit)
  1412. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1413. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1414. if humanoid.Health ~= 0 then
  1415. hit.Parent:BreakJoints()
  1416. getbloody(hit,15)
  1417. local prtcl = asd:Clone()
  1418. prtcl.Parent = chain
  1419. prtcl.Enabled = true
  1420. prtcl.Speed = NumberRange.new(0)
  1421. prtcl.Size = NumberSequence.new(0.2)
  1422. end
  1423. end
  1424. end
  1425.  
  1426. function CreateMagicCircle()
  1427. local sinkhole = IT("Part")
  1428. sinkhole.Size = VT(0,0,0)
  1429. sinkhole.Parent = Effects
  1430. sinkhole.Material = "Neon"
  1431. sinkhole.Color = C3(0,0,0)
  1432. sinkhole.Anchored = true
  1433. sinkhole.CanCollide = false
  1434. sinkhole.Transparency = 1
  1435. local decal = IT("Decal",sinkhole)
  1436. decal.Face = "Top"
  1437. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1438. local decal2 = IT("Decal",sinkhole)
  1439. decal2.Face = "Bottom"
  1440. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1441. return sinkhole
  1442. end
  1443.  
  1444. function Chain()
  1445. ATTACK = true
  1446. Rooted = false
  1447. for i=0, 2, 0.1 / Animation_Speed do
  1448. turnto(Mouse.Hit.p)
  1449. Swait()
  1450. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  1452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1453. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1454. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1455. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1456. end
  1457. CreateSound("1208650519", RightArm, 10, 2)
  1458. local RING = CreateMagicCircle()
  1459. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1460. for i = 1, 5 do
  1461. turnto(Mouse.Hit.p)
  1462. Swait()
  1463. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1464. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1465. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1466. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1467. RING.Size = RING.Size + VT(1,0,1)
  1468. end
  1469. coroutine.resume(coroutine.create(function()
  1470. local POS = Mouse.Hit.p
  1471. local A = IT("Attachment",RING)
  1472. for i = 1, 15 do
  1473. Swait(MRANDOM(0,5))
  1474. coroutine.resume(coroutine.create(function()
  1475. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1476. --print("Chain start")
  1477. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1478. Front.CanCollide = true
  1479. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1480. local B = IT("Attachment",Front)
  1481. local ChainLink = IT("Beam",RING)
  1482. ChainLink.Texture = "rbxassetid://1262544869"
  1483. ChainLink.TextureSpeed = 0
  1484. ChainLink.FaceCamera = true
  1485. ChainLink.Width0 = 3
  1486. ChainLink.Attachment0 = A
  1487. ChainLink.Attachment1 = B
  1488. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1489. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1490. ChainLink.TextureMode = "Static"
  1491. local bv = Instance.new("BodyVelocity")
  1492. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1493. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1494. bv.Parent = Front
  1495. bv.Name = "MOVE"
  1496. --print("Chain made")
  1497. coroutine.resume(coroutine.create(function()
  1498. Swait(50)
  1499. bv:remove()
  1500. local POS = Front.Position
  1501. Front.CanCollide = false
  1502. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1503. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1504. for i = 0, 1, 0.07 do
  1505. Swait()
  1506. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1507. end
  1508. Front:remove()
  1509. ChainLink:remove()
  1510. end))
  1511. local harm = Front.Touched:Connect(function(hit)
  1512. impale(Front,hit)
  1513. end)
  1514. end))
  1515. end
  1516. Swait(60)
  1517. for i = 1, 5 do
  1518. Swait()
  1519. RING.Size = RING.Size - VT(1,0,1)
  1520. end
  1521. RING:remove()
  1522. end))
  1523. ATTACK = false
  1524. Rooted = false
  1525. end
  1526.  
  1527. function MegaChain()
  1528. ATTACK = true
  1529. Rooted = true
  1530. for i=0, 2, 0.1 / Animation_Speed do
  1531. Swait()
  1532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1534. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1535. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1536. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1537. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1538. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1539. end
  1540. for i=0, 0.5, 0.1 / Animation_Speed do
  1541. Swait()
  1542. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1543. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1544. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1547. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1548. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1549. end
  1550. CreateSound("1208650519", Effects, 10, 1)
  1551. local GUI,GUI2 = CreateGUICircle(Torso)
  1552. local GUI3,GUI4 = CreateGUICircle(Torso)
  1553. for i = 1, 200 do
  1554. Swait()
  1555. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1556. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1557. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1558. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1559. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1560. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1561. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1562. GUI2.Rotation = GUI2.Rotation + i/10
  1563. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  1564. GUI4.Rotation = GUI4.Rotation - i/10
  1565. end
  1566. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  1567. Swait(25)
  1568. for i = 1, 100 do
  1569. Swait()
  1570. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  1571. GUI2.Rotation = GUI2.Rotation - i/5
  1572. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  1573. GUI4.Rotation = GUI4.Rotation + i/5
  1574. end
  1575. GUI:remove()
  1576. GUI3:remove()
  1577. ATTACK = false
  1578. Rooted = false
  1579. end
  1580.  
  1581. local ENERGYSOUND = 1417051162
  1582. local BEAMSOUND = 1417056781
  1583. local EXPLOSIONSOUND = 1417056081
  1584.  
  1585. local BasePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Dark indigo", "BraceletPart", VT(1.01,0.3,1.01),false)
  1586. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1587. for i = 1, 3 do
  1588. local Part = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Royal purple", "BraceletPart", VT(0.2,1.02,0.2),false)
  1589. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1590. MakeForm(Part,"Cyl")
  1591. end
  1592.  
  1593. function Charge(TIME,GYRO)
  1594. local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false)
  1595. local G = nil
  1596. if GYRO == true then
  1597. G = IT("BodyGyro",RootPart)
  1598. G.D = 250
  1599. G.P = 200000
  1600. G.MaxTorque = VT(math.huge,math.huge,math.huge)
  1601. end
  1602. for i=0, TIME, 0.1 / Animation_Speed do
  1603. Swait()
  1604. if G then
  1605. G.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1606. end
  1607. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1608. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1609. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1610. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1611. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1612. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1613. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1614. end
  1615. SND:remove()
  1616. if G then
  1617. return G
  1618. end
  1619. end
  1620.  
  1621. function PowerOutburst()
  1622. ATTACK = true
  1623. Rooted = true
  1624. Charge(2,false)
  1625. local SND = CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1626. local SND2 = CreateSound(ENERGYSOUND,RootPart,10,1,false)
  1627. for i = 1, 60 do
  1628. Swait()
  1629. ApplyAoE(RootPart.Position,i*1.3,10,20,-200,true)
  1630. SND.Pitch = SND.Pitch - 1/60
  1631. SND2.Pitch = SND.Pitch
  1632. WACKYEFFECT({TIME = 4, EffectType = "Wave", Size = VT(i*2,10,i*2), Size2 = VT(i*2,10,i*2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1633. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,10,0), Size2 = VT(i*2,6,i*2), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1634. WACKYEFFECT({TIME = math.ceil(15-(i/10)), EffectType = "Wave", Size = VT(0,6,0), Size2 = VT(i*1.6,10,i*1.6), Transparency = 0.8, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(i*5), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1635. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(45), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1639. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1640. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1641. end
  1642. SND:remove()
  1643. SND2:remove()
  1644. ATTACK = false
  1645. Rooted = false
  1646. end
  1647.  
  1648. function RadioactiveSludge()
  1649. ATTACK = true
  1650. Rooted = true
  1651. for i=0, 1, 0.1 / Animation_Speed do
  1652. Swait()
  1653. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.6 / Animation_Speed)
  1654. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.6 / Animation_Speed)
  1655. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1656. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1657. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1658. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1659. end
  1660. for i=0, 0.4, 0.1 / Animation_Speed do
  1661. Swait()
  1662. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  1663. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  1664. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1665. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1666. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1667. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. end
  1669. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Beam", VT(0,0,0))
  1670. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Dark indigo", "Beam", VT(0,0,0))
  1671. MakeForm(BEAM,"Ball")
  1672. MakeForm(BEAM2,"Ball")
  1673. BEAM.CFrame = CF(RootPart.Position)
  1674. BEAM2.CFrame = CF(RootPart.Position)
  1675. CreateSound(EXPLOSIONSOUND,RootPart,10,1,false)
  1676. for i=1, 100 do
  1677. Swait()
  1678. BEAM.Size = BEAM.Size + VT(0.7,8,0.7)
  1679. BEAM2.Size = BEAM2.Size + VT(2,2,2)
  1680. ApplyAoE(BEAM2.Position,BEAM2.Size.Z/2,5,5,15,true)
  1681. BEAM.CFrame = CF(RootPart.Position)
  1682. BEAM2.CFrame = CF(RootPart.Position)
  1683. WACKYEFFECT({TIME = 5+i, EffectType = "Swirl", Size = BEAM2.Size*1.15, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0.8, Transparency2 = 1, CFrame = BEAM.CFrame * ANGLES(RAD(0), RAD(i*5), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i/8, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -1, -0.3) * ANGLES(RAD(75), RAD(0), RAD(75)), 1 / Animation_Speed)
  1685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 1/ Animation_Speed)
  1686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1688. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.01) * ANGLES(RAD(75), RAD(25), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1689. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1690. end
  1691. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM.Size, Size2 = VT(0,BEAM.Size.Y,0), Transparency = 0, Transparency2 = 0, CFrame = BEAM.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1692. WACKYEFFECT({TIME = 75, EffectType = "Sphere", Size = BEAM2.Size, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.6, CFrame = BEAM2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1693. BEAM2:remove()
  1694. BEAM:remove()
  1695. ATTACK = false
  1696. Rooted = false
  1697. end
  1698.  
  1699. function CastProperRay(StartPos, Vec, Length, Ignore)
  1700. local Direction = CFrame.new(StartPos, Vec).lookVector
  1701. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1702. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1703. return RayHit, RayPos, RayNormal
  1704. end
  1705.  
  1706. function BanishBullet()
  1707. ATTACK = true
  1708. Rooted = false
  1709. for i = 0, 0.4, 0.1 / Animation_Speed do
  1710. Swait()
  1711. turnto(Mouse.Hit.p)
  1712. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1713. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1714. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1715. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1716. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1717. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1718. end
  1719. repeat
  1720. for i = 0, 0.2, 0.1 / Animation_Speed do
  1721. Swait()
  1722. turnto(Mouse.Hit.p)
  1723. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1729. end
  1730. CreateSound("238353911", RightArm, 10, MRANDOM(9, 11) / 10)
  1731. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.1, 0.1, 0.1))
  1732. MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.05, 0.05, 0.05))
  1733. local RayHit, Way = CastProperRay(RightArm.Position, Mouse.Hit.p, 1500, Character)
  1734. local distance = (RightArm.Position - Way).magnitude
  1735. for i = 1, 5 do
  1736. local laser = Instance.new("Part", Effects)
  1737. laser.Transparency = 0
  1738. laser.CanCollide = false
  1739. laser.Anchored = true
  1740. laser.Color = C3(1, 0, 0)
  1741. laser.Material = "Neon"
  1742. laser.formFactor = Enum.FormFactor.Custom
  1743. laser.Size = Vector3.new(0.15, 0.15, distance)
  1744. laser.CFrame = CFrame.new(RightArm.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1745. MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Crimson", VT(0.05, 0.05, 0.05))
  1746. for i = 1, 5 do
  1747. MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Crimson", VT(0.001, 0.001, 0), 0.5)
  1748. end
  1749. table.insert(Effects2, {
  1750. laser,
  1751. "Disappear",
  1752. 0.1,
  1753. 1,
  1754. 1,
  1755. 1,
  1756. 2
  1757. })
  1758. if RayHit ~= nil then
  1759. local v = RayHit.Parent
  1760. if v ~= nil and v.ClassName == "Model" then
  1761. CastWarpOutlines(v)
  1762. v.Parent = nil
  1763. if game.Players:FindFirstChild(v.Name) then
  1764. local Value = IT("BoolValue", Delete)
  1765. Value.Name = v.Name
  1766. end
  1767. end
  1768. end
  1769. end
  1770. for i = 0, 0.3, 0.1 / Animation_Speed do
  1771. Swait()
  1772. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1778. end
  1779. until KEYHOLD == false
  1780. ATTACK = false
  1781. Rooted = false
  1782. end
  1783. function Dark_blade()
  1784. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1785. if HITFLOOR ~= nil then
  1786. ATTACK = true
  1787. Rooted = true
  1788. local GYRO = IT("BodyGyro",RootPart)
  1789. GYRO.D = 100
  1790. GYRO.P = 2000
  1791. GYRO.MaxTorque = VT(0,4000000,0)
  1792. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1793. CreateSound("429459101", RightArm, 10, 0.8)
  1794. for i=0, 3.5, 0.1 / Animation_Speed do
  1795. Swait()
  1796. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1797. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1798. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1802. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1803. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1804. end
  1805. GYRO:remove()
  1806. for i=0, 0.15, 0.1 / Animation_Speed do
  1807. Swait()
  1808. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1809. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816. end
  1817. local BOMBSPOTS = {}
  1818. for i = 1, 25 do
  1819. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
  1820. SPOT.Color = SKILLTEXTCOLOR
  1821. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1822. table.insert(BOMBSPOTS,SPOT)
  1823. MakeForm(SPOT,"Cyl")
  1824. end
  1825. for i=0, 0.2, 0.1 / Animation_Speed do
  1826. Swait()
  1827. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1828. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1829. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1830. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1831. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1832. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1833. end
  1834. ATTACK = false
  1835. Rooted = false
  1836. coroutine.resume(coroutine.create(function()
  1837. Swait(3)
  1838. for i = 1, #BOMBSPOTS do
  1839. if BOMBSPOTS[i] ~= nil then
  1840. local E = BOMBSPOTS[i]
  1841. coroutine.resume(coroutine.create(function()
  1842. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
  1843. BLADE.Color = SKILLTEXTCOLOR
  1844. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1845. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1846. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1847. for i = 1, 10 do
  1848. Swait()
  1849. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1850. killnearest(BLADE.Position,6,80)
  1851. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1852. BLADE.Transparency = BLADE.Transparency - 0.1
  1853. end
  1854. Swait(45)
  1855. for i = 1, 100 do
  1856. Swait()
  1857. BLADE.Transparency = BLADE.Transparency + 0.01
  1858. E.Transparency = E.Transparency + 0.01
  1859. end
  1860. BLADE:remove()
  1861. E:remove()
  1862. end))
  1863. end
  1864. end
  1865. end))
  1866. end
  1867. end
  1868.  
  1869. function CreateGUICircle(TARGET)
  1870. local GUI = Instance.new("BillboardGui",Character)
  1871. GUI.Size = UDim2.new(0,0,0,0)
  1872. GUI.Adornee = TARGET
  1873. local GUI2 = IT("ImageLabel",GUI)
  1874. GUI2.BackgroundTransparency = 1
  1875. GUI2.BorderSizePixel = 0
  1876. GUI2.Size = UDim2.new(1,0,1,0)
  1877. GUI2.SizeConstraint = "RelativeYY"
  1878. GUI.AlwaysOnTop = true
  1879. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1880. return GUI,GUI2
  1881. end
  1882.  
  1883. function CastWarpOutlines(TARGET)
  1884. coroutine.resume(coroutine.create(function()
  1885. local T = TARGET:GetChildren()
  1886. for i = 1, # T do
  1887. local child = T[i]
  1888. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1889. local clone = child:Clone()
  1890. clone.Parent = Effects
  1891. clone.Anchored = true
  1892. clone.CanCollide = false
  1893. clone:ClearAllChildren()
  1894. clone.CFrame = child.CFrame
  1895. if clone.Name == "Head" then
  1896. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1897. end
  1898. if clone.ClassName == "MeshPart" then
  1899. clone.TextureID = ""
  1900. end
  1901. clone.BrickColor = BRICKC"Black"
  1902. clone.Material = "Neon"
  1903. coroutine.resume(coroutine.create(function()
  1904. for i = 1, 200 do
  1905. Swait()
  1906. clone.Transparency = clone.Transparency + 0.005
  1907. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1908. end
  1909. clone:remove()
  1910. end))
  1911. end
  1912. end
  1913. end))
  1914. end
  1915.  
  1916. function Sink(position,radius)
  1917. for i,v in ipairs(workspace:GetChildren()) do
  1918. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1919. local body = v:GetChildren()
  1920. for part = 1, #body do
  1921. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1922. if(body[part].Position - position).Magnitude < radius then
  1923. if v.ClassName == "Model" then
  1924. if v:FindFirstChild("Humanoid") then
  1925. local defence = Instance.new("BoolValue",v)
  1926. defence.Name = ("Hit2By"..Player.Name)
  1927. if v.Humanoid.Health ~= 0 then
  1928. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1929. if TORS ~= nil then
  1930. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1931. coroutine.resume(coroutine.create(function()
  1932. if HITFLOOR2 ~= nil then
  1933. TORS.Anchored = true
  1934. table.insert(Effects2,{v})
  1935. repeat
  1936. Swait()
  1937. TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  1938. until TORS.Position.Y<position.Y-4
  1939. v:remove()
  1940. end
  1941. end))
  1942. end
  1943. end
  1944. end
  1945. end
  1946. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1947. end
  1948. end
  1949. end
  1950. end
  1951. end
  1952. end
  1953.  
  1954. function Shadowpuddle()
  1955. ATTACK = true
  1956. Rooted = true
  1957. CreateSound(ALONE, Head, 10, 1)
  1958. for i=0, 2, 0.1 / Animation_Speed do
  1959. Swait()
  1960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1964. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1966. end
  1967. CreateSound("1075001850", RootPart, 10, 3)
  1968. UNANCHOR = false
  1969. RootPart.Anchored = true
  1970. local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
  1971. MakeForm(GATE,"Cyl")
  1972. GATE.Color = C3(0,0,0)
  1973. GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  1974. for i=1, 250 do
  1975. Swait()
  1976. UNANCHOR = false
  1977. GATE.Size = GATE.Size + VT(1,0,1)
  1978. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1979. RootPart.Anchored = true
  1980. Sink(GATE.Position,GATE.Size.Z/2.2)
  1981. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  1982. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1985. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1986. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1987. end
  1988. repeat Swait() until #Effects2 == 0
  1989. for i=1, 25 do
  1990. Swait()
  1991. GATE.Size = GATE.Size - VT(10,0,10)
  1992. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1993. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1995. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1996. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1997. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1998. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1999. end
  2000. GATE:remove()
  2001. RootPart.Anchored = false
  2002. UNANCHOR = true
  2003. ATTACK = false
  2004. Rooted = false
  2005. end
  2006.  
  2007. function Mortar(Target)
  2008. local newball = Instance.new("Part", workspace)
  2009. newball.Anchored = true
  2010. newball.Shape = "Ball"
  2011. newball.Material = "Neon"
  2012. newball.Size = Vector3.new(0,0,0)
  2013. newball.CanCollide = false
  2014. newball.CFrame = CF(Target)
  2015. newball.Color = C3(1,1,1)
  2016. newball.Transparency = 1
  2017. local POS = Mouse.Hit.p
  2018. local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2019. local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  2020. local A1 = IT("Attachment",newball)
  2021. A1.Position = Vector3.new(0, 2.5, 0)
  2022. local A2 = IT("Attachment",newball)
  2023. A2.Position = Vector3.new(0, -2.5, 0)
  2024. local Trail = IT("Trail",newball)
  2025. Trail.LightEmission = 1
  2026. Trail.FaceCamera = true
  2027. Trail.Texture = "rbxassetid://945758042"
  2028. Trail.Attachment0 = A1
  2029. Trail.Attachment1 = A2
  2030. Trail.Lifetime = 1
  2031. Trail.MinLength = 0
  2032. Trail.Transparency = NumberSequence.new(0, 1)
  2033. Trail.Color = ColorSequence.new(newball.Color)
  2034. coroutine.resume(coroutine.create(function()
  2035. for i = 0, 1, 0.07 do
  2036. Swait()
  2037. MagicSphere(VT(2,2,2),50,newball.CFrame,"Pearl",VT(-0.01,-0.01,-0.01))
  2038. newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  2039. end
  2040. AoEDamage(newball.Position,5,5,8,0,false,2,2,false,true)
  2041. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], newball, 10, 1)
  2042. MagicSphere(VT(0,0,0),55,newball.CFrame,"Pearl",VT(0.06,0.5,0.06))
  2043. for i = 1, 10 do
  2044. MagicSphere(VT(0.5,0.5,3),50,CF(newball.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,newball.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  2045. end
  2046. game:GetService("Debris"):AddItem(newball, 5)
  2047. end))
  2048. end
  2049.  
  2050.  
  2051. function LightArray()
  2052. ATTACK = true
  2053. Rooted = false
  2054. for i=0, 1, 0.1 / Animation_Speed do
  2055. Swait()
  2056. turnto(Mouse.Hit.p)
  2057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  2059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2063. end
  2064. local LOOP = 0
  2065. for i = 1, 30 do
  2066. Swait()
  2067. turnto(Mouse.Hit.p)
  2068. LOOP = LOOP + 1
  2069. if LOOP == 10 then
  2070. LOOP = 0
  2071. Mortar(LeftArm.CFrame*CF(0,-1,0).p)
  2072. end
  2073. end
  2074. ATTACK = false
  2075. Rooted = false
  2076. end
  2077.  
  2078. function Oblivion()
  2079. ATTACK = true
  2080. Rooted = true
  2081. for i=0, 2, 0.1 / Animation_Speed do
  2082. Swait()
  2083. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2087. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2088. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2089. end
  2090. for i=0, 0.5, 0.1 / Animation_Speed do
  2091. Swait()
  2092. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2096. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  2097. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  2098. end
  2099. for i = 1, 75 do
  2100. Swait()
  2101. MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  2102. end
  2103. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2104. CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  2105. AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  2106. MagicSphere(VT(0,0,0),25,Torso.CFrame,"Pearl",VT(5,5,5))
  2107. MagicSphere(VT(0,0,0),50,Torso.CFrame,"Pearl",VT(2.5,2.5,2.5))
  2108. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  2109. MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  2110. ATTACK = false
  2111. Rooted = false
  2112. end
  2113.  
  2114. function kiss()
  2115. ATTACK = true
  2116. Rooted = false
  2117. local HASGRABBED = false
  2118. local GRABTARGET = nil
  2119. local TORS = nil
  2120. local WELD = nil
  2121. for i=0, 1, 0.1 / Animation_Speed do
  2122. Swait()
  2123. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2127. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2128. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2129. end
  2130. local GRAB1 = RightArm.Touched:Connect(function(hit)
  2131. if hit.Parent:FindFirstChild("Humanoid") then
  2132. if hit.Parent.Humanoid.Health ~= 0 then
  2133. UNANCHOR = false
  2134. RootPart.Anchored = true
  2135. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2136. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2137. WELD = weldBetween(RootPart,TORS)
  2138. HASGRABBED = true
  2139. Rooted = true
  2140. end
  2141. end
  2142. end)
  2143. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  2144. if hit.Parent:FindFirstChild("Humanoid") then
  2145. if hit.Parent.Humanoid.Health ~= 0 then
  2146. UNANCHOR = false
  2147. RootPart.Anchored = true
  2148. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2149. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  2150. WELD = weldBetween(RootPart,TORS)
  2151. HASGRABBED = true
  2152. Rooted = true
  2153. end
  2154. end
  2155. end)
  2156. for i=0, 1, 0.1 / Animation_Speed do
  2157. Swait()
  2158. if HASGRABBED == true then
  2159. break
  2160. end
  2161. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2167. end
  2168. GRAB1:disconnect()
  2169. GRAB2:disconnect()
  2170. if HASGRABBED == true then
  2171. TORS.Anchored = false
  2172. GRABTARGET = TORS.Parent
  2173. HED = GRABTARGET:FindFirstChild("Head")
  2174. for i=0, 2, 0.1 / Animation_Speed do
  2175. Swait()
  2176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2179. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2180. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2181. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2182. end
  2183. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  2184. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  2185. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2186. local ECH = 0
  2187. CreateSound("247269322", Head, 10, 0.8)
  2188. Head.face.Texture = "rbxassetid://47425887"
  2189. for i=0, 8, 0.1 / Animation_Speed do
  2190. Swait()
  2191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  2193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2195. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2196. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2197. end
  2198. WELD:remove()
  2199. end
  2200. UNANCHOR = true
  2201. ATTACK = false
  2202. Rooted = false
  2203. end
  2204.  
  2205. function friend()
  2206. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2207. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2208. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2209. local ARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightUpperArm")
  2210. if TORSO and ARM then
  2211. ATTACK = true
  2212. local FAKECHARACTER = IT("Model",Effects)
  2213. FAKECHARACTER.Name = "NeonDoll"
  2214. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  2215. CreateWeldOrSnapOrMotor("Weld", HUM, ARM, TORS, CF(0,1.2,0), CF(0,0,0))
  2216. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2217. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(15)), CF(0,0.15,0))
  2218. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2219. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(-15)), CF(0,0.15,0))
  2220. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2221. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  2222. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  2223. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  2224. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  2225. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  2226. ATTACK = false
  2227. repeat
  2228. wait(1)
  2229. ApplyDamage(HUM,5,5,2,5)
  2230. until HUM.health == 0
  2231. end
  2232. end
  2233. end
  2234.  
  2235. function Debree(POS, SWAIT)
  2236. coroutine.resume(coroutine.create(function()
  2237. local HOLDER = IT("Model", Effects)
  2238. HOLDER.Name = "Debree"
  2239. local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  2240. MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2241. MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2242. MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  2243. repeat
  2244. Swait()
  2245. until HITFLOOR ~= nil
  2246. local O = 0
  2247. for i = 1, 18 do
  2248. do
  2249. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2250. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2251. O = O - 2.25 + i / 4
  2252. coroutine.resume(coroutine.create(function()
  2253. Swait(SWAIT)
  2254. for i = 1, 60 do
  2255. Swait()
  2256. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2257. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2258. end
  2259. for i = 1, 50 do
  2260. Swait()
  2261. Part.Size = Part.Size * 0.9
  2262. end
  2263. end))
  2264. end
  2265. end
  2266. local O = 0
  2267. for i = 1, 18 do
  2268. do
  2269. local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2270. Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2271. O = O + 2.25 - i / 4
  2272. coroutine.resume(coroutine.create(function()
  2273. Swait(SWAIT)
  2274. for i = 1, 60 do
  2275. Swait()
  2276. local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2277. Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2278. end
  2279. for i = 1, 50 do
  2280. Swait()
  2281. Part.Size = Part.Size * 0.9
  2282. end
  2283. end))
  2284. end
  2285. end
  2286. Swait(SWAIT + 110)
  2287. HOLDER:remove()
  2288. end))
  2289. end
  2290.  
  2291. function Banishtele()
  2292. ATTACK = true
  2293. Rooted = true
  2294. for i = 0, 1, 0.1 / Animation_Speed do
  2295. Swait()
  2296. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2297. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2300. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2301. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2302. end
  2303. Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  2304. UNANCHOR = false
  2305. RootPart.Anchored = true
  2306. for i = 0, 2, 0.1 / Animation_Speed do
  2307. Swait()
  2308. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2309. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2312. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2313. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2314. end
  2315. local POS = RootPart.Position
  2316. RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  2317. Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  2318. for i = 0, 2, 0.1 / Animation_Speed do
  2319. Swait()
  2320. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2321. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2322. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2323. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2324. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2325. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2326. end
  2327. ATTACK = false
  2328. Rooted = false
  2329. end
  2330. --//=================================\\
  2331. --|| ASSIGN THINGS TO KEYS
  2332. --\\=================================//
  2333.  
  2334. function MouseDown(Mouse)
  2335. if ATTACK == false then
  2336. end
  2337. end
  2338.  
  2339. function MouseUp(Mouse)
  2340. HOLD = false
  2341. end
  2342.  
  2343.  
  2344.  
  2345.  
  2346. function KeyDown(Key)
  2347. KEYHOLD = true
  2348. if Key == "z" and ATTACK == false then
  2349. if CHOSENBRICK == "Royal purple" then
  2350. Chain()
  2351. elseif CHOSENBRICK == "Earth green" then
  2352. PowerOutburst()
  2353. elseif CHOSENBRICK == "Crimson" then
  2354. BanishBullet()
  2355. elseif CHOSENBRICK == "New Yeller" then
  2356. Morning_Star()
  2357. elseif CHOSENBRICK == "Carnation pink" then
  2358. kiss()
  2359. elseif CHOSENBRICK == "Really black" then
  2360. Dark_blade()
  2361. elseif CHOSENBRICK == "White" then
  2362. LightArray()
  2363. end
  2364. end
  2365.  
  2366. if Key == "v" and ATTACK == false then
  2367. if CHOSENBRICK == "Royal purple" then
  2368. MegaChain()
  2369. elseif CHOSENBRICK == "Earth green" then
  2370. RadioactiveSludge()
  2371. elseif CHOSENBRICK == "Crimson" then
  2372. Banishtele()
  2373. elseif CHOSENBRICK == "New Yeller" then
  2374. Deathbound()
  2375. elseif CHOSENBRICK == "Carnation pink" then
  2376. friend()
  2377. elseif CHOSENBRICK == "Really black" then
  2378. Shadowpuddle()
  2379. elseif CHOSENBRICK == "White" then
  2380. Oblivion()
  2381. return
  2382. end
  2383. end
  2384.  
  2385. if Key == "x" and ATTACK == false then
  2386. if CHOSENBRICK == "Crimson" then
  2387. Delete:ClearAllChildren()
  2388. end
  2389. end
  2390. if Key == "c" and ATTACK == false then
  2391. if CHOSENBRICK == "Royal purple" then
  2392. CHOSENBRICK = "Earth green"
  2393. elseif CHOSENBRICK == "Earth green" then
  2394. CHOSENBRICK = "Crimson"
  2395. elseif CHOSENBRICK == "Crimson" then
  2396. CHOSENBRICK = "New Yeller"
  2397. elseif CHOSENBRICK == "New Yeller" then
  2398. CHOSENBRICK = "Carnation pink"
  2399. elseif CHOSENBRICK == "Carnation pink" then
  2400. CHOSENBRICK = "Really black"
  2401. elseif CHOSENBRICK == "Really black" then
  2402. CHOSENBRICK = "White"
  2403. elseif CHOSENBRICK == "White" then
  2404. CHOSENBRICK = "Royal purple"
  2405. end
  2406. end
  2407.  
  2408. if Key == "t" and ATTACK == false then
  2409. Taunt()
  2410. end
  2411. if Key == "q" and ATTACK == false then
  2412. Dark_blade()
  2413. end
  2414. end
  2415.  
  2416. function KeyUp(Key)
  2417. KEYHOLD = false
  2418. end
  2419.  
  2420. Mouse.Button1Down:connect(function(NEWKEY)
  2421. MouseDown(NEWKEY)
  2422. end)
  2423. Mouse.Button1Up:connect(function(NEWKEY)
  2424. MouseUp(NEWKEY)
  2425. end)
  2426. Mouse.KeyDown:connect(function(NEWKEY)
  2427. KeyDown(NEWKEY)
  2428. end)
  2429. Mouse.KeyUp:connect(function(NEWKEY)
  2430. KeyUp(NEWKEY)
  2431. end)
  2432.  
  2433. --//=================================\\
  2434. --\\=================================//
  2435. function refit()
  2436. RootJoint.Parent = RootPart
  2437. Neck.Parent = Torso
  2438. RightShoulder.Parent = Torso
  2439. LeftShoulder.Parent = Torso
  2440. RightHip.Parent = Torso
  2441. LeftHip.Parent = Torso
  2442. RootPart.Parent = Character
  2443. LeftArm.Parent = Character
  2444. RightArm.Parent = Character
  2445. RightLeg.Parent = Character
  2446. LeftLeg.Parent = Character
  2447. Torso.Parent = Character
  2448. Head.Parent = Character
  2449. end
  2450.  
  2451. Humanoid.Died:connect(function()
  2452. refit()
  2453. end)
  2454. refit()
  2455. function unanchor()
  2456. if UNANCHOR == true then
  2457. g = Character:GetChildren()
  2458. for i = 1, #g do
  2459. if g[i].ClassName == "Part" then
  2460. g[i].Anchored = false
  2461. end
  2462. end
  2463. end
  2464. end
  2465.  
  2466.  
  2467. --//=================================\\
  2468. --|| WRAP THE WHOLE SCRIPT UP
  2469. --\\=================================//
  2470. Humanoid.Changed:connect(function(Jump)
  2471. if Jump == "Jump" and (Disable_Jump == true) then
  2472. Humanoid.Jump = false
  2473. end
  2474. end)
  2475.  
  2476. while true do
  2477. Swait()
  2478. ANIMATE.Parent = nil
  2479. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2480. IDLEANIMATION:Play()
  2481. SINE = SINE + CHANGE
  2482. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2483. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2484. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2485. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2486. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2487. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2488. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2489. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2490. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2491. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2492. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2493. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2494. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2495. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2496. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2497. end
  2498. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2499. ANIM = "Jump"
  2500. if ATTACK == false then
  2501. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2502. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2505. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2506. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2507. end
  2508. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2509. ANIM = "Fall"
  2510. if ATTACK == false then
  2511. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2517. end
  2518. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2519. ANIM = "Idle"
  2520. if ATTACK == false then
  2521. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2522. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2524. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2525. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2526. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2527. end
  2528. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2529. ANIM = "Walk"
  2530. WALK = WALK + 1 / Animation_Speed
  2531. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2532. WALK = 0
  2533. if WALKINGANIM == true then
  2534. WALKINGANIM = false
  2535. elseif WALKINGANIM == false then
  2536. WALKINGANIM = true
  2537. end
  2538. end
  2539. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2540. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2541. if ATTACK == false then
  2542. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2543. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2545. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2546. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2547. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2548. end
  2549. end
  2550. unanchor()
  2551. Humanoid.MaxHealth = "inf"
  2552. Humanoid.Health = "inf"
  2553. if Rooted == false then
  2554. Disable_Jump = false
  2555. Humanoid.WalkSpeed = Speed
  2556. elseif Rooted == true then
  2557. Disable_Jump = true
  2558. Humanoid.WalkSpeed = 0
  2559. end
  2560. sick.Parent = Character
  2561.  
  2562. if Head:FindFirstChild("face") and ATTACK == false then
  2563. Head.face.Texture = "rbxassetid://1297067294"
  2564. end
  2565. for _, c in pairs(Weapon:GetChildren()) do
  2566. if c.Name == "Eon" then
  2567. c.BrickColor = BRICKC(CHOSENBRICK)
  2568. end
  2569. end
  2570. SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2571. SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2572. RecolorTextAndRename("A CHAOS",Color3.new(1,1,1),Color3.new(0,0,0))
  2573. if CHOSENBRICK == "Royal purple" then
  2574. SKILL1TEXT.Text = "[Z] Void Shot"
  2575. SKILL2TEXT.Text = "[V] True Void"
  2576. sick.SoundId = "rbxassetid://1445753925"
  2577. sick.Pitch = 1
  2578. RecolorTextAndRename("Love Power,Color3.new(0,0,0),Color3.new(170,170,170))
  2579. elseif CHOSENBRICK == "Earth green" then
  2580. SKILL1TEXT.Text = "[Z] CHAOS POWER"
  2581. SKILL2TEXT.Text = "[V] CHAOS BOOM"
  2582. sick.SoundId = "rbxassetid://535807556"
  2583. sick.Pitch = 1
  2584. RecolorTextAndRename("EEROR",Color3.new(0,0,0),Color3.new(39,70,45))
  2585. elseif CHOSENBRICK == "Crimson" then
  2586. SKILL1TEXT.Text = "[Z] Got Ban"
  2587. SKILL2TEXT.Text = "[V] Teleport Hole"
  2588. sick.SoundId = "rbxassetid://988880897"
  2589. sick.Pitch = 1
  2590. RecolorTextAndRename("Death Star",Color3.new(0,0,0),Color3.new(151,0,0))
  2591. elseif CHOSENBRICK == "Carnation pink" then
  2592. SKILL1TEXT.Text = "[Z] Heart Power Kizzu"
  2593. SKILL2TEXT.Text = "[V] Heart Friend Kizzu"
  2594. sick.SoundId = "rbxassetid://629062871"
  2595. sick.Pitch = 1
  2596. RecolorTextAndRename("Death Star",Color3.new(0,0,0),Color3.new(255,0,191))
  2597. elseif CHOSENBRICK == "New Yeller" then
  2598. SKILL1TEXT.Text = "[Z] True Death"
  2599. SKILL2TEXT.Text = "[V] Death Move"
  2600. sick.SoundId = "rbxassetid://923142611"
  2601. sick.Pitch = 1
  2602. RecolorTextAndRename("Light Power",Color3.new(0,0,0),Color3.new(255,255,0))
  2603. elseif CHOSENBRICK == "Really black" then
  2604. SKILL1TEXT.Text = "[Z] Black ERROR"
  2605. SKILL2TEXT.Text = "[V] Hole Power"
  2606. sick.SoundId = "rbxassetid://624889784"
  2607. sick.Pitch = 1
  2608. RecolorTextAndRename("A True Void",Color3.new(0,0,0),Color3.new(17,17,17))
  2609. elseif CHOSENBRICK == "White" then
  2610. SKILL1TEXT.Text = "[Z] Light Ball"
  2611. SKILL2TEXT.Text = "[V] True Oblivion"
  2612. sick.SoundId = "rbxassetid://157345961"
  2613. sick.Pitch = 1
  2614. end
  2615. end
  2616.  
  2617. --//=================================\\
  2618. --\\=================================//
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624. --//====================================================\\--
  2625. --|| END OF SCRIPT
  2626. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement