Advertisement
masterofdesires1

Untitled

Aug 10th, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 316.00 KB | None | 0 0
  1.  
  2. local ScriptLink = [[script.Name = "The Dark"
  3. --//====================================================\\--
  4. --|| CREATED BY | EDIT BY HOANGCHANNELVN
  5. --|| SHACKLUSTER| EDIT BY NEEDYBAO123456789
  6. --\\====================================================//--
  7.  
  8. Player = game.Players.LocalPlayer
  9. Character = Player.Character
  10. local txt = Instance.new("BillboardGui", Character)
  11. txt.Adornee = Character.Head
  12. txt.Name = "_status"
  13. txt.Size = UDim2.new(2, 0, 1.2, 0)
  14. txt.StudsOffset = Vector3.new(-9, 8, 0)
  15. local text = Instance.new("TextLabel", txt)
  16. text.Size = UDim2.new(10, 0, 7, 0)
  17. text.FontSize = "Size24"
  18. text.TextScaled = true
  19. text.TextTransparency = 0
  20. text.BackgroundTransparency = 1
  21. text.TextTransparency = 0
  22. text.TextStrokeTransparency = 0
  23. text.Font = "Antique"
  24. text.TextColor3 = Color3.new(0, 0, 0)
  25. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  26. text.Text = "The Darkness"
  27. local Player = game:GetService("Players").LocalPlayer
  28. repeat
  29. wait()
  30. until Player.Character
  31. local Character = Player.Character
  32. TrailSettings = {
  33. Lifetime = 1,
  34. Texture = "http://www.roblox.com/asset/?id=25356538",
  35. Color1 = ColorSequence.new(BrickColor.new("Really black").Color),
  36. Color2 = ColorSequence.new(BrickColor.new("White").Color),
  37. AllBody = true,
  38. UpperBodyOnly = false,
  39. LowerBodyOnly = false,
  40. Accessories = false,
  41. Extras = true,
  42. R15 = false,
  43. R15Parts = {"UpperTorso", "LowerTorso"}
  44. }
  45. local Trail
  46. function UpperBody()
  47. if TrailSettings.R15 == false then
  48. A0 = Instance.new("Attachment", Character.Torso)
  49. A1 = Instance.new("Attachment", Character.Head)
  50. A2 = Instance.new("Attachment", Character["Right Arm"])
  51. A3 = Instance.new("Attachment", Character["Left Arm"])
  52. Trail = Instance.new("Trail", Character)
  53. Trail.Attachment0 = A0
  54. Trail.Attachment1 = A1
  55. Trail.Texture = TrailSettings.Texture
  56. Trail.Color = TrailSettings.Color1
  57. Trail.Lifetime = TrailSettings.Lifetime
  58. local Trail2 = Trail:Clone()
  59. Trail2.Parent = Character
  60. Trail2.Attachment1 = A2
  61. local Trail3 = Trail:Clone()
  62. Trail3.Parent = Character
  63. Trail3.Attachment1 = A3
  64. local Trail6 = Trail:Clone()
  65. Trail6.Parent = Character
  66. Trail6.Attachment0 = A1
  67. Trail6.Attachment1 = A2
  68. local Trail7 = Trail:Clone()
  69. Trail7.Parent = Character
  70. Trail7.Attachment0 = A1
  71. Trail7.Attachment1 = A3
  72. else
  73. A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  74. A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  75. A1 = Instance.new("Attachment", Character.Head)
  76. A2 = Instance.new("Attachment", Character.RightUpperArm)
  77. A2R = Instance.new("Attachment", Character.RightLowerArm)
  78. A3 = Instance.new("Attachment", Character.LeftUpperArm)
  79. A3R = Instance.new("Attachment", Character.LeftLowerArm)
  80. Trail = Instance.new("Trail", Character)
  81. Trail.Attachment0 = A0
  82. Trail.Attachment1 = A1
  83. Trail.Texture = TrailSettings.Texture
  84. Trail.Color = TrailSettings.Color1
  85. Trail.Lifetime = TrailSettings.Lifetime
  86. local Trail2 = Trail:Clone()
  87. Trail2.Parent = Character
  88. Trail2.Attachment1 = A2
  89. local Trail3 = Trail:Clone()
  90. Trail3.Parent = Character
  91. Trail3.Attachment1 = A3
  92. local Trail6 = Trail:Clone()
  93. Trail6.Parent = Character
  94. Trail6.Attachment0 = A1
  95. Trail6.Attachment1 = A2
  96. local Trail7 = Trail:Clone()
  97. Trail7.Parent = Character
  98. Trail7.Attachment0 = A1
  99. Trail7.Attachment1 = A3
  100. local Trail1R = Trail:Clone()
  101. Trail1R.Parent = Character
  102. Trail1R.Attachment1 = A2R
  103. local Trail2R = Trail:Clone()
  104. Trail2R.Parent = Character
  105. Trail2R.Attachment1 = A3R
  106. local Trail6R = Trail:Clone()
  107. Trail6.Parent = Character
  108. Trail6.Attachment0 = A1
  109. Trail6.Attachment1 = A2R
  110. local Trail7R = Trail:Clone()
  111. Trail7.Parent = Character
  112. Trail7.Attachment0 = A1
  113. Trail7.Attachment1 = A3R
  114. end
  115. end
  116. function LowerBody()
  117. if TrailSettings.R15 == false then
  118. A4 = Instance.new("Attachment", Character["Right Leg"])
  119. A5 = Instance.new("Attachment", Character["Left Leg"])
  120. local Trail4 = Trail:Clone()
  121. Trail4.Parent = Character
  122. Trail4.Attachment1 = A4
  123. local Trail5 = Trail:Clone()
  124. Trail5.Parent = Character
  125. Trail5.Attachment1 = A5
  126. local Trail8 = Trail:Clone()
  127. Trail8.Parent = Character
  128. Trail8.Attachment0 = A2
  129. Trail8.Attachment1 = A4
  130. Trail8.Color = TrailSettings.Color2
  131. local Trail9 = Trail:Clone()
  132. Trail9.Parent = Character
  133. Trail9.Attachment0 = A3
  134. Trail9.Attachment1 = A5
  135. Trail9.Color = TrailSettings.Color2
  136. local FT = Trail:Clone()
  137. FT.Parent = Character
  138. FT.Attachment0 = A4
  139. FT.Attachment1 = A5
  140. FT.Color = TrailSettings.Color2
  141. else
  142. A4 = Instance.new("Attachment", Character.RightLowerLeg)
  143. A4R = Instance.new("Attachment", Character.RightUpperLeg)
  144. A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  145. A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  146. local Trail4 = Trail:Clone()
  147. Trail4.Parent = Character
  148. Trail4.Attachment1 = A4
  149. local Trail5 = Trail:Clone()
  150. Trail5.Parent = Character
  151. Trail5.Attachment1 = A5
  152. local Trail8 = Trail:Clone()
  153. Trail8.Parent = Character
  154. Trail8.Attachment0 = A2
  155. Trail8.Attachment1 = A4
  156. Trail8.Color = TrailSettings.Color2
  157. local Trail9 = Trail:Clone()
  158. Trail9.Parent = Character
  159. Trail9.Attachment0 = A3
  160. Trail9.Attachment1 = A5
  161. Trail9.Color = TrailSettings.Color2
  162. local FT = Trail:Clone()
  163. FT.Parent = Character
  164. FT.Attachment0 = A4
  165. FT.Attachment1 = A5
  166. FT.Color = TrailSettings.Color2
  167. local Trail3R = Trail:Clone()
  168. Trail3R.Parent = Character
  169. Trail3R.Attachment1 = A4R
  170. local Trail4R = Trail:Clone()
  171. Trail4R.Parent = Character
  172. Trail4R.Attachment1 = A5R
  173. local Trail8 = Trail:Clone()
  174. Trail8.Parent = Character
  175. Trail8.Attachment0 = A2R
  176. Trail8.Attachment1 = A4R
  177. Trail8.Color = TrailSettings.Color2
  178. local Trail9 = Trail:Clone()
  179. Trail9.Parent = Character
  180. Trail9.Attachment0 = A3R
  181. Trail9.Attachment1 = A5R
  182. Trail9.Color = TrailSettings.Color2
  183. local FT2R = Trail:Clone()
  184. FT2R.Parent = Character
  185. FT2R.Attachment0 = A4R
  186. FT2R.Attachment1 = A5R
  187. FT2R.Color = TrailSettings.Color2
  188. end
  189. end
  190. function AllBody()
  191. UpperBody()
  192. LowerBody()
  193. end
  194. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  195. TrailSettings.UpperBodyOnly = false
  196. TrailSettings.LowerBodyOnly = false
  197. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  198. TrailSettings.UpperBodyOnly = false
  199. TrailSettings.LowerBodyOnly = false
  200. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  201. TrailSettings.UpperBodyOnly = false
  202. TrailSettings.LowerBodyOnly = false
  203. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  204. TrailSettings.AllBody = true
  205. TrailSettings.UpperBodyOnly = false
  206. TrailSettings.LowerBodyOnly = false
  207. end
  208. if TrailSettings.UpperBodyOnly == true then
  209. UpperBody()
  210. print("Called Upper Body Trail")
  211. elseif TrailSettings.LowerBodyOnly == true then
  212. LowerBody()
  213. print("Called Lower Body Trail")
  214. elseif TrailSettings.AllBody == true then
  215. AllBody()
  216. print("Called Full Body Trail")
  217. end
  218. if TrailSettings.Accessories == true then
  219. for Index, Item in pairs(Character:GetChildren()) do
  220. if Item:IsA("Accessory") then
  221. local AA = Instance.new("Attachment", Item.Handle)
  222. local ATrail = Trail:Clone()
  223. ATrail.Parent = Character
  224. ATrail.Attachment1 = AA
  225. end
  226. end
  227. end
  228. if TrailSettings.Extras == true then
  229. spawn(function()
  230. repeat
  231. wait()
  232. until Trail
  233. local AB = Instance.new("Attachment", a)
  234. local ABT = Trail:Clone()
  235. ABT.Parent = Character
  236. ABT.Attachment0 = A4
  237. ABT.Attachment1 = AB
  238. ABT.Color = TrailSettings.Color2
  239. local ABT2 = Trail:Clone()
  240. ABT2.Parent = Character
  241. ABT2.Attachment0 = A5
  242. ABT2.Attachment1 = AB
  243. ABT2.Color = TrailSettings.Color2
  244. end)
  245. end
  246. wait(0.1)
  247.  
  248. script:ClearAllChildren()
  249. wait(0.2)
  250.  
  251. Player = game:GetService("Players").LocalPlayer
  252. PlayerGui = Player.PlayerGui
  253. Cam = workspace.CurrentCamera
  254. Backpack = Player.Backpack
  255. Character = Player.Character
  256. Humanoid = Character.Humanoid
  257. Mouse = Player:GetMouse()
  258. RootPart = Character["HumanoidRootPart"]
  259. Torso = Character["Torso"]
  260. Head = Character["Head"]
  261. RightArm = Character["Right Arm"]
  262. LeftArm = Character["Left Arm"]
  263. RightLeg = Character["Right Leg"]
  264. LeftLeg = Character["Left Leg"]
  265. RootJoint = RootPart["RootJoint"]
  266. Neck = Torso["Neck"]
  267. RightShoulder = Torso["Right Shoulder"]
  268. LeftShoulder = Torso["Left Shoulder"]
  269. RightHip = Torso["Right Hip"]
  270. LeftHip = Torso["Left Hip"]
  271. local TIME = 0
  272. local sick = Instance.new("Sound",Torso)
  273.  
  274. IT = Instance.new
  275. CF = CFrame.new
  276. VT = Vector3.new
  277. RAD = math.rad
  278. C3 = Color3.new
  279. UD2 = UDim2.new
  280. BRICKC = BrickColor.new
  281. ANGLES = CFrame.Angles
  282. EULER = CFrame.fromEulerAnglesXYZ
  283. COS = math.cos
  284. ACOS = math.acos
  285. SIN = math.sin
  286. ASIN = math.asin
  287. ABS = math.abs
  288. MRANDOM = math.random
  289. FLOOR = math.floor
  290.  
  291. warn ("Message from Needybao123456789......")
  292. warn ("If you leak this i going to kill you and rise the demon cursed you")
  293.  
  294. --//=================================\\
  295. --|| USEFUL VALUES
  296. --\\=================================//
  297.  
  298. Animation_Speed = 2
  299. local FORCERESET = false
  300. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  301. local Speed = 50
  302. Player_Size = 1 --Size of the player.
  303. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  304. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  305. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  306. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  307. local DAMAGEMULTIPLIER = 1
  308. local ANIM = "Idle"
  309. local ATTACK = false
  310. local EQUIPPED = false
  311. local HOLD = false
  312. local COMBO = 1
  313. local Rooted = false
  314. local SINE = 0
  315. local KEYHOLD = false
  316. local CHANGE = 2 / Animation_Speed
  317. local WALKINGANIM = false
  318. local VALUE1 = false
  319. local VALUE2 = false
  320. local ROBLOXIDLEANIMATION = IT("Animation")
  321. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  322. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  323. --ROBLOXIDLEANIMATION.Parent = Humanoid
  324. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  325. WEAPONGUI.Name = "BanishV3Gui"
  326. local Weapon = IT("Model")
  327. Weapon.Name = "Adds"
  328. local Effects = IT("Folder", Weapon)
  329. Effects.Name = "Effects"
  330. local ANIMATOR = Humanoid.Animator
  331. local ANIMATE = Character:FindFirstChild("Animate")
  332. local UNANCHOR = true
  333. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  334. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  335. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  336. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  337. local TOBANISH = {}
  338. script.Parent = PlayerGui
  339. Player_Size = 1 --Size of the player.
  340. local EXTRATRANS = 0
  341. local Effects2 = {}
  342. local UNANCHOR = true
  343. local CHOICE = MRANDOM(1,4)
  344. local LAUGHS = {907329893,907329532,907333294,907332856}
  345. local ATTACKEDTAUNTS = {
  346. "907332040",
  347. "907332525",
  348. "907330011"
  349. }
  350. local ATTACKTAUNTS = {
  351. "907329893",
  352. "907329532",
  353. "907333294",
  354. "907332856"
  355. }
  356. local ULTTAUNTS = {
  357. "907332997",
  358. "907332670",
  359. "907330103"
  360. }
  361. local TOBANISH = {}
  362. script.Parent = PlayerGui
  363. local CLOCKLOOP = 0
  364. local CLOCKTARGET = nil
  365. local CLOCKSPEED = 25
  366. local SIZE = 1
  367. local RING = {}
  368. local EXTRATRANS = 0
  369. local SKILLTEXTCOLOR = C3(0,0,0)
  370. local SKILLTEXTCOLOR2 = C3(1,0,0)
  371. --//=================================\\
  372. --\\=================================//
  373.  
  374.  
  375. --//=================================\\
  376. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  377. --\\=================================//
  378.  
  379. ArtificialHB = Instance.new("BindableEvent", script)
  380. ArtificialHB.Name = "ArtificialHB"
  381.  
  382. script:WaitForChild("ArtificialHB")
  383.  
  384. frame = Frame_Speed
  385. tf = 0
  386. allowframeloss = false
  387. tossremainder = false
  388. lastframe = tick()
  389. script.ArtificialHB:Fire()
  390.  
  391. game:GetService("RunService").Heartbeat:connect(function(s, p)
  392. tf = tf + s
  393. if tf >= frame then
  394. if allowframeloss then
  395. script.ArtificialHB:Fire()
  396. lastframe = tick()
  397. else
  398. for i = 1, math.floor(tf / frame) do
  399. script.ArtificialHB:Fire()
  400. end
  401. lastframe = tick()
  402. end
  403. if tossremainder then
  404. tf = 0
  405. else
  406. tf = tf - frame * math.floor(tf / frame)
  407. end
  408. end
  409. end)
  410.  
  411. --//=================================\\
  412. --\\=================================//
  413.  
  414. --//=================================\\
  415. --|| SOME FUNCTIONS
  416. --\\=================================//
  417.  
  418. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  419. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  420. end
  421.  
  422. function PositiveAngle(NUMBER)
  423. if NUMBER >= 0 then
  424. NUMBER = 0
  425. end
  426. return NUMBER
  427. end
  428.  
  429. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  430. for _, c in pairs(PARENT:GetChildren()) do
  431. if c.ClassName == "Model" then
  432. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  433. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  434. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  435. if DIST > (TORSO.Position - FROM).Magnitude then
  436. table.insert(TABLE, c)
  437. end
  438. AddChildrenToTable(FROM, c, DIST, TABLE)
  439. elseif c.ClassName == "Folder" then
  440. AddChildrenToTable(FROM, c, DIST, TABLE)
  441. end
  442. end
  443. end
  444. end
  445.  
  446. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  447. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  448. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  449. wave.CFrame = CFRAME
  450. coroutine.resume(coroutine.create(function(PART)
  451. for i = 1, WAIT do
  452. Swait()
  453. mesh.Scale = mesh.Scale + GROW
  454. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  455. if DOESROT == true then
  456. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  457. end
  458. wave.Transparency = wave.Transparency + 0.5 / WAIT
  459. if wave.Transparency > 0.99 then
  460. wave:remove()
  461. end
  462. end
  463. end))
  464. end
  465. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  466. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  467. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  468. wave.CFrame = CFRAME
  469. coroutine.resume(coroutine.create(function(PART)
  470. for i = 1, WAIT do
  471. Swait()
  472. mesh.Scale = mesh.Scale + GROW
  473. if DOESROT == true then
  474. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  475. end
  476. wave.Transparency = wave.Transparency + 0.5 / WAIT
  477. if wave.Transparency > 0.99 then
  478. wave:remove()
  479. end
  480. end
  481. end))
  482. end
  483. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  484. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  485. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  486. wave.CFrame = CFRAME
  487. coroutine.resume(coroutine.create(function(PART)
  488. for i = 1, WAIT do
  489. Swait()
  490. mesh.Scale = mesh.Scale + GROW
  491. wave.Transparency = wave.Transparency + 1 / WAIT
  492. if wave.Transparency > 0.99 then
  493. wave:remove()
  494. end
  495. end
  496. end))
  497. end
  498. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  499. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  500. local mesh
  501. if KIND == "Base" then
  502. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  503. elseif KIND == "Thin" then
  504. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  505. elseif KIND == "Round" then
  506. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  507. end
  508. wave.CFrame = CFRAME
  509. coroutine.resume(coroutine.create(function(PART)
  510. for i = 1, WAIT do
  511. Swait()
  512. mesh.Scale = mesh.Scale + GROW / 10
  513. wave.Transparency = wave.Transparency + 0.5 / WAIT
  514. if wave.Transparency > 0.99 then
  515. wave:remove()
  516. end
  517. end
  518. end))
  519. end
  520.  
  521. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  522. if DoesCourontine == false then
  523. local Direction = CF(Part.Position, ToLocation)
  524. local Distance = (Part.Position - ToLocation).magnitude
  525. for i = 1, AmountOfTime do
  526. Swait()
  527. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  528. Direction = Part.CFrame
  529. end
  530. Part:remove()
  531. elseif DoesCourontine == true then
  532. coroutine.resume(coroutine.create(function()
  533. local Direction = CF(Part.Position, ToLocation)
  534. local Distance = (Part.Position - ToLocation).magnitude
  535. for i = 1, AmountOfTime do
  536. Swait()
  537. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  538. Direction = Part.CFrame
  539. end
  540. Part:remove()
  541. end))
  542. end
  543. end
  544.  
  545. function NegativeAngle(NUMBER)
  546. if NUMBER <= 0 then
  547. NUMBER = 0
  548. end
  549. return NUMBER
  550. end
  551.  
  552. function Swait(NUMBER)
  553. if NUMBER == 0 or NUMBER == nil then
  554. ArtificialHB.Event:wait()
  555. else
  556. for i = 1, NUMBER do
  557. ArtificialHB.Event:wait()
  558. end
  559. end
  560. end
  561.  
  562. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  563. local NEWMESH = IT(MESH)
  564. if MESH == "SpecialMesh" then
  565. NEWMESH.MeshType = MESHTYPE
  566. if MESHID ~= "nil" and MESHID ~= "" then
  567. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  568. end
  569. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  570. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  571. end
  572. end
  573. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  574. NEWMESH.Scale = SCALE
  575. NEWMESH.Parent = PARENT
  576. return NEWMESH
  577. end
  578.  
  579. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  580. local NEWPART = IT("Part")
  581. NEWPART.formFactor = FORMFACTOR
  582. NEWPART.Reflectance = REFLECTANCE
  583. NEWPART.Transparency = TRANSPARENCY
  584. NEWPART.CanCollide = false
  585. NEWPART.Locked = true
  586. NEWPART.Anchored = true
  587. if ANCHOR == false then
  588. NEWPART.Anchored = false
  589. end
  590. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  591. NEWPART.Name = NAME
  592. NEWPART.Size = SIZE
  593. NEWPART.Position = Torso.Position
  594. NEWPART.Material = MATERIAL
  595. NEWPART:BreakJoints()
  596. NEWPART.Parent = PARENT
  597. return NEWPART
  598. end
  599.  
  600. local function weldBetween(a, b)
  601. local weldd = Instance.new("ManualWeld")
  602. weldd.Part0 = a
  603. weldd.Part1 = b
  604. weldd.C0 = CFrame.new()
  605. weldd.C1 = b.CFrame:inverse() * a.CFrame
  606. weldd.Parent = a
  607. return weldd
  608. end
  609.  
  610.  
  611. function QuaternionFromCFrame(cf)
  612. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  613. local trace = m00 + m11 + m22
  614. if trace > 0 then
  615. local s = math.sqrt(1 + trace)
  616. local recip = 0.5 / s
  617. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  618. else
  619. local i = 0
  620. if m11 > m00 then
  621. i = 1
  622. end
  623. if m22 > (i == 0 and m00 or m11) then
  624. i = 2
  625. end
  626. if i == 0 then
  627. local s = math.sqrt(m00 - m11 - m22 + 1)
  628. local recip = 0.5 / s
  629. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  630. elseif i == 1 then
  631. local s = math.sqrt(m11 - m22 - m00 + 1)
  632. local recip = 0.5 / s
  633. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  634. elseif i == 2 then
  635. local s = math.sqrt(m22 - m00 - m11 + 1)
  636. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  637. end
  638. end
  639. end
  640.  
  641. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  642. local xs, ys, zs = x + x, y + y, z + z
  643. local wx, wy, wz = w * xs, w * ys, w * zs
  644. local xx = x * xs
  645. local xy = x * ys
  646. local xz = x * zs
  647. local yy = y * ys
  648. local yz = y * zs
  649. local zz = z * zs
  650. 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))
  651. end
  652.  
  653. function QuaternionSlerp(a, b, t)
  654. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  655. local startInterp, finishInterp;
  656. if cosTheta >= 0.0001 then
  657. if (1 - cosTheta) > 0.0001 then
  658. local theta = ACOS(cosTheta)
  659. local invSinTheta = 1 / SIN(theta)
  660. startInterp = SIN((1 - t) * theta) * invSinTheta
  661. finishInterp = SIN(t * theta) * invSinTheta
  662. else
  663. startInterp = 1 - t
  664. finishInterp = t
  665. end
  666. else
  667. if (1 + cosTheta) > 0.0001 then
  668. local theta = ACOS(-cosTheta)
  669. local invSinTheta = 1 / SIN(theta)
  670. startInterp = SIN((t - 1) * theta) * invSinTheta
  671. finishInterp = SIN(t * theta) * invSinTheta
  672. else
  673. startInterp = t - 1
  674. finishInterp = t
  675. end
  676. end
  677. 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
  678. end
  679.  
  680. function Clerp(a, b, t)
  681. local qa = {QuaternionFromCFrame(a)}
  682. local qb = {QuaternionFromCFrame(b)}
  683. local ax, ay, az = a.x, a.y, a.z
  684. local bx, by, bz = b.x, b.y, b.z
  685. local _t = 1 - t
  686. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  687. end
  688.  
  689. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  690. local frame = IT("Frame")
  691. frame.BackgroundTransparency = TRANSPARENCY
  692. frame.BorderSizePixel = BORDERSIZEPIXEL
  693. frame.Position = POSITION
  694. frame.Size = SIZE
  695. frame.BackgroundColor3 = COLOR
  696. frame.BorderColor3 = BORDERCOLOR
  697. frame.Name = NAME
  698. frame.Parent = PARENT
  699. return frame
  700. end
  701.  
  702. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  703. local label = IT("TextLabel")
  704. label.BackgroundTransparency = 1
  705. label.Size = UD2(1, 0, 1, 0)
  706. label.Position = UD2(0, 0, 0, 0)
  707. label.TextColor3 = TEXTCOLOR
  708. label.TextStrokeTransparency = STROKETRANSPARENCY
  709. label.TextTransparency = TRANSPARENCY
  710. label.FontSize = TEXTFONTSIZE
  711. label.Font = TEXTFONT
  712. label.BorderSizePixel = BORDERSIZEPIXEL
  713. label.TextScaled = false
  714. label.Text = TEXT
  715. label.Name = NAME
  716. label.Parent = PARENT
  717. return label
  718. end
  719.  
  720. function NoOutlines(PART)
  721. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  722. end
  723.  
  724. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  725. local NEWWELD = IT(TYPE)
  726. NEWWELD.Part0 = PART0
  727. NEWWELD.Part1 = PART1
  728. NEWWELD.C0 = C0
  729. NEWWELD.C1 = C1
  730. NEWWELD.Parent = PARENT
  731. return NEWWELD
  732. end
  733.  
  734. local S = IT("Sound")
  735. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  736. local NEWSOUND = nil
  737. coroutine.resume(coroutine.create(function()
  738. NEWSOUND = S:Clone()
  739. NEWSOUND.Parent = PARENT
  740. NEWSOUND.Volume = VOLUME
  741. NEWSOUND.Pitch = PITCH
  742. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  743. NEWSOUND:play()
  744. if DOESLOOP == true then
  745. NEWSOUND.Looped = true
  746. else
  747. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  748. NEWSOUND:remove()
  749. end
  750. end))
  751. return NEWSOUND
  752. end
  753.  
  754. function CFrameFromTopBack(at, top, back)
  755. local right = top:Cross(back)
  756. 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)
  757. end
  758.  
  759. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  760. function Lightning(Table)
  761. local Color = Table.Color or C3(1,1,1)
  762. local StartPos = Table.Start or Torso.Position
  763. local EndPos = Table.End or Mouse.Hit.p
  764. local SegmentLength = Table.SegmentL or 2
  765. local Thickness = Table.Thickness or 0.1
  766. local Dissapear = Table.DoesFade or false
  767. local Parent = Table.Ignore or Character
  768. local MaxDist = Table.MaxDist or 400
  769. local Branches = Table.Branches or false
  770. local Thicken = Table.Thicken or false
  771. local FadeTime = Table.FadeTime or 15
  772. local FadeIn = Table.FadeIn or false
  773. local Material = Table.Material or "Neon"
  774. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  775. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  776. local LIGHTNINGMODEL = IT("Model",Effects)
  777. LIGHTNINGMODEL.Name = "Lightning"
  778. local LastBolt = nil
  779. for E = 1, DISTANCE do
  780. local ExtraSize = 0
  781. if Thicken == true then
  782. ExtraSize = (DISTANCE-E)/15
  783. end
  784. local TRANSPARENCY = 0
  785. if FadeIn == true then
  786. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  787. if TRANSPARENCY < 0 then
  788. TRANSPARENCY = 0
  789. end
  790. end
  791. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  792. PART.Color = Color
  793. MakeForm(PART,"Cyl")
  794. if LastBolt == nil then
  795. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  796. else
  797. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  798. end
  799. LastBolt = PART
  800. if Branches == true and E < (DISTANCE-5) then
  801. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  802. if CHOICE == 1 then
  803. local LASTBRANCH = nil
  804. for i = 1, MRANDOM(2,5) do
  805. local ExtraSize2 = 0
  806. if Thicken == true then
  807. ExtraSize = ((DISTANCE-E)/25)/i
  808. end
  809. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  810. PART.Color = Color
  811. MakeForm(PART,"Cyl")
  812. if LASTBRANCH == nil then
  813. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  814. else
  815. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  816. end
  817. LASTBRANCH = PART
  818. end
  819. end
  820. end
  821. end
  822. if Dissapear == true then
  823. coroutine.resume(coroutine.create(function()
  824. for i = 1, FadeTime do
  825. Swait()
  826. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  827. if c.ClassName == "Part" then
  828. c.Transparency = c.Transparency + (i/FadeTime)/10
  829. end
  830. end
  831. end
  832. LIGHTNINGMODEL:remove()
  833. end))
  834. elseif Dissapear == false then
  835. Debris:AddItem(LIGHTNINGMODEL,0.1)
  836. end
  837. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  838. end
  839.  
  840. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  841. function WACKYEFFECT(Table)
  842. local TYPE = (Table.EffectType or "Sphere")
  843. local SIZE = (Table.Size or VT(1,1,1))
  844. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  845. local TRANSPARENCY = (Table.Transparency or 0)
  846. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  847. local CFRAME = (Table.CFrame or Torso.CFrame)
  848. local MOVEDIRECTION = (Table.MoveToPos or nil)
  849. local ROTATION1 = (Table.RotationX or 0)
  850. local ROTATION2 = (Table.RotationY or 0)
  851. local ROTATION3 = (Table.RotationZ or 0)
  852. local MATERIAL = (Table.Material or "Neon")
  853. local COLOR = (Table.Color or C3(1,1,1))
  854. local TIME = (Table.Time or 45)
  855. local SOUNDID = (Table.SoundID or nil)
  856. local SOUNDPITCH = (Table.SoundPitch or nil)
  857. local SOUNDVOLUME = (Table.SoundVolume or nil)
  858. coroutine.resume(coroutine.create(function()
  859. local PLAYSSOUND = false
  860. local SOUND = nil
  861. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  862. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  863. PLAYSSOUND = true
  864. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  865. end
  866. EFFECT.Color = COLOR
  867. local MSH = nil
  868. if TYPE == "Sphere" then
  869. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  870. elseif TYPE == "Block" then
  871. MSH = IT("BlockMesh",EFFECT)
  872. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  873. elseif TYPE == "Wave" then
  874. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  875. elseif TYPE == "Ring" then
  876. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  877. elseif TYPE == "Slash" then
  878. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  879. elseif TYPE == "Round Slash" then
  880. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  881. elseif TYPE == "Swirl" then
  882. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  883. elseif TYPE == "Skull" then
  884. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  885. elseif TYPE == "Crystal" then
  886. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  887. end
  888. if MSH ~= nil then
  889. local MOVESPEED = nil
  890. if MOVEDIRECTION ~= nil then
  891. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  892. end
  893. local GROWTH = SIZE - ENDSIZE
  894. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  895. if TYPE == "Block" then
  896. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  897. else
  898. EFFECT.CFrame = CFRAME
  899. end
  900. for LOOP = 1, TIME+1 do
  901. Swait()
  902. MSH.Scale = MSH.Scale - GROWTH/TIME
  903. if TYPE == "Wave" then
  904. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  905. end
  906. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  907. if TYPE == "Block" then
  908. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  909. else
  910. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  911. end
  912. if MOVEDIRECTION ~= nil then
  913. local ORI = EFFECT.Orientation
  914. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  915. EFFECT.Orientation = ORI
  916. end
  917. end
  918. if PLAYSSOUND == false then
  919. EFFECT:remove()
  920. else
  921. SOUND.Stopped:Connect(function()
  922. EFFECT:remove()
  923. end)
  924. end
  925. else
  926. if PLAYSSOUND == false then
  927. EFFECT:remove()
  928. else
  929. repeat Swait() until SOUND.Playing == false
  930. EFFECT:remove()
  931. end
  932. end
  933. end))
  934. end
  935.  
  936. function MakeForm(PART,TYPE)
  937. if TYPE == "Cyl" then
  938. local MSH = IT("CylinderMesh",PART)
  939. elseif TYPE == "Ball" then
  940. local MSH = IT("SpecialMesh",PART)
  941. MSH.MeshType = "Sphere"
  942. elseif TYPE == "Wedge" then
  943. local MSH = IT("SpecialMesh",PART)
  944. MSH.MeshType = "Wedge"
  945. end
  946. end
  947.  
  948. function SpawnTrail(FROM,TO,BIG)
  949. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "really black", "Trail", VT(0,0,0))
  950. MakeForm(TRAIL,"Cyl")
  951. local DIST = (FROM - TO).Magnitude
  952. if BIG == true then
  953. TRAIL.Size = VT(0.5,DIST,0.5)
  954. else
  955. TRAIL.Size = VT(0.25,DIST,0.25)
  956. end
  957. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  958. coroutine.resume(coroutine.create(function()
  959. for i = 1, 5 do
  960. Swait()
  961. TRAIL.Transparency = TRAIL.Transparency + 0.1
  962. end
  963. TRAIL:remove()
  964. end))
  965. end
  966.  
  967. Debris = game:GetService("Debris")
  968.  
  969. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  970. local DIRECTION = CF(StartPos,EndPos).lookVector
  971. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  972. end
  973.  
  974. function turnto(position)
  975. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  976. end
  977.  
  978. local PLAYMAINANIM = true
  979. local HATWELD = nil
  980. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  981. PLAYMAINANIM = false
  982. if WhichPose == "Cast1" then
  983. for i=0, Time, 0.1 / Animation_Speed do
  984. Swait()
  985. if Magic == true then
  986. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  987. end
  988. if Gyro ~= nil and Gyro ~= false then
  989. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  990. end
  991. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  992. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  993. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  994. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  995. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  996. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  997. end
  998. elseif WhichPose == "Cast2" then
  999. for i=0, Time, 0.1 / Animation_Speed do
  1000. Swait()
  1001. if Magic == true then
  1002. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1003. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1004. end
  1005. if Gyro ~= nil and Gyro ~= false then
  1006. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1007. end
  1008. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1009. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1010. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1011. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1012. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1013. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1014. end
  1015. elseif WhichPose == "RightArmUp" then
  1016. for i=0, Time, 0.1 / Animation_Speed do
  1017. Swait()
  1018. if Magic == true then
  1019. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1020. end
  1021. if Gyro ~= nil and Gyro ~= false then
  1022. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1023. end
  1024. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1028. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1029. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1030. end
  1031. elseif WhichPose == "Taunt" then
  1032. for i=0, Time, 0.1 / Animation_Speed do
  1033. Swait()
  1034. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1035. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1036. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1037. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1038. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1039. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1040. end
  1041. HATWELD.Part0 = RightArm
  1042. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1043. CreateSound(221057812,Torso,10,1,false)
  1044. for i=0, Time*2, 0.1 / Animation_Speed do
  1045. Swait()
  1046. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1047. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1048. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1049. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1050. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1051. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1052. end
  1053. for i=0, Time, 0.1 / Animation_Speed do
  1054. Swait()
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1059. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1061. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  1062. end
  1063. HATWELD.Part0 = Head
  1064. HATWELD.C0 = CF(0,0.35,0)
  1065. elseif WhichPose == "Prepare key" then
  1066. for i=0, Time, 0.1 / Animation_Speed do
  1067. Swait()
  1068. if Gyro ~= nil and Gyro ~= false then
  1069. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1070. end
  1071. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  1072. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1073. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1074. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1075. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1076. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1077. end
  1078. elseif WhichPose == "Turn key" then
  1079. for i=0, Time, 0.1 / Animation_Speed do
  1080. Swait()
  1081. if Gyro ~= nil and Gyro ~= false then
  1082. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1083. end
  1084. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  1085. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1086. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1087. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1088. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1089. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1090. end
  1091. end
  1092. PLAYMAINANIM = true
  1093. end
  1094. --//=================================\\
  1095. --|| WEAPON CREATION
  1096. --\\=================================//
  1097.  
  1098. local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false)
  1099. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1100. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false)
  1101. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1102.  
  1103. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1104. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1105. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1106. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1107. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1108. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1109. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false)
  1110. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1111.  
  1112. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false)
  1113. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1114. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false)
  1115. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1116. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1117. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1118. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1119. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1120. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Really red", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false)
  1121. local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1122.  
  1123. RightArm.Transparency = 1
  1124. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
  1125. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1126. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
  1127. MakeForm(Sphere,"Ball")
  1128. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1129. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  1130. MakeForm(LaserPart,"Ball")
  1131. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1132. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
  1133. MakeForm(Bump,"Ball")
  1134. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1135. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  1136. MakeForm(BottomLaser,"Cyl")
  1137. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1138. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1139. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1140. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1141. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  1142. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  1143. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  1144. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1145. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  1146. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  1147. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  1148. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  1149. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  1150. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  1151. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  1152. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1153. MakeForm(Part,"Cyl")
  1154. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1155. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  1156. MakeForm(Part,"Cyl")
  1157. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1158. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  1159. MakeForm(Sphere,"Ball")
  1160. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1161.  
  1162. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(1,1,1.2),false)
  1163. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1164. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
  1165. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  1166. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.3,1.7,1.15),false)
  1167. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  1168. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Maroon", "Metal", VT(0.8,0.8,1.225),false)
  1169. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1170. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  1171. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1172.  
  1173. New = function(Object, Parent, Name, Data)
  1174. local Object = Instance.new(Object)
  1175. for Index, Value in pairs(Data or {}) do
  1176. Object[Index] = Value
  1177. end
  1178. Object.Parent = Parent
  1179. Object.Name = Name
  1180. return Object
  1181. end
  1182.  
  1183. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-67.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  1184. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, 0.487541199, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1185. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000252, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787415, 1.33912802, 93.9772263, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
  1186. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.0127105713, 0.339127064, -0.512458801, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1187.  
  1188. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.140000015, 0.0500000007),CFrame = CFrame.new(-67.6787415, 3.12643075, 92.6921463, -9.31322575e-10, -1.86264515e-09, -0.999999285, 0.777135551, 0.629333496, 9.31322575e-10, 0.6293329, -0.777134895, 0),})
  1189. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.766067505, 0.138611317, 0.515716553, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1190. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.12999988, 1.12000012, 0.0500000007),CFrame = CFrame.new(-67.6951752, 3.43133378, 93.991272, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1191. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.533157349, 0.443484068, 0.50994873, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1192. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.450000018, 0.590000272, 0.0500000007),CFrame = CFrame.new(-67.6951752, 2.60608268, 94.3512573, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1193. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.893096924, -0.381786108, 0.509513855, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1194. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.330000013, 0.590000272, 0.0500000007),CFrame = CFrame.new(-66.6951752, 2.60608268, 94.2912598, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1195. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.817497253, -0.388065577, -0.489402771, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1196. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.220000237, 0.660000384, 0.0500000007),CFrame = CFrame.new(-66.6787338, 2.57395577, 93.9222183, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1197. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.448242188, -0.420258999, -0.49987793, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1198. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.07999992, 1.12000012, 0.0500000007),CFrame = CFrame.new(-66.6951752, 3.43133354, 93.9662704, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1199. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(0.492546082, 0.437201023, -0.489517212, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1200. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.340000302, 0.0500000007),CFrame = CFrame.new(-66.6787415, 3.2281816, 93.1287689, 0, -9.31322575e-10, -0.999999285, 0, 1, 9.31322575e-10, 0.999999225, 0, 0),})
  1201. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0),C1 = CFrame.new(-0.345108032, 0.234031916, -0.491600037, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1202. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.0999999, 0.0500000007, 1.00999975),CFrame = CFrame.new(-67.1759109, 3.99574399, 93.9762726, 0, -0.0260759834, -0.999659359, 0, 0.999660075, -0.0260760002, 0.999999225, -2.91038305e-11, -9.31322575e-10),})
  1203. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = Torso,C0 = CFrame.new(0, 0, 0, 0, 0, 1, -0.0260760002, 0.999660015, 0, -0.999660015, -0.0260760002, 0),C1 = CFrame.new(0.510047913, 1.00462079, -0.0125579834, -0.0156119959, -4.38656264e-11, 0.999877751, -0.0062854127, 0.999980271, -9.81397825e-05, -0.999858022, -0.00628618058, -0.0156116877),})
  1204.  
  1205. Corruption = New("Part",Character,"Corruption",{BrickColor = BrickColor.new("Maroon"),Material = Enum.Material.DiamondPlate,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.740000069, 0.419999987, 0.870000064),CFrame = CFrame.new(-67.0815201, 2.81366396, 91.9528885, 0, 0, -1, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, 0),})
  1206. mot = New("Motor",Corruption,"mot",{Part0 = Corruption,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 0.777135491, 0.629333377, 0, 0.629333377, -0.777135491, -1, 0, 0),C1 = CFrame.new(-0.00936126709, -0.184385061, -0.0693511963, 0, 0, 1, 0, 1, 0, -1, 0, 0),})
  1207. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1208. PRT.Color = C3(0,0,0)
  1209. local MSH = IT("BlockMesh",PRT)
  1210. MSH.Scale = VT(0.4,1,1)
  1211. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1212. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1213. PRT.Color = C3(0,0,0)
  1214. local MSH = IT("BlockMesh",PRT)
  1215. MSH.Scale = VT(0.4,1,1)
  1216. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1217. coroutine.resume(coroutine.create(function()
  1218. while true do
  1219. Swait()
  1220. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1221. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1222. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1223. if CLOCKLOOP <= -150 then
  1224. if VALUE1 == false then
  1225. CLOCKLOOP = 0
  1226. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1)})
  1227. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1228. ApplyClock(HITPOS,10,15,45,75,false)
  1229. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,1,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1230. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.25,0.11,0.25)*SIZE, Size2 = VT(10,2,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1231. if CLOCKTARGET ~= nil then
  1232. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1233. if CLOCKTARGET.Torso ~= nil then
  1234. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1235. end
  1236. if CLOCKTARGET.Health == 0 then
  1237. CLOCKTARGET = nil
  1238. end
  1239. end
  1240. end
  1241. end
  1242. end
  1243. end))
  1244.  
  1245. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  1246. Character["Body Colors"].TorsoColor = BrickColor.new("White")
  1247. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  1248. Character["Body Colors"].RightArmColor = BrickColor.new("White")
  1249. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  1250. Character["Body Colors"].RightLegColor = BrickColor.new("White")
  1251.  
  1252. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Hood", VT(1,1,1),false)
  1253. PRT.Color = C3(0,0,0)
  1254. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1255. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1256. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "White", "Scarf", VT(1,1,1),false)
  1257. PRT.Color = C3(0,0,0)
  1258. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1259. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1260. for i = 1, 16 do
  1261. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1262. FACE.Color = C3(0,0,0)
  1263. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1264. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1265. end
  1266. local EYE = CreatePart(3, Character, "Neon", 0, 0, "White", "Eyeball", VT(0.15,0.15,0.15),false)
  1267. MakeForm(EYE,"Ball")
  1268. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  1269. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "White", "Eyeball", VT(0.15,0.15,0.15),false)
  1270. MakeForm(EYE2,"Ball")
  1271. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  1272. local LASTPART = Head
  1273. for i = 1, 20 do
  1274. local MATH = (1-(i/25))
  1275. if LASTPART == Head then
  1276. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1277. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1278. LASTPART = Horn
  1279. Horn.Color = C3((i*3-3)/255,0,0)
  1280. else
  1281. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1282. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1283. LASTPART = Horn
  1284. Horn.Color = C3((i*3-3)/255,0,0)
  1285. end
  1286. end
  1287. local LASTPART = Head
  1288. for i = 1, 20 do
  1289. local MATH = (1-(i/25))
  1290. if LASTPART == Head then
  1291. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1292. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1293. LASTPART = Horn
  1294. Horn.Color = C3((i*3-3)/255,0,0)
  1295. else
  1296. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1297. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1298. LASTPART = Horn
  1299. Horn.Color = C3((i*3-3)/255,0,0)
  1300. end
  1301. end
  1302. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  1303. MakeForm(HAT1,"Cyl")
  1304. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1305. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  1306. BELT.Color = C3(15/255,15/255,15/255)
  1307. MakeForm(BELT,"Cyl")
  1308. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1309. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  1310. MakeForm(HAT2,"Cyl")
  1311. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1312. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  1313. BELT.Color = C3(15/255,15/255,15/255)
  1314. MakeForm(BELT,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1316. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.25,0.25,0.1),false)
  1317. MakeForm(GEM,"Ball")
  1318. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1319. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.25,0.25,0.1),false)
  1320. MakeForm(GEM,"Ball")
  1321. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1322. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.1,0.25,0.25),false)
  1323. MakeForm(GEM,"Ball")
  1324. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1325. local GEM = CreatePart(3, Character, "Neon", 0, 0, "really black", "Gem", VT(0.1,0.25,0.25),false)
  1326. MakeForm(GEM,"Ball")
  1327. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1328. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1329. BELT.Color = C3(15/255,15/255,15/255)
  1330. MakeForm(BELT,"Cyl")
  1331. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1332. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1333. BELT.Color = C3(15/255,15/255,15/255)
  1334. MakeForm(BELT,"Cyl")
  1335. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1336. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1337. BELT.Color = C3(15/255,15/255,15/255)
  1338. MakeForm(BELT,"Cyl")
  1339. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1340. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1341. BELT.Color = C3(15/255,15/255,15/255)
  1342. MakeForm(BELT,"Cyl")
  1343. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1344. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1345. MakeForm(BELT,"Ball")
  1346. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1347. local Particle = IT("ParticleEmitter",nil)
  1348. Particle.Enabled = false
  1349. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1350. Particle.LightEmission = 0.5
  1351. Particle.Rate = 150
  1352. Particle.ZOffset = 0.2
  1353. Particle.Rotation = NumberRange.new(-180, 180)
  1354. Particle.RotSpeed = NumberRange.new(-180, 180)
  1355. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1356. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1357.  
  1358. --ParticleEmitter({Speed = 500, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1359. function ParticleEmitter(Table)
  1360. local PRTCL = Particle:Clone()
  1361. local Speed = Table.Speed or 5
  1362. local Drag = Table.Drag or 0
  1363. local Size1 = Table.Size1 or 1
  1364. local Size2 = Table.Size2 or 5
  1365. local Lifetime1 = Table.Lifetime1 or 1
  1366. local Lifetime2 = Table.Lifetime2 or 1.5
  1367. local Parent = Table.Parent or Torso
  1368. local Emit = Table.Emit or 100
  1369. local Offset = Table.Offset or 360
  1370. local Acel = Table.Acel or VT(0,0,0)
  1371. local Enabled = Table.Enabled or false
  1372. PRTCL.Parent = Parent
  1373. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1374. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1375. PRTCL.Speed = NumberRange.new(Speed)
  1376. PRTCL.VelocitySpread = Offset
  1377. PRTCL.Drag = Drag
  1378. PRTCL.Acceleration = Acel
  1379. if Enabled == false then
  1380. PRTCL:Emit(Emit)
  1381. Debris:AddItem(PRTCL,Lifetime2)
  1382. else
  1383. PRTCL.Enabled = true
  1384. end
  1385. return PRTCL
  1386. end
  1387.  
  1388. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1389. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1390. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1391. MakeForm(Part,"Wedge")
  1392. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1393. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1394. MakeForm(Part,"Wedge")
  1395. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1396. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1397. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1398. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1399. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1400. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1401. MakeForm(Part,"Cyl")
  1402. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1403. for i = 1, 8 do
  1404. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1405. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1406. end
  1407. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1408. MakeForm(Part,"Cyl")
  1409. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1410. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1411. MakeForm(Part,"Ball")
  1412. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1413. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1414. MakeForm(Part,"Wedge")
  1415. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1416. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1417. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1418. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1419. MakeForm(Part,"Cyl")
  1420. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1421. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1422. MakeForm(Part,"Cyl")
  1423. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1424. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1425. MakeForm(Part,"Cyl")
  1426. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1427. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1428. MakeForm(Part,"Wedge")
  1429. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1430. local LASTPART = Handle
  1431. for i = 1, 10 do
  1432. if LASTPART == Handle then
  1433. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1434. LASTPART = Part
  1435. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1436. else
  1437. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1438. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1439. LASTPART = Part
  1440. end
  1441. end
  1442.  
  1443. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1444. MakeForm(Barrel,"Cyl")
  1445. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1446. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1447. MakeForm(Part,"Cyl")
  1448. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1449. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1450. MakeForm(Part,"Wedge")
  1451. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1452. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1453. MakeForm(Hole,"Cyl")
  1454. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1455. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1456. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1457. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1458. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1459. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1460. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1461. coroutine.resume(coroutine.create(function()
  1462. while wait() do
  1463. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1464. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1465. end
  1466. end))
  1467.  
  1468. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1469. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1470. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1471. MakeForm(Part,"Wedge")
  1472. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1473. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1474. MakeForm(Part,"Wedge")
  1475. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1476. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1477. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1478. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1479. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1480. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1481. MakeForm(Part,"Cyl")
  1482. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1483. for i = 1, 8 do
  1484. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1485. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1486. end
  1487. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1488. MakeForm(Part,"Cyl")
  1489. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1490. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1491. MakeForm(Part,"Ball")
  1492. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1493. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1494. MakeForm(Part,"Wedge")
  1495. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1496. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1497. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1498. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1499. MakeForm(Part,"Cyl")
  1500. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1501. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1502. MakeForm(Part,"Cyl")
  1503. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1504. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1505. MakeForm(Part,"Cyl")
  1506. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1507. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1508. MakeForm(Part,"Wedge")
  1509. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1510. local LASTPART = Handle
  1511. for i = 1, 10 do
  1512. if LASTPART == Handle then
  1513. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1514. LASTPART = Part
  1515. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1516. else
  1517. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1518. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1519. LASTPART = Part
  1520. end
  1521. end
  1522.  
  1523. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1524. MakeForm(Barrel,"Cyl")
  1525. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1526. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1527. MakeForm(Part,"Cyl")
  1528. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1529. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1530. MakeForm(Part,"Wedge")
  1531. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1532. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1533. MakeForm(Hole,"Cyl")
  1534. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1535. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1536. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1537. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1538. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1539. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1540. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1541. coroutine.resume(coroutine.create(function()
  1542. while wait() do
  1543. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1544. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1545. end
  1546. end))
  1547.  
  1548. ParticleEmitter({Speed = 200, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1549. --ParticleEmitter({Speed = 500, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1550.  
  1551. for _, c in pairs(Weapon:GetDescendants()) do
  1552. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1553. c.Material = "Glass"
  1554. c.Color = C3(0,0,0)
  1555. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1556. c.Color = C3(1,0,0)
  1557. c.Material = "Neon"
  1558. end
  1559. end
  1560.  
  1561. Weapon.Parent = Character
  1562. for _, c in pairs(Weapon:GetChildren()) do
  1563. if c.ClassName == "Part" then
  1564. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1565. end
  1566. end
  1567.  
  1568. local SKILLTEXTCOLOR = C3(1,0,0)
  1569. local SKILLFONT = "Antique"
  1570. local SKILLTEXTSIZE = 7
  1571.  
  1572. Humanoid.Died:connect(function()
  1573. ATTACK = true
  1574. end)
  1575.  
  1576. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1577. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1578. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1579. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1580. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1581. ]]
  1582. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 1")
  1583. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 2")
  1584. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 3")
  1585. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 4")
  1586. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 242, 243, 243, "Text 5")
  1587. ]]
  1588. function printbye(Name)
  1589. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1590. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1591. end
  1592.  
  1593. workspace.ChildAdded:connect(function(instance)
  1594. for BANISH = 1, #TOBANISH do
  1595. if TOBANISH[BANISH] ~= nil then
  1596. if instance.Name == TOBANISH[BANISH] then
  1597. coroutine.resume(coroutine.create(function()
  1598. printbye(instance.Name)
  1599. instance:ClearAllChildren()
  1600. Debris:AddItem(instance,0.0005)
  1601. end))
  1602. end
  1603. end
  1604. end
  1605. end)
  1606. --//=================================\\
  1607. --|| DAMAGING
  1608. --\\=================================//
  1609.  
  1610. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1611. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1612. defence.Name = ("HitBy"..Player.Name)
  1613. game:GetService("Debris"):AddItem(defence, 0.001)
  1614. Damage = Damage * DAMAGEMULTIPLIER
  1615. if Humanoid.Health ~= 0 then
  1616. local CritChance = MRANDOM(1,100)
  1617. if Damage > Humanoid.Health then
  1618. Damage = math.ceil(Humanoid.Health)
  1619. if Damage == 0 then
  1620. Damage = 0.1
  1621. end
  1622. end
  1623. Humanoid.Health = Humanoid.Health - Damage*100
  1624. end
  1625. end
  1626.  
  1627.  
  1628. function KillChildren(v)
  1629. v:BreakJoints()
  1630. for _, c in pairs(v:GetChildren()) do
  1631. if c:IsA("BasePart") then
  1632. c.Anchored = true
  1633. end
  1634. end
  1635. for _, c in pairs(v:GetChildren()) do
  1636. if c:IsA("BasePart") then
  1637. if c.Transparency < 1 then
  1638. if c:FindFirstChildOfClass("Decal") then
  1639. c:FindFirstChildOfClass("Decal"):remove()
  1640. end
  1641. particles(c)
  1642. c.PE.Enabled = true
  1643. c.Parent = Effects
  1644. c.CanCollide = false
  1645. c.Material = "Neon"
  1646. c.Color = C3(1,1,1)
  1647. c.Transparency = 1
  1648. local grav = Instance.new("BodyPosition",c)
  1649. grav.P = 20000
  1650. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1651. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1652. grav.Name = "GravityForce"
  1653. coroutine.resume(coroutine.create(function()
  1654. for i = 1, 20 do
  1655. Swait()
  1656. c.Transparency = c.Transparency + 1/20
  1657. end
  1658. c.PE.Enabled = false
  1659. Debris:AddItem(c,2)
  1660. end))
  1661. end
  1662. end
  1663. end
  1664. end
  1665.  
  1666. function killnearest(position, range, maxstrength)
  1667. for i,v in ipairs(workspace:GetChildren()) do
  1668. local body = v:GetChildren()
  1669. for part = 1, #body do
  1670. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1671. if(body[part].Position - position).Magnitude < range then
  1672. if v.ClassName == "Model" then
  1673. --v:BreakJoints()
  1674. end
  1675. local POS = position
  1676. coroutine.resume(coroutine.create(function()
  1677. body[part].Anchored = true
  1678. body[part].Parent = Effects
  1679. body[part].CanCollide = true
  1680. local SIZE = body[part].Size
  1681. body[part].Material = "Glass"
  1682. CreateSound("878000314", body[part], 1, MRANDOM(1, 1) / 1)
  1683. for i = 1, 75 do
  1684. Swait()
  1685.  
  1686. body[part].Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1687. end
  1688. coroutine.resume(coroutine.create(function()
  1689. while true do
  1690. Swait()
  1691.  
  1692. body[part].Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1693. end
  1694. end))
  1695. body[part].Anchored = true
  1696.  
  1697. end))
  1698. end
  1699. end
  1700. end
  1701. if v.ClassName == "Part" then
  1702. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1703. local POS = position
  1704. coroutine.resume(coroutine.create(function()
  1705. v.Anchored = true
  1706. v.Parent = Effects
  1707. v.CanCollide = true
  1708. local SIZE = v.Size
  1709. v.Material = "Glass"
  1710. CreateSound("878000314", v, 2, MRANDOM(1, 1) / 1)
  1711. for i = 1, 75 do
  1712. Swait()
  1713.  
  1714. v.Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1715. end
  1716. coroutine.resume(coroutine.create(function()
  1717. while true do
  1718. Swait()
  1719.  
  1720. v.Size = VT(SIZE.X+MRANDOM(-0.5,0.5),SIZE.Y+MRANDOM(-0.5,0.5),SIZE.Z+MRANDOM(-0.5,0.5))
  1721. end
  1722. end))
  1723. v.Anchored = true
  1724.  
  1725. end))
  1726. end
  1727. end
  1728. end
  1729. end
  1730.  
  1731. function Kill(Char)
  1732. local NewCharacter = IT("Model",Effects)
  1733. NewCharacter.Name = "Ow im ded ;-;"
  1734. for _, c in pairs(Char:GetDescendants()) do
  1735. if c:IsA("BasePart") and c.Transparency == 0 then
  1736. if c.Parent == Char then
  1737. c:BreakJoints()
  1738. c.Material = "Glass"
  1739. c.Color = C3(1,1,1)
  1740. c.CanCollide = true
  1741. c.Transparency = 0.3
  1742. if c:FindFirstChildOfClass("SpecialMesh") then
  1743. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1744. end
  1745. if c.Name == "Head" then
  1746. c:ClearAllChildren()
  1747. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1748. end
  1749. if c.ClassName == "MeshPart" then
  1750. c.TextureID = ""
  1751. end
  1752. if c:FindFirstChildOfClass("BodyPosition") then
  1753. c:FindFirstChildOfClass("BodyPosition"):remove()
  1754. end
  1755. if c:FindFirstChildOfClass("ParticleEmitter") then
  1756. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1757. end
  1758. c.Parent = NewCharacter
  1759. c.Name = "DeadPart"
  1760. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1761. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1762. end
  1763. end
  1764. Char:remove()
  1765. Debris:AddItem(NewCharacter,5)
  1766. end
  1767. end
  1768.  
  1769. function Death(INSTAKILL,POSITION,RANGE)
  1770. local CHILDREN = workspace:GetDescendants()
  1771. for index, CHILD in pairs(CHILDREN) do
  1772. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1773. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1774. if HUM then
  1775. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1776. if TORSO then
  1777. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1778. if INSTAKILL == true then
  1779. CHILD:BreakJoints()
  1780. for _, c in pairs(CHILD:GetChildren()) do
  1781. if c:IsA("BasePart") then
  1782. c.Anchored = true
  1783. CHILD:BreakJoints()
  1784. local FIRES = {}
  1785. for _, e in pairs(CHILD:GetDescendants()) do
  1786. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  1787. e.Transparency = 1
  1788. e:ClearAllChildren()
  1789. local FIRE = script.HellFire:Clone()
  1790. FIRE.Parent = e
  1791. FIRE.Enabled = true
  1792. table.insert(FIRES,FIRE)
  1793. elseif e.ClassName == "Decal" then
  1794. e:remove()
  1795. end
  1796. end
  1797. for i = 1, 50 do
  1798. CHILD:BreakJoints()
  1799. wait()
  1800. end
  1801. for i = 1, #FIRES do
  1802. FIRES[i].Enabled = false
  1803. end
  1804. wait(1.1)
  1805. CHILD:remove()
  1806. end
  1807. end
  1808. end
  1809. end
  1810. end
  1811.  
  1812. end
  1813. end
  1814. end
  1815. end
  1816.  
  1817.  
  1818. function Banish(Foe)
  1819. if Foe then
  1820. coroutine.resume(coroutine.create(function()
  1821. --if game.Players:FindFirstChild(Foe.Name) then
  1822. table.insert(TOBANISH,Foe.Name)
  1823. printbye(Foe.Name)
  1824. --end
  1825. Foe.Archivable = true
  1826. local CLONE = Foe:Clone()
  1827. Foe:Destroy()
  1828. CLONE.Parent = Effects
  1829. CLONE:BreakJoints()
  1830. local MATERIALS = {"Glass","Neon"}
  1831. for _, c in pairs(CLONE:GetDescendants()) do
  1832. if c:IsA("BasePart") then
  1833. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1834. CreateSound(340722848, c, 10, 1, false)
  1835. end
  1836. c.Anchored = true
  1837. c.Transparency = c.Transparency + 0.2
  1838. c.Material = MATERIALS[MRANDOM(1,2)]
  1839. c.Color = C3(1,1,1)
  1840. if c.ClassName == "MeshPart" then
  1841. c.TextureID = ""
  1842. end
  1843. if c:FindFirstChildOfClass("SpecialMesh") then
  1844. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1845. end
  1846. if c:FindFirstChildOfClass("Decal") then
  1847. c:FindFirstChildOfClass("Decal"):remove()
  1848. end
  1849. c.Name = "Banished"
  1850. c.CanCollide = false
  1851. else
  1852. c:remove()
  1853. end
  1854. end
  1855. local A = false
  1856. for i = 1, 35 do
  1857. if A == false then
  1858. A = true
  1859. elseif A == true then
  1860. A = false
  1861. end
  1862. for _, c in pairs(CLONE:GetDescendants()) do
  1863. if c:IsA("BasePart") then
  1864. c.Anchored = true
  1865. c.Material = MATERIALS[MRANDOM(1,2)]
  1866. c.Transparency = c.Transparency + 0.8/35
  1867. if A == false then
  1868. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1869. elseif A == true then
  1870. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1871. end
  1872. end
  1873. end
  1874. Swait()
  1875. end
  1876. CLONE:remove()
  1877. end))
  1878. end
  1879. end
  1880.  
  1881. function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1882. local CHILDREN = workspace:GetDescendants()
  1883. for index, CHILD in pairs(CHILDREN) do
  1884. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1885. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1886. if HUM then
  1887. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1888. if TORSO then
  1889. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1890. if INSTAKILL == true then
  1891. CHILD:BreakJoints()
  1892. else
  1893. local DMG = MRANDOM(MINDMG,MAXDMG)
  1894. ApplyDamage(HUM,DMG,TORSO)
  1895. end
  1896. if FLING > 0 then
  1897. for _, c in pairs(CHILD:GetChildren()) do
  1898. if c:IsA("BasePart") then
  1899. local bv = Instance.new("BodyVelocity")
  1900. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1901. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1902. bv.Parent = c
  1903. Debris:AddItem(bv,0.05)
  1904. end
  1905. end
  1906. end
  1907. end
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end
  1913.  
  1914. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1915. local CHILDREN = workspace:GetDescendants()
  1916. for index, CHILD in pairs(CHILDREN) do
  1917. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1918. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1919. if HUM then
  1920. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1921. if TORSO then
  1922. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1923. if BRUTAL == true then
  1924. Kill(CHILD)
  1925. else
  1926. CHILD:BreakJoints()
  1927. end
  1928. end
  1929. end
  1930. end
  1931. end
  1932. end
  1933. end
  1934.  
  1935. function Shatter(Part)
  1936. if Part.Transparency == 0 then
  1937. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  1938. Debris:AddItem(SOUNDPART,5)
  1939. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  1940. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  1941. local SIZESET = SIZE/4
  1942. local XOffset = Part.Size.X*1.5/SIZESET
  1943. local YOffset = Part.Size.Y*1.5/SIZESET
  1944. local ZOffset = Part.Size.Z*1.5/SIZESET
  1945. for x = 1, math.ceil(XOffset) do
  1946. for y = 1, math.ceil(YOffset) do
  1947. for z = 1, math.ceil(ZOffset) do
  1948. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  1949. SHARD.CanCollide = true
  1950. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  1951. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  1952. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  1953. end
  1954. end
  1955. end
  1956. end
  1957. Part:remove()
  1958. end
  1959.  
  1960. function ApplyKill(POSITION,RANGE,BRUTAL)
  1961. local CHILDREN = workspace:GetDescendants()
  1962. for index, CHILD in pairs(CHILDREN) do
  1963. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1964. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1965. if HUM then
  1966. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1967. if TORSO then
  1968. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1969. if BRUTAL == true then
  1970. Banish(CHILD)
  1971. else
  1972. CHILD:BreakJoints()
  1973. end
  1974. end
  1975. end
  1976. end
  1977. end
  1978. end
  1979. end
  1980.  
  1981. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1982. local CHILDREN = workspace:GetDescendants()
  1983. for index, CHILD in pairs(CHILDREN) do
  1984. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1985. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1986. if HUM then
  1987. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1988. if TORSO then
  1989. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1990. if ISBANISH == true then
  1991. Banish(CHILD)
  1992. else
  1993. if ISBANISH == "Gravity" then
  1994. HUM.PlatformStand = true
  1995. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1996. local grav = Instance.new("BodyPosition",TORSO)
  1997. grav.D = 15
  1998. grav.P = 20000
  1999. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2000. grav.position = TORSO.Position
  2001. grav.Name = "V3BanishForce"..Player.Name
  2002. else
  2003. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2004. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2005. end
  2006. else
  2007. HUM.PlatformStand = false
  2008. end
  2009. end
  2010. elseif ISBANISH == "Gravity" then
  2011. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2012. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2013. HUM.PlatformStand = false
  2014. end
  2015. end
  2016. end
  2017. end
  2018. end
  2019. end
  2020. end
  2021.  
  2022. function killnearest(position,range,EFFECT,v)
  2023. for i,v in ipairs(workspace:GetChildren()) do
  2024. local body = v:GetChildren()
  2025. for part = 1, #body do
  2026. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2027. local SIZE = body[part].Size.Magnitude
  2028. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  2029. if v.ClassName == "Model" then
  2030. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  2031. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2032. v:BreakJoints()
  2033. for _, c in pairs(v:GetChildren()) do
  2034. if c:IsA("BasePart") then
  2035. c.Anchored = true
  2036. end
  2037. end
  2038. if EFFECT == "Glitch" then
  2039. coroutine.resume(coroutine.create(function()
  2040. local ORIGINPOS = body[part].CFrame
  2041. local SIZE = body[part].Size
  2042. for i = 1, 100 do
  2043. Swait()
  2044. local PART = body[part]
  2045. PART.Anchored = true
  2046. PART.Size = SIZE*MRANDOM(5,15)/10
  2047. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  2048. end
  2049. body[part]:remove()
  2050. end))
  2051. elseif EFFECT == "Shatter" then
  2052. for _, c in pairs(v:GetChildren()) do
  2053. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2054. Shatter(c)
  2055. end
  2056. end
  2057. end
  2058. end
  2059. end
  2060. end
  2061. end
  2062. end
  2063. end
  2064. end
  2065. end
  2066. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  2067. local svch = Character2
  2068. Character2:BreakJoints()
  2069. local hum = Character2:findFirstChild("Humanoid")
  2070. local q = Character2:GetChildren()
  2071. local CLONE = IT("Model", Effects)
  2072. for i = 1, #q do
  2073. if q[i].ClassName == "Accessory" and Headless == true then
  2074. q[i]:remove()
  2075. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  2076. q[i].Parent = CLONE
  2077. elseif q[i].ClassName ~= "Humanoid" then
  2078. q[i]:remove()
  2079. end
  2080. end
  2081. local chrclone = CLONE
  2082. local ch = chrclone:GetChildren()
  2083. local i
  2084. for i = 1, #ch do
  2085. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2086. ch[i]:remove()
  2087. end
  2088. end
  2089. local function Scan(ch)
  2090. local e
  2091. for e = 1, #ch do
  2092. Scan(ch[e]:GetChildren())
  2093. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2094. ch[e]:remove()
  2095. end
  2096. end
  2097. end
  2098. Character2:remove()
  2099. local NEWHUM = IT("Humanoid")
  2100. NEWHUM.Name = "Corpse"
  2101. NEWHUM.Health = 0
  2102. NEWHUM.MaxHealth = 0
  2103. NEWHUM.PlatformStand = true
  2104. NEWHUM.Parent = CLONE
  2105. NEWHUM.DisplayDistanceType = "None"
  2106. Scan(chrclone:GetChildren())
  2107. local ch = Character2:GetChildren()
  2108. local i
  2109. for i = 1, #ch do
  2110. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2111. ch[i]:remove()
  2112. end
  2113. end
  2114. local ch = Character2:GetChildren()
  2115. local i
  2116. for i = 1, #ch do
  2117. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2118. ch[i]:remove()
  2119. end
  2120. end
  2121. Character2 = chrclone
  2122. local Torso2 = Character2.Torso
  2123. local movevector = Vector3.new()
  2124. if Torso2 then
  2125. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  2126. local Head = Character2:FindFirstChild("Head")
  2127. if Head then
  2128. local Neck = Instance.new("Weld")
  2129. Neck.Name = "Neck"
  2130. Neck.Part0 = Torso2
  2131. Neck.Part1 = Head
  2132. Neck.C0 = CFrame.new(0, 1.5, 0)
  2133. Neck.C1 = CFrame.new()
  2134. Neck.Parent = Torso2
  2135. if Headless == true then
  2136. Head.Transparency = 1
  2137. Head:ClearAllChildren()
  2138. end
  2139. end
  2140. local Limb = Character2:FindFirstChild("Right Arm")
  2141. if Limb then
  2142. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2143. local Joint = Instance.new("Glue")
  2144. Joint.Name = "RightShoulder"
  2145. Joint.Part0 = Torso2
  2146. Joint.Part1 = Limb
  2147. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2148. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2149. Joint.Parent = Torso2
  2150. local B = Instance.new("Part")
  2151. B.TopSurface = 0
  2152. B.BottomSurface = 0
  2153. B.formFactor = "Symmetric"
  2154. B.Size = Vector3.new(1, 1, 1)
  2155. B.Transparency = 1
  2156. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2157. B.Parent = Character2
  2158. local W = Instance.new("Weld")
  2159. W.Part0 = Limb
  2160. W.Part1 = B
  2161. W.C0 = CFrame.new(0, -0.5, 0)
  2162. W.Parent = Limb
  2163. end
  2164. local Limb = Character2:FindFirstChild("Left Arm")
  2165. if Limb then
  2166. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2167. local Joint = Instance.new("Glue")
  2168. Joint.Name = "LeftShoulder"
  2169. Joint.Part0 = Torso2
  2170. Joint.Part1 = Limb
  2171. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2172. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2173. Joint.Parent = Torso2
  2174. local B = Instance.new("Part")
  2175. B.TopSurface = 0
  2176. B.BottomSurface = 0
  2177. B.formFactor = "Symmetric"
  2178. B.Size = Vector3.new(1, 1, 1)
  2179. B.Transparency = 1
  2180. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2181. B.Parent = Character2
  2182. local W = Instance.new("Weld")
  2183. W.Part0 = Limb
  2184. W.Part1 = B
  2185. W.C0 = CFrame.new(0, -0.5, 0)
  2186. W.Parent = Limb
  2187. end
  2188. local Limb = Character2:FindFirstChild("Right Leg")
  2189. if Limb then
  2190. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2191. local Joint = Instance.new("Glue")
  2192. Joint.Name = "RightHip"
  2193. Joint.Part0 = Torso2
  2194. Joint.Part1 = Limb
  2195. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2196. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2197. Joint.Parent = Torso2
  2198. local B = Instance.new("Part")
  2199. B.TopSurface = 0
  2200. B.BottomSurface = 0
  2201. B.formFactor = "Symmetric"
  2202. B.Size = Vector3.new(1, 1, 1)
  2203. B.Transparency = 1
  2204. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2205. B.Parent = Character2
  2206. local W = Instance.new("Weld")
  2207. W.Part0 = Limb
  2208. W.Part1 = B
  2209. W.C0 = CFrame.new(0, -0.5, 0)
  2210. W.Parent = Limb
  2211. end
  2212. local Limb = Character2:FindFirstChild("Left Leg")
  2213. if Limb then
  2214. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2215. local Joint = Instance.new("Glue")
  2216. Joint.Name = "LeftHip"
  2217. Joint.Part0 = Torso2
  2218. Joint.Part1 = Limb
  2219. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2220. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2221. Joint.Parent = Torso2
  2222. local B = Instance.new("Part")
  2223. B.TopSurface = 0
  2224. B.BottomSurface = 0
  2225. B.formFactor = "Symmetric"
  2226. B.Size = Vector3.new(1, 1, 1)
  2227. B.Transparency = 1
  2228. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2229. B.Parent = Character2
  2230. local W = Instance.new("Weld")
  2231. W.Part0 = Limb
  2232. W.Part1 = B
  2233. W.C0 = CFrame.new(0, -0.5, 0)
  2234. W.Parent = Limb
  2235. end
  2236. local Bar = Instance.new("Part")
  2237. Bar.TopSurface = 0
  2238. Bar.BottomSurface = 0
  2239. Bar.formFactor = "Symmetric"
  2240. Bar.Size = Vector3.new(1, 1, 1)
  2241. Bar.Transparency = 1
  2242. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2243. Bar.Parent = Character2
  2244. local Weld = Instance.new("Weld")
  2245. Weld.Part0 = Torso2
  2246. Weld.Part1 = Bar
  2247. Weld.C0 = CFrame.new(0, 0.5, 0)
  2248. Weld.Parent = Torso2
  2249. end
  2250. Character2.Parent = Weapon
  2251. if movevector ~= Vector3.new() then
  2252. for i = 1, 10 do
  2253. Torso2.Velocity = movevector * Velocity
  2254. end
  2255. end
  2256. Character2.Name = "Corpse"
  2257. return Character2, Torso2
  2258. end
  2259. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  2260. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  2261. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  2262. if HITFLOOR.Name == "BloodPuddle" then
  2263. local DIST = (Position - HITFLOOR.Position).Magnitude
  2264. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  2265. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  2266. end
  2267. elseif HITFLOOR.Anchored == true then
  2268. do
  2269. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  2270. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2271. MakeForm(BLOOD, "Cyl")
  2272. coroutine.resume(coroutine.create(function()
  2273. Swait(75)
  2274. while true do
  2275. Swait()
  2276. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  2277. if BLOOD.Size.Z < 0.051 then
  2278. BLOOD:remove()
  2279. break
  2280. end
  2281. end
  2282. end))
  2283. end
  2284. end
  2285. end
  2286. end
  2287. function SprayBlood(POSITION, DIRECTION, BloodSize)
  2288. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  2289. BLOOD.CFrame = CF(POSITION)
  2290. MakeForm(BLOOD, "Ball")
  2291. local bv = Instance.new("BodyVelocity", BLOOD)
  2292. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2293. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  2294. bv.Name = "MOVE"
  2295. Debris:AddItem(bv, 0.05)
  2296. coroutine.resume(coroutine.create(function()
  2297. local HASTOUCHEDGROUND = false
  2298. local HIT = BLOOD.Touched:Connect(function(hit)
  2299. if hit.Anchored == true then
  2300. HASTOUCHEDGROUND = true
  2301. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  2302. end
  2303. end)
  2304. wait(5)
  2305. if HASTOUCHEDGROUND == false then
  2306. BLOOD:remove()
  2307. end
  2308. end))
  2309. end
  2310. function ApplyDamage(Humanoid, Damage, TorsoPart)
  2311. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2312. defence.Name = "HitBy" .. Player.Name
  2313. game:GetService("Debris"):AddItem(defence, 0.001)
  2314. Damage = Damage * DAMAGEMULTIPLIER
  2315. if Humanoid.Health ~= 0 then
  2316. local CritChance = MRANDOM(1, 100)
  2317. if Damage > Humanoid.Health then
  2318. Damage = math.ceil(Humanoid.Health)
  2319. if Damage == 0 then
  2320. Damage = 0.1
  2321. end
  2322. end
  2323. Humanoid.Health = Humanoid.Health - Damage
  2324. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2325. end
  2326. end
  2327. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  2328. local CHILDREN = workspace:GetDescendants()
  2329. for index, CHILD in pairs(CHILDREN) do
  2330. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2331. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2332. if HUM then
  2333. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2334. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2335. if INSTAKILL == true then
  2336. Petrify(CHILD)
  2337. else
  2338. local DMG = MRANDOM(MINDMG, MAXDMG)
  2339. ApplyDamage(HUM, DMG, TORSO)
  2340. end
  2341. if FLING > 0 then
  2342. for _, c in pairs(CHILD:GetChildren()) do
  2343. if c:IsA("BasePart") then
  2344. local bv = Instance.new("BodyVelocity")
  2345. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2346. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2347. bv.Parent = c
  2348. Debris:AddItem(bv, 0.05)
  2349. end
  2350. end
  2351. end
  2352. end
  2353. end
  2354. end
  2355. end
  2356. end
  2357. function Petrify(Foe)
  2358. local STONEMODEL = IT("Model", Effects)
  2359. local CHILDREN = Foe:GetDescendants()
  2360. for index, CHILD in pairs(CHILDREN) do
  2361. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  2362. CHILD.Parent = STONEMODEL
  2363. CHILD.Material = "Slate"
  2364. CHILD.Color = C3(0.5, 0.5, 0.5)
  2365. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  2366. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  2367. mesh.TextureId = ""
  2368. end
  2369. if CHILD:FindFirstChildOfClass("Decal") then
  2370. local mesh = CHILD:FindFirstChildOfClass("Decal")
  2371. mesh:remove()
  2372. end
  2373. if CHILD.ClassName == "MeshPart" then
  2374. CHILD.TextureID = ""
  2375. end
  2376. if CHILD.ClassName == "UnionOperation" then
  2377. CHILD.UsePartColor = true
  2378. end
  2379. CHILD.CanCollide = true
  2380. end
  2381. end
  2382. Debris:AddItem(STONEMODEL, 5)
  2383. end
  2384. --//=================================\\
  2385. --|| ATTACK FUNCTIONS AND STUFF
  2386. --\\=================================//
  2387.  
  2388. Circle = nil
  2389. CircleParts = {}
  2390. Equipped = false
  2391.  
  2392. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  2393. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  2394. end
  2395. Equipped = true
  2396. Circle = Instance.new("Model")
  2397. Circle.Name = "Circle"
  2398. Angle = 0
  2399. for i = 1, 1 do
  2400. local CirclePart = Instance.new("Part")
  2401. CirclePart.Name = "CirclePart"
  2402. CirclePart.Transparency = 1
  2403. CirclePart.BrickColor = BrickColor.new("Really black")
  2404. CirclePart.Material = Enum.Material.Plastic
  2405. CirclePart.Shape = Enum.PartType.Block
  2406. CirclePart.FormFactor = Enum.FormFactor.Custom
  2407. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  2408. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  2409. CirclePart.Anchored = true
  2410. CirclePart.CanCollide = false
  2411. CirclePart.Locked = true
  2412. CirclePart.Size = Vector3.new(10, 0.2, 10)
  2413. local Aura = Instance.new('ParticleEmitter')
  2414. Aura.Name = "Aura"
  2415. Aura.Texture = "rbxassetid://268043891"
  2416. Aura.Parent = CirclePart
  2417. Aura.LightEmission = 0
  2418. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  2419. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
  2420. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  2421. Aura.LockedToPart = false
  2422. Aura.Lifetime = NumberRange.new(1)
  2423. Aura.Rate = 50
  2424. Aura.Speed = NumberRange.new(2.5)
  2425. Aura.SpreadAngle = Vector2.new(80,80)
  2426. local BlockMesh = Instance.new("BlockMesh")
  2427. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  2428. BlockMesh.Parent = CirclePart
  2429. CirclePart.Parent = Circle
  2430. local Star = Instance.new("Decal", CirclePart)
  2431. Star.Texture = "http://www.roblox.com/asset/?id=160508788"
  2432. Star.Face = "Top"
  2433. local Light = Instance.new("PointLight", CirclePart)
  2434. Light.Color = Color3.new(.20,0,0)
  2435. Light.Brightness = 100
  2436. Light.Range = 15
  2437. table.insert(CircleParts, CirclePart)
  2438. end
  2439. Spawn(function()
  2440. while Equipped and Humanoid.Parent and Torso.Parent do
  2441. if Angle == 360 then
  2442. Angle = 0
  2443. end
  2444. Angle = Angle + 0.05
  2445. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  2446. if Hit then
  2447. if not Circle.Parent then
  2448. Circle.Parent = Character
  2449. end
  2450. for i, v in pairs(CircleParts) do
  2451. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  2452. end
  2453. else
  2454. Circle.Parent = nil
  2455. end
  2456. wait()
  2457. end
  2458. end)
  2459.  
  2460. function Shot()
  2461. ATTACK = true
  2462. Rooted = false
  2463. for i=0, 0.4, 0.1 / Animation_Speed do
  2464. Swait()
  2465. turnto(Mouse.Hit.p)
  2466. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2467. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2470. 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)
  2471. 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)
  2472. end
  2473. repeat
  2474. for i=0, 0.2, 0.1 / Animation_Speed do
  2475. Swait()
  2476. turnto(Mouse.Hit.p)
  2477. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2481. 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)
  2482. 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)
  2483. end
  2484. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2485. SpawnTrail(Hole.Position,POS)
  2486. if HIT ~= nil then
  2487. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2488. BAN (HIT.Parent)
  2489. end
  2490. end
  2491. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,5), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2492. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2493. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2494. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,503), Size2 = VT(50,5,50), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2495. for i=0, 0.3, 0.1 / Animation_Speed do
  2496. Swait()
  2497. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2498. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2500. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2501. 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)
  2502. 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)
  2503. end
  2504. until KEYHOLD == false
  2505. ATTACK = false
  2506. Rooted = false
  2507. end
  2508.  
  2509. function BAN(CHARACTER)
  2510. local BANFOLDER = IT("Folder",Effects)
  2511. local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  2512. naeeym2.AlwaysOnTop = false
  2513. naeeym2.Size = UDim2.new(5,35,2,35)
  2514. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2515. naeeym2.Name = "AAAA"
  2516. local tecks2 = Instance.new("TextLabel",naeeym2)
  2517. tecks2.BackgroundTransparency = 1
  2518. tecks2.TextScaled = true
  2519. tecks2.BorderSizePixel = 0
  2520. tecks2.Text = "Get rekt"
  2521. tecks2.Font = "Cartoon"
  2522. tecks2.TextSize = 30
  2523. tecks2.TextStrokeTransparency = 1
  2524. tecks2.TextColor3 = Color3.new(242, 243, 243)
  2525. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2526. tecks2.Size = UDim2.new(1,0,0.5,0)
  2527. tecks2.Parent = naeeym2
  2528. for i,v in ipairs(CHARACTER:GetChildren()) do
  2529. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2530. if v.Name ~= "HumanoidRootPart" then
  2531. local BOD = v:Clone()
  2532. BOD.CanCollide = false
  2533. BOD.Anchored = true
  2534. BOD.CFrame = v.CFrame
  2535. BOD.Parent = BANFOLDER
  2536. BOD.Material = "Neon"
  2537. BOD.Color = C3(242, 243, 243)
  2538. if BOD:FindFirstChildOfClass("Decal") then
  2539. BOD:FindFirstChildOfClass("Decal"):remove()
  2540. end
  2541. if BOD.Name == "Head" then
  2542. naeeym2.Adornee = BOD
  2543. end
  2544. if BOD.ClassName == "MeshPart" then
  2545. BOD.TextureID = ""
  2546. end
  2547. end
  2548. end
  2549. end
  2550. CHARACTER:remove()
  2551. coroutine.resume(coroutine.create(function()
  2552. for i = 1, 50 do
  2553. Swait()
  2554. for i,v in ipairs(BANFOLDER:GetChildren()) do
  2555. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2556. v.Transparency = 1
  2557. end
  2558. naeeym2.Enabled = false
  2559. end
  2560. Swait()
  2561. for i,v in ipairs(BANFOLDER:GetChildren()) do
  2562. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2563. v.Transparency = 0
  2564. end
  2565. naeeym2.Enabled = true
  2566. end
  2567. end
  2568. BANFOLDER:remove()
  2569. end))
  2570. end
  2571.  
  2572. function AttackTemplate()
  2573. ATTACK = true
  2574. Rooted = false
  2575. for i=0, 1, 0.1 / Animation_Speed do
  2576. Swait()
  2577. 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)
  2578. 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.15 / Animation_Speed)
  2579. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2580. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2581. 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)
  2582. 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)
  2583. end
  2584. ATTACK = false
  2585. Rooted = false
  2586. end
  2587.  
  2588. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  2589. if FLOOR ~= nil then
  2590. coroutine.resume(coroutine.create(function()
  2591. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  2592. PART.CFrame = CF(POSITION)
  2593. for i = 1, 45 do
  2594. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  2595. RingPiece.Material = FLOOR.Material
  2596. RingPiece.Color = FLOOR.Color
  2597. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  2598. Debris:AddItem(RingPiece,SWAIT/100)
  2599. end
  2600. PART:remove()
  2601. end))
  2602. end
  2603. end
  2604.  
  2605. function SpawnSmite(POS)
  2606. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  2607. local EMITPOS = HITPOS
  2608. if HITFLOOR ~= nil then
  2609. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2610. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2611. EMITPOS = HITPOS
  2612. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2613. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2614. EMITPOS = HITPOS
  2615. end
  2616. end
  2617. if HITFLOOR ~= nil then
  2618. ApplyAoE(EMITPOS,10)
  2619. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2620. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2621. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2622. for i = 1, 5 do
  2623. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2624. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2625. end
  2626. end
  2627. end
  2628.  
  2629. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  2630. coroutine.resume(coroutine.create(function()
  2631. local METEOR = IT("Model",Effects)
  2632. METEOR.Name = "Meteorite"
  2633. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2634. METEOR.PrimaryPart = CENTER
  2635. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  2636. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2637. for i = 1, 15 do
  2638. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  2639. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2640. end
  2641. if ISDEBREE ~= true then
  2642. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2643. else
  2644. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2645. end
  2646. local IMPACT = false
  2647. CreateSound(463593339, CENTER, 10, 0.6)
  2648. if SIZE >= 3.5 then
  2649. for i = 1, MRANDOM(3,7) do
  2650. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  2651. end
  2652. end
  2653. for i = 1, 200 do
  2654. Swait()
  2655. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  2656. if HITFLOOR == nil then
  2657. local ORI = CENTER.Orientation
  2658. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  2659. else
  2660. if HITFLOOR.Anchored == true then
  2661. CreateDebreeRing1(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  2662. CreateFlyingDebree1(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  2663. end
  2664. IMPACT = true
  2665. break
  2666. end
  2667. end
  2668. if IMPACT == true then
  2669. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2670. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  2671. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  2672. ApplyAoE(CENTER.Position,30*SIZE)
  2673. end
  2674. METEOR:remove()
  2675. end))
  2676. end
  2677.  
  2678. function Oblivion_of_Doom()
  2679. ATTACK = true
  2680. Rooted = false
  2681. CreateSound(1368573150, RightArm, 3, 1.5)
  2682. for i=0, 0.6, 0.1 / Animation_Speed do
  2683. Swait()
  2684. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2685. 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)
  2686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2687. end
  2688. local POWER = 0
  2689. repeat
  2690. Swait()
  2691. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2692. 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)
  2693. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2694. POWER = POWER + 0.5
  2695. if POWER >= 85 then
  2696. POWER = 85
  2697. end
  2698. until KEYHOLD == false
  2699. if POWER < 0.6 then
  2700. SpawnSmite(Mouse.Hit.p)
  2701. else
  2702. if POWER < 15 then
  2703. POWER = 15
  2704. end
  2705. SpawnMeteor(Mouse.Hit.p,POWER/15)
  2706. end
  2707. ATTACK = false
  2708. Rooted = false
  2709. end
  2710.  
  2711. function Pure_Night()
  2712. ATTACK = true
  2713. Rooted = true
  2714. local AIMPOS = Mouse.Hit.p
  2715. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  2716. coroutine.resume(coroutine.create(function()
  2717. local RAYS = {}
  2718. for i = 1, 4 do
  2719. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Ray", VT(50,2000,50))
  2720. MakeForm(RAY,"Cyl")
  2721. RAY.Mesh.Scale = VT(1,1.1,1)
  2722. table.insert(RAYS,RAY)
  2723. end
  2724. CreateSound(348663022, Effects, 2, 1.2, false)
  2725. for i = 1, 100 do
  2726. Swait()
  2727. for e = 1, #RAYS do
  2728. if RAYS[e] ~= nil then
  2729. local RAY = RAYS[e]
  2730. RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
  2731. RAY.Transparency = RAY.Transparency - 0.01
  2732. end
  2733. end
  2734. end
  2735. for i = 1, 20 do
  2736. Swait()
  2737. for e = 1, #RAYS do
  2738. if RAYS[e] ~= nil then
  2739. local RAY = RAYS[e]
  2740. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  2741. end
  2742. end
  2743. end
  2744. wait(0.3)
  2745. for i = 1, 16 do
  2746. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  2747. SpawnTrail(POS+VT(0,200,0),POS)
  2748. end
  2749. for i = 1, 4 do
  2750. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  2751. end
  2752.  
  2753. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  2754. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  2755. CreateSound(130972023, Effects, 2, 1, false)
  2756. local POS = Mouse.Hit.p
  2757. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  2758. MakeForm(RAY,"Cyl")
  2759. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(130,130,130))
  2760. MakeForm(SPHERE,"Ball")
  2761. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(120,120,120))
  2762. MakeForm(SHIELD,"Ball")
  2763. SHIELD.CFrame = CF(AIMPOS)
  2764. RAY.CFrame = CF(AIMPOS)
  2765. SPHERE.CFrame = CF(AIMPOS)
  2766. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  2767. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2768. for i = 1, 200 do
  2769. Swait()
  2770. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  2771. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  2772. RAY.Size = RAY.Size + VT(0,0,0)
  2773. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2774. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  2775. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2776. end
  2777. for i = 1, 45 do
  2778. Swait()
  2779. RAY.Transparency = RAY.Transparency + 1/45
  2780. SPHERE.Transparency = RAY.Transparency
  2781. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2782. end
  2783. RAY:remove()
  2784. SHIELD:remove()
  2785. SPHERE:remove()
  2786. end))
  2787. ATTACK = false
  2788. Rooted = false
  2789. end
  2790.  
  2791. function Nightfall()
  2792. ATTACK = true
  2793. Rooted = true
  2794. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 0.64, false)
  2795. for i=0, 1, 0.1 / Animation_Speed do
  2796. 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)
  2797. 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)
  2798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2800. 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)
  2801. 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)
  2802. end
  2803. coroutine.resume(coroutine.create(function()
  2804. local POS = Mouse.Hit.p
  2805. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Black", "Strike", VT(0,2000,0))
  2806. MakeForm(RAY,"Cyl")
  2807. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  2808. MakeForm(SPHERE,"Ball")
  2809. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Black", "Strike", VT(0,0,0))
  2810. MakeForm(SHIELD,"Ball")
  2811. SHIELD.CFrame = CF(POS)
  2812. RAY.CFrame = CF(POS)
  2813. SPHERE.CFrame = CF(POS)
  2814. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2815. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2816. for i = 1, 200 do
  2817. Swait()
  2818. 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2819. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2820. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2821. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2822. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2823. end
  2824. for i = 1, 45 do
  2825. Swait()
  2826. RAY.Transparency = RAY.Transparency + 1/45
  2827. SPHERE.Transparency = RAY.Transparency
  2828. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2829. end
  2830. RAY:remove()
  2831. SHIELD:remove()
  2832. SPHERE:remove()
  2833. end))
  2834. for i=0, 1, 0.1 / Animation_Speed do
  2835. 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)
  2836. 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)
  2837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2839. 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)
  2840. 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)
  2841. end
  2842. ATTACK = false
  2843. Rooted = false
  2844. end
  2845. function Ground_Star()
  2846. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2847. if HITFLOOR then
  2848. ATTACK = true
  2849. Rooted = true
  2850. FULL = true
  2851. local GYRO = IT("BodyGyro",RootPart)
  2852. GYRO.D = 25
  2853. GYRO.P = 20000
  2854. GYRO.MaxTorque = VT(0,math.huge,0)
  2855. for i=0, 0.3, 0.1 / Animation_Speed do
  2856. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2861. 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(-35)), 1 / Animation_Speed)
  2862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  2863. end
  2864. GYRO:remove()
  2865. CreateSound(12222200, RightArm, 10, 1)
  2866. for i=0, 0.4, 0.1 / Animation_Speed do
  2867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  2868. 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)
  2869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2871. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  2872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2873. end
  2874. CreateSound(289842971, RightArm, 10, 1)
  2875. coroutine.resume(coroutine.create(function()
  2876. local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  2877. local ECHO = POS
  2878. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2879. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  2880. ECHO = POS
  2881. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2882. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2883. ECHO = POS
  2884. end
  2885. if ECHO.Y == HITPOS.Y then
  2886. local DISTANCE = (HITPOS - ECHO).Magnitude/3
  2887. local CFRAME = CF(HITPOS,ECHO)
  2888. local RANGE = math.ceil(DISTANCE)
  2889. for i = 1, RANGE-1 do
  2890. Swait(3)
  2891. local A = CFRAME*CF(0,0,-i*3)
  2892. ApplyAoE(A.p,4)
  2893. CreateFlyingDebree1(HITFLOOR,A,2,VT(2,2,2),2,65)
  2894. end
  2895. local SIZE = 3
  2896. local POS = CFRAME*CF(0,0,-RANGE*3).p
  2897. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  2898. WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  2899. WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  2900. for i = 1, 9 do
  2901. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2902. end
  2903. for i = 1, 9 do
  2904. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2905. end
  2906. ApplyAoE(POS,30*SIZE)
  2907. CreateDebreeRing1(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  2908. CreateDebreeRing1(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  2909. end
  2910. end))
  2911. for i=0, 0.6, 0.1 / Animation_Speed do
  2912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  2913. 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)
  2914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2916. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  2917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2918. end
  2919. FULL = false
  2920. ATTACK = false
  2921. Rooted = false
  2922. end
  2923. end
  2924.  
  2925.  
  2926.  
  2927. function MagicMissiles()
  2928. ATTACK = true
  2929. Rooted = false
  2930. local SELECTING = true
  2931. local SPOTS = {}
  2932. coroutine.resume(coroutine.create(function()
  2933. local LOOP = 0
  2934. repeat
  2935. LOOP = LOOP + 1
  2936. Swait()
  2937. if LOOP >= 15 then
  2938. LOOP = 0
  2939. for i = 1, #SPOTS do
  2940. if SPOTS[i] ~= nil then
  2941. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2942. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2943. end
  2944. end
  2945. end
  2946. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2950. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2952. until SELECTING == false
  2953. Rooted = false
  2954. repeat
  2955. LOOP = LOOP + 1
  2956. Swait()
  2957. if LOOP >= 15 then
  2958. LOOP = 0
  2959. for i = 1, #SPOTS do
  2960. if SPOTS[i] ~= nil then
  2961. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2962. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2963. end
  2964. end
  2965. end
  2966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2970. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2972. until ATTACK == false
  2973. end))
  2974. repeat
  2975. repeat Swait() until HOLD == true
  2976. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2977. if DIST > 9999 then
  2978. DIST = 9999
  2979. end
  2980. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2981. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2982. if HITFLOOR ~= nil then
  2983. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  2984. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  2985. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2986. end
  2987. repeat Swait() until HOLD == false
  2988. until #SPOTS == 5
  2989. SELECTING = false
  2990. for i = 1, #SPOTS do
  2991. if SPOTS[i] ~= nil then
  2992. local POS = SPOTS[i]
  2993. coroutine.resume(coroutine.create(function()
  2994. local MISSILE = IT("Model",Effects)
  2995. MISSILE.Name = "Missile"
  2996. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
  2997. MakeForm(BASEPART,"Cyl")
  2998. MISSILE.PrimaryPart = BASEPART
  2999. BASEPART.CFrame = POS*CF(0,-30*3,0)
  3000. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
  3001. MakeForm(HEAD,"Ball")
  3002. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  3003. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
  3004. MakeForm(TAIL,"Cyl")
  3005. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  3006. for i = 1, 15 do
  3007. Swait()
  3008. for _, c in pairs(MISSILE:GetChildren()) do
  3009. if c.ClassName == "Part" then
  3010. c.Transparency = c.Transparency - 1/10
  3011. end
  3012. end
  3013. end
  3014. for i = 1, 15*1.5 do
  3015. Swait()
  3016. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  3017. end
  3018. ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
  3019. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  3020. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  3021. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3022. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3023. MISSILE:remove()
  3024. end))
  3025. end
  3026. end
  3027. wait(0.6)
  3028. ATTACK = false
  3029. Rooted = false
  3030. end
  3031. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3032. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3033. defence.Name = ("HitBy"..Player.Name)
  3034. game:GetService("Debris"):AddItem(defence, 0.001)
  3035. Damage = Damage * DAMAGEMULTIPLIER
  3036. if Humanoid.Health ~= 0 then
  3037. local CritChance = MRANDOM(1,100)
  3038. if Damage > Humanoid.Health then
  3039. Damage = math.ceil(Humanoid.Health)
  3040. if Damage == 0 then
  3041. Damage = 0.1
  3042. end
  3043. end
  3044. Humanoid.Health = Humanoid.Health - Damage
  3045. end
  3046. end
  3047.  
  3048. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3049. local CHILDREN = workspace:GetDescendants()
  3050. for index, CHILD in pairs(CHILDREN) do
  3051. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3052. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3053. if HUM then
  3054. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3055. if TORSO then
  3056. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3057. if INSTAKILL == false then
  3058. CHILD:BreakJoints()
  3059. else
  3060. local DMG = MRANDOM(MINDMG,MAXDMG)
  3061. ApplyDamage(HUM,DMG,TORSO)
  3062. end
  3063. if FLING > 0 then
  3064. for _, c in pairs(CHILD:GetChildren()) do
  3065. if c:IsA("BasePart") then
  3066. local bv = Instance.new("BodyVelocity")
  3067. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3068. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3069. bv.Parent = c
  3070. Debris:AddItem(bv,0.05)
  3071. end
  3072. end
  3073. end
  3074. end
  3075. end
  3076. end
  3077. end
  3078. end
  3079. end
  3080. function WACKYEFFECT(Table)
  3081. local TYPE = (Table.EffectType or "Sphere")
  3082. local SIZE = (Table.Size or VT(1,1,1))
  3083. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  3084. local TRANSPARENCY = (Table.Transparency or 0)
  3085. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  3086. local CFRAME = (Table.CFrame or Torso.CFrame)
  3087. local MOVEDIRECTION = (Table.MoveToPos or nil)
  3088. local ROTATION1 = (Table.RotationX or 0)
  3089. local ROTATION2 = (Table.RotationY or 0)
  3090. local ROTATION3 = (Table.RotationZ or 0)
  3091. local MATERIAL = (Table.Material or "Neon")
  3092. local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
  3093. local TIME = (Table.Time or 45)
  3094. local SOUNDID = (Table.SoundID or nil)
  3095. local SOUNDPITCH = (Table.SoundPitch or nil)
  3096. local SOUNDVOLUME = (Table.SoundVolume or nil)
  3097. coroutine.resume(coroutine.create(function()
  3098. local PLAYSSOUND = false
  3099. local SOUND = nil
  3100. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
  3101. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  3102. PLAYSSOUND = true
  3103. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  3104. end
  3105. EFFECT.Color = COLOR
  3106. local MSH = nil
  3107. if TYPE == "Sphere" then
  3108. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  3109. elseif TYPE == "Block" then
  3110. MSH = IT("BlockMesh",EFFECT)
  3111. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  3112. elseif TYPE == "Wave" then
  3113. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  3114. elseif TYPE == "Ring" then
  3115. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  3116. elseif TYPE == "Slash" then
  3117. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3118. elseif TYPE == "Round Slash" then
  3119. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  3120. elseif TYPE == "Swirl" then
  3121. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  3122. elseif TYPE == "Skull" then
  3123. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  3124. elseif TYPE == "Crystal" then
  3125. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  3126. end
  3127. if MSH ~= nil then
  3128. local MOVESPEED = nil
  3129. if MOVEDIRECTION ~= nil then
  3130. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  3131. end
  3132. local GROWTH = SIZE - ENDSIZE
  3133. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  3134. if TYPE == "Block" then
  3135. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3136. else
  3137. EFFECT.CFrame = CFRAME
  3138. end
  3139. for LOOP = 1, TIME+1 do
  3140. Swait()
  3141. MSH.Scale = MSH.Scale - GROWTH/TIME
  3142. if TYPE == "Wave" then
  3143. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  3144. end
  3145. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  3146. if TYPE == "Block" then
  3147. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  3148. else
  3149. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  3150. end
  3151. if MOVEDIRECTION ~= nil then
  3152. local ORI = EFFECT.Orientation
  3153. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  3154. EFFECT.Orientation = ORI
  3155. end
  3156. end
  3157. if PLAYSSOUND == false then
  3158. EFFECT:remove()
  3159. else
  3160. repeat Swait() until SOUND.Playing == false
  3161. EFFECT:remove()
  3162. end
  3163. else
  3164. if PLAYSSOUND == false then
  3165. EFFECT:remove()
  3166. else
  3167. repeat Swait() until SOUND.Playing == false
  3168. EFFECT:remove()
  3169. end
  3170. end
  3171. end))
  3172. end
  3173.  
  3174. function MakeForm(PART,TYPE)
  3175. if TYPE == "Cyl" then
  3176. local MSH = IT("CylinderMesh",PART)
  3177. elseif TYPE == "Ball" then
  3178. local MSH = IT("SpecialMesh",PART)
  3179. MSH.MeshType = "Sphere"
  3180. elseif TYPE == "Wedge" then
  3181. local MSH = IT("SpecialMesh",PART)
  3182. MSH.MeshType = "Wedge"
  3183. end
  3184. end
  3185.  
  3186. Debris = game:GetService("Debris")
  3187.  
  3188. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3189. local DIRECTION = CF(StartPos,EndPos).lookVector
  3190. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3191. end
  3192.  
  3193. function turnto(position)
  3194. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  3195. end
  3196. function TimesUp()
  3197. CLOCKTARGET = nil
  3198. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3199. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3200. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3201. if TORSO then
  3202. ATTACK = true
  3203. Rooted = false
  3204. coroutine.resume(coroutine.create(function()
  3205. repeat
  3206. Swait()
  3207. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3211. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3212. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3213. until ATTACK == false
  3214. end))
  3215. if Effects:FindFirstChild("NeonDoll") then
  3216. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  3217. end
  3218. wait(0.5)
  3219. local FAKECHARACTER = IT("Model",Effects)
  3220. FAKECHARACTER.Name = "NeonDoll"
  3221. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
  3222. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  3223. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  3224. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  3225. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  3226. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  3227. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  3228. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  3229. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  3230. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  3231. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
  3232. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  3233. CreateSound(201858045, TORS, 5, 0.4, false)
  3234. for i = 1, 50 do
  3235. Swait()
  3236. CLOCKSPEED = 2.5
  3237. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  3238. if c.ClassName == "Part" then
  3239. c.Transparency = c.Transparency - 0.5/150
  3240. end
  3241. end
  3242. end
  3243. CLOCKTARGET = HUM
  3244. coroutine.resume(coroutine.create(function()
  3245. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  3246. for i = 1, 25 do
  3247. Swait()
  3248. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  3249. if c.ClassName == "Part" then
  3250. c.Transparency = c.Transparency + 0.5/25
  3251. end
  3252. end
  3253. end
  3254. CLOCKSPEED = 400
  3255. FAKECHARACTER:remove()
  3256. end))
  3257. wait(0.5)
  3258. ATTACK = false
  3259. Rooted = false
  3260. end
  3261. end
  3262. end
  3263.  
  3264. function ChainPunch()
  3265. ATTACK = true
  3266. Rooted = false
  3267. local GYRO = IT("BodyGyro",RootPart)
  3268. GYRO.D = 25
  3269. GYRO.P = 2000
  3270. GYRO.MaxTorque = VT(0,40000,0)
  3271. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3272. repeat
  3273. Swait()
  3274. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3275. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3276. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  3277. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3278. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3279. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3280. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3281. until HOLD == true
  3282. local POS = Mouse.Hit.p
  3283. local CHAINS = false
  3284. local CHAINLINKS = {}
  3285. local A = IT("Attachment",RightArm)
  3286. A.Position = VT(1,-1,0)*SIZE
  3287. A.Orientation = VT(-90, -89.982, 0)
  3288. local B = IT("Attachment",RightArm)
  3289. B.Position = VT(-1,-1,0)*SIZE
  3290. B.Orientation = VT(-90, 89.988, 0)
  3291. local C = IT("Attachment",RightArm)
  3292. C.Position = VT(0.5,-1.3,0)*SIZE
  3293. C.Orientation = VT(-90, -89.982, 0)
  3294. local D = IT("Attachment",RightArm)
  3295. D.Position = VT(-0.5,-1.3,0)*SIZE
  3296. D.Orientation = VT(-90, 89.988, 0)
  3297. local LIGHT = IT("Attachment",RightArm)
  3298. LIGHT.Position = VT(0,-1,0)*SIZE
  3299. local LIGHT2 = IT("PointLight",LIGHT)
  3300. LIGHT2.Range = 7
  3301. LIGHT2.Brightness = 5
  3302. LIGHT2.Color = SKILLTEXTCOLOR
  3303. chatfunc("Falcon...")
  3304. for i = 1, 2 do
  3305. local TWIST = -2
  3306. local START = A
  3307. local END = B
  3308. if i == 1 then
  3309. START = B
  3310. END = A
  3311. end
  3312. local ChainLink = IT("Beam",Torso)
  3313. ChainLink.Texture = "rbxassetid://73042633"
  3314. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3315. ChainLink.TextureSpeed = 1
  3316. ChainLink.Width0 = 1
  3317. ChainLink.Width1 = 1
  3318. ChainLink.TextureLength = 2.5
  3319. ChainLink.Attachment0 = START
  3320. ChainLink.Attachment1 = END
  3321. ChainLink.CurveSize0 = TWIST
  3322. ChainLink.CurveSize1 = TWIST
  3323. --ChainLink.FaceCamera = true
  3324. ChainLink.Segments = 45
  3325. ChainLink.Transparency = NumberSequence.new(1)
  3326. table.insert(CHAINLINKS,ChainLink)
  3327. end
  3328. for i = 1, 2 do
  3329. local TWIST = -1
  3330. local START = C
  3331. local END = D
  3332. if i == 1 then
  3333. START = D
  3334. END = C
  3335. end
  3336. local ChainLink = IT("Beam",Torso)
  3337. ChainLink.Texture = "rbxassetid://73042633"
  3338. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3339. ChainLink.TextureSpeed = 1
  3340. ChainLink.Width0 = 1
  3341. ChainLink.Width1 = 1
  3342. ChainLink.TextureLength = 5
  3343. ChainLink.Attachment0 = START
  3344. ChainLink.Attachment1 = END
  3345. ChainLink.CurveSize0 = TWIST
  3346. ChainLink.CurveSize1 = TWIST
  3347. --ChainLink.FaceCamera = true
  3348. ChainLink.Segments = 25
  3349. ChainLink.LightEmission = 0.5
  3350. ChainLink.Transparency = NumberSequence.new(1)
  3351. table.insert(CHAINLINKS,ChainLink)
  3352. end
  3353. coroutine.resume(coroutine.create(function()
  3354. repeat
  3355. Swait()
  3356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  3358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3360. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3362. until CHAINS == true
  3363. repeat
  3364. Swait()
  3365. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  3366. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3367. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3368. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3369. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3370. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3371. until ATTACK == false
  3372. for e = 1, 15 do
  3373. Swait()
  3374. chatfunc("PUNCH!!!")
  3375. for i = 1, #CHAINLINKS do
  3376. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  3377. end
  3378. end
  3379. A:remove()
  3380. B:remove()
  3381. C:remove()
  3382. D:remove()
  3383. end))
  3384. CreateSound(233856115, RightArm, 5, 1.2, false)
  3385. for e = 1, 15 do
  3386. Swait()
  3387. for i = 1, #CHAINLINKS do
  3388. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  3389. end
  3390. end
  3391. CHAINS = true
  3392. Rooted = true
  3393. wait(0.25)
  3394. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  3395. FIST.Color = C3(1, 215/255, 1)
  3396. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  3397. local LIGHT3 = IT("PointLight",FIST)
  3398. LIGHT3.Range = 7
  3399. LIGHT3.Brightness = 5
  3400. LIGHT3.Color = SKILLTEXTCOLOR
  3401. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  3402. local FISTA = IT("Attachment",FIST)
  3403. FISTA.Position = VT(0.062, 0.977, 0)
  3404. local ChainLink = IT("Beam",Torso)
  3405. ChainLink.Texture = "rbxassetid://73042633"
  3406. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  3407. ChainLink.TextureSpeed = 2
  3408. ChainLink.Width0 = 3
  3409. ChainLink.Width1 = 3
  3410. ChainLink.TextureLength = 12
  3411. ChainLink.Attachment0 = LIGHT
  3412. ChainLink.Attachment1 = FISTA
  3413. ChainLink.FaceCamera = true
  3414. ChainLink.Segments = 45
  3415. ChainLink.LightEmission = 0.5
  3416. ChainLink.Transparency = NumberSequence.new(0.25)
  3417. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  3418. for i = 1, 85 do
  3419. Swait()
  3420. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  3421. ChainLink.TextureLength = 12+(i*2)
  3422. ApplyAoE(FIST.Position,10,15,25,100,true)
  3423. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3424. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  3425. if HITFLOOR ~= nil then
  3426. HITFLOOR:BreakJoints()
  3427. coroutine.resume(coroutine.create(function()
  3428. for i = 1, 15 do
  3429. Swait()
  3430. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  3431. ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
  3432. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  3433. end
  3434. end))
  3435. break
  3436. end
  3437. end
  3438. coroutine.resume(coroutine.create(function()
  3439. for i = 1, 50 do
  3440. Swait()
  3441. FIST.Transparency = FIST.Transparency + 0.5/50
  3442. LIGHT3.Range = LIGHT3.Range - 7/50
  3443. end
  3444. FIST:remove()
  3445. end))
  3446. LIGHT:remove()
  3447. GYRO:remove()
  3448. ATTACK = false
  3449. Rooted = false
  3450. end
  3451.  
  3452. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3453. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3454. defence.Name = ("HitBy"..Player.Name)
  3455. game:GetService("Debris"):AddItem(defence, 0.001)
  3456. Damage = Damage * DAMAGEMULTIPLIER
  3457. if Humanoid.Health ~= 0 then
  3458. local CritChance = MRANDOM(1,100)
  3459. if Damage > Humanoid.Health then
  3460. Damage = math.ceil(Humanoid.Health)
  3461. if Damage == 0 then
  3462. Damage = 0.1
  3463. end
  3464. end
  3465. Humanoid.Health = Humanoid.Health - Damage
  3466. end
  3467. end
  3468.  
  3469. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3470. local CHILDREN = workspace:GetDescendants()
  3471. for index, CHILD in pairs(CHILDREN) do
  3472. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3473. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3474. if HUM then
  3475. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3476. if TORSO then
  3477. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3478. if INSTAKILL == false then
  3479. CHILD:BreakJoints()
  3480. else
  3481. local DMG = MRANDOM(MINDMG,MAXDMG)
  3482. ApplyDamage(HUM,DMG,TORSO)
  3483. end
  3484. if FLING > 0 then
  3485. for _, c in pairs(CHILD:GetChildren()) do
  3486. if c:IsA("BasePart") then
  3487. local bv = Instance.new("BodyVelocity")
  3488. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3489. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3490. bv.Parent = c
  3491. Debris:AddItem(bv,0.05)
  3492. end
  3493. end
  3494. end
  3495. end
  3496. end
  3497. end
  3498. end
  3499. end
  3500. end
  3501. function Bullet()
  3502. ATTACK = true
  3503. Rooted = false
  3504. for i=1, 2, 3 / Animation_Speed do
  3505. Swait()
  3506. turnto(Mouse.Hit.p)
  3507. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3510. end
  3511. repeat
  3512. for i=1, 2, 3 / Animation_Speed do
  3513. Swait()
  3514. turnto(Mouse.Hit.p)
  3515. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3519. end
  3520. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3521. SpawnTrail(Hole.Position,POS)
  3522. if HIT ~= nil then
  3523. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3524. Kill(HIT.Parent)
  3525. end
  3526. end
  3527. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(2,3,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(3,0,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3528. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3529. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3530. WACKYEFFECT({Time = 1, EffectType = "Wave", Size = VT(1,10,1), Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3531. for i=1, 2, 3 / Animation_Speed do
  3532. Swait()
  3533. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3535. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3536. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3537. end
  3538. until KEYHOLD == false
  3539. ATTACK = false
  3540. Rooted = false
  3541. end
  3542.  
  3543. function Execute()
  3544. ATTACK = true
  3545. Rooted = false
  3546. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  3547. Part.Color = C3(0,0,0)
  3548. MakeForm(Part,"Wedge")
  3549. Part.CanCollide = true
  3550. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  3551. for i=0, 1, 0.1 / Animation_Speed do
  3552. Swait()
  3553. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3554. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  3555. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3556. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3557. 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)
  3558. 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)
  3559. end
  3560. Trail.Enabled = true
  3561. CreateSound(541909867, Barrel, 7, 1, false)
  3562. local TOCH = Part.Touched:Connect(function(hit)
  3563. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  3564. Kill(hit.Parent)
  3565. end
  3566. end)
  3567. for i=0, 0.35, 0.1 / Animation_Speed do
  3568. Swait()
  3569. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3570. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3571. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3572. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3573. 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)
  3574. 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)
  3575. end
  3576. TOCH:disconnect()
  3577. Trail.Enabled = false
  3578. for i=0, 0.35, 0.1 / Animation_Speed do
  3579. Swait()
  3580. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  3581. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  3582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3583. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3584. 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)
  3585. 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)
  3586. end
  3587. Part:remove()
  3588. ATTACK = false
  3589. Rooted = false
  3590. end
  3591.  
  3592. function Lift()
  3593. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3594. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3595. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3596. if TORSO and HUM.Health > 0 then
  3597. ATTACK = true
  3598. Rooted = false
  3599. local GYRO = IT("BodyGyro",RootPart)
  3600. GYRO.D = 275
  3601. GYRO.P = 20000
  3602. GYRO.MaxTorque = VT(0,40000,0)
  3603. for i=0, 0.8, 0.1 / Animation_Speed do
  3604. Swait()
  3605. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3606. 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)
  3607. 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)
  3608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3610. 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)
  3611. 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)
  3612. end
  3613. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  3614. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  3615. local grav = Instance.new("BodyPosition",TORSO)
  3616. grav.D = 1500
  3617. grav.P = 20000
  3618. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3619. grav.position = TORSO.Position+VT(0,15,0)
  3620. Debris:AddItem(grav,10)
  3621. Debris:AddItem(MAGIC,10)
  3622. CreateSound(429459101, Torso, 7, 1, false)
  3623. CreateSound(429459101, TORSO, 7, 1, false)
  3624. for i=0, 1, 0.1 / Animation_Speed do
  3625. Swait()
  3626. 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)
  3627. 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)
  3628. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3629. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3630. 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)
  3631. 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)
  3632. end
  3633. GYRO:remove()
  3634. ATTACK = false
  3635. Rooted = false
  3636. end
  3637. end
  3638. end
  3639.  
  3640. function Banisher_Bullet()
  3641. ATTACK = true
  3642. Rooted = false
  3643. for i=0, 0.4, 0.1 / Animation_Speed do
  3644. Swait()
  3645. turnto(Mouse.Hit.p)
  3646. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3647. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3648. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3649. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3650. 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)
  3651. 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)
  3652. end
  3653. repeat
  3654. for i=0, 0.2, 0.1 / Animation_Speed do
  3655. Swait()
  3656. turnto(Mouse.Hit.p)
  3657. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3658. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3661. 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)
  3662. 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)
  3663. end
  3664. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3665. SpawnTrail(Hole.Position,POS)
  3666. if HIT ~= nil then
  3667. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3668. Banish(HIT.Parent)
  3669. end
  3670. end
  3671. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3672. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3673. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3674. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3675. for i=0, 0.3, 0.1 / Animation_Speed do
  3676. Swait()
  3677. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3678. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3679. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3680. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3681. 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)
  3682. 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)
  3683. end
  3684. until KEYHOLD == false
  3685. ATTACK = false
  3686. Rooted = false
  3687. end
  3688.  
  3689. function AttackTemplate()
  3690. ATTACK = true
  3691. Rooted = false
  3692. for i=0, 1, 0.1 / Animation_Speed do
  3693. Swait()
  3694. 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)
  3695. 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.15 / Animation_Speed)
  3696. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3697. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3698. 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)
  3699. 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)
  3700. end
  3701. ATTACK = false
  3702. Rooted = false
  3703. end
  3704.  
  3705. function CyberSmash()
  3706. ATTACK = true
  3707. Rooted = false
  3708. local GYRO = IT("BodyGyro",RootPart)
  3709. GYRO.D = 100
  3710. GYRO.P = 2000
  3711. GYRO.MaxTorque = VT(0,4000000,0)
  3712. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3713. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "White", "Block", VT(25,25,25))
  3714. SMASH.CanCollide = true
  3715. SMASH.Color = C3(0,0,0)
  3716. local EF = Instance.new("SelectionBox",SMASH)
  3717. EF.Adornee = SMASH
  3718. EF.Color = BrickColor.new("White")
  3719. EF.LineThickness = 0.3
  3720. EF.Transparency = 1
  3721. coroutine.resume(coroutine.create(function()
  3722. for i = 1, 20 do
  3723. Swait()
  3724. SMASH.Transparency = SMASH.Transparency - 0.05
  3725. EF.Transparency = SMASH.Transparency
  3726. end
  3727. end))
  3728. repeat
  3729. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  3730. Swait()
  3731. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  3732. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3736. 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)
  3737. 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)
  3738. until HOLD == true and SMASH.Transparency < 0.99
  3739. for i = 1, 25 do
  3740. Swait()
  3741. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  3742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3746. 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)
  3747. 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)
  3748. end
  3749. local TOCH = SMASH.Touched:Connect(function(hit)
  3750. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  3751. Shatter(hit)
  3752. end
  3753. end)
  3754. local n0 = nil
  3755. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  3756. if HITFLOOR ~= nil then
  3757. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  3758. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3759. if HITFLOOR.Parent.ClassName == "Model" then
  3760. HITFLOOR.Parent:BreakJoints()
  3761. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  3762. HITFLOOR.Parent.Parent:BreakJoints()
  3763. end
  3764. end
  3765. local POS = HITPOS
  3766. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  3767. end
  3768. end
  3769. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  3770. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  3771. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  3772. for i = 1, 25 do
  3773. Swait()
  3774. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3778. 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)
  3779. 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)
  3780. end
  3781. coroutine.resume(coroutine.create(function()
  3782. wait(0.2)
  3783. TOCH:disconnect()
  3784. wait(1.8)
  3785. for i = 1, 100 do
  3786. Swait()
  3787. SMASH.Transparency = i/100
  3788. end
  3789. for i = 1, 10 do
  3790. Swait()
  3791. EF.Transparency = EF.Transparency + 0.1
  3792. end
  3793. SMASH:remove()
  3794. end))
  3795. GYRO:remove()
  3796. ATTACK = false
  3797. Rooted = false
  3798. end
  3799.  
  3800. function Teleport()
  3801. ATTACK = true
  3802. Rooted = false
  3803. for i=0, 0.5, 0.1 / Animation_Speed do
  3804. Swait()
  3805. 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)
  3806. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3807. end
  3808. for e = 1, #BODY do
  3809. if BODY[e] ~= nil then
  3810. local STUFF = BODY[e]
  3811. local PART = STUFF[1]
  3812. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3813. local PRT = PART:Clone()
  3814. PRT.Anchored = true
  3815. PRT.CanCollide = false
  3816. PRT.Material = "Neon"
  3817. PRT.Color = C3(1,1,1)
  3818. PRT.Name = "WarpEffect"
  3819. PRT.Parent = Effects
  3820. PRT.CFrame = PART.CFrame
  3821. PRT:BreakJoints()
  3822. if PRT:FindFirstChildOfClass("Sound") then
  3823. PRT:FindFirstChildOfClass("Sound"):remove()
  3824. end
  3825. if PRT:FindFirstChildOfClass("Decal") then
  3826. PRT:FindFirstChildOfClass("Decal"):remove()
  3827. end
  3828. coroutine.resume(coroutine.create(function()
  3829. for i = 1, 100 do
  3830. Swait()
  3831. PRT.Transparency = PRT.Transparency + 1/100
  3832. end
  3833. PRT:remove()
  3834. end))
  3835. end
  3836. end
  3837. end
  3838. CreateSound(217767125, Torso, 10, 1)
  3839. local POS = RootPart.Orientation
  3840. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3841. RootPart.Orientation = POS
  3842. RootJoint.Parent = RootPart
  3843. for i=0, 0.5, 0.1 / Animation_Speed do
  3844. Swait()
  3845. 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)
  3846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3847. end
  3848. for i=0, 0.1, 0.1 / Animation_Speed do
  3849. Swait()
  3850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3851. end
  3852. ATTACK = false
  3853. Rooted = false
  3854. end
  3855.  
  3856.  
  3857. local LAUGHS = {834001699,834001752,834001797,834001828}
  3858. function Morning_Star()
  3859. ATTACK = true
  3860. Rooted = true
  3861. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  3862. for i=0, 1, 0.1 / Animation_Speed do
  3863. Swait()
  3864. 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)
  3865. 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)
  3866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3868. 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)
  3869. 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)
  3870. end
  3871. coroutine.resume(coroutine.create(function()
  3872. local POS = Mouse.Hit.p
  3873. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  3874. MakeForm(RAY,"Cyl")
  3875. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Strike", VT(0,0,0))
  3876. MakeForm(SPHERE,"Ball")
  3877. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3878. MakeForm(SHIELD,"Ball")
  3879. SHIELD.CFrame = CF(POS)
  3880. RAY.CFrame = CF(POS)
  3881. SPHERE.CFrame = CF(POS)
  3882. CreateSound(144699494, SPHERE, 10, 0.8, false)
  3883. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  3884. for i = 1, 200 do
  3885. Swait()
  3886. 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})
  3887. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3888. SPHERE.Size = SPHERE.Size + VT(20,20,20)
  3889. SHIELD.Size = SPHERE.Size + VT(30,30,30)
  3890. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  3891. end
  3892. for i = 1, 45 do
  3893. Swait()
  3894. RAY.Transparency = RAY.Transparency + 1/45
  3895. SPHERE.Transparency = RAY.Transparency
  3896. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3897. end
  3898. RAY:remove()
  3899. SHIELD:remove()
  3900. SPHERE:remove()
  3901. end))
  3902. for i=0, 1, 0.1 / Animation_Speed do
  3903. Swait()
  3904. 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)
  3905. 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)
  3906. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3907. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3908. 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)
  3909. 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)
  3910. end
  3911. ATTACK = false
  3912. Rooted = false
  3913. end
  3914.  
  3915. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  3916. if DoesCourontine == false then
  3917. local Direction = CF(Part.Position,ToLocation)
  3918. local Distance = (Part.Position - ToLocation).magnitude
  3919. for i = 1, AmountOfTime do
  3920. Swait()
  3921. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  3922. Direction = Part.CFrame
  3923. end
  3924. elseif DoesCourontine == true then
  3925. coroutine.resume(coroutine.create(function()
  3926. local Direction = CF(Part.Position,ToLocation)
  3927. local Distance = (Part.Position - ToLocation).magnitude
  3928. for i = 1, AmountOfTime do
  3929. Swait()
  3930. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  3931. Direction = Part.CFrame
  3932. end
  3933. end))
  3934. end
  3935. end
  3936.  
  3937. function impale(chain,hit)
  3938. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  3939. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  3940. if humanoid.Health ~= 0 then
  3941. hit.Parent:BreakJoints()
  3942. getbloody(hit,15)
  3943. local prtcl = asd:Clone()
  3944. prtcl.Parent = chain
  3945. prtcl.Enabled = true
  3946. prtcl.Speed = NumberRange.new(0)
  3947. prtcl.Size = NumberSequence.new(0.2)
  3948. end
  3949. end
  3950. end
  3951.  
  3952. function CreateMagicCircle()
  3953. local sinkhole = IT("Part")
  3954. sinkhole.Size = VT(0,0,0)
  3955. sinkhole.Parent = Effects
  3956. sinkhole.Material = "Neon"
  3957. sinkhole.Color = C3(0,0,0)
  3958. sinkhole.Anchored = true
  3959. sinkhole.CanCollide = false
  3960. sinkhole.Transparency = 1
  3961. local decal = IT("Decal",sinkhole)
  3962. decal.Face = "Top"
  3963. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  3964. local decal2 = IT("Decal",sinkhole)
  3965. decal2.Face = "Bottom"
  3966. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  3967. return sinkhole
  3968. end
  3969.  
  3970. function Deathbound()
  3971. ATTACK = true
  3972. Rooted = true
  3973. for i=0, 1, 0.1 / Animation_Speed do
  3974. Swait()
  3975. 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)
  3976. 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)
  3977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3979. 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)
  3980. 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)
  3981. end
  3982. local DONE = false
  3983. local GATE = nil
  3984. local GATESPIN = true
  3985. coroutine.resume(coroutine.create(function()
  3986. repeat
  3987. Swait()
  3988. if GATE ~= nil then
  3989. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  3990. end
  3991. until GATESPIN == false
  3992. end))
  3993. coroutine.resume(coroutine.create(function()
  3994. repeat
  3995. Swait()
  3996. 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)
  3997. 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)
  3998. 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)
  3999. 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)
  4000. 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)
  4001. 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)
  4002. until DONE == true
  4003. Swait(50)
  4004. for i = 1, 35 do
  4005. Swait(4)
  4006. local FIRED = false
  4007. local CHILDREN = workspace:GetDescendants()
  4008. for index, CHILD in pairs(CHILDREN) do
  4009. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4010. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4011. if HUM then
  4012. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4013. if TORSO then
  4014. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/50 + TORSO.Size.Magnitude/25 then
  4015. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4016. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  4017. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(10,15,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  4018. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(20,2.5,20), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4019. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4020. Kill(CHILD)
  4021. FIRED = true
  4022. break
  4023. end
  4024. end
  4025. end
  4026. end
  4027. end
  4028. if FIRED == false then
  4029. 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)))
  4030. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(10,15,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  4031. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(50,5,50), Size2 = VT(20,2.5,20), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4032. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  4033. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  4034. if HITBOD ~= nil then
  4035. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  4036. killnearest(HITBOD.Parent)
  4037. end
  4038. end
  4039. end
  4040. end
  4041. for i = 1, 45 do
  4042. Swait()
  4043. GATE.Size = GATE.Size - VT(3,0,3)
  4044. end
  4045. GATESPIN = false
  4046. GATE:remove()
  4047. end))
  4048. Swait(15)
  4049. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  4050. GATE = CreatePart(3, Effects, "Neon", 0, 1, "White", "Gate", VT(0,0,0))
  4051. local DECAL = IT("Decal",GATE)
  4052. DECAL.Texture = "http://www.roblox.com/asset/?id=20797265"
  4053. DECAL.Face = "Top"
  4054. GATE.CFrame = CF(HITPOS)
  4055. CreateSound(160772554, GATE, 7, 1.3, false)
  4056. for i = 1, 45 do
  4057. Swait()
  4058. GATE.Size = GATE.Size + VT(3,0,3)
  4059. end
  4060. CreateSound(145080998, Hole, 7, 1, false)
  4061. CreateSound(145080998, Hole, 7, 1, false)
  4062. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3,30,3), Size2 = VT(2,20,02), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4063. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3,0,3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4064. ATTACK = false
  4065. Rooted = false
  4066. DONE = true
  4067. end
  4068.  
  4069. function HI()
  4070. ATTACK = true
  4071. Rooted = false
  4072. local LOOP = 0
  4073. for i=0, 0.1, 0.1 / Animation_Speed do
  4074. Swait()
  4075. 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)
  4076. 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)
  4077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4079. end
  4080. for i=0, 3, 0.1 / Animation_Speed do
  4081. Swait()
  4082. LOOP = LOOP + 1
  4083. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4087. end
  4088. for i=0, 0.1, 0.1 / Animation_Speed do
  4089. Swait()
  4090. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4091. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4094. end
  4095. ATTACK = false
  4096. Rooted = false
  4097. end
  4098.  
  4099. function Morning_Star()
  4100. ATTACK = true
  4101. Rooted = true
  4102. for i=0, 1, 0.1 / Animation_Speed do
  4103. Swait()
  4104. 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)
  4105. 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)
  4106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4108. 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)
  4109. 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)
  4110. end
  4111. coroutine.resume(coroutine.create(function()
  4112. local POS = Mouse.Hit.p
  4113. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0))
  4114. MakeForm(RAY,"Cyl")
  4115. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  4116. MakeForm(SPHERE,"Ball")
  4117. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  4118. MakeForm(SHIELD,"Ball")
  4119. SHIELD.CFrame = CF(POS)
  4120. RAY.CFrame = CF(POS)
  4121. SPHERE.CFrame = CF(POS)
  4122. CreateSound(440145570, SPHERE, 10, 0.8, false)
  4123. CreateSound(415700134, SPHERE, 10, 0.8, false)
  4124. for i = 1, 200 do
  4125. Swait()
  4126. 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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4127. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  4128. SPHERE.Size = SPHERE.Size + VT(4,4,4)
  4129. SHIELD.Size = SPHERE.Size + VT(6,6,6)
  4130. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4131. end
  4132. for i = 1, 45 do
  4133. Swait()
  4134. RAY.Transparency = RAY.Transparency + 1/45
  4135. SPHERE.Transparency = RAY.Transparency
  4136. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4137. end
  4138. RAY:remove()
  4139. SHIELD:remove()
  4140. SPHERE:remove()
  4141. end))
  4142. for i=0, 1, 0.1 / Animation_Speed do
  4143. Swait()
  4144. 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)
  4145. 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)
  4146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4147. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4148. 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)
  4149. 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)
  4150. end
  4151. ATTACK = false
  4152. Rooted = false
  4153. end
  4154.  
  4155. function WACKYEFFECT(Table)
  4156. local TYPE = (Table.EffectType or "Sphere")
  4157. local SIZE = (Table.Size or VT(1,1,1))
  4158. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  4159. local TRANSPARENCY = (Table.Transparency or 0)
  4160. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  4161. local CFRAME = (Table.CFrame or Torso.CFrame)
  4162. local MOVEDIRECTION = (Table.MoveToPos or nil)
  4163. local ROTATION1 = (Table.RotationX or 0)
  4164. local ROTATION2 = (Table.RotationY or 0)
  4165. local ROTATION3 = (Table.RotationZ or 0)
  4166. local MATERIAL = (Table.Material or "Neon")
  4167. local COLOR = (Table.Color or C3(1,1,1))
  4168. local TIME = (Table.Time or 45)
  4169. local SOUNDID = (Table.SoundID or nil)
  4170. local SOUNDPITCH = (Table.SoundPitch or nil)
  4171. local SOUNDVOLUME = (Table.SoundVolume or nil)
  4172. coroutine.resume(coroutine.create(function()
  4173. local PLAYSSOUND = false
  4174. local SOUND = nil
  4175. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  4176. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  4177. PLAYSSOUND = true
  4178. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  4179. end
  4180. EFFECT.Color = COLOR
  4181. local MSH = nil
  4182. if TYPE == "Sphere" then
  4183. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  4184. elseif TYPE == "Block" then
  4185. MSH = IT("BlockMesh",EFFECT)
  4186. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  4187. elseif TYPE == "Wave" then
  4188. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  4189. elseif TYPE == "Ring" then
  4190. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  4191. elseif TYPE == "Slash" then
  4192. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4193. elseif TYPE == "Round Slash" then
  4194. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  4195. elseif TYPE == "Swirl" then
  4196. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  4197. elseif TYPE == "Skull" then
  4198. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  4199. elseif TYPE == "Crystal" then
  4200. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  4201. end
  4202. if MSH ~= nil then
  4203. local MOVESPEED = nil
  4204. if MOVEDIRECTION ~= nil then
  4205. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  4206. end
  4207. local GROWTH = SIZE - ENDSIZE
  4208. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  4209. if TYPE == "Block" then
  4210. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4211. else
  4212. EFFECT.CFrame = CFRAME
  4213. end
  4214. for LOOP = 1, TIME+1 do
  4215. Swait()
  4216. MSH.Scale = MSH.Scale - GROWTH/TIME
  4217. if TYPE == "Wave" then
  4218. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  4219. end
  4220. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  4221. if TYPE == "Block" then
  4222. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  4223. else
  4224. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  4225. end
  4226. if MOVEDIRECTION ~= nil then
  4227. local ORI = EFFECT.Orientation
  4228. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  4229. EFFECT.Orientation = ORI
  4230. end
  4231. end
  4232. if PLAYSSOUND == false then
  4233. EFFECT:remove()
  4234. else
  4235. SOUND.Stopped:Connect(function()
  4236. EFFECT:remove()
  4237. end)
  4238. end
  4239. else
  4240. if PLAYSSOUND == false then
  4241. EFFECT:remove()
  4242. else
  4243. repeat Swait() until SOUND.Playing == false
  4244. EFFECT:remove()
  4245. end
  4246. end
  4247. end))
  4248. end
  4249.  
  4250. function ApplyAoE(POSITION,RANGE,BRUTAL)
  4251. local CHILDREN = workspace:GetDescendants()
  4252. for index, CHILD in pairs(CHILDREN) do
  4253. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4254. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4255. if HUM then
  4256. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4257. if TORSO then
  4258. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4259. if BRUTAL == true then
  4260. Kill(CHILD)
  4261. else
  4262. CHILD:BreakJoints()
  4263. end
  4264. end
  4265. end
  4266. end
  4267. end
  4268. end
  4269. end
  4270.  
  4271. local asd = Instance.new("ParticleEmitter")
  4272. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  4273. asd.LightEmission = .1
  4274. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  4275. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  4276. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  4277. asd.Transparency = bbb
  4278. asd.Size = aaa
  4279. asd.ZOffset = .9
  4280. asd.Acceleration = Vector3.new(0, -15, 0)
  4281. asd.LockedToPart = false
  4282. asd.EmissionDirection = "Back"
  4283. asd.Lifetime = NumberRange.new(1, 2)
  4284. asd.Rotation = NumberRange.new(-100, 100)
  4285. asd.RotSpeed = NumberRange.new(-100, 100)
  4286. asd.Speed = NumberRange.new(10)
  4287. asd.Enabled = false
  4288. asd.VelocitySpread = 999
  4289.  
  4290. function getbloody(victim,amount)
  4291. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4292. PART.CFrame = victim.CFrame
  4293. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4294. Debris:AddItem(PART,5)
  4295. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4296. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4297. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4298. local prtcl = asd:Clone()
  4299. prtcl.Parent = PART
  4300. prtcl:Emit(amount*10)
  4301. end
  4302.  
  4303. function Kill(Char)
  4304. local NewCharacter = IT("Model",Effects)
  4305. NewCharacter.Name = "Ow im ded ;-;"
  4306. for _, c in pairs(Char:GetDescendants()) do
  4307. if c:IsA("BasePart") and c.Transparency == 0 then
  4308. if c.Parent == Char then
  4309. getbloody(c,5)
  4310. end
  4311. c:BreakJoints()
  4312. c.Material = "Glass"
  4313. c.Color = C3(0.5,0,0)
  4314. c.CanCollide = true
  4315. c.Transparency = 0.3
  4316. if c:FindFirstChildOfClass("SpecialMesh") then
  4317. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  4318. end
  4319. if c.Name == "Head" then
  4320. c:ClearAllChildren()
  4321. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  4322. end
  4323. if c.ClassName == "MeshPart" then
  4324. c.TextureID = ""
  4325. end
  4326. if c:FindFirstChildOfClass("BodyPosition") then
  4327. c:FindFirstChildOfClass("BodyPosition"):remove()
  4328. end
  4329. if c:FindFirstChildOfClass("ParticleEmitter") then
  4330. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4331. end
  4332. c.Parent = NewCharacter
  4333. c.Name = "DeadPart"
  4334. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  4335. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  4336. end
  4337. end
  4338. Char:remove()
  4339. Debris:AddItem(NewCharacter,5)
  4340. end
  4341.  
  4342. function Prison_Key()
  4343. if Mouse.Target ~= nil then
  4344. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4345. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4346. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4347. local GYRO = IT("BodyGyro",RootPart)
  4348. GYRO.D = 750
  4349. GYRO.P = 20000
  4350. GYRO.MaxTorque = VT(0,40000000,0)
  4351. local grav = Instance.new("BodyPosition",TORSO)
  4352. grav.D = 15
  4353. grav.P = 20000
  4354. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4355. grav.position = TORSO.Position
  4356. local GYRO2 = IT("BodyGyro",TORSO)
  4357. GYRO2.D = 750
  4358. GYRO2.P = 20000
  4359. GYRO2.MaxTorque = VT(0,40000000,0)
  4360. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4361. grav.Name = "Jail"
  4362. local LOCKPARTS = {}
  4363. ATTACK = true
  4364. Rooted = false
  4365. local LOCK = IT("Model",Effects)
  4366. LOCK.Name = "Lock"
  4367. local LOCK2 = IT("Model",LOCK)
  4368. LOCK2.Name = "Metal"
  4369. --CREATE LOCK--
  4370. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  4371. LOCK.PrimaryPart = BASE
  4372. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  4373. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  4374. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  4375. MakeForm(PRT,"Cyl")
  4376. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  4377. PRT.Color = C3(0,0,0)
  4378. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  4379. MakeForm(PRT,"Cyl")
  4380. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  4381. PRT.Color = C3(0,0,0)
  4382. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  4383. for i = 1, 45 do
  4384. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  4385. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  4386. end
  4387. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  4388. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  4389. LOCK2.PrimaryPart = PRT
  4390. ---------------
  4391. local CHILDREN = LOCK:GetDescendants()
  4392. for index, CHILD in pairs(CHILDREN) do
  4393. if CHILD:IsA("BasePart") then
  4394. CHILD.Transparency = 1
  4395. end
  4396. end
  4397. for i = 1, 75 do
  4398. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  4399. Swait()
  4400. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4401. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  4402. local CHILDREN = LOCK:GetDescendants()
  4403. for index, CHILD in pairs(CHILDREN) do
  4404. if CHILD:IsA("BasePart") then
  4405. CHILD.Transparency = CHILD.Transparency - 1/75
  4406. end
  4407. end
  4408. end
  4409. HUM.DisplayDistanceType = "None"
  4410. local KEY = IT("Model",Effects)
  4411. KEY.Name = "Key"
  4412. --CREATE KEY--
  4413. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Reallt black", "KeyBase", VT(0.1, 1, 0.1),false)
  4414. KEY.PrimaryPart = KBASE
  4415. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  4416. local WLD = weldBetween(RightArm,KBASE)
  4417. for i = 1, 45 do
  4418. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really black", "Key", VT(0.1, 0.1, 0.1),false)
  4419. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  4420. weldBetween(KBASE,PRT)
  4421. end
  4422. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  4423. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  4424. weldBetween(KBASE,PRT)
  4425. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "White", "Key", VT(0.3, 0.1, 0.1),false)
  4426. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  4427. weldBetween(KBASE,PRT)
  4428. --------------
  4429. Rooted = true
  4430. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  4431. coroutine.resume(coroutine.create(function()
  4432. for i = 1, 10 do
  4433. Swait()
  4434. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  4435. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  4436. end
  4437. CreateSound(1149318312,BASE,5,1,false)
  4438. CreateSound(160772554,BASE,3,1,false)
  4439. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  4440. for i = 1, 4 do
  4441. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4442. end
  4443. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  4444. wait(1)
  4445. TORSO.Parent.Parent = LOCK
  4446. for i = 1, 75 do
  4447. Swait()
  4448. local CHILDREN = KEY:GetDescendants()
  4449. for index, CHILD in pairs(CHILDREN) do
  4450. if CHILD:IsA("BasePart") then
  4451. CHILD.Transparency = i/25
  4452. end
  4453. end
  4454. local CHILDREN = LOCK:GetDescendants()
  4455. for index, CHILD in pairs(CHILDREN) do
  4456. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  4457. CHILD.Transparency = CHILD.Transparency + 1/75
  4458. elseif CHILD.ClassName == "Decal" then
  4459. CHILD.Transparency = CHILD.Transparency + 1/75
  4460. end
  4461. end
  4462. end
  4463. TORSO.Parent:ClearAllChildren()
  4464. KEY:remove()
  4465. LOCK:remove()
  4466. end))
  4467. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  4468. GYRO:remove()
  4469. ATTACK = false
  4470. Rooted = false
  4471. end
  4472. end
  4473. end
  4474.  
  4475. function Jupiter()
  4476. ATTACK = true
  4477. Rooted = true
  4478. local POSITION = IT("BodyPosition",RootPart)
  4479. POSITION.Position = RootPart.Position+VT(0,0.2,0)
  4480. POSITION.D = 450
  4481. POSITION.P = 40000
  4482. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4483. coroutine.resume(coroutine.create(function()
  4484. repeat
  4485. Swait()
  4486. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  4487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  4488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4490. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4491. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  4492. until ATTACK == false
  4493. end))
  4494. wait(0.5)
  4495. repeat wait() until KEYHOLD == false
  4496. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
  4497. POSITION:remove()
  4498. RootPart.Velocity = VT(0,150,0)
  4499. ATTACK = false
  4500. Rooted = false
  4501. end
  4502.  
  4503. function chatfunc(text)
  4504. local chat = coroutine.wrap(function()
  4505. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  4506. Character:FindFirstChild("TalkingBillBoard"):destroy()
  4507. end
  4508. local Bill = Instance.new("BillboardGui",Character)
  4509. Bill.Size = UDim2.new(0,100,0,40)
  4510. Bill.StudsOffset = Vector3.new(0,3,0)
  4511. Bill.Adornee = Character.Head
  4512. Bill.Name = "TalkingBillBoard"
  4513. local Hehe = Instance.new("TextLabel",Bill)
  4514. Hehe.BackgroundTransparency = 1
  4515. Hehe.BorderSizePixel = 0
  4516. Hehe.Text = ""
  4517. Hehe.Font = "Antique"
  4518. Hehe.TextSize = 40
  4519. Hehe.TextStrokeTransparency = 0
  4520. Hehe.Size = UDim2.new(1,0,0.5,0)
  4521. coroutine.resume(coroutine.create(function()
  4522. while Hehe ~= nil do
  4523. Swait()
  4524. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  4525. Hehe.Rotation = math.random(-5,5)
  4526. Hehe.TextColor3 = Color3.new(61,21,133)
  4527. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  4528. end
  4529. end))
  4530. for i = 1,string.len(text),1 do
  4531. Swait()
  4532. Hehe.Text = string.sub(text,1,i)
  4533. end
  4534. Swait(90)--Re[math.random(1, 93)]
  4535. for i = 0, 1, .025 do
  4536. Swait()
  4537. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  4538. Hehe.TextStrokeTransparency = i
  4539. Hehe.TextTransparency = i
  4540. end
  4541. Bill:Destroy()
  4542. end)
  4543. chat()
  4544. end
  4545.  
  4546. function onChatted(msg)
  4547. chatfunc(msg)
  4548. end
  4549.  
  4550. local SIZE = 1
  4551.  
  4552. function WarpMeteor()
  4553. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  4554. if DIST > 180 then
  4555. DIST = 180
  4556. end
  4557. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  4558. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  4559. if HITFLOOR then
  4560. local POS = HITPOS
  4561. ATTACK = true
  4562. Rooted = true
  4563. local WARPED = false
  4564. local SMASHED = false
  4565. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  4566. coroutine.resume(coroutine.create(function()
  4567. repeat
  4568. Swait()
  4569. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  4570. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4571. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4572. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4573. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4574. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4575. until WARPED == true
  4576. repeat
  4577. Swait()
  4578. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  4579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4582. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4583. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4584. until SMASHED == true
  4585. repeat
  4586. Swait()
  4587. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  4588. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  4589. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4590. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4591. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  4592. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4593. until ATTACK == false
  4594. end))
  4595. VALUE1 = true
  4596. CreateSound(233856115, Torso, 5, 1.6, false)
  4597. chatfunc("This hurt more than you think")
  4598. for i = 1, 25 do
  4599. Swait()
  4600. for _, c in pairs(Character:GetChildren()) do
  4601. if c.ClassName == "Part" then
  4602. c.Transparency = c.Transparency + 1/25
  4603. end
  4604. end
  4605. for _, c in pairs(Weapon:GetChildren()) do
  4606. if c.ClassName == "Part" then
  4607. c.Transparency = c.Transparency + 1/25
  4608. end
  4609. end
  4610. end
  4611. UNANCHOR = false
  4612. RootPart.Anchored = true
  4613. RootPart.Velocity = VT(0,0,0)
  4614. local ROOTPOS = RootPart.Position
  4615. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  4616. WARPED = true
  4617. for i = 1, 25 do
  4618. Swait()
  4619. for _, c in pairs(Character:GetChildren()) do
  4620. if c.ClassName == "Part" then
  4621. c.Transparency = c.Transparency - 1/25
  4622. end
  4623. end
  4624. for _, c in pairs(Weapon:GetChildren()) do
  4625. if c.ClassName == "Part" then
  4626. c.Transparency = c.Transparency - 1/25
  4627. end
  4628. end
  4629. end
  4630. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Part", VT(0,0,0))
  4631. SHELL.CFrame = RootPart.CFrame
  4632. MakeForm(SHELL,"Ball")
  4633. CreateSound(402981977, SHELL, 5, 1.6, false)
  4634. for i = 1, 10 do
  4635. Swait()
  4636. SHELL.Transparency = SHELL.Transparency - 1/10
  4637. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  4638. end
  4639. for i = 1, math.ceil(75/2) do
  4640. Swait()
  4641. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  4642. SHELL.CFrame = CF(RootPart.Position)
  4643. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4644. end
  4645. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  4646. SHELL.CFrame = CF(RootPart.Position)
  4647. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  4648. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4649. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4650. for i = 1, 5 do
  4651. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(61/255, 21/255, 133/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  4652. end
  4653. SHELL:remove()
  4654. ApplyAoE(RootPart.Position,75,35,75,175,false)
  4655. SMASHED = true
  4656. wait(1)
  4657. VALUE1 = false
  4658. UNANCHOR = true
  4659. ATTACK = false
  4660. Rooted = false
  4661. end
  4662. end
  4663.  
  4664. function PandorasBox()
  4665. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  4666. if HITFLOOR ~= nil then
  4667. ATTACK = false
  4668. Rooted = false
  4669. local RINGSPIN = true
  4670. local CONSTRUCTING = true
  4671. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  4672. RING.Color = C3(0,0,0)
  4673. MakeForm(RING,"Cyl")
  4674. RING.CFrame = CF(HITPOS)
  4675. CreateSound(402981977, RING, 5, 1.2, false)
  4676. coroutine.resume(coroutine.create(function()
  4677. repeat
  4678. Swait()
  4679. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4680. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4681. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4682. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4683. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4684. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4685. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4686. until CONSTRUCTING == false
  4687. repeat
  4688. Swait()
  4689. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4690. until RINGSPIN == false
  4691. for i = 1, 25 do
  4692. Swait()
  4693. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4694. RING.Size = RING.Size - VT(0.15,0,0.15)
  4695. --DECAL.Transparency = DECAL.Transparency + 1/25
  4696. RING.Transparency = RING.Transparency + 1/25
  4697. end
  4698. RING:remove()
  4699. end))
  4700. for i = 1, 15 do
  4701. Swait()
  4702. RING.Size = RING.Size + VT(0.75,0,0.75)
  4703. RING.Transparency = RING.Transparency - 1/15
  4704. end
  4705. chatfunc("let's see your prize...")
  4706. local BOXSPIN = true
  4707. local PANDORASBOX = IT("Model",Effects)
  4708. PANDORASBOX.Name = "Pandora's Box"
  4709. local BOX = IT("Model",PANDORASBOX)
  4710. BOX.Name = "Body"
  4711. local LID = IT("Model",PANDORASBOX)
  4712. LID.Name = "Lid"
  4713. --BUILDING THE BOX--
  4714. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  4715. BASE.Color = C3(0,0,0)
  4716. PANDORASBOX.PrimaryPart = BASE
  4717. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  4718. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4719. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  4720. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4721. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  4722. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4723. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  4724. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  4725. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  4726. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4727. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  4728. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4729. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  4730. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4731. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  4732. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4733. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  4734. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4735. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  4736. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4737. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  4738. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4739. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  4740. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4741. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  4742. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  4743. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  4744. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  4745. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  4746. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  4747. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  4748. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  4749. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  4750. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  4751. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  4752. -------------
  4753. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  4754. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  4755. LID.PrimaryPart = LIDPART
  4756. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4757. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  4758. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  4759. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  4760. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4761. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  4762. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  4763. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  4764. local DECAL = IT("Decal",LIDPART)
  4765. DECAL.Face = "Top"
  4766. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  4767. DECAL.Color3 = C3(0,0,0)
  4768. --BUILDING THE BOX--
  4769. coroutine.resume(coroutine.create(function()
  4770. repeat
  4771. Swait()
  4772. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  4773. until BOXSPIN == false
  4774. end))
  4775. for i = 1, 25 do
  4776. Swait()
  4777. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  4778. end
  4779. wait(0.5)
  4780. BOXSPIN = false
  4781. CONSTRUCTING = false
  4782. coroutine.resume(coroutine.create(function()
  4783. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  4784. --[[for i = 1, 45 do
  4785. Swait()
  4786. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  4787. end-
  4788. LID:remove()]]--
  4789. for _, c in pairs(LID:GetChildren()) do
  4790. if c.ClassName == "Part" then
  4791. c.Anchored = false
  4792. c.CanCollide = true
  4793. if c ~= LIDPART then
  4794. weldBetween(LIDPART,c)
  4795. end
  4796. end
  4797. end
  4798. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  4799. Debris:AddItem(LID,15)
  4800. wait(0.5)
  4801. local RANDOMEFFECT = MRANDOM(1,4)
  4802. if RANDOMEFFECT == 1 then
  4803. for i = 1, 45 do
  4804. wait((2-(i/15))/15)
  4805. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  4806. end
  4807. wait(1)
  4808. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  4809. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  4810. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  4811. for i = 1, 5 do
  4812. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  4813. end
  4814. ApplyAoE(BASE.Position,50,1,200,375,true)
  4815. ApplyAoE(BASE.Position,250,35,75,175,true)
  4816. elseif RANDOMEFFECT == 2 then
  4817. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4818. FIELD.CFrame = BASE.CFrame
  4819. MakeForm(FIELD,"Ball")
  4820. for i = 1, 50 do
  4821. Swait()
  4822. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  4823. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4824. end
  4825. wait(0.2)
  4826. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  4827. coroutine.resume(coroutine.create(function()
  4828. for i = 1, 75 do
  4829. Swait()
  4830. LOOP.Volume = LOOP.Volume + 10/75
  4831. LOOP.Parent = FIELD
  4832. local CHILDREN = workspace:GetDescendants()
  4833. for index, CHILD in pairs(CHILDREN) do
  4834. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4835. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4836. if HUM then
  4837. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4838. if TORSO then
  4839. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4840. HUM.Health = HUM.Health - 1.5
  4841. TORSO.Velocity = VT(0,5,0)
  4842. HUM.PlatformStand = true
  4843. if TORSO.RotVelocity.Magnitude < 15 then
  4844. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4845. end
  4846. end
  4847. end
  4848. end
  4849. end
  4850. end
  4851. FIELD.Size = FIELD.Size + VT(9,9,9)
  4852. FIELD.Transparency = FIELD.Transparency + 0.8/75
  4853. end
  4854. for i = 1, 500 do
  4855. Swait()
  4856. LOOP.Parent = FIELD
  4857. local CHILDREN = workspace:GetDescendants()
  4858. for index, CHILD in pairs(CHILDREN) do
  4859. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4860. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4861. if HUM then
  4862. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4863. if TORSO then
  4864. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  4865. TORSO.Velocity = VT(0,5,0)
  4866. HUM.Health = HUM.Health - 1.5
  4867. HUM.PlatformStand = true
  4868. if TORSO.RotVelocity.Magnitude < 15 then
  4869. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4870. end
  4871. end
  4872. end
  4873. end
  4874. end
  4875. end
  4876. end
  4877. for i = 1, 25 do
  4878. Swait()
  4879. LOOP.Volume = LOOP.Volume + 10/25
  4880. LOOP.Parent = FIELD
  4881. local CHILDREN = workspace:GetDescendants()
  4882. for index, CHILD in pairs(CHILDREN) do
  4883. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  4884. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4885. if HUM then
  4886. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4887. if TORSO then
  4888. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  4889. TORSO.Velocity = VT(0,5,0)
  4890. HUM.Health = HUM.Health - 1.5
  4891. HUM.PlatformStand = false
  4892. if TORSO.RotVelocity.Magnitude < 15 then
  4893. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  4894. end
  4895. end
  4896. end
  4897. end
  4898. end
  4899. end
  4900. FIELD.Size = FIELD.Size - VT(3,3,3)
  4901. FIELD.Transparency = FIELD.Transparency + 0.2/25
  4902. end
  4903. FIELD:remove()
  4904. end))
  4905. elseif RANDOMEFFECT == 3 then
  4906. for i = 1, 10 do
  4907. wait(0.15)
  4908. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  4909. coroutine.resume(coroutine.create(function()
  4910. local MINION = CLONE:Clone()
  4911. MINION.Parent = Effects
  4912. MINION.Name = "Shadow"
  4913. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  4914. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  4915. for _, c in pairs(MINION:GetChildren()) do
  4916. if c.ClassName == "Part" then
  4917. c.Material = "Neon"
  4918. c.Color = C3(0,0,0)
  4919. c.Transparency = 0.25
  4920. if c.Name == "Head" then
  4921. c:ClearAllChildren()
  4922. local MSH = IT("BlockMesh",c)
  4923. MSH.Scale = VT(0.5,1,1)
  4924. end
  4925. end
  4926. end
  4927. local TORSO = MINION.Torso
  4928. local HUMAN = MINION.Humanoid
  4929. HUMAN.WalkSpeed = 20
  4930. HUMAN.MaxHealth = math.huge
  4931. HUMAN.Health = math.huge
  4932. HUMAN.DisplayDistanceType = "None"
  4933. HUMAN.Died:connect(function()
  4934. MINION:remove()
  4935. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  4936. end)
  4937. wait(1)
  4938. local findNearestTorso = function(POS)
  4939. local list = game.Workspace:GetDescendants()
  4940. local torso = nil
  4941. local dist = 500
  4942. local temp = nil
  4943. local human = nil
  4944. local temp2 = nil
  4945. for x = 1, #list do
  4946. temp2 = list[x]
  4947. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  4948. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  4949. human = temp2:findFirstChildOfClass("Humanoid")
  4950. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  4951. if (temp.Position - POS).magnitude < dist then
  4952. torso = temp
  4953. dist = (temp.Position - POS).magnitude
  4954. end
  4955. end
  4956. end
  4957. end
  4958. return torso, dist
  4959. end
  4960. for i = 1, 40 do
  4961. if HUMAN.Health == 0 then
  4962. break
  4963. end
  4964. wait(0.3)
  4965. local target,dist= findNearestTorso(TORSO.Position)
  4966. if target then
  4967. HUMAN:MoveTo(target.Position)
  4968. if dist < 25 then
  4969. CreateSound(348663022, TORSO, 10, 1, true)
  4970. wait(2)
  4971. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  4972. --ANIM:Play()
  4973. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  4974. ApplyAoE(TORSO.Position,10,0,0,85,true)
  4975. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  4976. for i = 1, 5 do
  4977. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  4978. end
  4979. break
  4980. end
  4981. end
  4982. end
  4983. MINION:remove()
  4984. end))
  4985. end
  4986. elseif RANDOMEFFECT == 4 then
  4987. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  4988. FIELD.Color = C3(0,0,0)
  4989. FIELD.CFrame = BASE.CFrame
  4990. MakeForm(FIELD,"Ball")
  4991. FIELD.CanCollide = true
  4992. for i = 1, 50 do
  4993. Swait()
  4994. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  4995. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  4996. end
  4997. wait(0.2)
  4998. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  4999. coroutine.resume(coroutine.create(function()
  5000. local E = 0
  5001. for i = 1, 75 do
  5002. E = E + 1
  5003. Swait()
  5004. if E >= 35 then
  5005. E = 0
  5006. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  5007. end
  5008. LOOP.Volume = LOOP.Volume + 10/75
  5009. LOOP.Parent = FIELD
  5010. local CHILDREN = workspace:GetDescendants()
  5011. for index, CHILD in pairs(CHILDREN) do
  5012. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5013. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5014. if HUM then
  5015. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5016. if TORSO then
  5017. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  5018. for _, c in pairs(CHILD:GetChildren()) do
  5019. if c:IsA("BasePart") then
  5020. local bv = Instance.new("BodyVelocity")
  5021. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5022. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  5023. bv.Parent = c
  5024. Debris:AddItem(bv,0.05)
  5025. end
  5026. end
  5027. HUM.Health = HUM.Health - 0.3
  5028. end
  5029. end
  5030. end
  5031. end
  5032. end
  5033. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  5034. end
  5035. for i = 1, 180 do
  5036. E = E + 1
  5037. Swait()
  5038. if E >= 35 then
  5039. E = 0
  5040. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  5041. end
  5042. LOOP.Parent = FIELD
  5043. local CHILDREN = workspace:GetDescendants()
  5044. for index, CHILD in pairs(CHILDREN) do
  5045. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5046. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5047. if HUM then
  5048. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5049. if TORSO then
  5050. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  5051. for _, c in pairs(CHILD:GetChildren()) do
  5052. if c:IsA("BasePart") then
  5053. local bv = Instance.new("BodyVelocity")
  5054. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5055. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  5056. bv.Parent = c
  5057. Debris:AddItem(bv,0.05)
  5058. end
  5059. end
  5060. HUM.Health = HUM.Health - 0.3
  5061. end
  5062. end
  5063. end
  5064. end
  5065. end
  5066. end
  5067. ApplyAoE(FIELD.Position,40,15,20,375,true)
  5068. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  5069. for i = 1, 5 do
  5070. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5071. end
  5072. FIELD:remove()
  5073. end))
  5074. elseif RANDOMEFFECT == 5 then
  5075. end
  5076. wait(0.5)
  5077. for i = 1, 25 do
  5078. Swait()
  5079. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  5080. end
  5081. PANDORASBOX:remove()
  5082. RINGSPIN = false
  5083. end))
  5084. ATTACK = false
  5085. Rooted = false
  5086. end
  5087. end
  5088.  
  5089. function TimeStop ()
  5090. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  5091. CHOICE = 6
  5092. CreateSound(1193182658, Character, 5, 1, false)
  5093. chatfunc ("Za warudo...")
  5094. back = CreateSound(1841228386, Character, 9999, 1, false)
  5095. local killsky = Instance.new('Sky', game:GetService'Lighting')
  5096. killsky.SkyboxBk = "rbxassetid://1013852"
  5097. killsky.SkyboxDn = "rbxassetid://1013853"
  5098. killsky.SkyboxFt = "rbxassetid://1013850"
  5099. killsky.SkyboxLf = "rbxassetid://1013851"
  5100. killsky.SkyboxRt = "rbxassetid://1013849"
  5101. killsky.SkyboxUp = "rbxassetid://1013854"
  5102. killsky.StarCount = 0
  5103. killsky.SunAngularSize = 0
  5104. killsky.MoonAngularSize = 0
  5105. killsky.MoonTextureId = ""
  5106. killsky.CelestialBodiesShown = false
  5107. game.Lighting.FogColor = Color3.new(1,1,0)
  5108. game.Lighting.FogEnd = 1400
  5109. if HITFLOOR ~= nil then
  5110. ATTACK = false
  5111. Rooted = false
  5112. local RINGSPIN = true
  5113. local CONSTRUCTING = true
  5114. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  5115. RING.Color = C3(0,0,0)
  5116. MakeForm(RING,"Cyl")
  5117. RING.CFrame = CF(HITPOS)
  5118. coroutine.resume(coroutine.create(function()
  5119. repeat
  5120. Swait()
  5121. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  5122. until CONSTRUCTING == false
  5123. repeat
  5124. Swait()
  5125. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  5126. until RINGSPIN == false
  5127. for i = 1, 25 do
  5128. Swait()
  5129. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  5130. RING.Size = RING.Size - VT(0.15,0,0.15)
  5131. --DECAL.Transparency = DECAL.Transparency + 1/25
  5132. RING.Transparency = RING.Transparency + 1/25
  5133. end
  5134. RING:remove()
  5135. end))
  5136. for i = 1, 15 do
  5137. Swait()
  5138. RING.Size = RING.Size + VT(0,0,0)
  5139. RING.Transparency = RING.Transparency - 1/15
  5140. end
  5141. end
  5142. local RANDOMEFFECT = MRANDOM(1)
  5143. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  5144. BASE.Color = C3(0,0,0)
  5145. BASE.Transparency = 1
  5146. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  5147. if RANDOMEFFECT == 1 then
  5148. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  5149. FIELD.CFrame = BASE.CFrame
  5150. MakeForm(FIELD,"Ball")
  5151. for i = 1, 50 do
  5152. Swait()
  5153. FIELD.Size = VT(0,0,0)
  5154. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  5155. end
  5156. end
  5157. wait(0.2)
  5158. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  5159. FIELD.CFrame = BASE.CFrame
  5160. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  5161. coroutine.resume(coroutine.create(function()
  5162. for i = 1, 75 do
  5163. Swait()
  5164. LOOP.Volume = LOOP.Volume + 10/75
  5165. LOOP.Parent = FIELD
  5166. local CHILDREN = workspace:GetDescendants()
  5167. for index, CHILD in pairs(CHILDREN) do
  5168. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5169. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5170. if HUM then
  5171. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5172. if TORSO then
  5173. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  5174. HUM.Health = HUM.Health - 0
  5175. TORSO.Velocity = VT(0,5,0)
  5176. HUM.PlatformStand = true
  5177. if TORSO.RotVelocity.Magnitude < 15 then
  5178. TORSO.Anchored = true
  5179. end
  5180. end
  5181. end
  5182. end
  5183. end
  5184. end
  5185. FIELD.Size = FIELD.Size + VT(90,90,90)
  5186. FIELD.Transparency = FIELD.Transparency + 0.8/75
  5187. end
  5188. for i = 1, 500 do
  5189. Swait()
  5190. LOOP.Parent = FIELD
  5191. local CHILDREN = workspace:GetDescendants()
  5192. for index, CHILD in pairs(CHILDREN) do
  5193. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5194. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5195. if HUM then
  5196. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5197. if TORSO then
  5198. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  5199. TORSO.Velocity = VT(0,5,0)
  5200. HUM.Health = HUM.Health - 0
  5201. HUM.PlatformStand = true
  5202. if TORSO.RotVelocity.Magnitude < 15 then
  5203. TORSO.Anchored = true
  5204. end
  5205. end
  5206. end
  5207. end
  5208. end
  5209. end
  5210. end
  5211. wait (20)
  5212. back:Remove()
  5213. CreateSound(1538466750, Character, 99999, 1, false)
  5214. chatfunc ("the time rusume")
  5215. killsky:Remove()
  5216. game.Lighting.FogEnd = 90000000
  5217. wait (5)
  5218. CHOICE = MRANDOM (1,5)
  5219. for i = 1, 25 do
  5220. Swait()
  5221. LOOP.Volume = LOOP.Volume + 10/25
  5222. LOOP.Parent = FIELD
  5223. local CHILDREN = workspace:GetDescendants()
  5224. for index, CHILD in pairs(CHILDREN) do
  5225. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  5226. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5227. if HUM then
  5228. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5229. if TORSO then
  5230. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  5231. TORSO.Velocity = VT(0,5,0)
  5232. HUM.Health = HUM.Health - 0
  5233. HUM.PlatformStand = false
  5234. if TORSO.RotVelocity.Magnitude < 15 then
  5235. TORSO.Anchored = false
  5236. end
  5237. end
  5238. end
  5239. end
  5240. end
  5241. FIELD.Size = FIELD.Size - VT(3,3,3)
  5242. FIELD.Transparency = FIELD.Transparency + 0.2/25
  5243. end
  5244. end
  5245. end))
  5246. FIELD:Remove()
  5247. ATTACK = false
  5248. Rooted = false
  5249. end
  5250. function RivalingOverthrower2()
  5251. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5252. local HITBODY = Mouse.Target.Parent
  5253. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  5254. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  5255. if TORS ~= nil and HUMAN ~= nil then
  5256. ATTACK = true
  5257. Rooted = false
  5258. VanishPlayer()
  5259. TORS.Anchored = true
  5260. RootPart.CFrame = TORS.CFrame*CF(0,5,0)
  5261. CreateSound("260411131", RootPart, 3, 1)
  5262. for i = 1, 75 do
  5263. Swait()
  5264. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  5265. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], TORS, 10, 1)
  5266. local CFRAME = CF(TORS.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  5267. MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,POWERLEVEL*5))
  5268. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,POWERLEVEL*5))
  5269. TORS.CFrame = TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  5270. end
  5271. RootPart.CFrame = CF(TORS.Position)*CF(MRANDOM(-45,45),45,MRANDOM(-45,45))
  5272. Reappear()
  5273. CreateSound("1368583274", RightArm, 10, 1)
  5274. local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Neon", VT(0,0,0))
  5275. MakeForm(ORB,"Ball")
  5276. ORB.Color = C3(0,0,0)
  5277. ORB.CFrame = RightArm.CFrame * CF(0,-2,0)
  5278. for i=0, 4, 0.1 / Animation_Speed do
  5279. Swait()
  5280. ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  5281. ORB.Size = ORB.Size + VT(0.03,0.03,0.03)
  5282. CreateRing(VT(25,25,0),false,0,25,ORB.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-1,-1,0))
  5283. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  5284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  5285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  5286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5290. end
  5291. for i = 1, 5 do
  5292. Swait()
  5293. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  5294. ORB.Size = ORB.Size * 0.8
  5295. end
  5296. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,25,0))
  5297. MakeForm(BEAM,"Ball")
  5298. local BEAM2 = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Neon", VT(0,1000,0))
  5299. MakeForm(BEAM2,"Cyl")
  5300. BEAM.CFrame = ORB.CFrame * CF(0,0,10)
  5301. ORB.Color = BRICKC("Really red").Color
  5302. for i = 1, 5 do
  5303. Swait()
  5304. CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  5305. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  5306. BEAM.Size = BEAM.Size + VT(2,0,2)
  5307. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  5308. BEAM2.Size = BEAM2.Size + VT(2,0,2)
  5309. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  5310. ORB.Size = ORB.Size * 1.3
  5311. end
  5312. CreateSound("1368605755", Effects, 10, 1)
  5313. HITBODY:BreakJoints()
  5314. TORS.Anchored = false
  5315. local POS = TORS.Position
  5316. for i = 1, 25 do
  5317. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/3,POWERLEVEL/3,0))
  5318. CreateRing(VT(0,0,0),false,0,25,TORS.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(POWERLEVEL/4,POWERLEVEL/4,0))
  5319. end
  5320. for i=0, 2, 0.1 / Animation_Speed do
  5321. Swait()
  5322. killnearest(POS,15,700)
  5323. CreateRing(VT(0,0,0.1),false,0,10,RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(2,2,0))
  5324. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  5325. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  5326. ORB.CFrame = RightArm.CFrame * CF(0,-2-(ORB.Size.Z/2),0)
  5327. RootPart.CFrame = CF(RootPart.Position,POS)
  5328. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  5329. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  5330. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5331. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5332. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5333. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  5334. end
  5335. for i = 1, 5 do
  5336. Swait()
  5337. BEAM.CFrame = ORB.CFrame * CF(0,-12.5,0)
  5338. BEAM.Size = BEAM.Size - VT(2,0,2)
  5339. BEAM2.CFrame = ORB.CFrame * CF(0,-512.5,0)
  5340. BEAM2.Size = BEAM2.Size - VT(2,0,2)
  5341. RootPart.CFrame = CF(RootPart.Position,TORS.Position)
  5342. ORB.Size = ORB.Size * 0.8
  5343. end
  5344. turnto(POS)
  5345. ORB:remove()
  5346. BEAM:remove()
  5347. BEAM2:remove()
  5348. ATTACK = false
  5349. Rooted = false
  5350. end
  5351. end
  5352. end
  5353. function killnearest(position,range,maxstrength)
  5354. for i,v in ipairs(workspace:GetChildren()) do
  5355. if v.ClassName == "Model" then
  5356. local body = v:GetChildren()
  5357. for part = 1, #body do
  5358. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5359. if(body[part].Position - position).Magnitude < range then
  5360. if v.ClassName == "Model" then
  5361. v:BreakJoints()
  5362. end
  5363. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5364. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5365. end
  5366. end
  5367. end
  5368. end
  5369. end
  5370. end
  5371. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5372. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5373. local mesh = IT("SpecialMesh",wave)
  5374. mesh.MeshType = "FileMesh"
  5375. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5376. mesh.Scale = SIZE
  5377. mesh.Offset = VT(0,0,-SIZE.X/8)
  5378. wave.CFrame = CFRAME
  5379. coroutine.resume(coroutine.create(function(PART)
  5380. for i = 1, WAIT do
  5381. Swait()
  5382. mesh.Scale = mesh.Scale + GROW
  5383. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5384. if DOESROT == true then
  5385. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5386. end
  5387. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5388. if wave.Transparency > 0.99 then
  5389. wave:remove()
  5390. end
  5391. end
  5392. end))
  5393. end
  5394.  
  5395. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5396. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5397. local mesh = IT("SpecialMesh",wave)
  5398. mesh.MeshType = "FileMesh"
  5399. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5400. mesh.Scale = SIZE
  5401. mesh.Offset = VT(0,0,0)
  5402. wave.CFrame = CFRAME
  5403. coroutine.resume(coroutine.create(function(PART)
  5404. for i = 1, WAIT do
  5405. Swait()
  5406. mesh.Scale = mesh.Scale + GROW
  5407. if DOESROT == true then
  5408. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5409. end
  5410. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5411. if wave.Transparency > 0.99 then
  5412. wave:remove()
  5413. end
  5414. end
  5415. end))
  5416. end
  5417.  
  5418. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5419. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5420. local mesh = IT("SpecialMesh",wave)
  5421. mesh.MeshType = "Sphere"
  5422. mesh.Scale = SIZE
  5423. mesh.Offset = VT(0,0,0)
  5424. wave.CFrame = CFRAME
  5425. coroutine.resume(coroutine.create(function(PART)
  5426. for i = 1, WAIT do
  5427. Swait()
  5428. mesh.Scale = mesh.Scale + GROW
  5429. wave.Transparency = wave.Transparency + (1/WAIT)
  5430. if wave.Transparency > 0.99 then
  5431. wave:remove()
  5432. end
  5433. end
  5434. end))
  5435. end
  5436.  
  5437. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  5438. if FLOOR ~= nil then
  5439. coroutine.resume(coroutine.create(function()
  5440. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  5441. PART.CFrame = CF(POSITION)
  5442. for i = 1, 45 do
  5443. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  5444. RingPiece.Material = FLOOR.Material
  5445. RingPiece.Color = FLOOR.Color
  5446. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5447. Debris:AddItem(RingPiece,SWAIT)
  5448. end
  5449. PART:remove()
  5450. end))
  5451. end
  5452. end
  5453.  
  5454. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  5455. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5456. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  5457. wave.CFrame = CFRAME
  5458. coroutine.resume(coroutine.create(function(PART)
  5459. for i = 1, WAIT do
  5460. Swait()
  5461. mesh.Scale = mesh.Scale * GROW
  5462. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5463. if wave.Transparency > 0.99 then
  5464. wave:remove()
  5465. end
  5466. end
  5467. end))
  5468. end
  5469.  
  5470. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  5471. if FLOOR ~= nil then
  5472. for i = 1, AMOUNT do
  5473. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Debree", BLOCKSIZE, false)
  5474. DEBREE.Material = FLOOR.Material
  5475. DEBREE.Color = FLOOR.Color
  5476. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  5477. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  5478. coroutine.resume(coroutine.create(function()
  5479. Swait(15)
  5480. DEBREE.Parent = workspace
  5481. DEBREE.CanCollide = true
  5482. Debris:AddItem(DEBREE,SWAIT)
  5483. end))
  5484. end
  5485. end
  5486. end
  5487.  
  5488. function MakeForm(PART,TYPE)
  5489. if TYPE == "Cyl" then
  5490. local MSH = IT("CylinderMesh",PART)
  5491. elseif TYPE == "Ball" then
  5492. local MSH = IT("SpecialMesh",PART)
  5493. MSH.MeshType = "Sphere"
  5494. elseif TYPE == "Wedge" then
  5495. local MSH = IT("SpecialMesh",PART)
  5496. MSH.MeshType = "Wedge"
  5497. end
  5498. end
  5499.  
  5500. function CheckTableForString(Table, String)
  5501. for i, v in pairs(Table) do
  5502. if string.find(string.lower(String), string.lower(v)) then
  5503. return true
  5504. end
  5505. end
  5506. return false
  5507. end
  5508.  
  5509. function CheckIntangible(Hit)
  5510. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  5511. if Hit and Hit.Parent then
  5512. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  5513. return true
  5514. end
  5515. end
  5516. return false
  5517. end
  5518.  
  5519. Debris = game:GetService("Debris")
  5520.  
  5521. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5522. local Direction = CFrame.new(StartPos, Vec).lookVector
  5523. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  5524. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  5525. if RayHit and CheckIntangible(RayHit) then
  5526. if DelayIfHit then
  5527. wait()
  5528. end
  5529. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  5530. end
  5531. return RayHit, RayPos, RayNormal
  5532. end
  5533.  
  5534. function turnto(position)
  5535. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  5536. end
  5537. function Boost()
  5538. ATTACK = true
  5539. Rooted = true
  5540. CreateSound("466493476", Torso, 10, MRANDOM(7, 12) / 10)
  5541. for i = 1, 50 do
  5542. Swait()
  5543. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(90),RAD(0)),"Really red",VT(i/5,i/5,0))
  5544. CreateRing(VT(0,0,0),false,0,5,RootPart.CFrame*ANGLES(RAD(0),RAD(0),RAD(0)),"Really red",VT(i/5,i/5,0))
  5545. CreateRing(VT(0,0,0),false,0,25,RootPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Institutional white",VT(i/3,i/3,0))
  5546. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5547. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(140 + 2.5 * SIN(SINE / 12)), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  5550. 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(-25 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5551. 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(-45 - 2.5 * SIN(SINE / 12))), 3 / Animation_Speed)
  5552. end
  5553. POWERLEVEL = POWERLEVEL + 1
  5554. ATTACK = false
  5555. Rooted = false
  5556. end
  5557. function Perfect_Command()
  5558. ATTACK = true
  5559. Rooted = true
  5560. chatfunc("Weaklings...")
  5561. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5562. CreateSound("1368605755", Effects, 10, 1)
  5563. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5564. ApplyAoE(Torso.Position, 9999, 0, 0, 0, true)
  5565. ATTACK = false
  5566. Rooted = false
  5567. end
  5568.  
  5569. function killnearest2(position,range,maxstrength)
  5570. for i,v in ipairs(workspace:GetChildren()) do
  5571. if v.ClassName == "Model" then
  5572. local body = v:GetChildren()
  5573. for part = 1, #body do
  5574. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5575. if(body[part].Position - position).Magnitude < range then
  5576. if v.ClassName == "Model" then
  5577. v:BreakJoints()
  5578. end
  5579. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5580. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5581. end
  5582. end
  5583. end
  5584. end
  5585. end
  5586. end
  5587.  
  5588. function killnearest(position,range,maxstrength,direction)
  5589. for i,v in ipairs(workspace:GetChildren()) do
  5590. local body = v:GetChildren()
  5591. for part = 1, #body do
  5592. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5593. if(body[part].Position - position).Magnitude < range then
  5594. if v.ClassName == "Model" then
  5595. --v:BreakJoints()
  5596. end
  5597. local POS = position
  5598. coroutine.resume(coroutine.create(function()
  5599. body[part].Anchored = true
  5600. body[part].Parent = Effects
  5601. body[part].CanCollide = true
  5602. local SIZE = body[part].Size
  5603. body[part].Material = "Neon"
  5604. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  5605. for i = 1, 75 do
  5606. Swait()
  5607. body[part].Color = Color3.fromRGB(cR,cG,cB)
  5608. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5609. end
  5610. coroutine.resume(coroutine.create(function()
  5611. while true do
  5612. Swait()
  5613. body[part].Color = Color3.fromRGB(cR,cG,cB)
  5614. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5615. end
  5616. end))
  5617. body[part].Anchored = false
  5618. body[part].Velocity = direction.lookVector*maxstrength
  5619. end))
  5620. end
  5621. end
  5622. end
  5623. if v.ClassName == "Part" then
  5624. if v.Anchored == false and (v.Position - position).Magnitude < range then
  5625. local POS = position
  5626. coroutine.resume(coroutine.create(function()
  5627. v.Anchored = true
  5628. v.Parent = Effects
  5629. local SIZE = v.Size
  5630. v.Material = "Neon"
  5631. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  5632. for i = 1, 75 do
  5633. Swait()
  5634. v.Color = Color3.fromRGB(cR,cG,cB)
  5635. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5636. end
  5637. coroutine.resume(coroutine.create(function()
  5638. while true do
  5639. Swait()
  5640. v.Color = Color3.fromRGB(cR,cG,cB)
  5641. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  5642. end
  5643. end))
  5644. v.Anchored = false
  5645. v.Velocity = direction.lookVector*maxstrength
  5646. end))
  5647. end
  5648. end
  5649. end
  5650. end
  5651. function WACKYEFFECT(Table)
  5652. local TYPE = Table.EffectType or "Sphere"
  5653. local SIZE = Table.Size or VT(1, 1, 1)
  5654. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  5655. local TRANSPARENCY = Table.Transparency or 0
  5656. local ENDTRANSPARENCY = Table.Transparency2 or 1
  5657. local CFRAME = Table.CFrame or Torso.CFrame
  5658. local MOVEDIRECTION = Table.MoveToPos or nil
  5659. local ROTATION1 = Table.RotationX or 0
  5660. local ROTATION2 = Table.RotationY or 0
  5661. local ROTATION3 = Table.RotationZ or 0
  5662. local MATERIAL = Table.Material or "Neon"
  5663. local COLOR = Table.Color or C3(1, 1, 1)
  5664. local TIME = Table.Time or 45
  5665. local SOUNDID = Table.SoundID or nil
  5666. local SOUNDPITCH = Table.SoundPitch or nil
  5667. local SOUNDVOLUME = Table.SoundVolume or nil
  5668. coroutine.resume(coroutine.create(function()
  5669. local PLAYSSOUND = false
  5670. local SOUND
  5671. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  5672. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  5673. PLAYSSOUND = true
  5674. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  5675. end
  5676. EFFECT.Color = COLOR
  5677. local MSH
  5678. if TYPE == "Sphere" then
  5679. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  5680. elseif TYPE == "Block" then
  5681. MSH = IT("BlockMesh", EFFECT)
  5682. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  5683. elseif TYPE == "Wave" then
  5684. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  5685. elseif TYPE == "Ring" then
  5686. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  5687. elseif TYPE == "Slash" then
  5688. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  5689. elseif TYPE == "Round Slash" then
  5690. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  5691. elseif TYPE == "Swirl" then
  5692. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  5693. elseif TYPE == "Skull" then
  5694. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  5695. elseif TYPE == "Crystal" then
  5696. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  5697. end
  5698. if MSH ~= nil then
  5699. local MOVESPEED
  5700. if MOVEDIRECTION ~= nil then
  5701. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  5702. end
  5703. local GROWTH = SIZE - ENDSIZE
  5704. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  5705. if TYPE == "Block" then
  5706. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  5707. else
  5708. EFFECT.CFrame = CFRAME
  5709. end
  5710. for LOOP = 1, TIME do
  5711. Swait()
  5712. MSH.Scale = MSH.Scale - GROWTH / TIME
  5713. if TYPE == "Wave" then
  5714. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  5715. end
  5716. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  5717. if TYPE == "Block" then
  5718. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  5719. else
  5720. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  5721. end
  5722. if MOVEDIRECTION ~= nil then
  5723. local ORI = EFFECT.Orientation
  5724. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  5725. EFFECT.Orientation = ORI
  5726. end
  5727. end
  5728. if PLAYSSOUND == false then
  5729. EFFECT:remove()
  5730. else
  5731. repeat
  5732. Swait()
  5733. until SOUND.Playing == false
  5734. EFFECT:remove()
  5735. end
  5736. elseif PLAYSSOUND == false then
  5737. EFFECT:remove()
  5738. else
  5739. repeat
  5740. Swait()
  5741. until SOUND.Playing == false
  5742. EFFECT:remove()
  5743. end
  5744. end))
  5745. end
  5746. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  5747. if FLOOR ~= nil then
  5748. coroutine.resume(coroutine.create(function()
  5749. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  5750. PART.CFrame = CF(POSITION)
  5751. for i = 1, 45 do
  5752. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  5753. RingPiece.Material = FLOOR.Material
  5754. RingPiece.Color = FLOOR.Color
  5755. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  5756. Debris:AddItem(RingPiece, SWAIT)
  5757. end
  5758. PART:remove()
  5759. end))
  5760. end
  5761. end
  5762. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  5763. if FLOOR ~= nil then
  5764. for i = 1, AMOUNT do
  5765. do
  5766. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  5767. DEBREE.Material = FLOOR.Material
  5768. DEBREE.Color = FLOOR.Color
  5769. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  5770. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  5771. coroutine.resume(coroutine.create(function()
  5772. Swait(15)
  5773. DEBREE.Parent = workspace
  5774. DEBREE.CanCollide = true
  5775. Debris:AddItem(DEBREE, SWAIT)
  5776. end))
  5777. end
  5778. end
  5779. end
  5780. end
  5781.  
  5782. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  5783. for _, c in pairs(PARENT:GetChildren()) do
  5784. if c.ClassName == "Model" then
  5785. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  5786. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  5787. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  5788. if DIST > (TORSO.Position - FROM).Magnitude then
  5789. table.insert(TABLE, c)
  5790. end
  5791. AddChildrenToTable(FROM, c, DIST, TABLE)
  5792. elseif c.ClassName == "Folder" then
  5793. AddChildrenToTable(FROM, c, DIST, TABLE)
  5794. end
  5795. end
  5796. end
  5797. end
  5798.  
  5799. function MakeForm(PART, TYPE)
  5800. if TYPE == "Cyl" then
  5801. local MSH = IT("CylinderMesh", PART)
  5802. elseif TYPE == "Ball" then
  5803. local MSH = IT("SpecialMesh", PART)
  5804. MSH.MeshType = "Sphere"
  5805. elseif TYPE == "Wedge" then
  5806. local MSH = IT("SpecialMesh", PART)
  5807. MSH.MeshType = "Wedge"
  5808. end
  5809. end
  5810.  
  5811. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  5812. if DoesCourontine == false then
  5813. local Direction = CF(Part.Position, ToLocation)
  5814. local Distance = (Part.Position - ToLocation).magnitude
  5815. for i = 1, AmountOfTime do
  5816. Swait()
  5817. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5818. Direction = Part.CFrame
  5819. end
  5820. Part:remove()
  5821. elseif DoesCourontine == true then
  5822. coroutine.resume(coroutine.create(function()
  5823. local Direction = CF(Part.Position, ToLocation)
  5824. local Distance = (Part.Position - ToLocation).magnitude
  5825. for i = 1, AmountOfTime do
  5826. Swait()
  5827. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  5828. Direction = Part.CFrame
  5829. end
  5830. Part:remove()
  5831. end))
  5832. end
  5833. end
  5834.  
  5835. function CheckTableForString(Table, String)
  5836. for i, v in pairs(Table) do
  5837. if string.find(string.lower(String), string.lower(v)) then
  5838. return true
  5839. end
  5840. end
  5841. return false
  5842. end
  5843. function CheckIntangible(Hit)
  5844. local ProjectileNames = {
  5845. "Water",
  5846. "Arrow",
  5847. "Projectile",
  5848. "Effect",
  5849. "Rail",
  5850. "Lightning",
  5851. "Bullet"
  5852. }
  5853. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  5854. return true
  5855. end
  5856. return false
  5857. end
  5858. Debris = game:GetService("Debris")
  5859. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  5860. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  5861. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  5862. if RayHit and CheckIntangible(RayHit) then
  5863. if DelayIfHit then
  5864. wait()
  5865. end
  5866. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  5867. end
  5868. return RayHit, RayPos, RayNormal
  5869. end
  5870.  
  5871. NewInstance = function(instance,parent,properties)
  5872. local inst = Instance.new(instance,parent)
  5873. if(properties)then
  5874. for i,v in next, properties do
  5875. pcall(function() inst[i] = v end)
  5876. end
  5877. end
  5878. return inst;
  5879. end
  5880.  
  5881. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  5882. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5883. local mesh = IT("SpecialMesh",wave)
  5884. mesh.MeshType = "Sphere"
  5885. mesh.Scale = SIZE
  5886. mesh.Offset = VT(0,0,0)
  5887. wave.CFrame = CFRAME
  5888. coroutine.resume(coroutine.create(function(PART)
  5889. for i = 1, WAIT do
  5890. Swait()
  5891. mesh.Scale = mesh.Scale + GROW
  5892. wave.Transparency = wave.Transparency + (1/WAIT)
  5893. if wave.Transparency > 0.99 then
  5894. wave:remove()
  5895. end
  5896. end
  5897. end))
  5898. end
  5899.  
  5900. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5901. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5902. local mesh = IT("SpecialMesh",wave)
  5903. mesh.MeshType = "FileMesh"
  5904. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5905. mesh.Scale = SIZE
  5906. mesh.Offset = VT(0,0,0)
  5907. wave.CFrame = CFRAME
  5908. coroutine.resume(coroutine.create(function(PART)
  5909. for i = 1, WAIT do
  5910. Swait()
  5911. mesh.Scale = mesh.Scale + GROW
  5912. if DOESROT == true then
  5913. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5914. end
  5915. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5916. if wave.Transparency > 0.99 then
  5917. wave:remove()
  5918. end
  5919. end
  5920. end))
  5921. end
  5922.  
  5923. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  5924. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  5925. local mesh = IT("SpecialMesh",wave)
  5926. mesh.MeshType = "FileMesh"
  5927. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5928. mesh.Scale = SIZE
  5929. mesh.Offset = VT(0,0,0)
  5930. wave.CFrame = CFRAME
  5931. coroutine.resume(coroutine.create(function(PART)
  5932. for i = 1, WAIT do
  5933. Swait()
  5934. mesh.Scale = mesh.Scale + GROW
  5935. if DOESROT == true then
  5936. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5937. end
  5938. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5939. if wave.Transparency > 0.99 then
  5940. wave:remove()
  5941. end
  5942. end
  5943. end))
  5944. end
  5945.  
  5946. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  5947. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  5948. local mesh = IT("SpecialMesh",wave)
  5949. mesh.MeshType = "Sphere"
  5950. mesh.Scale = SIZE
  5951. mesh.Offset = VT(0,0,0)
  5952. wave.CFrame = CFRAME
  5953. coroutine.resume(coroutine.create(function(PART)
  5954. for i = 1, WAIT do
  5955. Swait()
  5956. mesh.Scale = mesh.Scale + GROW
  5957. wave.Transparency = wave.Transparency + (1/WAIT)
  5958. if wave.Transparency > 0.99 then
  5959. wave:remove()
  5960. end
  5961. end
  5962. end))
  5963. end
  5964.  
  5965. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  5966. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
  5967. local mesh = IT("SpecialMesh",wave)
  5968. mesh.MeshType = "FileMesh"
  5969. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5970. mesh.Scale = SIZE
  5971. mesh.Offset = VT(0,0,-SIZE.X/8)
  5972. wave.CFrame = CFRAME
  5973. coroutine.resume(coroutine.create(function(PART)
  5974. for i = 1, WAIT do
  5975. Swait()
  5976. mesh.Scale = mesh.Scale + GROW
  5977. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  5978. if DOESROT == true then
  5979. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5980. end
  5981. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5982. if wave.Transparency > 0.99 then
  5983. wave:remove()
  5984. end
  5985. end
  5986. end))
  5987. end
  5988.  
  5989. function CreateWave2(inair,size,doesrotate,rotatedirection,waitt,part,offset)
  5990. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Bright orange", "Effect", VT(0,0,0))
  5991. local mesh = IT("SpecialMesh",wave)
  5992. mesh.MeshType = "FileMesh"
  5993. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5994. mesh.Scale = VT(size,size,size)
  5995. mesh.Offset = VT(0,0,-size/8)
  5996. wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0))
  5997. coroutine.resume(coroutine.create(function(PART)
  5998. for i = 1, waitt do
  5999. Swait()
  6000. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  6001. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6002. if doesrotate == true then
  6003. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  6004. end
  6005. wave.Transparency = wave.Transparency + (0.5/waitt)
  6006. if wave.Transparency > 0.99 then
  6007. wave:remove()
  6008. end
  6009. end
  6010. end))
  6011. end
  6012.  
  6013. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  6014. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Effect", VT(0,0,0))
  6015. local mesh = IT("SpecialMesh",wave)
  6016. mesh.MeshType = "FileMesh"
  6017. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  6018. mesh.Scale = SIZE
  6019. wave.CFrame = CFRAME
  6020. coroutine.resume(coroutine.create(function(PART)
  6021. for i = 1, WAIT do
  6022. Swait()
  6023. mesh.Scale = mesh.Scale + GROW
  6024. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6025. if DOESROT == true then
  6026. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6027. end
  6028. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6029. if wave.Transparency > 0.99 then
  6030. wave:remove()
  6031. end
  6032. end
  6033. end))
  6034. end
  6035.  
  6036. function Imperfect_Command()
  6037. ATTACK = true
  6038. Rooted = true
  6039. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6040. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  6041. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  6042. if TORSO then
  6043. local GYRO = IT("BodyGyro", RootPart)
  6044. GYRO.D = 750
  6045. GYRO.P = 2000
  6046. GYRO.MaxTorque = VT(0, 40000, 0)
  6047. CreateSound("907330103", Torso, 10, 1)
  6048. for i = 0, 1.6, 0.1 / Animation_Speed do
  6049. Swait()
  6050. WACKYEFFECT({
  6051. Time = 5,
  6052. EffectType = "Round Slash",
  6053. Size = VT(0, 0, 0),
  6054. Size2 = VT(0.01, 0, 0.01),
  6055. Transparency = 0.5,
  6056. Transparency2 = 1,
  6057. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6058. MoveToPos = nil,
  6059. RotationX = MRANDOM(-50, 50) / 10,
  6060. RotationY = MRANDOM(-50, 50) / 10,
  6061. RotationZ = MRANDOM(-50, 50) / 10,
  6062. Material = "Neon",
  6063. Color = C3(1, 0, 0),
  6064. SoundID = nil,
  6065. SoundPitch = nil,
  6066. SoundVolume = nil
  6067. })
  6068. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  6069. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  6070. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  6071. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6072. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6073. if ANIM == "Idle" then
  6074. 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)
  6075. 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)
  6076. elseif ANIM == "Walk" then
  6077. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6079. elseif ANIM == "Jump" or ANIM == "Fall" then
  6080. 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)
  6081. 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)
  6082. end
  6083. end
  6084. GYRO:remove()
  6085. for i = 1, 15 do
  6086. WACKYEFFECT({
  6087. Time = MRANDOM(15, 85),
  6088. EffectType = "Round Slash",
  6089. Size = VT(0, 0, 0),
  6090. Size2 = VT(0.3, 0, 0.3),
  6091. Transparency = 0.5,
  6092. Transparency2 = 1,
  6093. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6094. MoveToPos = nil,
  6095. RotationX = MRANDOM(-50, 50) / 10,
  6096. RotationY = MRANDOM(-50, 50) / 10,
  6097. RotationZ = MRANDOM(-50, 50) / 10,
  6098. Material = "Neon",
  6099. Color = C3(1, 0, 0),
  6100. SoundID = nil,
  6101. SoundPitch = nil,
  6102. SoundVolume = nil
  6103. })
  6104. end
  6105. local bv = Instance.new("BodyVelocity")
  6106. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  6107. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  6108. bv.Parent = TORSO
  6109. Debris:AddItem(bv, 0.05)
  6110. CreateSound("1222405264", TORSO, 10, 1)
  6111. Petrify(HUM.Parent)
  6112. for i = 0, 0.5, 0.1 / Animation_Speed do
  6113. Swait()
  6114. WACKYEFFECT({
  6115. Time = 5,
  6116. EffectType = "Round Slash",
  6117. Size = VT(0, 0, 0),
  6118. Size2 = VT(0.01, 0, 0.01),
  6119. Transparency = 0.5,
  6120. Transparency2 = 1,
  6121. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  6122. MoveToPos = nil,
  6123. RotationX = MRANDOM(-50, 50) / 10,
  6124. RotationY = MRANDOM(-50, 50) / 10,
  6125. RotationZ = MRANDOM(-50, 50) / 10,
  6126. Material = "Neon",
  6127. Color = C3(1, 0, 0),
  6128. SoundID = nil,
  6129. SoundPitch = nil,
  6130. SoundVolume = nil
  6131. })
  6132. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  6133. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  6134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  6135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6137. if ANIM == "Idle" then
  6138. 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)
  6139. 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)
  6140. elseif ANIM == "Walk" then
  6141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6143. elseif ANIM == "Jump" or ANIM == "Fall" then
  6144. 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)
  6145. 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)
  6146. end
  6147. end
  6148. end
  6149. end
  6150. ATTACK = false
  6151. Rooted = false
  6152. end
  6153.  
  6154. function Rainbow()
  6155. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  6156. CHOICE = 6
  6157.  
  6158. chatfunc("RainBow made me fly.")
  6159. for i = 0, 12, .1 do
  6160. swait(0.35)
  6161. end
  6162.  
  6163. chatfunc("Its time to p e r i s h.")
  6164. for i = 0, 16, .1 do
  6165. end
  6166. swait(0.15)
  6167. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1000,1000,1000))
  6168. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(75,75,75))
  6169. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
  6170. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(25,25,25))
  6171. CreateSound("1368605755", Effects, 10, 1)
  6172. CreateSound("265201042", Effects, 10, 0.5)
  6173.  
  6174. back = CreateSound(1192655599, Character, 9999, 1, true)
  6175. DemonForm = true
  6176. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  6177. sillsky.SkyboxBk = "rbxassetid://157712259"
  6178. sillsky.SkyboxDn = "rbxassetid://157712247"
  6179. sillsky.SkyboxFt = "rbxassetid://157712266"
  6180. sillsky.SkyboxLf = "rbxassetid://157712240"
  6181. sillsky.SkyboxRt = "rbxassetid://157712254"
  6182. sillsky.SkyboxUp = "rbxassetid://157712276"
  6183. sillsky.StarCount = 0
  6184. sillsky.SunAngularSize = 0
  6185. sillsky.MoonAngularSize = 0
  6186. sillsky.MoonTextureId = ""
  6187. sillsky.CelestialBodiesShown = false
  6188. game.Lighting.FogColor = Color3.new(1,0,0)
  6189. game.Lighting.FogEnd = 1400
  6190. end
  6191.  
  6192. function Needle()
  6193. ATTACK = true
  6194. Rooted = true
  6195. local GYRO = IT("BodyGyro",RootPart)
  6196. GYRO.D = 2
  6197. GYRO.P = 2000
  6198. GYRO.MaxTorque = VT(0,4000000,0)
  6199. local NEEDGYRO = true
  6200. coroutine.resume(coroutine.create(function()
  6201. repeat
  6202. Swait()
  6203. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6204. until NEEDGYRO == false
  6205. GYRO:Remove()
  6206. end))
  6207. for i=0, 0.3, 0.1 / Animation_Speed do
  6208. Swait()
  6209. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  6210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  6211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6213. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6214. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6215. end
  6216. for i=0, 1, 0.1 / Animation_Speed do
  6217. Swait()
  6218. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  6219. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  6220. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6221. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6222. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6223. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6224. end
  6225. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  6226. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
  6227. NEEDGYRO = false
  6228. if HIT then
  6229. local NEEDLE = IT("Model",Effects)
  6230. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  6231. MakeForm(BASE,"Cyl")
  6232. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  6233. weldBetween(BASE,HIT)
  6234. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  6235. MakeForm(FLUID,"Cyl")
  6236. FLUID.CFrame = BASE.CFrame
  6237. weldBetween(BASE,FLUID)
  6238. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  6239. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  6240. weldBetween(BASE,PART)
  6241. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  6242. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  6243. weldBetween(BASE,PART)
  6244. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  6245. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  6246. weldBetween(BASE,PART)
  6247. Debris:AddItem(NEEDLE,7)
  6248. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  6249. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  6250. coroutine.resume(coroutine.create(function()
  6251. for i = 1, 500 do
  6252. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  6253. if HUMAN.Health == 0 then
  6254. break
  6255. end
  6256. Swait(2)
  6257. end
  6258. if HUMAN.Health == 0 then
  6259. local CHILD = HUMAN.Parent
  6260. if CHILD:FindFirstChild("Torso") then
  6261. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  6262. Ragdoll(CHILD,Torso,true)
  6263. elseif CHILD:FindFirstChild("UpperTorso") then
  6264. R15Ragdoll(CHILD,true)
  6265. end
  6266. end
  6267. end))
  6268. end
  6269. end
  6270. for i=0, 1, 0.1 / Animation_Speed do
  6271. Swait()
  6272. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  6273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  6274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6276. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6277. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6278. end
  6279. ATTACK = false
  6280. Rooted = false
  6281. end
  6282. function R15Ragdoll(character,KeepArms)
  6283. character:BreakJoints()
  6284. coroutine.resume(coroutine.create(function()
  6285. recurse(character, function(_,v)
  6286. if v:IsA("Attachment") then
  6287. v.Axis = Vector3.new(0, 1, 0)
  6288. v.SecondaryAxis = Vector3.new(0, 0, 1)
  6289. v.Rotation = Vector3.new(0, 0, 0)
  6290. end
  6291. end)
  6292. for _,child in next,character:GetChildren() do
  6293. if child:IsA("Accoutrement") then
  6294. for _,part in next,child:GetChildren() do
  6295. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  6296. local attachment1 = part:FindFirstChildOfClass("Attachment")
  6297. local attachment0 = getAttachment0(character,attachment1.Name)
  6298. if attachment0 and attachment1 then
  6299. local constraint = Instance.new("HingeConstraint")
  6300. constraint.Attachment0 = attachment0
  6301. constraint.Attachment1 = attachment1
  6302. constraint.LimitsEnabled = true
  6303. constraint.UpperAngle = 0
  6304. constraint.LowerAngle = 0
  6305. constraint.Parent = character
  6306. end
  6307. ArtificialHitbox(part)
  6308. elseif part.Name == "HumanoidRootPart" then
  6309. part:remove()
  6310. end
  6311. end
  6312. end
  6313. end
  6314.  
  6315. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  6316. {"LimitsEnabled",true};
  6317. {"UpperAngle",5};
  6318. })
  6319. if character:FindFirstChild("Head") then
  6320. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  6321. {"LimitsEnabled",true};
  6322. {"UpperAngle",15};
  6323. })
  6324. end
  6325.  
  6326. local handProperties = {
  6327. {"LimitsEnabled", true};
  6328. {"UpperAngle",0};
  6329. {"LowerAngle",0};
  6330. }
  6331. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  6332. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  6333.  
  6334. local shinProperties = {
  6335. {"LimitsEnabled", true};
  6336. {"UpperAngle", 0};
  6337. {"LowerAngle", -75};
  6338. }
  6339. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  6340. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  6341.  
  6342. local footProperties = {
  6343. {"LimitsEnabled", true};
  6344. {"UpperAngle", 15};
  6345. {"LowerAngle", -45};
  6346. }
  6347. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  6348. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  6349. if KeepArms == true then
  6350. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  6351. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  6352. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  6353. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  6354. end
  6355. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  6356. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  6357. Debris:AddItem(character,5)
  6358. end))
  6359. end
  6360. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  6361. attachmentName = attachmentName.."RigAttachment"
  6362. local constraint = Instance.new(className.."Constraint")
  6363. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  6364. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  6365. constraint.Name = "RagdollConstraint"..part1.Name
  6366.  
  6367. for _,propertyData in next,properties or {} do
  6368. constraint[propertyData[1]] = propertyData[2]
  6369. end
  6370.  
  6371. constraint.Parent = character
  6372. end
  6373. function ArtificialHitbox(Part)
  6374. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  6375. HITBOX.CanCollide = true
  6376. HITBOX.CFrame = Part.CFrame
  6377. weldBetween(Part,HITBOX)
  6378. end
  6379. function getAttachment0(character, attachmentName)
  6380. for _,child in next,character:GetChildren() do
  6381. local attachment = child:FindFirstChild(attachmentName)
  6382. if attachment then
  6383. return attachment
  6384. end
  6385. end
  6386. end
  6387. function Mercy()
  6388. ATTACK = true
  6389. Rooted = true
  6390. local SPOTS = {}
  6391. for i = 1, 15 do
  6392. Swait()
  6393. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  6395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  6396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6397. end
  6398. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  6399. for i=0, 0.5, 0.1 / Animation_Speed do
  6400. Swait()
  6401. 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(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6402. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6403. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6404. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6405. end
  6406. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  6407. table.insert(SPOTS,HITPOS)
  6408. CreateSound(145080998, Hole, 2, 1, false)
  6409. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  6410. coroutine.resume(coroutine.create(function()
  6411. local POS = Mouse.Hit.p
  6412. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  6413. MakeForm(RAY,"Cyl")
  6414. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  6415. MakeForm(SPHERE,"Ball")
  6416. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  6417. MakeForm(SHIELD,"Ball")
  6418. SHIELD.CFrame = CF(POS)
  6419. RAY.CFrame = CF(POS)
  6420. SPHERE.CFrame = CF(POS)
  6421. CreateSound(440145570, SPHERE, 10, 0.8, false)
  6422. CreateSound(415700134, SPHERE, 10, 0.8, false)
  6423. for i = 1, 200 do
  6424. Swait()
  6425. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6426. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  6427. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  6428. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  6429. SPHERE.Size = SPHERE.Size + VT(3,3,3)
  6430. SHIELD.Size = SPHERE.Size + VT(4,4,4)
  6431. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  6432. end
  6433. for i = 1, 45 do
  6434. Swait()
  6435. RAY.Transparency = RAY.Transparency + 1/45
  6436. SPHERE.Transparency = RAY.Transparency
  6437. SHIELD.Transparency = SPHERE.Transparency + 1/45
  6438. end
  6439. RAY:remove()
  6440. SHIELD:remove()
  6441. SPHERE:remove()
  6442. end))
  6443. ATTACK = false
  6444. Rooted = false
  6445. end
  6446. --//=================================\\
  6447. --|| ASSIGN THINGS TO KEYS
  6448. --\\=================================//
  6449.  
  6450. function MouseDown(Mouse)
  6451. HOLD = true
  6452. if ATTACK == false then
  6453. end
  6454. end
  6455.  
  6456. function MouseUp(Mouse)
  6457. HOLD = false
  6458. end
  6459.  
  6460. function KeyDown(Key)
  6461. KEYHOLD = true
  6462. if Key == "z" and ATTACK == false then
  6463. Shot()
  6464. end
  6465.  
  6466. if Key == "y" and ATTACK == false then
  6467. Rainbow()
  6468. end
  6469.  
  6470. if Key == "v" and ATTACK == false then
  6471. Execute()
  6472. end
  6473.  
  6474. if Key == "l" and ATTACK == false then
  6475. Imperfect_Command()
  6476. end
  6477.  
  6478. if Key == "k" and ATTACK == false then
  6479. Perfect_Command()
  6480. end
  6481.  
  6482. if Key == "c" and ATTACK == false then
  6483. Bullet()
  6484. end
  6485.  
  6486. if Key == "n" and ATTACK == false then
  6487.  
  6488. end
  6489.  
  6490. if Key == "u" and ATTACK == false then
  6491. Needle()
  6492. end
  6493.  
  6494. if Key == "r" and ATTACK == false then
  6495. CyberSmash()
  6496. end
  6497.  
  6498.  
  6499. if Key == "x" and ATTACK == false then
  6500. Deathbound()
  6501. end
  6502.  
  6503. if Key == "g" and ATTACK == false then
  6504. Jupiter()
  6505. wait(1)
  6506. WarpMeteor()
  6507. end
  6508.  
  6509. if Key == "b" and ATTACK == false then
  6510. Lift()
  6511. end
  6512.  
  6513. if Key == "]" and ATTACK == false then
  6514. if POWERLEVEL < 5 then
  6515. Boost()
  6516. end
  6517. end
  6518.  
  6519. if Key == "h" and ATTACK == false then
  6520. Mercy()
  6521. end
  6522.  
  6523. if Key == "j" and ATTACK == false then
  6524. TimeStop ()
  6525. end
  6526.  
  6527. if Key == "t" and ATTACK == false then
  6528. HI()
  6529. end
  6530.  
  6531. if Key == "e" and ATTACK == false then
  6532. Morning_Star()
  6533. end
  6534.  
  6535. if Key == "f" and ATTACK == false then
  6536. Prison_Key()
  6537. end
  6538.  
  6539. if Key == "q" and ATTACK == false then
  6540. MagicMissiles()
  6541. end
  6542.  
  6543. if Key == "p" and ATTACK == false then
  6544.  
  6545. end
  6546. end
  6547. function KeyUp(Key)
  6548. KEYHOLD = false
  6549. end
  6550.  
  6551. Mouse.Button1Down:connect(function(NEWKEY)
  6552. MouseDown(NEWKEY)
  6553. end)
  6554. Mouse.Button1Up:connect(function(NEWKEY)
  6555. MouseUp(NEWKEY)
  6556. end)
  6557. Mouse.KeyDown:connect(function(NEWKEY)
  6558. KeyDown(NEWKEY)
  6559. end)
  6560. Mouse.KeyUp:connect(function(NEWKEY)
  6561. KeyUp(NEWKEY)
  6562. end)
  6563.  
  6564. --//=================================\\
  6565. --\\=================================//
  6566.  
  6567.  
  6568. function unanchor()
  6569. if UNANCHOR == true then
  6570. g = Character:GetChildren()
  6571. for i = 1, #g do
  6572. if g[i].ClassName == "Part" then
  6573. g[i].Anchored = false
  6574. end
  6575. end
  6576. end
  6577. end
  6578.  
  6579.  
  6580.  
  6581. --//=================================\\
  6582. --|| WRAP THE WHOLE SCRIPT UP
  6583. --\\=================================//
  6584.  
  6585. Humanoid.Changed:connect(function(Jump)
  6586. if Jump == "Jump" and (Disable_Jump == true) then
  6587. Humanoid.Jump = false
  6588. end
  6589. end)
  6590.  
  6591. local CONNECT = nil
  6592.  
  6593. while true do
  6594. Swait()
  6595. ANIMATE.Parent = nil
  6596. if Character:FindFirstChildOfClass("Humanoid") == nil then
  6597. Humanoid = IT("Humanoid",Character)
  6598. end
  6599. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  6600. v:Stop();
  6601. end
  6602. SINE = SINE + CHANGE
  6603. Humanoid.HipHeight = 1.5
  6604. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  6605. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  6606. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  6607. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  6608. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  6609. elseif TORSOVELOCITY > 1 then
  6610. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  6611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6613. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6614. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6615. 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)
  6616. end
  6617. if TORSOVERTICALVELOCITY > 1 then
  6618. ANIM = "Jump"
  6619. if ATTACK == false then
  6620. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6624. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  6625. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  6626. end
  6627. elseif TORSOVERTICALVELOCITY < -1 then
  6628. ANIM = "Fall"
  6629. if ATTACK == false then
  6630. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6631. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6632. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6633. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6634. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  6635. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  6636. end
  6637. elseif TORSOVELOCITY < 1 then
  6638. ANIM = "Idle"
  6639. if ATTACK == false then
  6640. 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(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6644. 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)
  6645. 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)
  6646. end
  6647. elseif TORSOVELOCITY > 1 then
  6648. ANIM = "Walk"
  6649. if ATTACK == false then
  6650. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0.7 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed*3)
  6651. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6652. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6653. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6654. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6655. 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)
  6656. end
  6657. end
  6658. unanchor()
  6659. Humanoid.MaxHealth = "inf"
  6660. Humanoid.Health = "inf"
  6661. if Rooted == false then
  6662. Disable_Jump = false
  6663. Humanoid.WalkSpeed = Speed
  6664. elseif Rooted == true then
  6665. Disable_Jump = true
  6666. Humanoid.WalkSpeed = 0
  6667. end
  6668. sick.Parent = Torso
  6669. sick:resume()
  6670. sick.Volume = 5
  6671. sick.Pitch = 1
  6672. sick.SoundId = "rbxassetid://722553316"
  6673. sick.Name = "Darkness"
  6674. end
  6675.  
  6676. --//=================================\\
  6677. --\\=================================//
  6678.  
  6679.  
  6680.  
  6681.  
  6682.  
  6683. --//====================================================\\--
  6684. --|| END OF SCRIPT
  6685. --\\====================================================//--]]
  6686.  
  6687. --//Do not touch anything below this line, you may break it.
  6688. local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
  6689. local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
  6690. if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
  6691. local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
  6692. local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement