Advertisement
BAconTUbe

SIRUSIS DIO

Feb 15th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 470.68 KB | None | 0 0
  1.  
  2.  
  3.  
  4. script.Name = "Fat Skidded Edit"
  5. --//====================================================\\--
  6. --|| RECREATED BY MrGoo345
  7. --\\====================================================//--
  8.  
  9.  
  10. print("Since I Have Gotten Better At Scripting I Decided to Recreate this clusterfuck")
  11. print("and that is me MrGoo345 who edited BH")
  12.  
  13.  
  14. script:ClearAllChildren()
  15. wait(0.2)
  16.  
  17. Player = game:GetService("Players").janndwayne
  18. PlayerGui = Player.PlayerGui
  19. Cam = workspace.CurrentCamera
  20. Backpack = Player.Backpack
  21. Character = Player.Character
  22. Humanoid = Character.Humanoid
  23. RootPart = Character["HumanoidRootPart"]
  24. Torso = Character["Torso"]
  25. Head = Character["Head"]
  26. RightArm = Character["Right Arm"]
  27. LeftArm = Character["Left Arm"]
  28. RightLeg = Character["Right Leg"]
  29. LeftLeg = Character["Left Leg"]
  30. RootJoint = RootPart["RootJoint"]
  31. Neck = Torso["Neck"]
  32. RightShoulder = Torso["Right Shoulder"]
  33. LeftShoulder = Torso["Left Shoulder"]
  34. RightHip = Torso["Right Hip"]
  35. LeftHip = Torso["Left Hip"]
  36. local TIME = 0
  37. local sick = Instance.new("Sound",Torso)
  38.  
  39. IT = Instance.new
  40. CF = CFrame.new
  41. VT = Vector3.new
  42. RAD = math.rad
  43. C3 = Color3.new
  44. UD2 = UDim2.new
  45. BRICKC = BrickColor.new
  46. ANGLES = CFrame.Angles
  47. EULER = CFrame.fromEulerAnglesXYZ
  48. COS = math.cos
  49. ACOS = math.acos
  50. SIN = math.sin
  51. ASIN = math.asin
  52. ABS = math.abs
  53. MRANDOM = math.random
  54. FLOOR = math.floor
  55. angles=CFrame.Angles
  56. local RWINGS = {}
  57. local LWINGS = {}
  58. local GunPoint
  59. Player_Size = 1
  60.  
  61. -- Thingy To Make Song Work
  62.  
  63. p = game.Players.janndwayne
  64.  
  65. char = p.Character
  66.  
  67. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  68. local s = Instance.new("Sound",char)
  69. s.Name = "BGMusic"
  70. s.SoundId = "rbxassetid://1906550226"
  71. s.Pitch = 1
  72. s.Volume = 40
  73. s.Looped = true
  74. s.archivable = false
  75. s.Parent = char.Head
  76. wait(0.1)
  77. s:play()
  78.  
  79. -- Rest of Script
  80. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This MrGoo345 created the looped song thing that is in here anyways.
  81.  
  82. local sine = 0
  83.  
  84. function clerp(a,b,t)
  85. local qa = {QuaternionFromCFrame(a)}
  86. local qb = {QuaternionFromCFrame(b)}
  87. local ax, ay, az = a.x, a.y, a.z
  88. local bx, by, bz = b.x, b.y, b.z
  89. local _t = 1-t
  90. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  91. end
  92.  
  93.  
  94.  
  95. --//=================================\\
  96. --|| PARTICLES N MODELS N STUFF
  97. --\\=================================//
  98.  
  99. local handle = Instance.new("Part")
  100. handle.Parent = Character
  101. handle.Size = Vector3.new(1,1,1)
  102. handle.Archivable = true
  103. handle.Transparency = 0.99
  104. handle.BrickColor = BrickColor.new("White")
  105. handle.Material = "Neon"
  106. local handlmesh = Instance.new("BlockMesh",handle)
  107. handlmesh.Scale = Vector3.new(1,1,1)
  108. local handleweld = Instance.new("Weld")
  109. handleweld.Parent = handle
  110. handleweld.Part0 = Torso
  111. handleweld.Part1 = handle
  112. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  113. local par = Instance.new("Part")
  114. par.Parent = Character
  115. par.Size = Vector3.new(0.2,0.2,0.2)
  116. par.Archivable = true
  117. par.Transparency = 0
  118. par.BrickColor = BrickColor.new("Really black")
  119. par.Material = "Metal"
  120. local parmesh = Instance.new("SpecialMesh",par)
  121. parmesh.MeshType = "FileMesh"
  122. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  123. parmesh.Scale = Vector3.new(5,5,5)
  124. local weld12 = Instance.new("Weld")
  125. weld12.Parent = par
  126. weld12.Part0 = handle
  127. weld12.Part1 = par
  128. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  129. local par2 = Instance.new("Part")
  130. par2.Parent = Character
  131. par2.Size = Vector3.new(0.2,0.2,0.2)
  132. par2.Archivable = true
  133. par2.Transparency = 0
  134. par2.BrickColor = BrickColor.new("Deep orange")
  135. par2.Material = "Metal"
  136. local parmesh2 = Instance.new("SpecialMesh",par2)
  137. parmesh2.MeshType = "FileMesh"
  138. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  139. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  140. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  141. parmesh2.TextureId = "rbxassetid://269748808"
  142. local weld13 = Instance.new("Weld")
  143. weld13.Parent = par2
  144. weld13.Part0 = handle
  145. weld13.Part1 = par2
  146. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  147. local par3 = Instance.new("Part")
  148. par3.Parent = Character
  149. par3.Size = Vector3.new(0.2,0.2,0.2)
  150. par3.Archivable = true
  151. par3.Transparency = 0
  152. par3.BrickColor = BrickColor.new("Deep orange")
  153. par3.Material = "Metal"
  154. local parmesh3 = Instance.new("SpecialMesh",par3)
  155. parmesh3.MeshType = "FileMesh"
  156. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  157. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  158. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  159. parmesh3.TextureId = "rbxassetid://269748808"
  160. local weld14 = Instance.new("Weld")
  161. weld14.Parent = par3
  162. weld14.Part0 = handle
  163. weld14.Part1 = par3
  164. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  165. local par4 = Instance.new("Part")
  166. par4.Parent = Character
  167. par4.Size = Vector3.new(0.2,0.2,0.2)
  168. par4.Archivable = true
  169. par4.Transparency = 0
  170. par4.BrickColor = BrickColor.new("Deep orange")
  171. par4.Material = "Metal"
  172. local parmesh4 = Instance.new("SpecialMesh",par4)
  173. parmesh4.MeshType = "FileMesh"
  174. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  175. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  176. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  177. parmesh4.TextureId = "rbxassetid://269748808"
  178. local weld15 = Instance.new("Weld")
  179. weld15.Parent = par4
  180. weld15.Part0 = handle
  181. weld15.Part1 = par4
  182. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  183. local par4a = Instance.new("Part")
  184. par4a.Parent = Character
  185. par4a.Size = Vector3.new(0.2,0.2,0.2)
  186. par4a.Archivable = true
  187. par4a.Transparency = 0
  188. par4a.BrickColor = BrickColor.new("Deep orange")
  189. par4a.Material = "Metal"
  190. local parmesh4a = Instance.new("SpecialMesh",par4a)
  191. parmesh4a.MeshType = "FileMesh"
  192. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  193. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  194. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  195. parmesh4a.TextureId = "rbxassetid://269748808"
  196. local weld15a = Instance.new("Weld")
  197. weld15a.Parent = par4a
  198. weld15a.Part0 = par4
  199. weld15a.Part1 = par4a
  200. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  201. local par4b = Instance.new("Part")
  202. par4b.Parent = Character
  203. par4b.Size = Vector3.new(0.2,0.2,0.2)
  204. par4b.Archivable = true
  205. par4b.Transparency = 0
  206. par4b.BrickColor = BrickColor.new("Deep orange")
  207. par4b.Material = "Metal"
  208. local parmesh4b = Instance.new("SpecialMesh",par4b)
  209. parmesh4b.MeshType = "FileMesh"
  210. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  211. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  212. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  213. parmesh4b.TextureId = "rbxassetid://269748808"
  214. local weld15b = Instance.new("Weld")
  215. weld15b.Parent = par4b
  216. weld15b.Part0 = par4
  217. weld15b.Part1 = par4b
  218. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  219. local par5 = Instance.new("Part")
  220. par5.Parent = Character
  221. par5.Size = Vector3.new(0.2,0.2,0.2)
  222. par5.Archivable = true
  223. par5.Transparency = 0
  224. par5.BrickColor = BrickColor.new("Deep orange")
  225. par5.Material = "Metal"
  226. local parmesh5 = Instance.new("SpecialMesh",par5)
  227. parmesh5.MeshType = "FileMesh"
  228. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  229. parmesh5.Scale = Vector3.new(1,1,0.75)
  230. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  231. parmesh5.TextureId = "rbxassetid://269748808"
  232. local weld16 = Instance.new("Weld")
  233. weld16.Parent = par5
  234. weld16.Part0 = handle
  235. weld16.Part1 = par5
  236. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  237. local par5a = Instance.new("Part")
  238. par5a.Parent = Character
  239. par5a.Size = Vector3.new(0.2,0.2,0.2)
  240. par5a.Archivable = true
  241. par5a.Transparency = 0
  242. par5a.BrickColor = BrickColor.new("Deep orange")
  243. par5a.Material = "Metal"
  244. local parmesh5a = Instance.new("SpecialMesh",par5a)
  245. parmesh5a.MeshType = "FileMesh"
  246. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  247. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  248. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  249. parmesh5a.TextureId = "rbxassetid://269748808"
  250. local weld16a = Instance.new("Weld")
  251. weld16a.Parent = par5a
  252. weld16a.Part0 = par5
  253. weld16a.Part1 = par5a
  254. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  255. local par5b = Instance.new("Part")
  256. par5b.Parent = Character
  257. par5b.Size = Vector3.new(0.2,0.2,0.2)
  258. par5b.Archivable = true
  259. par5b.Transparency = 0
  260. par5b.BrickColor = BrickColor.new("Deep orange")
  261. par5b.Material = "Metal"
  262. local parmesh5b = Instance.new("SpecialMesh",par5b)
  263. parmesh5b.MeshType = "FileMesh"
  264. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  265. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  266. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  267. parmesh5b.TextureId = "rbxassetid://269748808"
  268. local weld16b = Instance.new("Weld")
  269. weld16b.Parent = par5b
  270. weld16b.Part0 = par5
  271. weld16b.Part1 = par5b
  272. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  273. local par6 = Instance.new("Part")
  274. par6.Parent = Character
  275. par6.Size = Vector3.new(0.2,0.2,0.2)
  276. par6.Archivable = true
  277. par6.Transparency = 0
  278. par6.BrickColor = BrickColor.new("Deep orange")
  279. par6.Material = "Metal"
  280. local parmesh6 = Instance.new("SpecialMesh",par6)
  281. parmesh6.MeshType = "FileMesh"
  282. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  283. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  284. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  285. parmesh6.TextureId = "rbxassetid://269748808"
  286. local weld17 = Instance.new("Weld")
  287. weld17.Parent = par6
  288. weld17.Part0 = handle
  289. weld17.Part1 = par6
  290. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  291. local par6a = Instance.new("Part")
  292. par6a.Parent = Character
  293. par6a.Size = Vector3.new(0.2,0.2,0.2)
  294. par6a.Archivable = true
  295. par6a.Transparency = 0
  296. par6a.BrickColor = BrickColor.new("Deep orange")
  297. par6a.Material = "Metal"
  298. local parmesh6a = Instance.new("SpecialMesh",par6a)
  299. parmesh6a.MeshType = "FileMesh"
  300. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  301. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  302. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  303. parmesh6a.TextureId = "rbxassetid://269748808"
  304. local weld17a = Instance.new("Weld")
  305. weld17a.Parent = par6a
  306. weld17a.Part0 = par6
  307. weld17a.Part1 = par6a
  308. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  309. local par6b = Instance.new("Part")
  310. par6b.Parent = Character
  311. par6b.Size = Vector3.new(0.2,0.2,0.2)
  312. par6b.Archivable = true
  313. par6b.Transparency = 0
  314. par6b.BrickColor = BrickColor.new("Deep orange")
  315. par6b.Material = "Metal"
  316. local parmesh6b = Instance.new("SpecialMesh",par6b)
  317. parmesh6b.MeshType = "FileMesh"
  318. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  319. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  320. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  321. parmesh6b.TextureId = "rbxassetid://269748808"
  322. local weld17b = Instance.new("Weld")
  323. weld17b.Parent = par6b
  324. weld17b.Part0 = par6
  325. weld17b.Part1 = par6b
  326. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  327. local par7 = Instance.new("Part")
  328. par7.Parent = Character
  329. par7.Size = Vector3.new(0.2,0.2,0.2)
  330. par7.Archivable = true
  331. par7.Transparency = 0
  332. par7.BrickColor = BrickColor.new("Persimmon")
  333. par7.Material = "Metal"
  334. local parmesh7 = Instance.new("SpecialMesh",par7)
  335. parmesh7.MeshType = "FileMesh"
  336. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  337. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  338. local weld18 = Instance.new("Weld")
  339. weld18.Parent = par7
  340. weld18.Part0 = handle
  341. weld18.Part1 = par7
  342. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  343. local par8 = Instance.new("Part")
  344. par8.Parent = Character
  345. par8.Size = Vector3.new(0.2,0.2,0.2)
  346. par8.Archivable = true
  347. par8.Transparency = 0
  348. par8.BrickColor = BrickColor.new("Really black")
  349. par8.Material = "Metal"
  350. local parmesh8 = Instance.new("SpecialMesh",par8)
  351. parmesh8.MeshType = "FileMesh"
  352. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  353. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  354. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  355. parmesh8.TextureId = "rbxassetid://269748808"
  356. local weld19 = Instance.new("Weld")
  357. weld19.Parent = par8
  358. weld19.Part0 = handle
  359. weld19.Part1 = par8
  360. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  361. ----- lol
  362. handle.CanCollide = false
  363. par.CanCollide = false
  364. par2.CanCollide = false
  365. par3.CanCollide = false
  366. par4.CanCollide = false
  367. par4a.CanCollide = false
  368. par4b.CanCollide = false
  369. par5.CanCollide = false
  370. par5a.CanCollide = false
  371. par5b.CanCollide = false
  372. par6.CanCollide = false
  373. par6a.CanCollide = false
  374. par6b.CanCollide = false
  375. par7.CanCollide = false
  376. par8.CanCollide = false
  377. ----
  378.  
  379. --//=================================\\
  380. --|| USEFUL VALUES
  381. --\\=================================//
  382.  
  383. Animation_Speed = 1.5
  384. local FORCERESET = false
  385. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  386. local Speed = 50
  387. local SIZE = 1
  388. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  389. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  390. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  391. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  392. local DAMAGEMULTIPLIER = 1
  393. local ANIM = "Idle"
  394. local ATTACK = false
  395. local EQUIPPED = false
  396. local HOLD = false
  397. local COMBO = 1
  398. local Rooted = false
  399. local SINE = 0
  400. local KEYHOLD = false
  401. local CHANGE = 2 / Animation_Speed
  402. local WALKINGANIM = false
  403. local VALUE1 = false
  404. local VALUE2 = false
  405. local ROBLOXIDLEANIMATION = IT("Animation")
  406. local Glove = IT("Model")
  407. Glove.Name = "Glove"
  408. local Effects = IT("Folder", Glove)
  409. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  410. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  411. --ROBLOXIDLEANIMATION.Parent = Humanoid
  412. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  413. WEAPONGUI.Name = "BanishV3Gui"
  414. local Weapon = IT("Model")
  415. Weapon.Name = "Adds"
  416. local Effects = IT("Folder", Weapon)
  417. Effects.Name = "Effects"
  418. local ANIMATOR = Humanoid.Animator
  419. local ANIMATE = Character:FindFirstChild("Animate")
  420. local UNANCHOR = true
  421. local TOBANISH = {}
  422. local EYES = {}
  423. script.Parent = PlayerGui
  424. local FADERS = true
  425. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  426. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  427. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  428. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  429.  
  430. function StatLabel(CFRAME, TEXT, COLOR)
  431. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  432. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  433. local BODYGYRO = IT("BodyGyro", STATPART)
  434. game:GetService("Debris"):AddItem(STATPART ,5)
  435. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  436. BILLBOARDGUI.Adornee = STATPART
  437. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  438. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  439. BILLBOARDGUI.AlwaysOnTop = false
  440. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  441. TEXTLABEL.BackgroundTransparency = 1
  442. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  443. TEXTLABEL.Text = TEXT
  444. TEXTLABEL.Font = SKILLFONT
  445. TEXTLABEL.FontSize="Size42"
  446. TEXTLABEL.TextColor3 = COLOR
  447. TEXTLABEL.TextStrokeTransparency = 0
  448. TEXTLABEL.TextScaled = true
  449. TEXTLABEL.TextWrapped = true
  450. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  451. for i = 1, 50 do
  452. Swait()
  453. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  454. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  455. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  456. end
  457. THEPART.Parent = nil
  458. end),STATPART, TEXTLABEL)
  459. end
  460.  
  461. --//=================================\\
  462. --\\=================================//
  463.  
  464. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  465. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  466. end
  467.  
  468. function PositiveAngle(NUMBER)
  469. if NUMBER >= 0 then
  470. NUMBER = 0
  471. end
  472. return NUMBER
  473. end
  474.  
  475. function NegativeAngle(NUMBER)
  476. if NUMBER <= 0 then
  477. NUMBER = 0
  478. end
  479. return NUMBER
  480. end
  481.  
  482. function Swait(NUMBER)
  483. if NUMBER == 0 or NUMBER == nil then
  484. ArtificialHB.Event:wait()
  485. else
  486. for i = 1, NUMBER do
  487. ArtificialHB.Event:wait()
  488. end
  489. end
  490. end
  491.  
  492. function QuaternionFromCFrame(cf)
  493. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  494. local trace = m00 + m11 + m22
  495. if trace > 0 then
  496. local s = math.sqrt(1 + trace)
  497. local recip = 0.5 / s
  498. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  499. else
  500. local i = 0
  501. if m11 > m00 then
  502. i = 1
  503. end
  504. if m22 > (i == 0 and m00 or m11) then
  505. i = 2
  506. end
  507. if i == 0 then
  508. local s = math.sqrt(m00 - m11 - m22 + 1)
  509. local recip = 0.5 / s
  510. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  511. elseif i == 1 then
  512. local s = math.sqrt(m11 - m22 - m00 + 1)
  513. local recip = 0.5 / s
  514. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  515. elseif i == 2 then
  516. local s = math.sqrt(m22 - m00 - m11 + 1)
  517. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  518. end
  519. end
  520. end
  521.  
  522. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  523. local xs, ys, zs = x + x, y + y, z + z
  524. local wx, wy, wz = w * xs, w * ys, w * zs
  525. local xx = x * xs
  526. local xy = x * ys
  527. local xz = x * zs
  528. local yy = y * ys
  529. local yz = y * zs
  530. local zz = z * zs
  531. 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))
  532. end
  533.  
  534. function QuaternionSlerp(a, b, t)
  535. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  536. local startInterp, finishInterp;
  537. if cosTheta >= 0.0001 then
  538. if (1 - cosTheta) > 0.0001 then
  539. local theta = ACOS(cosTheta)
  540. local invSinTheta = 1 / SIN(theta)
  541. startInterp = SIN((1 - t) * theta) * invSinTheta
  542. finishInterp = SIN(t * theta) * invSinTheta
  543. else
  544. startInterp = 1 - t
  545. finishInterp = t
  546. end
  547. else
  548. if (1 + cosTheta) > 0.0001 then
  549. local theta = ACOS(-cosTheta)
  550. local invSinTheta = 1 / SIN(theta)
  551. startInterp = SIN((t - 1) * theta) * invSinTheta
  552. finishInterp = SIN(t * theta) * invSinTheta
  553. else
  554. startInterp = t - 1
  555. finishInterp = t
  556. end
  557. end
  558. 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
  559. end
  560.  
  561. function Clerp(a, b, t)
  562. local qa = {QuaternionFromCFrame(a)}
  563. local qb = {QuaternionFromCFrame(b)}
  564. local ax, ay, az = a.x, a.y, a.z
  565. local bx, by, bz = b.x, b.y, b.z
  566. local _t = 1 - t
  567. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  568. end
  569.  
  570. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  571. local frame = IT("Frame")
  572. frame.BackgroundTransparency = TRANSPARENCY
  573. frame.BorderSizePixel = BORDERSIZEPIXEL
  574. frame.Position = POSITION
  575. frame.Size = SIZE
  576. frame.BackgroundColor3 = COLOR
  577. frame.BorderColor3 = BORDERCOLOR
  578. frame.Name = NAME
  579. frame.Parent = PARENT
  580. return frame
  581. end
  582.  
  583. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  584. local label = IT("TextLabel")
  585. label.BackgroundTransparency = 1
  586. label.Size = UD2(1, 0, 1, 0)
  587. label.Position = UD2(0, 0, 0, 0)
  588. label.TextColor3 = TEXTCOLOR
  589. label.TextStrokeTransparency = STROKETRANSPARENCY
  590. label.TextTransparency = TRANSPARENCY
  591. label.FontSize = TEXTFONTSIZE
  592. label.Font = TEXTFONT
  593. label.BorderSizePixel = BORDERSIZEPIXEL
  594. label.TextScaled = false
  595. label.Text = TEXT
  596. label.Name = NAME
  597. label.Parent = PARENT
  598. return label
  599. end
  600.  
  601. function NoOutlines(PART)
  602. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  603. end
  604.  
  605.  
  606. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  607. local NEWWELD = IT(TYPE)
  608. NEWWELD.Part0 = PART0
  609. NEWWELD.Part1 = PART1
  610. NEWWELD.C0 = C0
  611. NEWWELD.C1 = C1
  612. NEWWELD.Parent = PARENT
  613. return NEWWELD
  614. end
  615.  
  616. local sound = IT("Sound",nil)
  617.  
  618. function CreateSound(ID, PARENT, VOLUME, PITCH)
  619. local NEWSOUND = nil
  620. coroutine.resume(coroutine.create(function()
  621. NEWSOUND = sound:Clone()
  622. NEWSOUND.Parent = PARENT
  623. NEWSOUND.Volume = VOLUME
  624. NEWSOUND.Pitch = PITCH
  625. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  626. Swait()
  627. NEWSOUND:play()
  628. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  629. end))
  630. return NEWSOUND
  631. end
  632.  
  633. function CFrameFromTopBack(at, top, back)
  634. local right = top:Cross(back)
  635. 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)
  636. end
  637.  
  638. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  639. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  640. local mesh = IT("SpecialMesh",wave)
  641. mesh.MeshType = "FileMesh"
  642. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  643. mesh.Scale = SIZE
  644. mesh.Offset = VT(0,0,-SIZE.X/8)
  645. wave.CFrame = CFRAME
  646. coroutine.resume(coroutine.create(function(PART)
  647. for i = 1, WAIT do
  648. Swait()
  649. mesh.Scale = mesh.Scale + GROW
  650. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  651. if DOESROT == true then
  652. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  653. end
  654. wave.Transparency = wave.Transparency + (0.5/WAIT)
  655. if wave.Transparency > 0.99 then
  656. wave:remove()
  657. end
  658. end
  659. end))
  660. end
  661.  
  662. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  663. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  664. local mesh = IT("SpecialMesh",wave)
  665. mesh.MeshType = "FileMesh"
  666. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  667. mesh.Scale = SIZE
  668. mesh.Offset = VT(0,0,-SIZE.X/8)
  669. wave.CFrame = CFRAME
  670. coroutine.resume(coroutine.create(function(PART)
  671. for i = 1, WAIT do
  672. Swait()
  673. mesh.Scale = mesh.Scale + GROW
  674. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  675. if DOESROT == true then
  676. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  677. end
  678. wave.Transparency = wave.Transparency + (0.5/WAIT)
  679. if wave.Transparency > 0.99 then
  680. wave:remove()
  681. end
  682. end
  683. end))
  684. end
  685.  
  686. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  687. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  688. local mesh = IT("SpecialMesh",wave)
  689. mesh.MeshType = "FileMesh"
  690. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  691. mesh.Scale = SIZE
  692. mesh.Offset = VT(0,0,-SIZE.X/8)
  693. wave.CFrame = CFRAME
  694. coroutine.resume(coroutine.create(function(PART)
  695. for i = 1, WAIT do
  696. Swait()
  697. mesh.Scale = mesh.Scale + GROW
  698. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  699. if DOESROT == true then
  700. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  701. end
  702. wave.Transparency = wave.Transparency + (0.5/WAIT)
  703. if wave.Transparency > 0.99 then
  704. wave:remove()
  705. end
  706. end
  707. end))
  708. end
  709.  
  710. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  711. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  712. local mesh = IT("SpecialMesh",wave)
  713. mesh.MeshType = "FileMesh"
  714. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  715. mesh.Scale = SIZE
  716. mesh.Offset = VT(0,0,-SIZE.X/8)
  717. wave.CFrame = CFRAME
  718. coroutine.resume(coroutine.create(function(PART)
  719. for i = 1, WAIT do
  720. Swait()
  721. mesh.Scale = mesh.Scale + GROW
  722. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  723. if DOESROT == true then
  724. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  725. end
  726. wave.Transparency = wave.Transparency + (0.5/WAIT)
  727. if wave.Transparency > 0.99 then
  728. wave:remove()
  729. end
  730. end
  731. end))
  732. end
  733.  
  734. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  735. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  736. local mesh = IT("SpecialMesh",wave)
  737. mesh.MeshType = "FileMesh"
  738. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  739. mesh.Scale = SIZE
  740. wave.CFrame = CFRAME
  741. coroutine.resume(coroutine.create(function(PART)
  742. for i = 1, WAIT do
  743. Swait()
  744. mesh.Scale = mesh.Scale + GROW
  745. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  746. if DOESROT == true then
  747. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  748. end
  749. wave.Transparency = wave.Transparency + (0.5/WAIT)
  750. if wave.Transparency > 0.99 then
  751. wave:remove()
  752. end
  753. end
  754. end))
  755. end
  756.  
  757. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  758. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  759. local mesh = IT("SpecialMesh",wave)
  760. mesh.MeshType = "FileMesh"
  761. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  762. mesh.Scale = SIZE
  763. wave.CFrame = CFRAME
  764. coroutine.resume(coroutine.create(function(PART)
  765. for i = 1, WAIT do
  766. Swait()
  767. mesh.Scale = mesh.Scale + GROW
  768. if DOESROT == true then
  769. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  770. end
  771. wave.Transparency = wave.Transparency + (0.5/WAIT)
  772. if wave.Transparency > 0.99 then
  773. wave:remove()
  774. end
  775. end
  776. end))
  777. end
  778.  
  779. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  780. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  781. local mesh = IT("SpecialMesh",wave)
  782. mesh.MeshType = "FileMesh"
  783. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  784. mesh.Scale = SIZE
  785. mesh.Offset = VT(0,0,0)
  786. wave.CFrame = CFRAME
  787. coroutine.resume(coroutine.create(function(PART)
  788. for i = 1, WAIT do
  789. Swait()
  790. mesh.Scale = mesh.Scale + GROW
  791. if DOESROT == true then
  792. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  793. end
  794. wave.Transparency = wave.Transparency + (0.5/WAIT)
  795. if wave.Transparency > 0.99 then
  796. wave:remove()
  797. end
  798. end
  799. end))
  800. end
  801.  
  802. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  803. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  804. local mesh = IT("SpecialMesh",wave)
  805. mesh.MeshType = "Sphere"
  806. mesh.Scale = SIZE
  807. mesh.Offset = VT(0,0,0)
  808. wave.CFrame = CFRAME
  809. coroutine.resume(coroutine.create(function(PART)
  810. for i = 1, WAIT do
  811. Swait()
  812. mesh.Scale = mesh.Scale + GROW
  813. wave.Transparency = wave.Transparency + (1/WAIT)
  814. if wave.Transparency > 0.99 then
  815. wave:remove()
  816. end
  817. end
  818. end))
  819. end
  820.  
  821. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  822. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  823. local mesh = IT("BlockMesh",wave)
  824. wave.CFrame = CFRAME
  825. coroutine.resume(coroutine.create(function(PART)
  826. for i = 1, WAIT do
  827. Swait()
  828. mesh.Scale = mesh.Scale + GROW
  829. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  830. wave.Transparency = wave.Transparency + (1/WAIT)
  831. if wave.Transparency > 0.99 then
  832. wave:remove()
  833. end
  834. end
  835. end))
  836. end
  837.  
  838. function MakeForm(PART,TYPE)
  839. if TYPE == "Cyl" then
  840. local MSH = IT("CylinderMesh",PART)
  841. elseif TYPE == "Ball" then
  842. local MSH = IT("SpecialMesh",PART)
  843. MSH.MeshType = "Sphere"
  844. elseif TYPE == "Wedge" then
  845. local MSH = IT("SpecialMesh",PART)
  846. MSH.MeshType = "Wedge"
  847. elseif TYPE == "Head" then
  848. local MSH = IT("SpecialMesh",PART)
  849. MSH.Scale = VT(1.25,1.25,1.25)
  850. end
  851. end
  852.  
  853. function CheckTableForString(Table, String)
  854. for i, v in pairs(Table) do
  855. if string.find(string.lower(String), string.lower(v)) then
  856. return true
  857. end
  858. end
  859. return false
  860. end
  861.  
  862. function CheckIntangible(Hit)
  863. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  864. if Hit and Hit.Parent then
  865. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  866. return true
  867. end
  868. end
  869. return false
  870. end
  871.  
  872. Debris = game:GetService("Debris")
  873.  
  874. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  875. local Direction = CFrame.new(StartPos, Vec).lookVector
  876. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  877. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  878. if RayHit and CheckIntangible(RayHit) then
  879. if DelayIfHit then
  880. wait()
  881. end
  882. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  883. end
  884. return RayHit, RayPos, RayNormal
  885. end
  886.  
  887. function CreateMagicCircle()
  888. local sinkhole = IT("Part")
  889. sinkhole.Size = VT(0,0,0)
  890. sinkhole.Parent = Effects
  891. sinkhole.Material = "Neon"
  892. sinkhole.Color = C3(0,0,0)
  893. sinkhole.Anchored = true
  894. sinkhole.CanCollide = false
  895. sinkhole.Transparency = 1
  896. local decal = IT("Decal",sinkhole)
  897. decal.Face = "Top"
  898. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  899. local decal2 = IT("Decal",sinkhole)
  900. decal2.Face = "Bottom"
  901. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  902. return sinkhole
  903. end
  904.  
  905. function CreateGUICircle(TARGET)
  906. local GUI = Instance.new("BillboardGui",Character)
  907. GUI.Size = UDim2.new(0,0,0,0)
  908. GUI.Adornee = TARGET
  909. local GUI2 = IT("ImageLabel",GUI)
  910. GUI2.BackgroundTransparency = 1
  911. GUI2.BorderSizePixel = 0
  912. GUI2.Size = UDim2.new(1,0,1,0)
  913. GUI2.SizeConstraint = "RelativeYY"
  914. GUI.AlwaysOnTop = true
  915. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  916. return GUI,GUI2
  917. end
  918.  
  919. function CastWarpOutlines(TARGET)
  920. coroutine.resume(coroutine.create(function()
  921. local T = TARGET:GetChildren()
  922. for i = 1, # T do
  923. local child = T[i]
  924. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  925. local clone = child:Clone()
  926. clone.Parent = Effects
  927. clone.Anchored = true
  928. clone.CanCollide = false
  929. clone:ClearAllChildren()
  930. clone.CFrame = child.CFrame
  931. if clone.Name == "Head" then
  932. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  933. end
  934. if clone.ClassName == "MeshPart" then
  935. clone.TextureID = ""
  936. end
  937. clone.BrickColor = BRICKC"Black"
  938. clone.Material = "Neon"
  939. coroutine.resume(coroutine.create(function()
  940. for i = 1, 200 do
  941. Swait()
  942. clone.Transparency = clone.Transparency + 0.005
  943. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  944. end
  945. clone:remove()
  946. end))
  947. end
  948. end
  949. end))
  950. end
  951.  
  952. function turnto(position)
  953. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  954. end
  955.  
  956. --//=================================\\
  957. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  958. --\\=================================//
  959.  
  960. ArtificialHB = Instance.new("BindableEvent", script)
  961. ArtificialHB.Name = "ArtificialHB"
  962.  
  963. script:WaitForChild("ArtificialHB")
  964.  
  965. frame = Frame_Speed
  966. tf = 0
  967. allowframeloss = false
  968. tossremainder = false
  969. lastframe = tick()
  970. script.ArtificialHB:Fire()
  971.  
  972. game:GetService("RunService").Heartbeat:connect(function(s, p)
  973. tf = tf + s
  974. if tf >= frame then
  975. if allowframeloss then
  976. script.ArtificialHB:Fire()
  977. lastframe = tick()
  978. else
  979. for i = 1, math.floor(tf / frame) do
  980. script.ArtificialHB:Fire()
  981. end
  982. lastframe = tick()
  983. end
  984. if tossremainder then
  985. tf = 0
  986. else
  987. tf = tf - frame * math.floor(tf / frame)
  988. end
  989. end
  990. end)
  991.  
  992. --//=================================\\
  993. --\\=================================//
  994. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  995. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  996. end
  997.  
  998. function PositiveAngle(NUMBER)
  999. if NUMBER >= 0 then
  1000. NUMBER = 0
  1001. end
  1002. return NUMBER
  1003. end
  1004.  
  1005. function NegativeAngle(NUMBER)
  1006. if NUMBER <= 0 then
  1007. NUMBER = 0
  1008. end
  1009. return NUMBER
  1010. end
  1011.  
  1012. function Swait(NUMBER)
  1013. if NUMBER == 0 or NUMBER == nil then
  1014. ArtificialHB.Event:wait()
  1015. else
  1016. for i = 1, NUMBER do
  1017. ArtificialHB.Event:wait()
  1018. end
  1019. end
  1020. end
  1021.  
  1022. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1023. local NEWMESH = IT(MESH)
  1024. if MESH == "SpecialMesh" then
  1025. NEWMESH.MeshType = MESHTYPE
  1026. if MESHID ~= "nil" and MESHID ~= "" then
  1027. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1028. end
  1029. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1030. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1031. end
  1032. end
  1033. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1034. NEWMESH.Scale = SCALE
  1035. NEWMESH.Parent = PARENT
  1036. return NEWMESH
  1037. end
  1038.  
  1039. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1040. local NEWPART = IT("Part")
  1041. NEWPART.formFactor = FORMFACTOR
  1042. NEWPART.Reflectance = REFLECTANCE
  1043. NEWPART.Transparency = TRANSPARENCY
  1044. NEWPART.CanCollide = false
  1045. NEWPART.Locked = true
  1046. NEWPART.Anchored = true
  1047. if ANCHOR == false then
  1048. NEWPART.Anchored = false
  1049. end
  1050. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1051. NEWPART.Name = NAME
  1052. NEWPART.Size = SIZE
  1053. NEWPART.Position = Torso.Position
  1054. NEWPART.Material = MATERIAL
  1055. NEWPART:BreakJoints()
  1056. NEWPART.Parent = PARENT
  1057. return NEWPART
  1058. end
  1059.  
  1060. local function weldBetween(a, b)
  1061. local weldd = Instance.new("ManualWeld")
  1062. weldd.Part0 = a
  1063. weldd.Part1 = b
  1064. weldd.C0 = CFrame.new()
  1065. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1066. weldd.Parent = a
  1067. return weldd
  1068. end
  1069.  
  1070.  
  1071. function QuaternionFromCFrame(cf)
  1072. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1073. local trace = m00 + m11 + m22
  1074. if trace > 0 then
  1075. local s = math.sqrt(1 + trace)
  1076. local recip = 0.5 / s
  1077. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1078. else
  1079. local i = 0
  1080. if m11 > m00 then
  1081. i = 1
  1082. end
  1083. if m22 > (i == 0 and m00 or m11) then
  1084. i = 2
  1085. end
  1086. if i == 0 then
  1087. local s = math.sqrt(m00 - m11 - m22 + 1)
  1088. local recip = 0.5 / s
  1089. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1090. elseif i == 1 then
  1091. local s = math.sqrt(m11 - m22 - m00 + 1)
  1092. local recip = 0.5 / s
  1093. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1094. elseif i == 2 then
  1095. local s = math.sqrt(m22 - m00 - m11 + 1)
  1096. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1097. end
  1098. end
  1099. end
  1100.  
  1101. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1102. local xs, ys, zs = x + x, y + y, z + z
  1103. local wx, wy, wz = w * xs, w * ys, w * zs
  1104. local xx = x * xs
  1105. local xy = x * ys
  1106. local xz = x * zs
  1107. local yy = y * ys
  1108. local yz = y * zs
  1109. local zz = z * zs
  1110. 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))
  1111. end
  1112.  
  1113. function QuaternionSlerp(a, b, t)
  1114. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1115. local startInterp, finishInterp;
  1116. if cosTheta >= 0.0001 then
  1117. if (1 - cosTheta) > 0.0001 then
  1118. local theta = ACOS(cosTheta)
  1119. local invSinTheta = 1 / SIN(theta)
  1120. startInterp = SIN((1 - t) * theta) * invSinTheta
  1121. finishInterp = SIN(t * theta) * invSinTheta
  1122. else
  1123. startInterp = 1 - t
  1124. finishInterp = t
  1125. end
  1126. else
  1127. if (1 + cosTheta) > 0.0001 then
  1128. local theta = ACOS(-cosTheta)
  1129. local invSinTheta = 1 / SIN(theta)
  1130. startInterp = SIN((t - 1) * theta) * invSinTheta
  1131. finishInterp = SIN(t * theta) * invSinTheta
  1132. else
  1133. startInterp = t - 1
  1134. finishInterp = t
  1135. end
  1136. end
  1137. 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
  1138. end
  1139.  
  1140. function Clerp(a, b, t)
  1141. local qa = {QuaternionFromCFrame(a)}
  1142. local qb = {QuaternionFromCFrame(b)}
  1143. local ax, ay, az = a.x, a.y, a.z
  1144. local bx, by, bz = b.x, b.y, b.z
  1145. local _t = 1 - t
  1146. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1147. end
  1148.  
  1149. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1150. local frame = IT("Frame")
  1151. frame.BackgroundTransparency = TRANSPARENCY
  1152. frame.BorderSizePixel = BORDERSIZEPIXEL
  1153. frame.Position = POSITION
  1154. frame.Size = SIZE
  1155. frame.BackgroundColor3 = COLOR
  1156. frame.BorderColor3 = BORDERCOLOR
  1157. frame.Name = NAME
  1158. frame.Parent = PARENT
  1159. return frame
  1160. end
  1161.  
  1162. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1163. local label = IT("TextLabel")
  1164. label.BackgroundTransparency = 1
  1165. label.Size = UD2(1, 0, 1, 0)
  1166. label.Position = UD2(0, 0, 0, 0)
  1167. label.TextColor3 = TEXTCOLOR
  1168. label.TextStrokeTransparency = STROKETRANSPARENCY
  1169. label.TextTransparency = TRANSPARENCY
  1170. label.FontSize = TEXTFONTSIZE
  1171. label.Font = TEXTFONT
  1172. label.BorderSizePixel = BORDERSIZEPIXEL
  1173. label.TextScaled = false
  1174. label.Text = TEXT
  1175. label.Name = NAME
  1176. label.Parent = PARENT
  1177. return label
  1178. end
  1179.  
  1180. function NoOutlines(PART)
  1181. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1182. end
  1183.  
  1184. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1185. local NEWWELD = IT(TYPE)
  1186. NEWWELD.Part0 = PART0
  1187. NEWWELD.Part1 = PART1
  1188. NEWWELD.C0 = C0
  1189. NEWWELD.C1 = C1
  1190. NEWWELD.Parent = PARENT
  1191. return NEWWELD
  1192. end
  1193.  
  1194.  
  1195. Player = game:GetService("Players").MrGoo345
  1196. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  1197. Cam = workspace.CurrentCamera
  1198. Backpack = Player:FindFirstChildOfClass("Backpack")
  1199. Character = Player.Character
  1200. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1201.  
  1202. function chatfunc(text)
  1203. local chat = coroutine.wrap(function()
  1204. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1205. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1206. end
  1207. local naeeym2 = Instance.new("BillboardGui",Character)
  1208. naeeym2.Size = UDim2.new(0,100,0,40)
  1209. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1210. naeeym2.Adornee = Character.Head
  1211. naeeym2.Name = "TalkingBillBoard"
  1212. local tecks3 = Instance.new("TextLabel",naeeym2)
  1213. tecks3.BackgroundTransparency = 1
  1214. tecks3.BorderSizePixel = 0
  1215. tecks3.Text = ""
  1216. tecks3.Font = "SciFi"
  1217. tecks3.TextSize = 30
  1218. tecks3.TextStrokeTransparency = 0
  1219. tecks3.TextColor3 = Color3.new(3.15,0,0)
  1220. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1221. tecks3.Size = UDim2.new(1,0,0.5,0)
  1222. for i = 1,string.len(text),1 do
  1223. tecks3.Text = string.sub(text,1,i)
  1224. wait(0.01)
  1225. end
  1226. wait(3)
  1227. for i = 1, 80 do
  1228. Swait()
  1229. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1230. tecks3.Rotation = tecks3.Rotation + .8
  1231. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  1232. tecks3.TextTransparency = tecks3.TextTransparency + .03
  1233. end
  1234. end)
  1235. chat()
  1236. end
  1237.  
  1238.  
  1239. function CFrameFromTopBack(at, top, back)
  1240. local right = top:Cross(back)
  1241. 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)
  1242. end
  1243.  
  1244. --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})
  1245. local cR=255
  1246. local cG=0
  1247. local cB=0
  1248. local flg5=1 local omgidk=1
  1249. local add=10.5
  1250. game:GetService('RunService').Heartbeat:connect(function()
  1251. if omgidk>10000 then omgidk=0 end
  1252. omgidk=omgidk+1
  1253. if cR>=255 then flg5=1 end
  1254. if cG>=255 then flg5=2 end
  1255. if cB>=255 then flg5=3 end
  1256. if flg5==1 then cR=cR-add cG=cG+add end
  1257. if flg5==2 then cG=cG-add cB=cB+add end
  1258. if flg5==3 then cB=cB-add cR=cR+add end
  1259. color=Color3.fromRGB(cR,cG,cB)
  1260. function WACKYEFFECT(Table)
  1261. local TYPE = (Table.EffectType or "Sphere")
  1262. local SIZE = (Table.Size or VT(6,6,6))
  1263. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1264. local TRANSPARENCY = (Table.Transparency or 0)
  1265. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1266. local CFRAME = (Table.CFrame or Torso.CFrame)
  1267. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1268. local ROTATION1 = (Table.RotationX or 0)
  1269. local ROTATION2 = (Table.RotationY or 0)
  1270. local ROTATION3 = (Table.RotationZ or 0)
  1271. local MATERIAL = "Neon"
  1272. local COLOR = color
  1273. local TIME = (Table.Time or 45)
  1274. local SOUNDID = (Table.SoundID or nil)
  1275. local SOUNDPITCH = (Table.SoundPitch or nil)
  1276. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1277. coroutine.resume(coroutine.create(function()
  1278. local PLAYSSOUND = false
  1279. local SOUND = nil
  1280. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1281. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1282. PLAYSSOUND = true
  1283. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1284. end
  1285. EFFECT.Color = color
  1286. local MSH = nil
  1287. if TYPE == "Sphere" then
  1288. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1289. elseif TYPE == "Block" then
  1290. MSH = IT("BlockMesh",EFFECT)
  1291. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1292. elseif TYPE == "Wave" then
  1293. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1294. elseif TYPE == "Ring" then
  1295. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1296. elseif TYPE == "Slash" then
  1297. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1298. elseif TYPE == "Round Slash" then
  1299. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1300. elseif TYPE == "Swirl" then
  1301. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1302. elseif TYPE == "Skull" then
  1303. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1304. elseif TYPE == "Crystal" then
  1305. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1306. end
  1307. if MSH ~= nil then
  1308. local MOVESPEED = nil
  1309. if MOVEDIRECTION ~= nil then
  1310. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1311. end
  1312. local GROWTH = SIZE - ENDSIZE
  1313. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1314. if TYPE == "Block" then
  1315. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1316. else
  1317. EFFECT.CFrame = CFRAME
  1318. end
  1319. for LOOP = 1, TIME+1 do
  1320. Swait()
  1321. MSH.Scale = MSH.Scale - GROWTH/TIME
  1322. if TYPE == "Wave" then
  1323. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1324. end
  1325. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1326. if TYPE == "Block" then
  1327. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1328. else
  1329. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1330. end
  1331. if MOVEDIRECTION ~= nil then
  1332. local ORI = EFFECT.Orientation
  1333. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1334. EFFECT.Orientation = ORI
  1335. end
  1336. end
  1337. if PLAYSSOUND == false then
  1338. EFFECT:remove()
  1339. else
  1340. SOUND.Stopped:Connect(function()
  1341. EFFECT:remove()
  1342. end)
  1343. end
  1344. else
  1345. if PLAYSSOUND == false then
  1346. EFFECT:remove()
  1347. else
  1348. repeat Swait() until SOUND.Playing == false
  1349. EFFECT:remove()
  1350. end
  1351. end
  1352. end))
  1353. end
  1354. end)
  1355. function MakeForm(PART,TYPE)
  1356. if TYPE == "Cyl" then
  1357. local MSH = IT("CylinderMesh",PART)
  1358. elseif TYPE == "Ball" then
  1359. local MSH = IT("SpecialMesh",PART)
  1360. MSH.MeshType = "Sphere"
  1361. elseif TYPE == "Wedge" then
  1362. local MSH = IT("SpecialMesh",PART)
  1363. MSH.MeshType = "Wedge"
  1364. end
  1365. end
  1366. function SpawnTrail(FROM,TO,BIG)
  1367. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1368. MakeForm(TRAIL,"Cyl")
  1369. local cR=255
  1370. local cG=0
  1371. local cB=0
  1372. local flg5=1 local omgidk=1
  1373. local add=10.5
  1374. game:GetService('RunService').Heartbeat:connect(function()
  1375. if omgidk>10000 then omgidk=0 end
  1376. omgidk=omgidk+1
  1377. if cR>=255 then flg5=1 end
  1378. if cG>=255 then flg5=2 end
  1379. if cB>=255 then flg5=3 end
  1380. if flg5==1 then cR=cR-add cG=cG+add end
  1381. if flg5==2 then cG=cG-add cB=cB+add end
  1382. if flg5==3 then cB=cB-add cR=cR+add end
  1383. color=Color3.fromRGB(cR,cG,cB)
  1384. TRAIL.Color = color
  1385. end)
  1386. local DIST = (FROM - TO).Magnitude
  1387. if BIG == true then
  1388. TRAIL.Size = VT(5,DIST,5)
  1389. else
  1390. TRAIL.Size = VT(5,DIST,5)
  1391. end
  1392. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1393. coroutine.resume(coroutine.create(function()
  1394. for i = 1, 55 do
  1395. Swait()
  1396. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1397. end
  1398. TRAIL:remove()
  1399. end))
  1400. end
  1401.  
  1402. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1403. local DIRECTION = CF(StartPos,EndPos).lookVector
  1404. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1405. end
  1406.  
  1407. function turnto(position)
  1408. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1409. end
  1410.  
  1411.  
  1412. --//=================================\\
  1413. --|| SOME FUNCTIONS
  1414. --\\=================================//
  1415.  
  1416. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1417. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1418. end
  1419.  
  1420. function PositiveAngle(NUMBER)
  1421. if NUMBER >= 0 then
  1422. NUMBER = 0
  1423. end
  1424. return NUMBER
  1425. end
  1426.  
  1427. function NegativeAngle(NUMBER)
  1428. if NUMBER <= 0 then
  1429. NUMBER = 0
  1430. end
  1431. return NUMBER
  1432. end
  1433.  
  1434. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1435. if FLOOR ~= nil then
  1436. coroutine.resume(coroutine.create(function()
  1437. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1438. PART.CFrame = CF(POSITION)
  1439. for i = 1, 45 do
  1440. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1441. RingPiece.Material = FLOOR.Material
  1442. RingPiece.Color = FLOOR.Color
  1443. 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)))
  1444. Debris:AddItem(RingPiece, SWAIT)
  1445. end
  1446. PART:remove()
  1447. end))
  1448. end
  1449. end
  1450. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1451. if FLOOR ~= nil then
  1452. for i = 1, AMOUNT do
  1453. do
  1454. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1455. DEBREE.Material = FLOOR.Material
  1456. DEBREE.Color = FLOOR.Color
  1457. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1458. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1459. coroutine.resume(coroutine.create(function()
  1460. Swait(15)
  1461. DEBREE.Parent = workspace
  1462. DEBREE.CanCollide = true
  1463. Debris:AddItem(DEBREE, SWAIT)
  1464. end))
  1465. end
  1466. end
  1467. end
  1468. end
  1469.  
  1470. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1471. if FLOOR ~= nil then
  1472. for i = 1, AMOUNT do
  1473. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1474. DEBREE.Material = FLOOR.Material
  1475. DEBREE.Color = FLOOR.Color
  1476. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1477. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1478. coroutine.resume(coroutine.create(function()
  1479. Swait(15)
  1480. DEBREE.Parent = workspace
  1481. DEBREE.CanCollide = true
  1482. Debris:AddItem(DEBREE,SWAIT)
  1483. end))
  1484. end
  1485. end
  1486. end
  1487.  
  1488. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1489. if FLOOR ~= nil then
  1490. coroutine.resume(coroutine.create(function()
  1491. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  1492. PART.CFrame = CF(POSITION)
  1493. for i = 1, 45 do
  1494. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  1495. RingPiece.Material = FLOOR.Material
  1496. RingPiece.Color = FLOOR.Color
  1497. 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)))
  1498. Debris:AddItem(RingPiece,SWAIT)
  1499. end
  1500. PART:remove()
  1501. end))
  1502. end
  1503. end
  1504.  
  1505. local DECAL = IT("Decal")
  1506. function MakeRing()
  1507. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1508. local MSH = IT("BlockMesh", RING)
  1509. local TOP = DECAL:Clone()
  1510. local BOTTOM = DECAL:Clone()
  1511. TOP.Parent = RING
  1512. BOTTOM.Parent = RING
  1513. TOP.Face = "Top"
  1514. BOTTOM.Face = "Bottom"
  1515. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1516. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1517. local function REMOVE()
  1518. coroutine.resume(coroutine.create(function()
  1519. local SIZE = MSH.Scale.X
  1520. for i = 1, 35 do
  1521. Swait()
  1522. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1523. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1524. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1525. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1526. end
  1527. RING:remove()
  1528. end))
  1529. end
  1530. return RING, MSH, REMOVE
  1531. end
  1532.  
  1533. function killnearest(position, range, maxstrength)
  1534. for i, v in ipairs(workspace:GetChildren()) do
  1535. do
  1536. local body = v:GetChildren()
  1537. for part = 1, #body do
  1538. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1539. if v.ClassName == "Model" then
  1540. v:BreakJoints()
  1541. end
  1542. local bv = Instance.new("BodyVelocity")
  1543. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1544. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1545. bv.Parent = body[part]
  1546. Debris:AddItem(bv, 0.2)
  1547. body[part].Parent = Effects
  1548. body[part].Material = "Neon"
  1549. body[part].Color = C3(0, 0, 0)
  1550. body[part].CanCollide = true
  1551. coroutine.resume(coroutine.create(function()
  1552. wait(5)
  1553. if body[part].Parent == Effects then
  1554. body[part]:remove()
  1555. end
  1556. end))
  1557. end
  1558. end
  1559. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1560. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1561. end
  1562. end
  1563. end
  1564. end
  1565.  
  1566. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1567. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1568. wave.Color = COLOR
  1569. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  1570. wave.CFrame = CFRAME
  1571. coroutine.resume(coroutine.create(function(PART)
  1572. for i = 1, WAIT do
  1573. Swait()
  1574. mesh.Scale = mesh.Scale + GROW
  1575. if DOESROT == true then
  1576. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1577. end
  1578. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1579. if wave.Transparency > 0.99 then
  1580. wave:remove()
  1581. end
  1582. end
  1583. end))
  1584. end
  1585.  
  1586. function MakeForm(PART, TYPE)
  1587. if TYPE == "Cyl" then
  1588. local MSH = IT("CylinderMesh", PART)
  1589. elseif TYPE == "Ball" then
  1590. local MSH = IT("SpecialMesh", PART)
  1591. MSH.MeshType = "Sphere"
  1592. elseif TYPE == "Wedge" then
  1593. local MSH = IT("SpecialMesh", PART)
  1594. MSH.MeshType = "Wedge"
  1595. end
  1596. end
  1597.  
  1598. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1599. local NEWPART = IT("Part")
  1600. NEWPART.formFactor = FORMFACTOR
  1601. NEWPART.Reflectance = REFLECTANCE
  1602. NEWPART.Transparency = TRANSPARENCY
  1603. NEWPART.CanCollide = false
  1604. NEWPART.Locked = true
  1605. NEWPART.Anchored = true
  1606. if ANCHOR == false then
  1607. NEWPART.Anchored = false
  1608. end
  1609. NEWPART.Name = NAME
  1610. NEWPART.Size = SIZE
  1611. NEWPART.Position = Torso.Position
  1612. NEWPART.Material = MATERIAL
  1613. NEWPART:BreakJoints()
  1614. NEWPART.Parent = PARENT
  1615. return NEWPART
  1616. end
  1617.  
  1618. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1619. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1620. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1621. wave.CFrame = CFRAME
  1622. coroutine.resume(coroutine.create(function(PART)
  1623. for i = 1, WAIT do
  1624. Swait()
  1625. mesh.Scale = mesh.Scale + GROW
  1626. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1627. if DOESROT == true then
  1628. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1629. end
  1630. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1631. if wave.Transparency > 0.99 then
  1632. wave:remove()
  1633. end
  1634. end
  1635. end))
  1636. end
  1637.  
  1638. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1639. for _, c in pairs(PARENT:GetChildren()) do
  1640. if c.ClassName == "Model" then
  1641. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1642. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1643. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1644. if DIST > (TORSO.Position - FROM).Magnitude then
  1645. table.insert(TABLE, c)
  1646. end
  1647. AddChildrenToTable(FROM, c, DIST, TABLE)
  1648. elseif c.ClassName == "Folder" then
  1649. AddChildrenToTable(FROM, c, DIST, TABLE)
  1650. end
  1651. end
  1652. end
  1653. end
  1654.  
  1655. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1656. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1657. local mesh
  1658. if KIND == "Base" then
  1659. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1660. elseif KIND == "Thin" then
  1661. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1662. elseif KIND == "Round" then
  1663. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1664. end
  1665. wave.CFrame = CFRAME
  1666. coroutine.resume(coroutine.create(function(PART)
  1667. for i = 1, WAIT do
  1668. Swait()
  1669. mesh.Scale = mesh.Scale + GROW / 10
  1670. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1671. if wave.Transparency > 0.99 then
  1672. wave:remove()
  1673. end
  1674. end
  1675. end))
  1676. end
  1677.  
  1678. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1679. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1680. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1681. wave.CFrame = CFRAME
  1682. coroutine.resume(coroutine.create(function(PART)
  1683. for i = 1, WAIT do
  1684. Swait()
  1685. mesh.Scale = mesh.Scale + GROW
  1686. wave.Transparency = wave.Transparency + 1 / WAIT
  1687. if wave.Transparency > 0.99 then
  1688. wave:remove()
  1689. end
  1690. end
  1691. end))
  1692. end
  1693.  
  1694. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1695. local TORSO = Torso
  1696. local HUM = Humanoid
  1697. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1698. coroutine.wrap(function()
  1699. VT = Vector3.new
  1700. MRANDOM = math.random
  1701. local A = TIME
  1702. local B = INTENSITY
  1703. local C = true
  1704. local HUMANOID = Humanoid
  1705. local TIMER = A or 35
  1706. local SHAKE = B or 5
  1707. local FADE = C or true
  1708. if HUMANOID then
  1709. local FADER = SHAKE / TIMER
  1710. for i = 1, TIMER do
  1711. wait()
  1712. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1713. end
  1714. HUMANOID.CameraOffset = VT(0, 0, 0)
  1715. end
  1716.  
  1717. end)()
  1718. end
  1719. end
  1720.  
  1721. function Effect(data)
  1722. local FX = data.Effect or 'ResizeAndFade'
  1723. local Parent = data.Parent or Effects
  1724. local Color = data.Color or C3.N(0,0,0)
  1725. local Size = data.Size or V3.N(1,1,1)
  1726. local MoveDir = data.MoveDirection or nil
  1727. local MeshData = data.Mesh or nil
  1728. local SndData = data.Sound or nil
  1729. local Frames = data.Frames or 45
  1730. local Manual = data.Manual or nil
  1731. local Material = data.Material or nil
  1732. local CFra = data.CFrame or Torso.CFrame
  1733. local Settings = data.FXSettings or {}
  1734. local Snd,Prt,Msh;
  1735. local Shape = data.Shape or Enum.PartType.Block
  1736. coroutine.resume(coroutine.create(function()
  1737. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1738. Prt = Manual
  1739. else
  1740. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1741. Prt.Shape = Shape
  1742. end
  1743. if(typeof(MeshData) == 'table')then
  1744. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1745. elseif(typeof(MeshData) == 'Instance')then
  1746. Msh = MeshData:Clone()
  1747. Msh.Parent = Prt
  1748. elseif(Shape == Enum.PartType.Block)then
  1749. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1750. end
  1751. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1752. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1753. end
  1754. if(Snd)then
  1755. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1756. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1757. end
  1758. local MoveSpeed = nil;
  1759. if(MoveDir)then
  1760. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1761. end
  1762. local Inc = M.RNG()-M.RNG()
  1763. local Thingie = 0
  1764. local Thingie2 = M.RNG(50,100)/100
  1765. if(FX ~= 'Arc')then
  1766. for i = 1, Frames do
  1767. if(swait and typeof(swait) == 'function')then
  1768. swait()
  1769. else
  1770. wait()
  1771. end
  1772. if(FX == 'ResizeAndFade')then
  1773. if(not Settings.EndSize)then
  1774. Settings.EndSize = V3.N(0,0,0)
  1775. end
  1776. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  1777. if(Settings.EndIsIncrement)then
  1778. Prt.Size = Prt.Size + Settings.EndSize
  1779. else
  1780. Prt.Size = Prt.Size - grow/Frames
  1781. end
  1782. Prt.Transparency = (i/Frames)
  1783. elseif(FX == 'Fade')then
  1784. Prt.Transparency = (i/Frames)
  1785. end
  1786.  
  1787. if(Settings.RandomizeCFrame)then
  1788. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1789. end
  1790. if(MoveDir and MoveSpeed)then
  1791. local Orientation = Prt.Orientation
  1792. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1793. Prt.Orientation = Orientation
  1794. end
  1795. end
  1796. Prt:destroy()
  1797. else
  1798. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1799. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1800. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1801. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1802. assert(start ~= nil,"You need to specify a start point!")
  1803. assert(endP ~= nil,"You need to specify an end point!")
  1804. for i = 0, 1, Settings.Speed or 0.01 do
  1805. if(swait and typeof(swait) == 'function')then
  1806. swait()
  1807. else
  1808. wait()
  1809. end
  1810. if(Settings.Home)then
  1811. endP = Settings.Home.CFrame
  1812. end
  1813. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1814. end
  1815. if(Settings.RemoveOnGoal)then
  1816. Prt:destroy()
  1817. end
  1818. end
  1819. end))
  1820. return Prt,Msh,Snd
  1821. end
  1822.  
  1823. function RightWing()
  1824. for i = 1, 2 do
  1825. local PART
  1826. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1827. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  1828. table.insert(RWINGS, WingWeld)
  1829. PART = Wing
  1830. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1831. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  1832. PART = Wing
  1833. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1834. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1835. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1836. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1837. PART = Wing
  1838. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1839. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1840. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1841. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1842. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1843. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1844. PART = Wing
  1845. table.insert(RWINGS, WingWeld)
  1846. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1847. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1848. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1849. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1850. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1851. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1852. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1853. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  1854. PART = Wing
  1855. table.insert(RWINGS, WingWeld)
  1856. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1857. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1858. PART = Wing
  1859. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1860. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  1861. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1862. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1863. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1864. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  1865. PART = Wing
  1866. table.insert(RWINGS, WingWeld)
  1867. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1868. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1869. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1870. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1871. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1872. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1873. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1874. table.insert(EYES, Wing1)
  1875. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  1876. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1877. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1878. PART = Wing
  1879. table.insert(RWINGS, WingWeld)
  1880. end
  1881. BODY = {}
  1882. for _, c in pairs(Character:GetDescendants()) do
  1883. if c:IsA("BasePart") then
  1884. table.insert(BODY, {
  1885. c,
  1886. c.Parent,
  1887. c.Material,
  1888. c.Color
  1889. })
  1890. elseif c:IsA("JointInstance") then
  1891. table.insert(BODY, {
  1892. c,
  1893. c.Parent,
  1894. nil,
  1895. nil
  1896. })
  1897. end
  1898. end
  1899. end
  1900. function LeftWing()
  1901. for i = 1, 2 do
  1902. local PART
  1903. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1904. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  1905. table.insert(LWINGS, WingWeld)
  1906. PART = Wing
  1907. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1908. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  1909. PART = Wing
  1910. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1911. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1912. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1913. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1914. PART = Wing
  1915. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1916. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1917. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1918. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1919. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1920. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1921. PART = Wing
  1922. table.insert(LWINGS, WingWeld)
  1923. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1924. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1925. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1926. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1927. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1928. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1929. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1930. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  1931. PART = Wing
  1932. table.insert(LWINGS, WingWeld)
  1933. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1934. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1935. PART = Wing
  1936. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1937. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  1938. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1939. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1940. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1941. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  1942. PART = Wing
  1943. table.insert(LWINGS, WingWeld)
  1944. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1945. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1946. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1947. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1948. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1949. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1950. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1951. table.insert(EYES, Wing1)
  1952. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  1953. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1954. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1955. PART = Wing
  1956. table.insert(LWINGS, WingWeld)
  1957. end
  1958. BODY = {}
  1959. for _, c in pairs(Character:GetDescendants()) do
  1960. if c:IsA("BasePart") then
  1961. table.insert(BODY, {
  1962. c,
  1963. c.Parent,
  1964. c.Material,
  1965. c.Color
  1966. })
  1967. elseif c:IsA("JointInstance") then
  1968. table.insert(BODY, {
  1969. c,
  1970. c.Parent,
  1971. nil,
  1972. nil
  1973. })
  1974. end
  1975. end
  1976. end
  1977.  
  1978. function Swait(NUMBER)
  1979. if NUMBER == 0 or NUMBER == nil then
  1980. ArtificialHB.Event:wait()
  1981. else
  1982. for i = 1, NUMBER do
  1983. ArtificialHB.Event:wait()
  1984. end
  1985. end
  1986. end
  1987.  
  1988. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1989. local NEWMESH = IT(MESH)
  1990. if MESH == "SpecialMesh" then
  1991. NEWMESH.MeshType = MESHTYPE
  1992. if MESHID ~= "nil" and MESHID ~= "" then
  1993. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1994. end
  1995. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1996. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1997. end
  1998. end
  1999. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2000. NEWMESH.Scale = SCALE
  2001. NEWMESH.Parent = PARENT
  2002. return NEWMESH
  2003. end
  2004.  
  2005. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2006. local NEWPART = IT("Part")
  2007. NEWPART.formFactor = FORMFACTOR
  2008. NEWPART.Reflectance = REFLECTANCE
  2009. NEWPART.Transparency = TRANSPARENCY
  2010. NEWPART.CanCollide = false
  2011. NEWPART.Locked = true
  2012. NEWPART.Anchored = true
  2013. if ANCHOR == false then
  2014. NEWPART.Anchored = false
  2015. end
  2016. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2017. NEWPART.Name = NAME
  2018. NEWPART.Size = SIZE
  2019. NEWPART.Position = Torso.Position
  2020. NEWPART.Material = MATERIAL
  2021. NEWPART:BreakJoints()
  2022. NEWPART.Parent = PARENT
  2023. return NEWPART
  2024. end
  2025.  
  2026. local function weldBetween(a, b)
  2027. local weldd = Instance.new("ManualWeld")
  2028. weldd.Part0 = a
  2029. weldd.Part1 = b
  2030. weldd.C0 = CFrame.new()
  2031. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2032. weldd.Parent = a
  2033. return weldd
  2034. end
  2035.  
  2036.  
  2037. function QuaternionFromCFrame(cf)
  2038. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2039. local trace = m00 + m11 + m22
  2040. if trace > 0 then
  2041. local s = math.sqrt(1 + trace)
  2042. local recip = 0.5 / s
  2043. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2044. else
  2045. local i = 0
  2046. if m11 > m00 then
  2047. i = 1
  2048. end
  2049. if m22 > (i == 0 and m00 or m11) then
  2050. i = 2
  2051. end
  2052. if i == 0 then
  2053. local s = math.sqrt(m00 - m11 - m22 + 1)
  2054. local recip = 0.5 / s
  2055. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2056. elseif i == 1 then
  2057. local s = math.sqrt(m11 - m22 - m00 + 1)
  2058. local recip = 0.5 / s
  2059. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2060. elseif i == 2 then
  2061. local s = math.sqrt(m22 - m00 - m11 + 1)
  2062. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2063. end
  2064. end
  2065. end
  2066.  
  2067. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2068. local xs, ys, zs = x + x, y + y, z + z
  2069. local wx, wy, wz = w * xs, w * ys, w * zs
  2070. local xx = x * xs
  2071. local xy = x * ys
  2072. local xz = x * zs
  2073. local yy = y * ys
  2074. local yz = y * zs
  2075. local zz = z * zs
  2076. 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))
  2077. end
  2078.  
  2079. function QuaternionSlerp(a, b, t)
  2080. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2081. local startInterp, finishInterp;
  2082. if cosTheta >= 0.0001 then
  2083. if (1 - cosTheta) > 0.0001 then
  2084. local theta = ACOS(cosTheta)
  2085. local invSinTheta = 1 / SIN(theta)
  2086. startInterp = SIN((1 - t) * theta) * invSinTheta
  2087. finishInterp = SIN(t * theta) * invSinTheta
  2088. else
  2089. startInterp = 1 - t
  2090. finishInterp = t
  2091. end
  2092. else
  2093. if (1 + cosTheta) > 0.0001 then
  2094. local theta = ACOS(-cosTheta)
  2095. local invSinTheta = 1 / SIN(theta)
  2096. startInterp = SIN((t - 1) * theta) * invSinTheta
  2097. finishInterp = SIN(t * theta) * invSinTheta
  2098. else
  2099. startInterp = t - 1
  2100. finishInterp = t
  2101. end
  2102. end
  2103. 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
  2104. end
  2105.  
  2106. function Clerp(a, b, t)
  2107. local qa = {QuaternionFromCFrame(a)}
  2108. local qb = {QuaternionFromCFrame(b)}
  2109. local ax, ay, az = a.x, a.y, a.z
  2110. local bx, by, bz = b.x, b.y, b.z
  2111. local _t = 1 - t
  2112. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2113. end
  2114.  
  2115. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2116. local frame = IT("Frame")
  2117. frame.BackgroundTransparency = TRANSPARENCY
  2118. frame.BorderSizePixel = BORDERSIZEPIXEL
  2119. frame.Position = POSITION
  2120. frame.Size = SIZE
  2121. frame.BackgroundColor3 = COLOR
  2122. frame.BorderColor3 = BORDERCOLOR
  2123. frame.Name = NAME
  2124. frame.Parent = PARENT
  2125. return frame
  2126. end
  2127.  
  2128. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2129. local label = IT("TextLabel")
  2130. label.BackgroundTransparency = 1
  2131. label.Size = UD2(1, 0, 1, 0)
  2132. label.Position = UD2(0, 0, 0, 0)
  2133. label.TextColor3 = TEXTCOLOR
  2134. label.TextStrokeTransparency = STROKETRANSPARENCY
  2135. label.TextTransparency = TRANSPARENCY
  2136. label.FontSize = TEXTFONTSIZE
  2137. label.Font = TEXTFONT
  2138. label.BorderSizePixel = BORDERSIZEPIXEL
  2139. label.TextScaled = false
  2140. label.Text = TEXT
  2141. label.Name = NAME
  2142. label.Parent = PARENT
  2143. return label
  2144. end
  2145.  
  2146. function NoOutlines(PART)
  2147. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2148. end
  2149.  
  2150. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2151. local NEWWELD = IT(TYPE)
  2152. NEWWELD.Part0 = PART0
  2153. NEWWELD.Part1 = PART1
  2154. NEWWELD.C0 = C0
  2155. NEWWELD.C1 = C1
  2156. NEWWELD.Parent = PARENT
  2157. return NEWWELD
  2158. end
  2159.  
  2160. local S = IT("Sound")
  2161. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2162. local NEWSOUND = nil
  2163. coroutine.resume(coroutine.create(function()
  2164. NEWSOUND = S:Clone()
  2165. NEWSOUND.Parent = PARENT
  2166. NEWSOUND.Volume = VOLUME
  2167. NEWSOUND.Pitch = PITCH
  2168. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2169. NEWSOUND:play()
  2170. if DOESLOOP == true then
  2171. NEWSOUND.Looped = true
  2172. else
  2173. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2174. NEWSOUND:remove()
  2175. end
  2176. end))
  2177. return NEWSOUND
  2178. end
  2179.  
  2180. function CFrameFromTopBack(at, top, back)
  2181. local right = top:Cross(back)
  2182. 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)
  2183. end
  2184.  
  2185. --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})
  2186. function Lightning(Table)
  2187. local Color = Table.Color or C3(1,1,1)
  2188. local StartPos = Table.Start or Torso.Position
  2189. local EndPos = Table.End or Mouse.Hit.p
  2190. local SegmentLength = Table.SegmentL or 2
  2191. local Thickness = Table.Thickness or 0.1
  2192. local Dissapear = Table.DoesFade or false
  2193. local Parent = Table.Ignore or Character
  2194. local MaxDist = Table.MaxDist or 400
  2195. local Branches = Table.Branches or false
  2196. local Thicken = Table.Thicken or false
  2197. local FadeTime = Table.FadeTime or 15
  2198. local FadeIn = Table.FadeIn or false
  2199. local Material = Table.Material or "Neon"
  2200. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  2201. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  2202. local LIGHTNINGMODEL = IT("Model",Effects)
  2203. LIGHTNINGMODEL.Name = "Lightning"
  2204. local LastBolt = nil
  2205. for E = 1, DISTANCE do
  2206. local ExtraSize = 0
  2207. if Thicken == true then
  2208. ExtraSize = (DISTANCE-E)/15
  2209. end
  2210. local TRANSPARENCY = 0
  2211. if FadeIn == true then
  2212. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  2213. if TRANSPARENCY < 0 then
  2214. TRANSPARENCY = 0
  2215. end
  2216. end
  2217. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  2218. PART.Color = Color
  2219. MakeForm(PART,"Cyl")
  2220. if LastBolt == nil then
  2221. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  2222. else
  2223. 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)
  2224. end
  2225. LastBolt = PART
  2226. if Branches == true and E < (DISTANCE-5) then
  2227. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  2228. if CHOICE == 1 then
  2229. local LASTBRANCH = nil
  2230. for i = 1, MRANDOM(2,5) do
  2231. local ExtraSize2 = 0
  2232. if Thicken == true then
  2233. ExtraSize = ((DISTANCE-E)/25)/i
  2234. end
  2235. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  2236. PART.Color = Color
  2237. MakeForm(PART,"Cyl")
  2238. if LASTBRANCH == nil then
  2239. 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)
  2240. else
  2241. 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)
  2242. end
  2243. LASTBRANCH = PART
  2244. end
  2245. end
  2246. end
  2247. end
  2248. if Dissapear == true then
  2249. coroutine.resume(coroutine.create(function()
  2250. for i = 1, FadeTime do
  2251. Swait()
  2252. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  2253. if c.ClassName == "Part" then
  2254. c.Transparency = c.Transparency + (i/FadeTime)/10
  2255. end
  2256. end
  2257. end
  2258. LIGHTNINGMODEL:remove()
  2259. end))
  2260. elseif Dissapear == false then
  2261. Debris:AddItem(LIGHTNINGMODEL,0.1)
  2262. end
  2263. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  2264. end
  2265.  
  2266. -- Rainbow Stuff --
  2267. local cR=255
  2268. local cG=0
  2269. local cB=0
  2270. local flg5=1 local omgidk=1
  2271. local add=10.5
  2272. game:GetService('RunService').Heartbeat:connect(function()
  2273. if omgidk>10000 then omgidk=0 end
  2274. omgidk=omgidk+1
  2275. if cR>=255 then flg5=1 end
  2276. if cG>=255 then flg5=2 end
  2277. if cB>=255 then flg5=3 end
  2278. if flg5==1 then cR=cR-add cG=cG+add end
  2279. if flg5==2 then cG=cG-add cB=cB+add end
  2280. if flg5==3 then cB=cB-add cR=cR+add end
  2281. end)
  2282. color=Color3.fromRGB(cR,cG,cB)
  2283.  
  2284. function WACKYEFFECT(Table)
  2285. local TYPE = (Table.EffectType or "Sphere")
  2286. local SIZE = (Table.Size or VT(6,6,6))
  2287. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  2288. local TRANSPARENCY = (Table.Transparency or 0)
  2289. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2290. local CFRAME = (Table.CFrame or Torso.CFrame)
  2291. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2292. local ROTATION1 = (Table.RotationX or 0)
  2293. local ROTATION2 = (Table.RotationY or 0)
  2294. local ROTATION3 = (Table.RotationZ or 0)
  2295. local MATERIAL = (Table.Material or "Neon")
  2296. local COLOR = (Table.Color or C3(1,1,1))
  2297. local TIME = (Table.Time or 45)
  2298. local SOUNDID = (Table.SoundID or nil)
  2299. local SOUNDPITCH = (Table.SoundPitch or nil)
  2300. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2301. coroutine.resume(coroutine.create(function()
  2302. local PLAYSSOUND = false
  2303. local SOUND = nil
  2304. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2305. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2306. PLAYSSOUND = true
  2307. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2308. end
  2309. EFFECT.Color = COLOR
  2310. local MSH = nil
  2311. if TYPE == "Sphere" then
  2312. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2313. elseif TYPE == "Block" then
  2314. MSH = IT("BlockMesh",EFFECT)
  2315. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2316. elseif TYPE == "Wave" then
  2317. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2318. elseif TYPE == "Ring" then
  2319. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2320. elseif TYPE == "Slash" then
  2321. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2322. elseif TYPE == "Round Slash" then
  2323. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2324. elseif TYPE == "Swirl" then
  2325. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2326. elseif TYPE == "Skull" then
  2327. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2328. elseif TYPE == "Crystal" then
  2329. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2330. end
  2331. if MSH ~= nil then
  2332. local MOVESPEED = nil
  2333. if MOVEDIRECTION ~= nil then
  2334. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2335. end
  2336. local GROWTH = SIZE - ENDSIZE
  2337. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2338. if TYPE == "Block" then
  2339. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2340. else
  2341. EFFECT.CFrame = CFRAME
  2342. end
  2343. for LOOP = 1, TIME+1 do
  2344. Swait()
  2345. MSH.Scale = MSH.Scale - GROWTH/TIME
  2346. if TYPE == "Wave" then
  2347. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2348. end
  2349. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2350. if TYPE == "Block" then
  2351. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2352. else
  2353. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2354. end
  2355. if MOVEDIRECTION ~= nil then
  2356. local ORI = EFFECT.Orientation
  2357. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2358. EFFECT.Orientation = ORI
  2359. end
  2360. end
  2361. if PLAYSSOUND == false then
  2362. EFFECT:remove()
  2363. else
  2364. repeat Swait() until SOUND.Playing == false
  2365. EFFECT:remove()
  2366. end
  2367. else
  2368. if PLAYSSOUND == false then
  2369. EFFECT:remove()
  2370. else
  2371. repeat Swait() until SOUND.Playing == false
  2372. EFFECT:remove()
  2373. end
  2374. end
  2375. end))
  2376. end
  2377.  
  2378. function MakeForm(PART,TYPE)
  2379. if TYPE == "Cyl" then
  2380. local MSH = IT("CylinderMesh",PART)
  2381. elseif TYPE == "Ball" then
  2382. local MSH = IT("SpecialMesh",PART)
  2383. MSH.MeshType = "Sphere"
  2384. elseif TYPE == "Wedge" then
  2385. local MSH = IT("SpecialMesh",PART)
  2386. MSH.MeshType = "Wedge"
  2387. end
  2388. end
  2389. function SpawnTrail(FROM,TO,BIG)
  2390. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2391. MakeForm(TRAIL,"Cyl")
  2392. local cR=255
  2393. local cG=0
  2394. local cB=0
  2395. local flg5=1 local omgidk=1
  2396. local add=10.5
  2397. game:GetService('RunService').Heartbeat:connect(function()
  2398. if omgidk>10000 then omgidk=0 end
  2399. omgidk=omgidk+1
  2400. if cR>=255 then flg5=1 end
  2401. if cG>=255 then flg5=2 end
  2402. if cB>=255 then flg5=3 end
  2403. if flg5==1 then cR=cR-add cG=cG+add end
  2404. if flg5==2 then cG=cG-add cB=cB+add end
  2405. if flg5==3 then cB=cB-add cR=cR+add end
  2406. color=Color3.fromRGB(cR,cG,cB)
  2407. TRAIL.Color = color
  2408. end)
  2409. local DIST = (FROM - TO).Magnitude
  2410. if BIG == true then
  2411. TRAIL.Size = VT(5,DIST,5)
  2412. else
  2413. TRAIL.Size = VT(5,DIST,5)
  2414. end
  2415. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2416. coroutine.resume(coroutine.create(function()
  2417. for i = 1, 55 do
  2418. Swait()
  2419. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2420. end
  2421. TRAIL:remove()
  2422. end))
  2423. end
  2424.  
  2425. Debris = game:GetService("Debris")
  2426.  
  2427. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2428. local DIRECTION = CF(StartPos,EndPos).lookVector
  2429. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2430. end
  2431.  
  2432. function turnto(position)
  2433. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2434. end
  2435.  
  2436. --//=================================\\
  2437. --|| WEAPON CREATION
  2438. --\\=================================//
  2439. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  2440.  
  2441.  
  2442.  
  2443. for i = 1, 35 do
  2444. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2445. FACE.Color = C3(0,0,0)
  2446. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2447. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2448. end
  2449.  
  2450. local CLOCKLOOP = 0
  2451. local CLOCKTARGET = nil
  2452. local CLOCKSPEED = 10
  2453.  
  2454. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2455. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2456. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2457. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2458. MakeForm(PRT,"Cyl")
  2459. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2460. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2461. MakeForm(PRT,"Cyl")
  2462. PRT.Color = C3(159/255, 111/255, 183/255)
  2463. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2464. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2465. MakeForm(RING,"Cyl")
  2466. RING.Color = C3(0,0,0)
  2467. for i = 1, 12 do
  2468. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  2469. PRT.Color = C3(0,0,0)
  2470. local MSH = IT("BlockMesh",PRT)
  2471. MSH.Scale = VT(0.6,1,1)
  2472. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  2473. end
  2474. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2475. PRT.Color = C3(0,0,0)
  2476. local MSH = IT("BlockMesh",PRT)
  2477. MSH.Scale = VT(0.4,1,1)
  2478. 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))
  2479. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2480. PRT.Color = C3(0,0,0)
  2481. local MSH = IT("BlockMesh",PRT)
  2482. MSH.Scale = VT(0.4,1,1)
  2483. 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))
  2484. coroutine.resume(coroutine.create(function()
  2485. while true do
  2486. Swait()
  2487. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2488. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2489. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2490. if CLOCKLOOP <= -150 then
  2491. if VALUE1 == false then
  2492. CLOCKLOOP = 0
  2493. 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(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  2494. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2495. ApplyAoE(HITPOS,10,15,45,75,false)
  2496. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2497. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2498. if CLOCKTARGET ~= nil then
  2499. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2500. if CLOCKTARGET.Torso ~= nil then
  2501. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2502. end
  2503. if CLOCKTARGET.Health == 0 then
  2504. CLOCKTARGET = nil
  2505. end
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end))
  2511.  
  2512.  
  2513. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hats", VT(2,0.2,2),false)
  2514. MakeForm(HAT1,"Cyl")
  2515. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2516. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(2.01,0.15,2.01),false)
  2517. BELT.Color = C3(1,1,1)
  2518. MakeForm(BELT,"Cyl")
  2519. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2520. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hata", VT(1.3,2.2,1.3),false)
  2521. MakeForm(HAT2,"Cyl")
  2522. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2523. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.2,1.31),false)
  2524. BELT.Color = C3(1,1,1)
  2525. MakeForm(BELT,"Cyl")
  2526. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2527. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gem", VT(0.25,0.25,0.1),false)
  2528. MakeForm(GEM,"Ball")
  2529. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2530. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gems", VT(0.25,0.25,0.1),false)
  2531. MakeForm(GEM,"Ball")
  2532. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2533. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gee", VT(0.1,0.25,0.25),false)
  2534. MakeForm(GEM,"Ball")
  2535. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2536. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gema", VT(0.1,0.25,0.25),false)
  2537. MakeForm(GEM,"Ball")
  2538. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2539. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2540. BELT.Color = C3(1,1,1)
  2541. MakeForm(BELT,"Cyl")
  2542. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2543. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2544. BELT.Color = C3(1,1,1)
  2545. MakeForm(BELT,"Cyl")
  2546. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2547. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2548. BELT.Color = C3(1,1,1)
  2549. MakeForm(BELT,"Cyl")
  2550. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2551. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2552. BELT.Color = C3(1,1,1)
  2553. MakeForm(BELT,"Cyl")
  2554. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2555. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hatsss", VT(1.3,0.5,1.3),false)
  2556. MakeForm(BELT,"Ball")
  2557. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2558. Humanoid.DisplayDistanceType = "None"
  2559.  
  2560. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2561. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2562. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2563. MakeForm(Part,"Wedge")
  2564. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2565. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2566. MakeForm(Part,"Wedge")
  2567. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2568. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2569. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2570. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2571. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2573. MakeForm(Part,"Cyl")
  2574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2575. for i = 1, 8 do
  2576. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2577. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2578. end
  2579. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2580. MakeForm(Part,"Cyl")
  2581. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2582. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2583. MakeForm(Part,"Ball")
  2584. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2585. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2586. MakeForm(Part,"Wedge")
  2587. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2588. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2589. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2590. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2591. MakeForm(Part,"Cyl")
  2592. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2593. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2594. MakeForm(Part,"Cyl")
  2595. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2596. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2597. MakeForm(Part,"Cyl")
  2598. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2599. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2600. MakeForm(Part,"Wedge")
  2601. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2602. local LASTPART = Handle
  2603. for i = 1, 10 do
  2604. if LASTPART == Handle then
  2605. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2606. LASTPART = Part
  2607. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2608. else
  2609. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false)
  2610. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2611. LASTPART = Part
  2612. end
  2613. end
  2614.  
  2615. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2616. MakeForm(Barrel,"Cyl")
  2617. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2618. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2619. MakeForm(Part,"Cyl")
  2620. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2621. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2622. MakeForm(Part,"Wedge")
  2623. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2624. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2625. MakeForm(Hole,"Cyl")
  2626. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2627. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2628. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2629. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2630. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2631. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2632. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2633. coroutine.resume(coroutine.create(function()
  2634. while wait() do
  2635. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2636. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2637. end
  2638. end))
  2639.  
  2640. local cR=255
  2641. local cG=0
  2642. local cB=0
  2643. local flg5=1 local omgidk=1
  2644. local add=10.5
  2645. game:GetService('RunService').Heartbeat:connect(function()
  2646. if omgidk>10000 then omgidk=0 end
  2647. omgidk=omgidk+1
  2648. if cR>=255 then flg5=1 end
  2649. if cG>=255 then flg5=2 end
  2650. if cB>=255 then flg5=3 end
  2651. if flg5==1 then cR=cR-add cG=cG+add end
  2652. if flg5==2 then cG=cG-add cB=cB+add end
  2653. if flg5==3 then cB=cB-add cR=cR+add end
  2654. color=Color3.fromRGB(cR,cG,cB)
  2655. for _, c in pairs(Weapon:GetDescendants()) do
  2656. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2657. c.Material = "Glass"
  2658. c.Color = C3(0,0,0)
  2659. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2660. c.Color = color
  2661. c.Material = "Neon"
  2662. end
  2663. end
  2664. end)
  2665. Weapon.Parent = Character
  2666. for _, c in pairs(Weapon:GetChildren()) do
  2667. if c.ClassName == "Part" then
  2668. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2669. end
  2670. end
  2671.  
  2672.  
  2673.  
  2674.  
  2675. if Character:FindFirstChildOfClass("Accessory") then
  2676. Character:FindFirstChildOfClass("Accessory"):remove()
  2677. elseif Character:FindFirstChildOfClass("Hat") then
  2678. Character:FindFirstChildOfClass("Hat"):remove()
  2679. end
  2680. if Head:FindFirstChild("face") then
  2681. Head.face.Texture = "rbxassetid://403870689"
  2682. if Character:FindFirstChildOfClass("Accessory") then
  2683. Character:FindFirstChildOfClass("Accessory"):remove()
  2684. elseif Character:FindFirstChildOfClass("Hat") then
  2685. Character:FindFirstChildOfClass("Hat"):remove()
  2686. end
  2687. if Character:FindFirstChildOfClass("Accessory") then
  2688. Character:FindFirstChildOfClass("Accessory"):remove()
  2689. elseif Character:FindFirstChildOfClass("Hat") then
  2690. Character:FindFirstChildOfClass("Hat"):remove()
  2691. end
  2692. if Character:FindFirstChildOfClass("Accessory") then
  2693. Character:FindFirstChildOfClass("Accessory"):remove()
  2694. elseif Character:FindFirstChildOfClass("Hat") then
  2695. Character:FindFirstChildOfClass("Hat"):remove()
  2696. end
  2697. if Character:FindFirstChildOfClass("Accessory") then
  2698. Character:FindFirstChildOfClass("Accessory"):remove()
  2699. elseif Character:FindFirstChildOfClass("Hat") then
  2700. Character:FindFirstChildOfClass("Hat"):remove()
  2701. end
  2702. if Character:FindFirstChildOfClass("Accessory") then
  2703. Character:FindFirstChildOfClass("Accessory"):remove()
  2704. elseif Character:FindFirstChildOfClass("Hat") then
  2705. Character:FindFirstChildOfClass("Hat"):remove()
  2706. end
  2707. end
  2708.  
  2709. local Particle = IT("ParticleEmitter",nil)
  2710. Particle.Enabled = false
  2711. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2712. Particle.LightEmission = 0.5
  2713. Particle.Rate = 150
  2714. Particle.ZOffset = 0.2
  2715. Particle.Rotation = NumberRange.new(-180, 180)
  2716. Particle.RotSpeed = NumberRange.new(-180, 180)
  2717. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2718. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  2719.  
  2720. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2721. function ParticleEmitter(Table)
  2722. local PRTCL = Particle:Clone()
  2723. local Speed = Table.Speed or 5
  2724. local Drag = Table.Drag or 0
  2725. local Size1 = Table.Size1 or 1
  2726. local Size2 = Table.Size2 or 5
  2727. local Lifetime1 = Table.Lifetime1 or 1
  2728. local Lifetime2 = Table.Lifetime2 or 1.5
  2729. local Parent = Table.Parent or Torso
  2730. local Emit = Table.Emit or 100
  2731. local Offset = Table.Offset or 360
  2732. local Acel = Table.Acel or VT(0,0,0)
  2733. local Enabled = Table.Enabled or false
  2734. PRTCL.Parent = Parent
  2735. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2736. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2737. PRTCL.Speed = NumberRange.new(Speed)
  2738. PRTCL.VelocitySpread = Offset
  2739. PRTCL.Drag = Drag
  2740. PRTCL.Acceleration = Acel
  2741. if Enabled == false then
  2742. PRTCL:Emit(Emit)
  2743. Debris:AddItem(PRTCL,Lifetime2)
  2744. else
  2745. PRTCL.Enabled = true
  2746. end
  2747. return PRTCL
  2748. end
  2749.  
  2750. function ParticleEmitter(Table)
  2751. local PRTCL = Particle:Clone()
  2752. local Speed = Table.Speed or 5
  2753. local Drag = Table.Drag or 0
  2754. local Size1 = Table.Size1 or 1
  2755. local Size2 = Table.Size2 or 5
  2756. local Lifetime1 = Table.Lifetime1 or 1
  2757. local Lifetime2 = Table.Lifetime2 or 1.5
  2758. local Parent = Table.Parent or Torso
  2759. local Emit = Table.Emit or 100
  2760. local Offset = Table.Offset or 360
  2761. local Acel = Table.Acel or VT(0,0,0)
  2762. local Enabled = Table.Enabled or false
  2763. PRTCL.Parent = Parent
  2764. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2765. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2766. PRTCL.Speed = NumberRange.new(Speed)
  2767. PRTCL.VelocitySpread = Offset
  2768. PRTCL.Drag = Drag
  2769. PRTCL.Acceleration = Acel
  2770. if Enabled == false then
  2771. PRTCL:Emit(Emit)
  2772. Debris:AddItem(PRTCL,Lifetime2)
  2773. else
  2774. PRTCL.Enabled = true
  2775. end
  2776. return PRTCL
  2777. end
  2778.  
  2779. function swait(num)
  2780. if num == 0 or num == nil then
  2781. ArtificialHB.Event:wait()
  2782. else
  2783. for i = 0, num do
  2784. ArtificialHB.Event:wait()
  2785. end
  2786. end
  2787. end
  2788.  
  2789. local DECAL = IT("Decal")
  2790. function MagicRingg()
  2791. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  2792. local MESH = IT("BlockMesh",RING)
  2793. local BOTTOMTEXTURE = DECAL:Clone()
  2794. BOTTOMTEXTURE.Parent = RING
  2795. BOTTOMTEXTURE.Face = "Bottom"
  2796. BOTTOMTEXTURE.Name = "BottomTexture"
  2797. local TOPTEXTURE = DECAL:Clone()
  2798. TOPTEXTURE.Parent = RING
  2799. TOPTEXTURE.Face = "Top"
  2800. TOPTEXTURE.Name = "TopTexture"
  2801. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2802. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2803. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  2804. TOPTEXTURE.Color3 = C3(0,0,0)
  2805. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  2806. end
  2807.  
  2808. function chatfunc(text)
  2809. local chat = coroutine.wrap(function()
  2810. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2811. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2812. end
  2813. local Bill = Instance.new("BillboardGui",Character)
  2814. Bill.Size = UDim2.new(0,100,0,40)
  2815. Bill.StudsOffset = Vector3.new(0,2,0)
  2816. Bill.Adornee = Character.Head
  2817. Bill.Name = "TalkingBillBoard"
  2818. local Hehe = Instance.new("TextLabel",Bill)
  2819. Hehe.BackgroundTransparency = 1
  2820. Hehe.BorderSizePixel = 0
  2821. Hehe.Text = ""
  2822. Hehe.Font = "Cartoon"
  2823. Hehe.TextSize = 40
  2824. Hehe.TextStrokeTransparency = 0
  2825. Hehe.Size = UDim2.new(1,0,0.5,0)
  2826. coroutine.resume(coroutine.create(function()
  2827. while Hehe ~= nil do
  2828. Swait()
  2829. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  2830. Hehe.Rotation = math.random(-5,5)
  2831. Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB)
  2832. Hehe.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB)
  2833. end
  2834. end))
  2835. for i = 1,string.len(text),1 do
  2836. Swait()
  2837. Hehe.Text = string.sub(text,1,i)
  2838. end
  2839. Swait(90)--Re[math.random(1, 93)]
  2840. for i = 0, 1, .025 do
  2841. Swait()
  2842. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2843. Hehe.TextStrokeTransparency = i
  2844. Hehe.TextTransparency = i
  2845. end
  2846. Bill:Destroy()
  2847. end)
  2848. chat()
  2849. end
  2850.  
  2851. function onChatted(msg)
  2852. chatfunc(msg)
  2853. end
  2854.  
  2855. Player.Chatted:connect(onChatted)
  2856.  
  2857. local BODY = {}
  2858. for _, c in pairs(Character:GetDescendants()) do
  2859. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2860. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2861. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2862. end
  2863. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2864. elseif c:IsA("JointInstance") then
  2865. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2866. end
  2867. end
  2868.  
  2869. function refit()
  2870. Character.Parent = workspace
  2871. for e = 1, #BODY do
  2872. if BODY[e] ~= nil then
  2873. local STUFF = BODY[e]
  2874. local PART = STUFF[1]
  2875. local PARENT = STUFF[2]
  2876. local MATERIAL = STUFF[3]
  2877. local COLOR = STUFF[4]
  2878. local TRANSPARENCY = STUFF[5]
  2879. --local SIZE = STUFF[6]
  2880. local NAME = STUFF[7]
  2881. if PART.ClassName == "Part" and PART ~= RootPart then
  2882. PART.Material = MATERIAL
  2883. PART.Transparency = TRANSPARENCY
  2884. PART.Name = NAME
  2885. end
  2886. if PART.Parent ~= PARENT then
  2887. Humanoid:remove()
  2888. PART.Parent = PARENT
  2889. Humanoid = IT("Humanoid",Character)
  2890. end
  2891. end
  2892. end
  2893. end
  2894.  
  2895. Humanoid.Died:connect(function()
  2896. refit()
  2897. end)
  2898.  
  2899. function printbye(Name)
  2900. 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, "}
  2901. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2902. end
  2903.  
  2904. workspace.ChildAdded:connect(function(instance)
  2905. for BANISH = 1, #TOBANISH do
  2906. if TOBANISH[BANISH] ~= nil then
  2907. if instance.Name == TOBANISH[BANISH] then
  2908. coroutine.resume(coroutine.create(function()
  2909. printbye(instance.Name)
  2910. instance:ClearAllChildren()
  2911. Debris:AddItem(instance,0.0005)
  2912. end))
  2913. end
  2914. end
  2915. end
  2916. end)
  2917.  
  2918. function Shatter(Part)
  2919. if Part.Transparency < 1 then
  2920. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  2921. Debris:AddItem(SOUNDPART,5)
  2922. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2923. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2924. local SIZESET = SIZE/4
  2925. local XOffset = Part.Size.X*1.5/SIZESET
  2926. local YOffset = Part.Size.Y*1.5/SIZESET
  2927. local ZOffset = Part.Size.Z*1.5/SIZESET
  2928. for x = 1, math.ceil(XOffset) do
  2929. for y = 1, math.ceil(YOffset) do
  2930. for z = 1, math.ceil(ZOffset) do
  2931. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2932. SHARD.CanCollide = true
  2933. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  2934. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2935. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  2936. for _, c in pairs(Part:GetChildren()) do
  2937. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  2938. c:Clone().Parent = SHARD
  2939. end
  2940. end
  2941. end
  2942. end
  2943. end
  2944. end
  2945. Part:remove()
  2946. end
  2947. --//=================================\\
  2948. --|| DAMAGING
  2949. --\\=================================//
  2950.  
  2951. function recurse(root,callback,i)
  2952. i= i or 0
  2953. for _,v in pairs(root:GetChildren()) do
  2954. i = i + 1
  2955. callback(i,v)
  2956.  
  2957. if #v:GetChildren() > 0 then
  2958. i = recurse(v,callback,i)
  2959. end
  2960. end
  2961.  
  2962. return i
  2963. end
  2964.  
  2965. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2966. attachmentName = attachmentName.."RigAttachment"
  2967. local constraint = Instance.new(className.."Constraint")
  2968. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2969. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2970. constraint.Name = "RagdollConstraint"..part1.Name
  2971.  
  2972. for _,propertyData in next,properties or {} do
  2973. constraint[propertyData[1]] = propertyData[2]
  2974. end
  2975.  
  2976. constraint.Parent = character
  2977. end
  2978.  
  2979. function getAttachment0(character, attachmentName)
  2980. for _,child in next,character:GetChildren() do
  2981. local attachment = child:FindFirstChild(attachmentName)
  2982. if attachment then
  2983. return attachment
  2984. end
  2985. end
  2986. end
  2987.  
  2988. function ArtificialHitbox(Part)
  2989. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2990. HITBOX.CanCollide = true
  2991. HITBOX.CFrame = Part.CFrame
  2992. weldBetween(Part,HITBOX)
  2993. end
  2994.  
  2995. function R15Ragdoll(character,KeepArms)
  2996. character:BreakJoints()
  2997. coroutine.resume(coroutine.create(function()
  2998. recurse(character, function(_,v)
  2999. if v:IsA("Attachment") then
  3000. v.Axis = Vector3.new(0, 1, 0)
  3001. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3002. v.Rotation = Vector3.new(0, 0, 0)
  3003. end
  3004. end)
  3005. for _,child in next,character:GetChildren() do
  3006. if child:IsA("Accoutrement") then
  3007. for _,part in next,child:GetChildren() do
  3008. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  3009. local attachment1 = part:FindFirstChildOfClass("Attachment")
  3010. local attachment0 = getAttachment0(character,attachment1.Name)
  3011. if attachment0 and attachment1 then
  3012. local constraint = Instance.new("HingeConstraint")
  3013. constraint.Attachment0 = attachment0
  3014. constraint.Attachment1 = attachment1
  3015. constraint.LimitsEnabled = true
  3016. constraint.UpperAngle = 0
  3017. constraint.LowerAngle = 0
  3018. constraint.Parent = character
  3019. end
  3020. ArtificialHitbox(part)
  3021. elseif part.Name == "HumanoidRootPart" then
  3022. part:remove()
  3023. end
  3024. end
  3025. end
  3026. end
  3027.  
  3028. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3029. {"LimitsEnabled",true};
  3030. {"UpperAngle",5};
  3031. })
  3032. if character:FindFirstChild("Head") then
  3033. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  3034. {"LimitsEnabled",true};
  3035. {"UpperAngle",15};
  3036. })
  3037. end
  3038.  
  3039. local handProperties = {
  3040. {"LimitsEnabled", true};
  3041. {"UpperAngle",0};
  3042. {"LowerAngle",0};
  3043. }
  3044. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3045. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3046.  
  3047. local shinProperties = {
  3048. {"LimitsEnabled", true};
  3049. {"UpperAngle", 0};
  3050. {"LowerAngle", -75};
  3051. }
  3052. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3053. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3054.  
  3055. local footProperties = {
  3056. {"LimitsEnabled", true};
  3057. {"UpperAngle", 15};
  3058. {"LowerAngle", -45};
  3059. }
  3060. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3061. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3062. if KeepArms == true then
  3063. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  3064. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3065. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  3066. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3067. end
  3068. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3069. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3070. Debris:AddItem(character,5)
  3071. end))
  3072. end
  3073.  
  3074. function Ragdoll(Character2,CharTorso,KeepArms)
  3075. coroutine.resume(coroutine.create(function()
  3076. Character2:BreakJoints()
  3077. local hum = Character2:findFirstChild("Humanoid")
  3078. hum:remove()
  3079. local function Scan(ch)
  3080. local e
  3081. for e = 1,#ch do
  3082. Scan(ch[e]:GetChildren())
  3083. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3084. ch[e]:remove()
  3085. end
  3086. end
  3087. end
  3088. local NEWHUM = IT("Humanoid")
  3089. NEWHUM.Name = "Corpse"
  3090. NEWHUM.Health = 0
  3091. NEWHUM.MaxHealth = 0
  3092. NEWHUM.PlatformStand = true
  3093. NEWHUM.Parent = Character2
  3094. NEWHUM.DisplayDistanceType = "None"
  3095.  
  3096. local ch = Character2:GetChildren()
  3097. local i
  3098. for i = 1,#ch do
  3099. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3100. ch[i]:remove()
  3101. end
  3102. end
  3103.  
  3104. local Torso2 = Character2.Torso
  3105. local movevector = Vector3.new()
  3106.  
  3107. if Torso2 then
  3108. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  3109. local Head = Character2:FindFirstChild("Head")
  3110. if Head then
  3111. local Neck = Instance.new("Weld")
  3112. Neck.Name = "Neck"
  3113. Neck.Part0 = Torso2
  3114. Neck.Part1 = Head
  3115. Neck.C0 = CFrame.new(0, 1.5, 0)
  3116. Neck.C1 = CFrame.new()
  3117. Neck.Parent = Torso2
  3118.  
  3119. end
  3120. local Limb = Character2:FindFirstChild("Right Arm")
  3121. if Limb and KeepArms == true then
  3122.  
  3123. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3124. local Joint = Instance.new("Glue")
  3125. Joint.Name = "RightShoulder"
  3126. Joint.Part0 = Torso2
  3127. Joint.Part1 = Limb
  3128. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3129. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3130. Joint.Parent = Torso2
  3131.  
  3132. local B = Instance.new("Part")
  3133. B.TopSurface = 0
  3134. B.BottomSurface = 0
  3135. B.formFactor = "Symmetric"
  3136. B.Size = Vector3.new(1, 1, 1)
  3137. B.Transparency = 1
  3138. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3139. B.Parent = Character2
  3140. local W = Instance.new("Weld")
  3141. W.Part0 = Limb
  3142. W.Part1 = B
  3143. W.C0 = CFrame.new(0, -0.5, 0)
  3144. W.Parent = Limb
  3145.  
  3146. end
  3147. local Limb = Character2:FindFirstChild("Left Arm")
  3148. if Limb and KeepArms == true then
  3149.  
  3150. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3151. local Joint = Instance.new("Glue")
  3152. Joint.Name = "LeftShoulder"
  3153. Joint.Part0 = Torso2
  3154. Joint.Part1 = Limb
  3155. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3156. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3157. Joint.Parent = Torso2
  3158.  
  3159. local B = Instance.new("Part")
  3160. B.TopSurface = 0
  3161. B.BottomSurface = 0
  3162. B.formFactor = "Symmetric"
  3163. B.Size = Vector3.new(1, 1, 1)
  3164. B.Transparency = 1
  3165. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3166. B.Parent = Character2
  3167. local W = Instance.new("Weld")
  3168. W.Part0 = Limb
  3169. W.Part1 = B
  3170. W.C0 = CFrame.new(0, -0.5, 0)
  3171. W.Parent = Limb
  3172.  
  3173. end
  3174. local Limb = Character2:FindFirstChild("Right Leg")
  3175. if Limb then
  3176.  
  3177. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3178. local Joint = Instance.new("Glue")
  3179. Joint.Name = "RightHip"
  3180. Joint.Part0 = Torso2
  3181. Joint.Part1 = Limb
  3182. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3183. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3184. Joint.Parent = Torso2
  3185.  
  3186. local B = Instance.new("Part")
  3187. B.TopSurface = 0
  3188. B.BottomSurface = 0
  3189. B.formFactor = "Symmetric"
  3190. B.Size = Vector3.new(1, 1, 1)
  3191. B.Transparency = 1
  3192. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3193. B.Parent = Character2
  3194. local W = Instance.new("Weld")
  3195. W.Part0 = Limb
  3196. W.Part1 = B
  3197. W.C0 = CFrame.new(0, -0.5, 0)
  3198. W.Parent = Limb
  3199.  
  3200. end
  3201. local Limb = Character2:FindFirstChild("Left Leg")
  3202. if Limb then
  3203.  
  3204. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3205. local Joint = Instance.new("Glue")
  3206. Joint.Name = "LeftHip"
  3207. Joint.Part0 = Torso2
  3208. Joint.Part1 = Limb
  3209. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3210. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3211. Joint.Parent = Torso2
  3212.  
  3213. local B = Instance.new("Part")
  3214. B.TopSurface = 0
  3215. B.BottomSurface = 0
  3216. B.formFactor = "Symmetric"
  3217. B.Size = Vector3.new(1, 1, 1)
  3218. B.Transparency = 1
  3219. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3220. B.Parent = Character2
  3221. local W = Instance.new("Weld")
  3222. W.Part0 = Limb
  3223. W.Part1 = B
  3224. W.C0 = CFrame.new(0, -0.5, 0)
  3225. W.Parent = Limb
  3226.  
  3227. end
  3228. --[
  3229. local Bar = Instance.new("Part")
  3230. Bar.TopSurface = 0
  3231. Bar.BottomSurface = 0
  3232. Bar.formFactor = "Symmetric"
  3233. Bar.Size = Vector3.new(1, 1, 1)
  3234. Bar.Transparency = 1
  3235. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3236. Bar.Parent = Character2
  3237. local Weld = Instance.new("Weld")
  3238. Weld.Part0 = Torso2
  3239. Weld.Part1 = Bar
  3240. Weld.C0 = CFrame.new(0, 0.5, 0)
  3241. Weld.Parent = Torso2
  3242. --]]
  3243. end
  3244. Character2.Parent = workspace
  3245. Debris:AddItem(Character2,5)
  3246.  
  3247. return Character2,Torso2
  3248. end))
  3249. end
  3250. function killnearest(position,range,maxstrength,direction)
  3251. for i,v in ipairs(workspace:GetChildren()) do
  3252. local body = v:GetChildren()
  3253. for part = 1, #body do
  3254. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3255. if(body[part].Position - position).Magnitude < range then
  3256. if v.ClassName == "Model" then
  3257. --v:BreakJoints()
  3258. end
  3259. local POS = position
  3260. coroutine.resume(coroutine.create(function()
  3261. body[part].Anchored = true
  3262. body[part].Parent = Effects
  3263. body[part].CanCollide = true
  3264. local SIZE = body[part].Size
  3265. body[part].Material = "Neon"
  3266. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  3267. for i = 1, 75 do
  3268. Swait()
  3269. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3270. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3271. end
  3272. coroutine.resume(coroutine.create(function()
  3273. while true do
  3274. Swait()
  3275. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3276. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3277. end
  3278. end))
  3279. body[part].Anchored = false
  3280. body[part].Velocity = direction.lookVector*maxstrength
  3281. end))
  3282. end
  3283. end
  3284. end
  3285. if v.ClassName == "Part" then
  3286. if v.Anchored == false and (v.Position - position).Magnitude < range then
  3287. local POS = position
  3288. coroutine.resume(coroutine.create(function()
  3289. v.Anchored = true
  3290. v.Parent = Effects
  3291. local SIZE = v.Size
  3292. v.Material = "Neon"
  3293. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  3294. for i = 1, 75 do
  3295. Swait()
  3296. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3297. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3298. end
  3299. coroutine.resume(coroutine.create(function()
  3300. while true do
  3301. Swait()
  3302. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3303. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3304. end
  3305. end))
  3306. v.Anchored = false
  3307. v.Velocity = direction.lookVector*maxstrength
  3308. end))
  3309. end
  3310. end
  3311. end
  3312. end
  3313.  
  3314. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3315. local TORSO = Torso
  3316. local HUM = Humanoid
  3317. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3318. coroutine.wrap(function()
  3319. VT = Vector3.new
  3320. MRANDOM = math.random
  3321. local A = TIME
  3322. local B = INTENSITY
  3323. local C = true
  3324. local HUMANOID = Humanoid
  3325. local TIMER = A or 35
  3326. local SHAKE = B or 5
  3327. local FADE = C or true
  3328. if HUMANOID then
  3329. local FADER = SHAKE / TIMER
  3330. for i = 1, TIMER do
  3331. wait()
  3332. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  3333. end
  3334. HUMANOID.CameraOffset = VT(0, 0, 0)
  3335. end
  3336.  
  3337. end)()
  3338. end
  3339. end
  3340.  
  3341. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  3342. local dmg = math.random(10000,100000)
  3343. for i,v in ipairs(workspace:GetChildren()) do
  3344. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3345. local body = v:GetChildren()
  3346. for part = 1, #body do
  3347. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3348. if(body[part].Position - position).Magnitude < radius then
  3349. if v.ClassName == "Model" then
  3350. if v:FindFirstChildOfClass("Humanoid") then
  3351. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  3352. local bv = Instance.new("BodyVelocity")
  3353. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3354. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  3355. bv.Parent = body[part]
  3356. Debris:AddItem(bv,0.2)
  3357. end
  3358. end
  3359. end
  3360. end
  3361. end
  3362. end
  3363. if v:FindFirstChild("HitBy"..Player.Name) then
  3364. v:FindFirstChild("HitBy"..Player.Name):remove()
  3365. end
  3366. end
  3367. end
  3368.  
  3369. function CameraEnshaking(Length, Intensity)
  3370. coroutine.resume(coroutine.create(function()
  3371. local intensity = 1 * Intensity
  3372. local rotM = 0.01 * Intensity
  3373. for i = 0, Length, 0.1 do
  3374. Swait()
  3375. intensity = intensity - 0.05 * Intensity / Length
  3376. rotM = rotM - 5.0E-4 * Intensity / Length
  3377. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3378. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  3379. end
  3380. hum.CameraOffset = Vector3.new(0, 0, 0)
  3381. end))
  3382. end
  3383.  
  3384. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3385. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3386. defence.Name = ("HitBy"..Player.Name)
  3387. game:GetService("Debris"):AddItem(defence, 0.001)
  3388. Damage = Damage * DAMAGEMULTIPLIER
  3389. if Humanoid.Health ~= 0 then
  3390. local CritChance = MRANDOM(1,100)
  3391. if Damage > Humanoid.Health then
  3392. Damage = math.ceil(Humanoid.Health)
  3393. if Damage == 0 then
  3394. Damage = 0.1
  3395. end
  3396. end
  3397. Humanoid.Health = Humanoid.Health - Damage
  3398. end
  3399. end
  3400.  
  3401. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3402. local CHILDREN = workspace:GetDescendants()
  3403. for index, CHILD in pairs(CHILDREN) do
  3404. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3405. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3406. if HUM then
  3407. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3408. if TORSO then
  3409. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3410. if INSTAKILL == true then
  3411. CHILD:BreakJoints()
  3412. else
  3413. local DMG = MRANDOM(MINDMG,MAXDMG)
  3414. ApplyDamage(HUM,DMG,TORSO)
  3415. end
  3416. if FLING > 0 then
  3417. for _, c in pairs(CHILD:GetChildren()) do
  3418. if c:IsA("BasePart") then
  3419. local bv = Instance.new("BodyVelocity")
  3420. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3421. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3422. bv.Parent = c
  3423. Debris:AddItem(bv,0.05)
  3424. end
  3425. end
  3426. end
  3427. end
  3428. end
  3429. end
  3430. end
  3431. end
  3432. end
  3433.  
  3434.  
  3435.  
  3436. function MagicSphere2(size,waitt,cframe,color)
  3437. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  3438. local mesh = IT("SpecialMesh",wave)
  3439. mesh.MeshType = "Sphere"
  3440. mesh.Scale = VT(size,size,size)
  3441. mesh.Offset = VT(0,0,0)
  3442. wave.CFrame = cframe
  3443. coroutine.resume(coroutine.create(function(PART)
  3444. for i = 1, waitt do
  3445. Swait()
  3446. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  3447. wave.Transparency = wave.Transparency - (1/waitt)
  3448. end
  3449. wave:remove()
  3450. end))
  3451. end
  3452.  
  3453. function MagicSphere(size,waitt,cframe,color)
  3454. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  3455. local mesh = IT("SpecialMesh",wave)
  3456. mesh.MeshType = "Sphere"
  3457. mesh.Scale = VT(size,size,size)
  3458. mesh.Offset = VT(0,0,0)
  3459. wave.CFrame = cframe
  3460. coroutine.resume(coroutine.create(function(PART)
  3461. for i = 1, waitt do
  3462. Swait()
  3463. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  3464. wave.Transparency = wave.Transparency + (1/waitt)
  3465. if wave.Transparency > 0.99 then
  3466. wave:remove()
  3467. end
  3468. end
  3469. end))
  3470. end
  3471.  
  3472. local asd = Instance.new("ParticleEmitter")
  3473. asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
  3474. asd.LightEmission = .1
  3475. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3476. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3477. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3478. asd.Transparency = bbb
  3479. asd.Size = aaa
  3480. asd.ZOffset = .9
  3481. asd.Acceleration = Vector3.new(0, -15, 0)
  3482. asd.LockedToPart = false
  3483. asd.EmissionDirection = "Back"
  3484. asd.Lifetime = NumberRange.new(1, 2)
  3485. asd.Rotation = NumberRange.new(-100, 100)
  3486. asd.RotSpeed = NumberRange.new(-100, 100)
  3487. asd.Speed = NumberRange.new(10)
  3488. asd.Enabled = false
  3489. asd.VelocitySpread = 999
  3490.  
  3491. function getbloody(victim,amount)
  3492. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3493. PART.CFrame = victim.CFrame
  3494. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3495. Debris:AddItem(PART,5)
  3496. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3497. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3498. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3499. local prtcl = asd:Clone()
  3500. prtcl.Parent = PART
  3501. prtcl:Emit(amount*10)
  3502. end
  3503.  
  3504. function Kill(Char)
  3505. local NewCharacter = IT("Model",Effects)
  3506. NewCharacter.Name = "Ow im ded ;-;"
  3507. for _, c in pairs(Char:GetDescendants()) do
  3508. if c:IsA("BasePart") and c.Transparency == 0 then
  3509. if c.Parent == Char then
  3510. getbloody(c,5)
  3511. end
  3512. c:BreakJoints()
  3513. c.Material = "Glass"
  3514. c.Color = C3(0.5,0.5,0)
  3515. c.CanCollide = true
  3516. c.Transparency = 0.3
  3517. if c:FindFirstChildOfClass("SpecialMesh") then
  3518. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3519. end
  3520. if c.Name == "Head" then
  3521. c:ClearAllChildren()
  3522. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3523. end
  3524. if c.ClassName == "MeshPart" then
  3525. c.TextureID = ""
  3526. end
  3527. if c:FindFirstChildOfClass("BodyPosition") then
  3528. c:FindFirstChildOfClass("BodyPosition"):remove()
  3529. end
  3530. if c:FindFirstChildOfClass("ParticleEmitter") then
  3531. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3532. end
  3533. c.Parent = NewCharacter
  3534. c.Name = "DeadPart"
  3535. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3536. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3537. end
  3538. end
  3539. Char:remove()
  3540. Debris:AddItem(NewCharacter,5)
  3541. end
  3542.  
  3543. function ApplyDamage(Humanoid,Damage)
  3544. Damage = Damage * DAMAGEMULTIPLIER
  3545. if Humanoid.Health ~= 0 then
  3546. Humanoid.Health = Humanoid.Health - Damage
  3547. end
  3548. end
  3549.  
  3550. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  3551. local CHILDREN = workspace:GetDescendants()
  3552. for index, CHILD in pairs(CHILDREN) do
  3553. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3554. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3555. if HUM then
  3556. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3557. if TORSO then
  3558. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3559. if INSTAKILL == true then
  3560. CHILD:BreakJoints()
  3561. if OPTION ~= nil then
  3562. Kill(CHILD,OPTION)
  3563. end
  3564. else
  3565. local DMG = MRANDOM(MINDMG,MAXDMG)
  3566. ApplyDamage(HUM,DMG)
  3567. end
  3568. if FLING ~= 0 then
  3569. for _, c in pairs(CHILD:GetChildren()) do
  3570. if c:IsA("BasePart") then
  3571. local bv = Instance.new("BodyVelocity")
  3572. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3573. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3574. bv.Parent = c
  3575. Debris:AddItem(bv,0.05)
  3576. end
  3577. end
  3578. end
  3579. end
  3580. end
  3581. end
  3582. end
  3583. end
  3584. end
  3585.  
  3586. function Kill(Victim,Fire)
  3587. coroutine.resume(coroutine.create(function()
  3588. local NIL = script.TotalNil:Clone()
  3589. NIL.Parent = Victim
  3590. NIL.Disabled = false
  3591. if Fire ~= true then
  3592. Victim:BreakJoints()
  3593. for _, c in pairs(Victim:GetChildren()) do
  3594. if c:IsA("BasePart") then
  3595. c.Anchored = true
  3596. end
  3597. end
  3598. for _, c in pairs(Victim:GetChildren()) do
  3599. if c:IsA("BasePart") then
  3600. Shatter(c)
  3601. end
  3602. end
  3603. else
  3604. Victim:BreakJoints()
  3605. local FIRES = {}
  3606. for _, e in pairs(Victim:GetDescendants()) do
  3607. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  3608. e.Transparency = 1
  3609. e:ClearAllChildren()
  3610. local FIRE = script.HellFire:Clone()
  3611. FIRE.Parent = e
  3612. FIRE.Enabled = true
  3613. table.insert(FIRES,FIRE)
  3614. elseif e.ClassName == "Decal" then
  3615. e:remove()
  3616. end
  3617. end
  3618. for i = 1, 50 do
  3619. Victim:BreakJoints()
  3620. wait()
  3621. end
  3622. for i = 1, #FIRES do
  3623. FIRES[i].Enabled = false
  3624. end
  3625. wait(1.1)
  3626. Victim:remove()
  3627. end
  3628. end))
  3629. end
  3630. function Banish(Foe)
  3631. if Foe then
  3632. coroutine.resume(coroutine.create(function()
  3633. --if game.Players:FindFirstChild(Foe.Name) then
  3634. table.insert(TOBANISH,Foe.Name)
  3635. printbye(Foe.Name)
  3636. --end
  3637. Foe.Archivable = true
  3638. local CLONE = Foe:Clone()
  3639. Foe:Destroy()
  3640. CLONE.Parent = Effects
  3641. CLONE:BreakJoints()
  3642. local MATERIALS = {"Glass","Neon"}
  3643. for _, c in pairs(CLONE:GetDescendants()) do
  3644. if c:IsA("BasePart") then
  3645. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3646. CreateSound(340722848, c, 10, 1, false)
  3647. end
  3648. c.Anchored = true
  3649. c.Transparency = c.Transparency + 0.2
  3650. c.Material = MATERIALS[MRANDOM(1,2)]
  3651. c.Color = C3(0,255,0)
  3652. if c.ClassName == "MeshPart" then
  3653. c.TextureID = ""
  3654. end
  3655. if c:FindFirstChildOfClass("SpecialMesh") then
  3656. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3657. end
  3658. if c:FindFirstChildOfClass("Decal") then
  3659. c:FindFirstChildOfClass("Decal"):remove()
  3660. end
  3661. c.Name = "Banished"
  3662. c.CanCollide = false
  3663. else
  3664. c:remove()
  3665. end
  3666. end
  3667. local A = false
  3668. for i = 1, 35 do
  3669. if A == false then
  3670. A = true
  3671. elseif A == true then
  3672. A = false
  3673. end
  3674. for _, c in pairs(CLONE:GetDescendants()) do
  3675. if c:IsA("BasePart") then
  3676. c.Anchored = true
  3677. c.Material = MATERIALS[MRANDOM(1,2)]
  3678. c.Transparency = c.Transparency + 0.8/35
  3679. if A == false then
  3680. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3681. elseif A == true then
  3682. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3683. end
  3684. end
  3685. end
  3686. Swait()
  3687. end
  3688. CLONE:remove()
  3689. end))
  3690. end
  3691. end
  3692.  
  3693. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3694. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3695. defence.Name = ("HitBy"..Player.Name)
  3696. game:GetService("Debris"):AddItem(defence, 0.001)
  3697. Damage = Damage * DAMAGEMULTIPLIER
  3698. if Humanoid.Health ~= 0 then
  3699. local CritChance = MRANDOM(1,100)
  3700. if Damage > Humanoid.Health then
  3701. Damage = math.ceil(Humanoid.Health)
  3702. if Damage == 0 then
  3703. Damage = 0.1
  3704. end
  3705. end
  3706. Humanoid.Health = Humanoid.Health - Damage
  3707. end
  3708. end
  3709. ---------------------I think it pandora thing
  3710. function ApplyAoE12(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3711. local CHILDREN = workspace:GetDescendants()
  3712. for index, CHILD in pairs(CHILDREN) do
  3713. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3714. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3715. if HUM then
  3716. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3717. if TORSO then
  3718. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3719. if INSTAKILL == true then
  3720. CHILD:BreakJoints()
  3721. else
  3722. local DMG = MRANDOM(MINDMG,MAXDMG)
  3723. ApplyDamage(HUM,DMG,TORSO)
  3724. end
  3725. if FLING > 0 then
  3726. for _, c in pairs(CHILD:GetChildren()) do
  3727. if c:IsA("BasePart") then
  3728. local bv = Instance.new("BodyVelocity")
  3729. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3730. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3731. bv.Parent = c
  3732. Debris:AddItem(bv,0.05)
  3733. end
  3734. end
  3735. end
  3736. end
  3737. end
  3738. end
  3739. end
  3740. end
  3741. end
  3742.  
  3743. -----------------
  3744. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3745. local CHILDREN = workspace:GetDescendants()
  3746. for index, CHILD in pairs(CHILDREN) do
  3747. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3748. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3749. if HUM then
  3750. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3751. if TORSO then
  3752. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3753. if ISBANISH == true then
  3754. Banish(CHILD)
  3755. else
  3756. if ISBANISH == "Gravity" then
  3757. HUM.PlatformStand = true
  3758. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3759. local grav = Instance.new("BodyPosition",TORSO)
  3760. grav.D = 15
  3761. grav.P = 20000
  3762. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3763. grav.position = TORSO.Position
  3764. grav.Name = "V3BanishForce"..Player.Name
  3765. else
  3766. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3767. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3768. end
  3769. else
  3770. HUM.PlatformStand = false
  3771. end
  3772. end
  3773. elseif ISBANISH == "Gravity" then
  3774. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3775. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3776. HUM.PlatformStand = false
  3777. end
  3778. end
  3779. end
  3780. end
  3781. end
  3782. end
  3783. end
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789. -----------------------------
  3790.  
  3791. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  3792. local CHILDREN = workspace:GetDescendants()
  3793. for index, CHILD in pairs(CHILDREN) do
  3794. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3795. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3796. if HUM then
  3797. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3798. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3799. if IZBANISH == true then
  3800. Banish(CHILD)
  3801. else
  3802. local DMG = MRANDOM(MINDMG, MAXDMG)
  3803. ApplyDamage(HUM, DMG, TORSO)
  3804. end
  3805. if FLING > 0 then
  3806. for _, c in pairs(CHILD:GetChildren()) do
  3807. if c:IsA("BasePart") then
  3808. local bv = Instance.new("BodyVelocity")
  3809. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3810. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3811. bv.Parent = c
  3812. Debris:AddItem(bv, 0.05)
  3813. end
  3814. end
  3815. end
  3816. end
  3817. end
  3818. end
  3819. end
  3820. end
  3821.  
  3822. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  3823. local svch = Character2
  3824. Character2:BreakJoints()
  3825. local hum = Character2:findFirstChild("Humanoid")
  3826. local q = Character2:GetChildren()
  3827. local CLONE = IT("Model", Effects)
  3828. for i = 1, #q do
  3829. if q[i].ClassName == "Accessory" and Headless == true then
  3830. q[i]:remove()
  3831. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  3832. q[i].Parent = CLONE
  3833. elseif q[i].ClassName ~= "Humanoid" then
  3834. q[i]:remove()
  3835. end
  3836. end
  3837. local chrclone = CLONE
  3838. local ch = chrclone:GetChildren()
  3839. local i
  3840. for i = 1, #ch do
  3841. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3842. ch[i]:remove()
  3843. end
  3844. end
  3845. local function Scan(ch)
  3846. local e
  3847. for e = 1, #ch do
  3848. Scan(ch[e]:GetChildren())
  3849. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3850. ch[e]:remove()
  3851. end
  3852. end
  3853. end
  3854. Character2:remove()
  3855. local NEWHUM = IT("Humanoid")
  3856. NEWHUM.Name = "Corpse"
  3857. NEWHUM.Health = 0
  3858. NEWHUM.MaxHealth = 0
  3859. NEWHUM.PlatformStand = true
  3860. NEWHUM.Parent = CLONE
  3861. NEWHUM.DisplayDistanceType = "None"
  3862. Scan(chrclone:GetChildren())
  3863. local ch = Character2:GetChildren()
  3864. local i
  3865. for i = 1, #ch do
  3866. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3867. ch[i]:remove()
  3868. end
  3869. end
  3870. local ch = Character2:GetChildren()
  3871. local i
  3872. for i = 1, #ch do
  3873. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3874. ch[i]:remove()
  3875. end
  3876. end
  3877. Character2 = chrclone
  3878. local Torso2 = Character2.Torso
  3879. local movevector = Vector3.new()
  3880. if Torso2 then
  3881. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  3882. local Head = Character2:FindFirstChild("Head")
  3883. if Head then
  3884. local Neck = Instance.new("Weld")
  3885. Neck.Name = "Neck"
  3886. Neck.Part0 = Torso2
  3887. Neck.Part1 = Head
  3888. Neck.C0 = CFrame.new(0, 1.5, 0)
  3889. Neck.C1 = CFrame.new()
  3890. Neck.Parent = Torso2
  3891. if Headless == true then
  3892. Head.Transparency = 1
  3893. Head:ClearAllChildren()
  3894. end
  3895. end
  3896. local Limb = Character2:FindFirstChild("Right Arm")
  3897. if Limb then
  3898. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3899. local Joint = Instance.new("Glue")
  3900. Joint.Name = "RightShoulder"
  3901. Joint.Part0 = Torso2
  3902. Joint.Part1 = Limb
  3903. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3904. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3905. Joint.Parent = Torso2
  3906. local B = Instance.new("Part")
  3907. B.TopSurface = 0
  3908. B.BottomSurface = 0
  3909. B.formFactor = "Symmetric"
  3910. B.Size = Vector3.new(1, 1, 1)
  3911. B.Transparency = 1
  3912. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3913. B.Parent = Character2
  3914. local W = Instance.new("Weld")
  3915. W.Part0 = Limb
  3916. W.Part1 = B
  3917. W.C0 = CFrame.new(0, -0.5, 0)
  3918. W.Parent = Limb
  3919. end
  3920. local Limb = Character2:FindFirstChild("Left Arm")
  3921. if Limb then
  3922. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3923. local Joint = Instance.new("Glue")
  3924. Joint.Name = "LeftShoulder"
  3925. Joint.Part0 = Torso2
  3926. Joint.Part1 = Limb
  3927. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3928. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3929. Joint.Parent = Torso2
  3930. local B = Instance.new("Part")
  3931. B.TopSurface = 0
  3932. B.BottomSurface = 0
  3933. B.formFactor = "Symmetric"
  3934. B.Size = Vector3.new(1, 1, 1)
  3935. B.Transparency = 1
  3936. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3937. B.Parent = Character2
  3938. local W = Instance.new("Weld")
  3939. W.Part0 = Limb
  3940. W.Part1 = B
  3941. W.C0 = CFrame.new(0, -0.5, 0)
  3942. W.Parent = Limb
  3943. end
  3944. local Limb = Character2:FindFirstChild("Right Leg")
  3945. if Limb then
  3946. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3947. local Joint = Instance.new("Glue")
  3948. Joint.Name = "RightHip"
  3949. Joint.Part0 = Torso2
  3950. Joint.Part1 = Limb
  3951. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3952. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3953. Joint.Parent = Torso2
  3954. local B = Instance.new("Part")
  3955. B.TopSurface = 0
  3956. B.BottomSurface = 0
  3957. B.formFactor = "Symmetric"
  3958. B.Size = Vector3.new(1, 1, 1)
  3959. B.Transparency = 1
  3960. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3961. B.Parent = Character2
  3962. local W = Instance.new("Weld")
  3963. W.Part0 = Limb
  3964. W.Part1 = B
  3965. W.C0 = CFrame.new(0, -0.5, 0)
  3966. W.Parent = Limb
  3967. end
  3968. local Limb = Character2:FindFirstChild("Left Leg")
  3969. if Limb then
  3970. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3971. local Joint = Instance.new("Glue")
  3972. Joint.Name = "LeftHip"
  3973. Joint.Part0 = Torso2
  3974. Joint.Part1 = Limb
  3975. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3976. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3977. Joint.Parent = Torso2
  3978. local B = Instance.new("Part")
  3979. B.TopSurface = 0
  3980. B.BottomSurface = 0
  3981. B.formFactor = "Symmetric"
  3982. B.Size = Vector3.new(1, 1, 1)
  3983. B.Transparency = 1
  3984. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3985. B.Parent = Character2
  3986. local W = Instance.new("Weld")
  3987. W.Part0 = Limb
  3988. W.Part1 = B
  3989. W.C0 = CFrame.new(0, -0.5, 0)
  3990. W.Parent = Limb
  3991. end
  3992. local Bar = Instance.new("Part")
  3993. Bar.TopSurface = 0
  3994. Bar.BottomSurface = 0
  3995. Bar.formFactor = "Symmetric"
  3996. Bar.Size = Vector3.new(1, 1, 1)
  3997. Bar.Transparency = 1
  3998. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3999. Bar.Parent = Character2
  4000. local Weld = Instance.new("Weld")
  4001. Weld.Part0 = Torso2
  4002. Weld.Part1 = Bar
  4003. Weld.C0 = CFrame.new(0, 0.5, 0)
  4004. Weld.Parent = Torso2
  4005. end
  4006. Character2.Parent = Weapon
  4007. if movevector ~= Vector3.new() then
  4008. for i = 1, 10 do
  4009. Torso2.Velocity = movevector * Velocity
  4010. end
  4011. end
  4012. Character2.Name = "Corpse"
  4013. return Character2, Torso2
  4014. end
  4015.  
  4016. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  4017.  
  4018. DeathTaunt = {"You Will Know Pain."}
  4019.  
  4020.  
  4021.  
  4022.  
  4023. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4024. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4025. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4026. local BODYGYRO = IT("BodyGyro", STATPART)
  4027. local BODYPOSITION = IT("BodyPosition", STATPART)
  4028. BODYPOSITION.P = 2000
  4029. BODYPOSITION.D = 100
  4030. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4031. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4032. game:GetService("Debris"):AddItem(STATPART ,5)
  4033. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4034. BILLBOARDGUI.Adornee = STATPART
  4035. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4036. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4037. BILLBOARDGUI.AlwaysOnTop = false
  4038. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4039. TEXTLABEL.BackgroundTransparency = 1
  4040. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4041. TEXTLABEL.Text = TEXT
  4042. TEXTLABEL.Font = "SciFi"
  4043. TEXTLABEL.FontSize="Size42"
  4044. TEXTLABEL.TextColor3 = COLOR
  4045. TEXTLABEL.TextStrokeTransparency = 1
  4046. TEXTLABEL.TextScaled = true
  4047. TEXTLABEL.TextWrapped = true
  4048. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4049. if LABELTYPE == "Normal" then
  4050. for i = 1, 20 do
  4051. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4052. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4053. end
  4054. elseif LABELTYPE == "Debuff" then
  4055. for i = 1, 20 do
  4056. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4057. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4058. end
  4059. elseif LABELTYPE == "Shock" then
  4060. local ORIGIN = STATPART.Position
  4061. for i = 1, 20 do
  4062. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4063. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4064. end
  4065. end
  4066. THEPART.Parent = nil
  4067. end),STATPART, BODYPOSITION, TEXTLABEL)
  4068. end
  4069.  
  4070. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  4071. local dmg = math.random(min,max)
  4072. for i,v in ipairs(workspace:GetChildren()) do
  4073. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4074. local body = v:GetChildren()
  4075. for part = 1, #body do
  4076. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4077. if(body[part].Position - position).Magnitude < radius then
  4078. if v.ClassName == "Model" then
  4079. if v:FindFirstChildOfClass("Humanoid") then
  4080. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  4081. if HUMAN.Health ~= 0 then
  4082. if HasChain == true then
  4083. local defence = Instance.new("BoolValue",v)
  4084. defence.Name = ("HitBy"..Player.Name)
  4085. game:GetService("Debris"):AddItem(defence, 1)
  4086. coroutine.resume(coroutine.create(function()
  4087. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4088. if TORSO then
  4089. --print("Found "..v.Name.."'s Torso")
  4090. local PART = IT("Part",Effects)
  4091. PART.Anchored = true
  4092. PART.CanCollide = false
  4093. PART.Transparency = 1
  4094. PART.CFrame = CF(position)
  4095. Debris:AddItem(PART,15)
  4096. local A = IT("Attachment",PART)
  4097. --TORSO.Anchored = true
  4098. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  4099. --print("Chain start")
  4100. Front.CFrame = CF(position)
  4101. Front.CanCollide = true
  4102. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  4103. local B = IT("Attachment",Front)
  4104. local ChainLink = IT("Beam",Effects)
  4105. ChainLink.Texture = "rbxassetid://1262544869"
  4106. ChainLink.TextureSpeed = 0
  4107. ChainLink.FaceCamera = true
  4108. ChainLink.Width0 = 3
  4109. ChainLink.Attachment0 = A
  4110. ChainLink.Attachment1 = B
  4111. ChainLink.TextureMode = "Static"
  4112. local bv = Instance.new("BodyVelocity")
  4113. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4114. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  4115. bv.Parent = Front
  4116. bv.Name = "MOVE"
  4117. --print("Chain made")
  4118. coroutine.resume(coroutine.create(function()
  4119. Swait(30)
  4120. bv:remove()
  4121. local POS = Front.Position
  4122. Front.CanCollide = false
  4123. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  4124. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  4125. for i = 0, 1, 0.07 do
  4126. Swait()
  4127. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  4128. end
  4129. Front:remove()
  4130. ChainLink:remove()
  4131. end))
  4132. local harm = Front.Touched:Connect(function(hit)
  4133. impale(Front,hit)
  4134. end)
  4135. end
  4136. end))
  4137. elseif DoesWarp == true then
  4138. local defence = Instance.new("BoolValue",v)
  4139. defence.Name = ("HitBy"..Player.Name)
  4140. game:GetService("Debris"):AddItem(defence, 0.001)
  4141. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4142. Warp(TORSO,Instakill)
  4143. else
  4144. if CanBeDodgedByJumping == true then
  4145. if body[part].Position.Y < position.Y+5 then
  4146. if math.random(1,100) < critrate+1 then
  4147. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4148. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4149. else
  4150. HUMAN.Health = HUMAN.Health - dmg
  4151. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4152. end
  4153. local defence = Instance.new("BoolValue",v)
  4154. defence.Name = ("HitBy"..Player.Name)
  4155. game:GetService("Debris"):AddItem(defence, 0.01)
  4156. end
  4157. else
  4158. if beserk == true then
  4159. HUMAN.Health = 0
  4160. end
  4161. if math.random(1,100) < critrate+1 then
  4162. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4163. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4164. else
  4165. HUMAN.Health = HUMAN.Health - dmg
  4166. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4167. end
  4168. local defence = Instance.new("BoolValue",v)
  4169. defence.Name = ("HitBy"..Player.Name)
  4170. game:GetService("Debris"):AddItem(defence, 0.01)
  4171. end
  4172. end
  4173. end
  4174. end
  4175. end
  4176. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4177. end
  4178. end
  4179. end
  4180. if v.ClassName == "Part" then
  4181. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  4182. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4183. end
  4184. end
  4185. end
  4186. end
  4187. end
  4188.  
  4189. function Warp(Victim,WarpToVoid)
  4190. print("Warping "..Victim.Name.."...")
  4191. Victim.Anchored = true
  4192. coroutine.resume(coroutine.create(function()
  4193. local GUI,GUI2 = CreateGUICircle(Victim)
  4194. CreateSound("1208650519", Victim, 10, 1)
  4195. for i = 1, 100 do
  4196. Swait()
  4197. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  4198. GUI2.Rotation = GUI2.Rotation + 4
  4199. end
  4200. CastWarpOutlines(Victim.Parent)
  4201. if WarpToVoid == false then
  4202. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  4203. CreateSound("1177785010", Victim, 10, 1)
  4204. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  4205. if HUMANOID ~= nil then
  4206. local dmg = MRANDOM(75,95)
  4207. HUMANOID.Health = HUMANOID.Health - dmg
  4208. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  4209. end
  4210. for i = 1, 50 do
  4211. Swait()
  4212. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4213. GUI2.Rotation = GUI2.Rotation - 8
  4214. end
  4215. Victim.Anchored = false
  4216. GUI:remove()
  4217. elseif WarpToVoid == true then
  4218. CastWarpOutlines(Victim.Parent)
  4219. q = Victim.Parent:GetChildren()
  4220. for i = 1, #q do
  4221. if q[i] ~= Victim then
  4222. q[i]:remove()
  4223. end
  4224. end
  4225. CreateSound("1177785010", Victim, 10, 1)
  4226. Victim.Transparency = 1
  4227. for i = 1, 50 do
  4228. Swait()
  4229. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4230. GUI2.Rotation = GUI2.Rotation - 8
  4231. end
  4232. Victim.Parent:remove()
  4233. end
  4234. end))
  4235. end
  4236.  
  4237. function killnearest(position,range,maxstrength)
  4238. for i,v in ipairs(workspace:GetChildren()) do
  4239. local body = v:GetChildren()
  4240. for part = 1, #body do
  4241. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4242. if(body[part].Position - position).Magnitude < range then
  4243. if v.ClassName == "Model" then
  4244. v:BreakJoints()
  4245. end
  4246. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4247. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4248. end
  4249. end
  4250. end
  4251. if v.ClassName == "Part" then
  4252. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4253. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  4254. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4255. end
  4256. end
  4257. end
  4258. end
  4259.  
  4260.  
  4261. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4262. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4263. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4264. local BODYGYRO = IT("BodyGyro", STATPART)
  4265. local BODYPOSITION = IT("BodyPosition", STATPART)
  4266. BODYPOSITION.P = 2000
  4267. BODYPOSITION.D = 100
  4268. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4269. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4270. game:GetService("Debris"):AddItem(STATPART ,5)
  4271. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4272. BILLBOARDGUI.Adornee = STATPART
  4273. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4274. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4275. BILLBOARDGUI.AlwaysOnTop = false
  4276. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4277. TEXTLABEL.BackgroundTransparency = 1
  4278. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4279. TEXTLABEL.Text = TEXT
  4280. TEXTLABEL.Font = "SciFi"
  4281. TEXTLABEL.FontSize="Size42"
  4282. TEXTLABEL.TextColor3 = COLOR
  4283. TEXTLABEL.TextStrokeTransparency = 1
  4284. TEXTLABEL.TextScaled = true
  4285. TEXTLABEL.TextWrapped = true
  4286. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4287. if LABELTYPE == "Normal" then
  4288. for i = 1, 20 do
  4289. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4290. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4291. end
  4292. elseif LABELTYPE == "Debuff" then
  4293. for i = 1, 20 do
  4294. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4295. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4296. end
  4297. elseif LABELTYPE == "Shock" then
  4298. local ORIGIN = STATPART.Position
  4299. for i = 1, 20 do
  4300. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4301. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4302. end
  4303. end
  4304. THEPART.Parent = nil
  4305. end),STATPART, BODYPOSITION, TEXTLABEL)
  4306. end
  4307.  
  4308.  
  4309. --//=================================\\
  4310. --|| ATTACK FUNCTIONS AND STUFF
  4311. --\\=================================//
  4312. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  4313.  
  4314. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4315. MakeForm(RightHole,"Cyl")
  4316.  
  4317. function getbloody(victim,amount)
  4318. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4319. PART.CFrame = victim.CFrame
  4320. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4321. Debris:AddItem(PART,5)
  4322. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4323. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4324. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4325. local prtcl = asd:Clone()
  4326. prtcl.Parent = PART
  4327. prtcl:Emit(amount*10)
  4328. end
  4329.  
  4330. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  4331.  
  4332. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  4333. if DoesCourontine == false then
  4334. local Direction = CF(Part.Position, ToLocation)
  4335. local Distance = (Part.Position - ToLocation).magnitude
  4336. for i = 1, AmountOfTime do
  4337. Swait()
  4338. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4339. Direction = Part.CFrame
  4340. end
  4341. Part:remove()
  4342. elseif DoesCourontine == true then
  4343. coroutine.resume(coroutine.create(function()
  4344. local Direction = CF(Part.Position, ToLocation)
  4345. local Distance = (Part.Position - ToLocation).magnitude
  4346. for i = 1, AmountOfTime do
  4347. Swait()
  4348. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4349. Direction = Part.CFrame
  4350. end
  4351. Part:remove()
  4352. end))
  4353. end
  4354. end
  4355.  
  4356. function Imperfect_Command()
  4357. ATTACK = true
  4358. Rooted = true
  4359. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4360. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4361. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4362. if TORSO then
  4363. local GYRO = IT("BodyGyro", RootPart)
  4364. GYRO.D = 750
  4365. GYRO.P = 2000
  4366. GYRO.MaxTorque = VT(0, 40000, 0)
  4367. CreateSound("907330103", Torso, 10, 1)
  4368. for i = 0, 1.6, 0.1 / Animation_Speed do
  4369. Swait()
  4370. WACKYEFFECT({
  4371. Time = 5,
  4372. EffectType = "Round Slash",
  4373. Size = VT(0, 0, 0),
  4374. Size2 = VT(0.01, 0, 0.01),
  4375. Transparency = 0.5,
  4376. Transparency2 = 1,
  4377. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4378. MoveToPos = nil,
  4379. RotationX = MRANDOM(-50, 50) / 10,
  4380. RotationY = MRANDOM(-50, 50) / 10,
  4381. RotationZ = MRANDOM(-50, 50) / 10,
  4382. Material = "Neon",
  4383. Color = C3(1, 0, 0),
  4384. SoundID = nil,
  4385. SoundPitch = nil,
  4386. SoundVolume = nil
  4387. })
  4388. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4389. 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)
  4390. 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)
  4391. 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)
  4392. 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)
  4393. if ANIM == "Idle" then
  4394. 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)
  4395. 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)
  4396. elseif ANIM == "Walk" then
  4397. 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)
  4398. 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)
  4399. elseif ANIM == "Jump" or ANIM == "Fall" then
  4400. 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)
  4401. 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)
  4402. end
  4403. end
  4404. GYRO:remove()
  4405. for i = 1, 15 do
  4406. WACKYEFFECT({
  4407. Time = MRANDOM(15, 85),
  4408. EffectType = "Round Slash",
  4409. Size = VT(0, 0, 0),
  4410. Size2 = VT(0.3, 0, 0.3),
  4411. Transparency = 0.5,
  4412. Transparency2 = 1,
  4413. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4414. MoveToPos = nil,
  4415. RotationX = MRANDOM(-50, 50) / 10,
  4416. RotationY = MRANDOM(-50, 50) / 10,
  4417. RotationZ = MRANDOM(-50, 50) / 10,
  4418. Material = "Neon",
  4419. Color = C3(1, 0, 0),
  4420. SoundID = nil,
  4421. SoundPitch = nil,
  4422. SoundVolume = nil
  4423. })
  4424. end
  4425. local bv = Instance.new("BodyVelocity")
  4426. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4427. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  4428. bv.Parent = TORSO
  4429. Debris:AddItem(bv, 0.05)
  4430. CreateSound("1222405264", TORSO, 10, 1)
  4431. Banish(HUM.Parent)
  4432. for i = 0, 0.5, 0.1 / Animation_Speed do
  4433. Swait()
  4434. WACKYEFFECT({
  4435. Time = 5,
  4436. EffectType = "Round Slash",
  4437. Size = VT(0, 0, 0),
  4438. Size2 = VT(0.01, 0, 0.01),
  4439. Transparency = 0.5,
  4440. Transparency2 = 1,
  4441. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4442. MoveToPos = nil,
  4443. RotationX = MRANDOM(-50, 50) / 10,
  4444. RotationY = MRANDOM(-50, 50) / 10,
  4445. RotationZ = MRANDOM(-50, 50) / 10,
  4446. Material = "Neon",
  4447. Color = C3(1, 0, 0),
  4448. SoundID = nil,
  4449. SoundPitch = nil,
  4450. SoundVolume = nil
  4451. })
  4452. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4453. 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)
  4454. 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)
  4455. 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)
  4456. 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)
  4457. if ANIM == "Idle" then
  4458. 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)
  4459. 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)
  4460. elseif ANIM == "Walk" then
  4461. 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)
  4462. 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)
  4463. elseif ANIM == "Jump" or ANIM == "Fall" then
  4464. 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)
  4465. 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)
  4466. end
  4467. end
  4468. end
  4469. end
  4470. ATTACK = false
  4471. Rooted = false
  4472. end
  4473.  
  4474.  
  4475. function Fire_At_Will()
  4476. ATTACK = true
  4477. Rooted = false
  4478. local GYRO = IT("BodyGyro", RootPart)
  4479. GYRO.D = 750
  4480. GYRO.P = 2000
  4481. GYRO.MaxTorque = VT(0, 40000, 0)
  4482. for i = 0, 0.2, 0.1 / Animation_Speed do
  4483. Swait()
  4484. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4485. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  4486. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  4487. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4488. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4489. if ANIM == "Idle" then
  4490. 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)
  4491. 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)
  4492. elseif ANIM == "Walk" then
  4493. 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)
  4494. 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)
  4495. elseif ANIM == "Jump" or ANIM == "Fall" then
  4496. 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)
  4497. 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)
  4498. end
  4499. end
  4500. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Sphere", VT(1, 1, 1), false)
  4501. MakeForm(BOMB, "Ball")
  4502. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  4503. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  4504. for i = 0, 1.5, 0.1 / Animation_Speed do
  4505. Swait()
  4506. if MRANDOM(1, 2) == 1 then
  4507. for E = 1, #EYES do
  4508. if EYES[E] ~= nil then
  4509. local EY = EYES[E]
  4510. local LIGHTNING = Zap({
  4511. StartPosition = EY.Position,
  4512. TargetPosition = BOMB.Position,
  4513. Character = Character,
  4514. Color = "Really red",
  4515. Individual = false,
  4516. MaxRange = 7,
  4517. SegmentLength = 1,
  4518. Offset = 0.3,
  4519. SIZE = 0.05
  4520. })
  4521. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  4522. end
  4523. end
  4524. end
  4525. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  4526. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4527. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  4528. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  4529. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4530. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4531. if ANIM == "Idle" then
  4532. 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)
  4533. 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)
  4534. elseif ANIM == "Walk" then
  4535. 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)
  4536. 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)
  4537. elseif ANIM == "Jump" or ANIM == "Fall" then
  4538. 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)
  4539. 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)
  4540. end
  4541. end
  4542. WACKYEFFECT({
  4543. Time = 25,
  4544. EffectType = "Ring",
  4545. Size = VT(0, 0, 0),
  4546. Size2 = VT(3.75, 3.75, 0),
  4547. Transparency = 0.7,
  4548. Transparency2 = 1,
  4549. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4550. MoveToPos = nil,
  4551. RotationX = 0,
  4552. RotationY = 0,
  4553. RotationZ = 0,
  4554. Material = "Neon",
  4555. Color = BOMB.Color,
  4556. SoundID = nil,
  4557. SoundPitch = nil,
  4558. SoundVolume = nil
  4559. })
  4560. WACKYEFFECT({
  4561. Time = 50,
  4562. EffectType = "Ring",
  4563. Size = VT(0, 0, 0),
  4564. Size2 = VT(15, 15, 0),
  4565. Transparency = 0.7,
  4566. Transparency2 = 1,
  4567. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4568. MoveToPos = nil,
  4569. RotationX = 0,
  4570. RotationY = 0,
  4571. RotationZ = 0,
  4572. Material = "Neon",
  4573. Color = BOMB.Color,
  4574. SoundID = nil,
  4575. SoundPitch = nil,
  4576. SoundVolume = nil
  4577. })
  4578. BOMB.Anchored = true
  4579. WELD:remove()
  4580. GYRO:remove()
  4581. coroutine.resume(coroutine.create(function()
  4582. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  4583. for i = 1, 500 do
  4584. Swait()
  4585. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  4586. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  4587. if HITFLOOR ~= nil then
  4588. break
  4589. end
  4590. end
  4591. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  4592. for i = 1, 3 do
  4593. WACKYEFFECT({
  4594. Time = 35,
  4595. EffectType = "Swirl",
  4596. Size = VT(0, 0, 0),
  4597. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  4598. Transparency = 0,
  4599. Transparency2 = 1,
  4600. CFrame = BOMB.CFrame,
  4601. MoveToPos = nil,
  4602. RotationX = 0,
  4603. RotationY = 5 * i,
  4604. RotationZ = 0,
  4605. Material = "Neon",
  4606. Color = BOMB.Color,
  4607. SoundID = nil,
  4608. SoundPitch = nil,
  4609. SoundVolume = nil
  4610. })
  4611. end
  4612. for i = 1, 5 do
  4613. WACKYEFFECT({
  4614. Time = 75,
  4615. EffectType = "Sphere",
  4616. Size = BOMB.Mesh.Scale,
  4617. Size2 = VT(25, 25, 25) * i,
  4618. Transparency = 0.5,
  4619. Transparency2 = 1,
  4620. CFrame = BOMB.CFrame,
  4621. MoveToPos = nil,
  4622. RotationX = 0,
  4623. RotationY = 0,
  4624. RotationZ = 0,
  4625. Material = "Neon",
  4626. Color = BOMB.Color,
  4627. SoundID = 1222405264,
  4628. SoundPitch = 1,
  4629. SoundVolume = 10
  4630. })
  4631. end
  4632. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  4633. if HITFLOOR then
  4634. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  4635. end
  4636. BOMB.Transparency = 1
  4637. for i = 1, 35 do
  4638. Swait()
  4639. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  4640. end
  4641. BOMB:remove()
  4642. end))
  4643. ATTACK = false
  4644. Rooted = false
  4645. end
  4646.  
  4647. function Burning_Hopes()
  4648. ATTACK = true
  4649. Rooted = true
  4650. local AIMPOS = Mouse.Hit.p
  4651. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  4652. coroutine.resume(coroutine.create(function()
  4653. local RAYS = {}
  4654. for i = 1, 4 do
  4655. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
  4656. MakeForm(RAY,"Cyl")
  4657. RAY.Mesh.Scale = VT(1,1.1,1)
  4658. table.insert(RAYS,RAY)
  4659. end
  4660. CreateSound(348663022, Effects, 2, 1.2, false)
  4661. for i = 1, 100 do
  4662. Swait()
  4663. for e = 1, #RAYS do
  4664. if RAYS[e] ~= nil then
  4665. local RAY = RAYS[e]
  4666. 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)
  4667. RAY.Transparency = RAY.Transparency - 0.01
  4668. end
  4669. end
  4670. end
  4671. for i = 1, 20 do
  4672. Swait()
  4673. for e = 1, #RAYS do
  4674. if RAYS[e] ~= nil then
  4675. local RAY = RAYS[e]
  4676. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  4677. end
  4678. end
  4679. end
  4680. wait(0.3)
  4681. for i = 1, 16 do
  4682. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  4683. SpawnTrail(POS+VT(0,200,0),POS)
  4684. end
  4685. for i = 1, 4 do
  4686. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  4687. end
  4688.  
  4689. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  4690. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  4691. CreateSound(130972023, Effects, 2, 1, false)
  4692. local POS = Mouse.Hit.p
  4693. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
  4694. MakeForm(RAY,"Cyl")
  4695. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
  4696. MakeForm(SPHERE,"Ball")
  4697. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  4698. MakeForm(SHIELD,"Ball")
  4699. SHIELD.CFrame = CF(AIMPOS)
  4700. RAY.CFrame = CF(AIMPOS)
  4701. SPHERE.CFrame = CF(AIMPOS)
  4702. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4703. CreateSound(415700134, SPHERE, 10, 0.8, false)
  4704. for i = 1, 200 do
  4705. Swait()
  4706. 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})
  4707. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  4708. RAY.Size = RAY.Size + VT(0,0,0)
  4709. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4710. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4711. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4712. end
  4713. for i = 1, 45 do
  4714. Swait()
  4715. RAY.Transparency = RAY.Transparency + 1/45
  4716. SPHERE.Transparency = RAY.Transparency
  4717. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4718. end
  4719. RAY:remove()
  4720. SHIELD:remove()
  4721. SPHERE:remove()
  4722. end))
  4723. ATTACK = false
  4724. Rooted = false
  4725. end
  4726.  
  4727. function OP()
  4728. ATTACK = true
  4729. Rooted = false
  4730. for i = 0, 1, 0.1 / Animation_Speed do
  4731. Swait()
  4732. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4736. 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)
  4737. 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)
  4738. end
  4739. Rooted = true
  4740. local GYRO = IT("BodyGyro", RootPart)
  4741. GYRO.D = 100
  4742. GYRO.P = 2000
  4743. GYRO.MaxTorque = VT(0, 4000000, 0)
  4744. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4745. for i = 1, 15 do
  4746. for i = 1, 15 do
  4747. Swait()
  4748. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4749. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4750. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4751. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4752. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4753. 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)
  4754. 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)
  4755. end
  4756. coroutine.resume(coroutine.create(function()
  4757. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  4758. CreateSound("814168787", EYE, 10, 1)
  4759. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  4760. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  4761. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4762. local ATTACKI = false
  4763. local TORS
  4764. for i = 1, 10 do
  4765. Swait()
  4766. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  4767. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4768. end
  4769. for i = 1, 100 do
  4770. Swait()
  4771. for _, c in pairs(workspace:GetChildren()) do
  4772. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  4773. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  4774. if 0 < HUMANOID.Health then
  4775. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  4776. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  4777. ATTACKI = true
  4778. TORS = TORSO
  4779. end
  4780. end
  4781. end
  4782. end
  4783. if ATTACKI == true then
  4784. break
  4785. end
  4786. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  4787. end
  4788. if ATTACKI == false then
  4789. for i = 1, 10 do
  4790. Swait()
  4791. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4792. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4793. end
  4794. else
  4795. if TORS ~= nil then
  4796. CreateSound("213603013", EYE, 10, 2)
  4797. local DIST = (TORS.Position - EYE.Position).Magnitude
  4798. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4799. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  4800. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4801. EYE.CFrame = CF(EYE.Position, TORS.Position)
  4802. TORS.Parent:BreakJoints()
  4803. Swait(35)
  4804. end
  4805. for i = 1, 10 do
  4806. Swait()
  4807. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4808. end
  4809. end
  4810. EYE:remove()
  4811. end))
  4812. end
  4813. GYRO:remove()
  4814. ATTACK = false
  4815. Rooted = false
  4816. end
  4817.  
  4818. function Absoluteum()
  4819. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  4820. if HITFLOOR ~= nil then
  4821. do
  4822. local HITBODIES = {}
  4823. ATTACK = true
  4824. Rooted = true
  4825. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  4826. MakeForm(ABSOLUTE, "Ball")
  4827. CreateSound("416200578", RootPart, 10, 1)
  4828. for i = 0, 8, 0.1 / Animation_Speed do
  4829. Swait()
  4830. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  4831. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  4832. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  4833. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  4834. MakeForm(CHARGE, "Ball")
  4835. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  4836. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  4837. 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)
  4838. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4839. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  4841. 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)
  4842. 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)
  4843. end
  4844. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  4845. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  4846. for i = 1, 45 do
  4847. Swait()
  4848. 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)
  4849. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  4852. 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)
  4853. 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)
  4854. end
  4855. coroutine.resume(coroutine.create(function()
  4856. local IMPACT = false
  4857. local BULLET = ABSOLUTE
  4858. MakeForm(BULLET, "Ball")
  4859. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  4860. for i = 1, 500 do
  4861. Swait()
  4862. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  4863. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  4864. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
  4865. if HIT ~= nil then
  4866. IMPACT = true
  4867. break
  4868. end
  4869. end
  4870. if IMPACT == false then
  4871. for i = 1, 40 do
  4872. Swait()
  4873. BULLET.Size = BULLET.Size * 0.9
  4874. end
  4875. BULLET:remove()
  4876. else
  4877. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  4878. for i = 1, 175 do
  4879. Swait()
  4880. BULLET.Size = BULLET.Size * 0.99
  4881. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
  4882. end
  4883. CreateSound("438666001", BULLET, 10, 3)
  4884. Swait(35)
  4885. BULLET.Transparency = 1
  4886. for i = 1, 20 do
  4887. for e = 1, 5 do
  4888. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
  4889. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
  4890. end
  4891. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  4892. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  4893. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  4894. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  4895. Swait(5)
  4896. for e = 1, #HITBODIES do
  4897. if HITBODIES[e] ~= nil then
  4898. local BOD = HITBODIES[e]
  4899. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4900. if TORS then
  4901. BOD:BreakJoints()
  4902. for _, c in pairs(BOD:GetChildren()) do
  4903. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  4904. local bv = Instance.new("BodyVelocity")
  4905. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4906. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  4907. bv.Parent = c
  4908. Debris:AddItem(bv, 0.2)
  4909. end
  4910. end
  4911. end
  4912. end
  4913. end
  4914. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
  4915. end
  4916. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  4917. Debris:AddItem(BULLET, 10)
  4918. end
  4919. end))
  4920. ATTACK = false
  4921. Rooted = false
  4922. end
  4923. end
  4924. end
  4925.  
  4926. function Nuke()
  4927. ATTACK = true
  4928. Rooted = true
  4929. local CHARGE = false
  4930. local BLASTS = {468991944, 468991990}
  4931. coroutine.resume(coroutine.create(function()
  4932. repeat
  4933. Swait()
  4934. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  4935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  4936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  4937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  4938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  4939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  4940. until CHARGE == true
  4941. for i = 0, 0.4, 0.1 / Animation_Speed do
  4942. Swait()
  4943. WACKYEFFECT({
  4944. Time = 15,
  4945. EffectType = "Sphere",
  4946. Size = VT(60, 60, 60),
  4947. Size2 = VT(0, 0, 0),
  4948. Transparency = 1,
  4949. Transparency2 = 0.7,
  4950. CFrame = CF(RootPart.Position),
  4951. MoveToPos = nil,
  4952. RotationX = 0,
  4953. RotationY = 0,
  4954. RotationZ = 0,
  4955. Material = "Neon",
  4956. Color = C3(1, 1, 1),
  4957. SoundID = nil,
  4958. SoundPitch = nil,
  4959. SoundVolume = nil
  4960. })
  4961. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  4962. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  4963. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4964. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4965. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4966. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4967. end
  4968. coroutine.resume(coroutine.create(function()
  4969. local POS = RootPart.Position
  4970. wait(0.2)
  4971. for i = 1, 5 do
  4972. WACKYEFFECT({
  4973. Time = 65,
  4974. EffectType = "Sphere",
  4975. Size = VT(2, 2, 2),
  4976. Size2 = VT(0, 0, 500),
  4977. Transparency = 1,
  4978. Transparency2 = 0,
  4979. CFrame = CF(POS),
  4980. MoveToPos = nil,
  4981. RotationX = MRANDOM(-2, 2),
  4982. RotationY = MRANDOM(-12, 12),
  4983. RotationZ = MRANDOM(-2, 2),
  4984. Material = "Neon",
  4985. Color = C3(1, 1, 1),
  4986. SoundID = nil,
  4987. SoundPitch = nil,
  4988. SoundVolume = nil
  4989. })
  4990. end
  4991. wait(1)
  4992. SHAKECAM(POS, 9999999999, 25, 25)
  4993. ApplyAoE(POS, 450, true)
  4994. WACKYEFFECT({
  4995. Time = 85,
  4996. EffectType = "Sphere",
  4997. Size = VT(120, 120, 120),
  4998. Size2 = VT(350, 350, 350),
  4999. Transparency = 0,
  5000. Transparency2 = 1,
  5001. CFrame = CF(POS),
  5002. MoveToPos = nil,
  5003. RotationX = 0,
  5004. RotationY = 0,
  5005. RotationZ = 0,
  5006. Material = "Neon",
  5007. Color = C3(1, 1, 1),
  5008. SoundID = nil,
  5009. SoundPitch = 1,
  5010. SoundVolume = 10
  5011. })
  5012. for i = 1, 20 do
  5013. WACKYEFFECT({
  5014. Time = 85,
  5015. EffectType = "Sphere",
  5016. Size = VT(120, 120, 120),
  5017. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5018. Transparency = 0.8,
  5019. Transparency2 = 1,
  5020. CFrame = CF(POS),
  5021. MoveToPos = nil,
  5022. RotationX = 0,
  5023. RotationY = 0,
  5024. RotationZ = 0,
  5025. Material = "Neon",
  5026. Color = C3(1, 1, 1),
  5027. SoundID = nil,
  5028. SoundPitch = 1,
  5029. SoundVolume = 10
  5030. })
  5031. WACKYEFFECT({
  5032. Time = 100,
  5033. EffectType = "Wave",
  5034. Size = VT(25, 2, 25),
  5035. Size2 = VT(400, 0, 400) * 1.2,
  5036. Transparency = 0,
  5037. Transparency2 = 1,
  5038. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5039. MoveToPos = nil,
  5040. RotationX = 0,
  5041. RotationY = 0,
  5042. RotationZ = 0,
  5043. Material = "Neon",
  5044. Color = C3(1, 1, 1),
  5045. SoundID = nil,
  5046. SoundPitch = nil,
  5047. SoundVolume = nil
  5048. })
  5049. end
  5050. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5051. for i = 1, 5 do
  5052. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5053. WACKYEFFECT({
  5054. Time = 120,
  5055. EffectType = "Wave",
  5056. Size = VT(150, 2, 150),
  5057. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5058. Transparency = 0,
  5059. Transparency2 = 1,
  5060. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5061. MoveToPos = nil,
  5062. RotationX = 0,
  5063. RotationY = 0,
  5064. RotationZ = 0,
  5065. Material = "Neon",
  5066. Color = C3(1, 1, 1),
  5067. SoundID = nil,
  5068. SoundPitch = nil,
  5069. SoundVolume = nil
  5070. })
  5071. end
  5072. end))
  5073. for i = 0, 1, 0.1 / Animation_Speed do
  5074. Swait()
  5075. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  5076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5079. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -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)
  5080. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -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)
  5081. end
  5082. ATTACK = false
  5083. Rooted = false
  5084. end))
  5085. for i = 1, 30 do
  5086. wait(0.01)
  5087. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5088. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5089. if HITFLOOR then
  5090. ApplyAoE(HITPOS, 65, true)
  5091. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5092. WACKYEFFECT({
  5093. Time = 25,
  5094. EffectType = "Sphere",
  5095. Size = VT(22, 22, 22),
  5096. Size2 = VT(85, 85, 85),
  5097. Transparency = 0,
  5098. Transparency2 = 1,
  5099. CFrame = CF(HITPOS),
  5100. MoveToPos = nil,
  5101. RotationX = 0,
  5102. RotationY = 0,
  5103. RotationZ = 0,
  5104. Material = "Neon",
  5105. Color = C3(1, 1, 1),
  5106. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5107. SoundPitch = MRANDOM(9, 12) / 10,
  5108. SoundVolume = 10
  5109. })
  5110. for e = 1, 3 do
  5111. WACKYEFFECT({
  5112. EffectType = "Wave",
  5113. Size = VT(25, 0, 25),
  5114. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5115. Transparency = 0,
  5116. Transparency2 = 1,
  5117. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5118. MoveToPos = nil,
  5119. RotationX = 0,
  5120. RotationY = 3,
  5121. RotationZ = 0,
  5122. Material = "Neon",
  5123. Color = C3(1, 1, 1),
  5124. SoundID = nil,
  5125. SoundPitch = nil,
  5126. SoundVolume = nil
  5127. })
  5128. WACKYEFFECT({
  5129. Time = 35,
  5130. EffectType = "Sphere",
  5131. Size = VT(22, 45, 22),
  5132. Size2 = VT(25, 45 + e * 75, 25),
  5133. Transparency = 0,
  5134. Transparency2 = 1,
  5135. CFrame = CF(HITPOS) * TURN,
  5136. MoveToPos = nil,
  5137. RotationX = 0,
  5138. RotationY = 0,
  5139. RotationZ = 0,
  5140. Material = "Neon",
  5141. Color = C3(1, 1, 1),
  5142. SoundID = nil,
  5143. SoundPitch = MRANDOM(9, 12) / 10,
  5144. SoundVolume = 10
  5145. })
  5146. end
  5147. end
  5148. end
  5149. CHARGE = true
  5150. end
  5151.  
  5152. function SpectralBanishing()
  5153. ATTACK = true
  5154. Rooted = false
  5155. chatfunc("If you desire to be a ghost...", 20)
  5156. for i = 0, 5, 0.1 / Animation_Speed do
  5157. Swait()
  5158. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  5159. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  5160. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  5161. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5162. 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.25 / Animation_Speed)
  5163. 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.25 / Animation_Speed)
  5164. end
  5165. chatfunc("Then move on to the afterlife!", 6)
  5166. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  5167. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  5168. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  5169. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  5170. local distance = (GunPoint.Position - Way).magnitude
  5171. for i = 1, 5 do
  5172. local laser = Instance.new("Part", Effects)
  5173. laser.Transparency = 0
  5174. laser.CanCollide = false
  5175. laser.Anchored = true
  5176. laser.Color = C3(1, 0, 0)
  5177. laser.Material = "Neon"
  5178. laser.formFactor = Enum.FormFactor.Custom
  5179. laser.Size = Vector3.new(0.15, 0.15, distance)
  5180. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  5181. table.insert(Effects2, {
  5182. laser,
  5183. "Disappear",
  5184. 0.1,
  5185. 1,
  5186. 1,
  5187. 1,
  5188. 2
  5189. })
  5190. end
  5191. coroutine.resume(coroutine.create(function()
  5192. Swait(15)
  5193. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  5194. for i = 1, 25 do
  5195. Swait()
  5196. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  5197. end
  5198. local GAME = game.Players:GetChildren()
  5199. for PLAYER = 1, #GAME do
  5200. do
  5201. local PLAY = GAME[PLAYER]
  5202. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  5203. PLAY.Character.Parent = nil
  5204. coroutine.resume(coroutine.create(function()
  5205. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  5206. PLAY.Character.Parent = workspace
  5207. local Value = IT("BoolValue", Delete)
  5208. Value.Name = PLAY.Name
  5209. end
  5210. end))
  5211. end
  5212. end
  5213. end
  5214. for i = 1, 25 do
  5215. Swait()
  5216. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  5217. end
  5218. end))
  5219. for i = 0, 2, 0.1 / Animation_Speed do
  5220. Swait()
  5221. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  5222. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  5223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  5224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5225. 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.25 / Animation_Speed)
  5226. 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.25 / Animation_Speed)
  5227. end
  5228. ATTACK = false
  5229. Rooted = false
  5230. end
  5231.  
  5232. function Madness()
  5233. ATTACK = true
  5234. Rooted = false
  5235. local GYRO = IT("BodyGyro",RootPart)
  5236. GYRO.D = 750
  5237. GYRO.P = 20000
  5238. GYRO.MaxTorque = VT(0,40000000,0)
  5239. local LOCKED = true
  5240. local SHOT = false
  5241. coroutine.resume(coroutine.create(function()
  5242. for i=0, 1, 0.1 / Animation_Speed do
  5243. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5244. Swait()
  5245. 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(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5246. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5248. 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)
  5249. end
  5250. LOCKED = false
  5251. SHOT = true
  5252. repeat
  5253. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5254. Swait()
  5255. 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(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5256. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5257. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5258. 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)
  5259. until HOLD == false and SHOT == false
  5260. for i=0, 0.3, 0.1 / Animation_Speed do
  5261. Swait()
  5262. 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(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5265. 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)
  5266. end
  5267. GYRO:remove()
  5268. ATTACK = false
  5269. Rooted = false
  5270. end))
  5271. repeat wait() until LOCKED == false
  5272. repeat
  5273. SHOT = true
  5274. wait(0.2)
  5275. SHOT = false
  5276. local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  5277. local HIT = BULLET.Hit
  5278. local HITPOS = BULLET.End
  5279. if HIT then
  5280. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  5281. Banish(HIT.Parent)
  5282. end
  5283. end
  5284. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
  5285. WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
  5286. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  5287. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  5288. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5289. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5290. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5291. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5292. 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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5293. until HOLD == false
  5294. end
  5295.  
  5296. function EMOTE()
  5297. ATTACK = true
  5298. Rooted = false
  5299. local LOOP = 0
  5300. for i=0, 0.1, 0.1 / Animation_Speed do
  5301. Swait()
  5302. 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)
  5303. 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)
  5304. 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)
  5305. 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)
  5306. end
  5307. for i=0, 3, 0.1 / Animation_Speed do
  5308. Swait()
  5309. LOOP = LOOP + 1
  5310. 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)
  5311. 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)
  5312. 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)
  5313. 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)
  5314. end
  5315. for i=0, 0.1, 0.1 / Animation_Speed do
  5316. Swait()
  5317. 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)
  5318. 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)
  5319. 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)
  5320. 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)
  5321. end
  5322. ATTACK = false
  5323. Rooted = false
  5324. end
  5325.  
  5326. function Kill(Char)
  5327. local NewCharacter = IT("Model",Effects)
  5328. NewCharacter.Name = "Ow im ded ;-;"
  5329. for _, c in pairs(Char:GetDescendants()) do
  5330. if c:IsA("BasePart") and c.Transparency == 0 then
  5331. if c.Parent == Char then
  5332. getbloody(c,5)
  5333. end
  5334. c:BreakJoints()
  5335. c.Material = "Glass"
  5336. c.Color = C3(0.5,0,0)
  5337. c.CanCollide = true
  5338. c.Transparency = 0.3
  5339. if c:FindFirstChildOfClass("SpecialMesh") then
  5340. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  5341. end
  5342. if c.Name == "Head" then
  5343. c:ClearAllChildren()
  5344. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  5345. end
  5346. if c.ClassName == "MeshPart" then
  5347. c.TextureID = ""
  5348. end
  5349. if c:FindFirstChildOfClass("BodyPosition") then
  5350. c:FindFirstChildOfClass("BodyPosition"):remove()
  5351. end
  5352. if c:FindFirstChildOfClass("ParticleEmitter") then
  5353. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  5354. end
  5355. c.Parent = NewCharacter
  5356. c.Name = "DeadPart"
  5357. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  5358. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  5359. end
  5360. end
  5361. Char:remove()
  5362. Debris:AddItem(NewCharacter,5)
  5363. end
  5364.  
  5365. function Taunt()
  5366. ATTACK = true
  5367. Rooted = true
  5368. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  5369. repeat
  5370. Swait()
  5371. TAUNT.Parent = Torso
  5372. TAUNT.Playing = true
  5373. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5374. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  5375. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5376. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5377. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5378. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5379. until TAUNT.TimePosition >= 1.25
  5380. for i=0, 1.6, 0.1 / Animation_Speed do
  5381. Swait()
  5382. TAUNT.Parent = Torso
  5383. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  5384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  5385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5387. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5389. end
  5390. ATTACK = false
  5391. Rooted = false
  5392. end
  5393.  
  5394. function oofBeam()
  5395. ATTACK = true
  5396. Rooted = false
  5397. VALUE2 = true
  5398. local GYRO = IT("BodyGyro", RootPart)
  5399. GYRO.D = 20
  5400. GYRO.P = 4000
  5401. GYRO.MaxTorque = VT(0, 40000, 0)
  5402. local POS = RootPart.Position + VT(0, 25, 0)
  5403. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  5404. 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)
  5405. 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)
  5406. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5407. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5408. 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)
  5409. 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)
  5410. coroutine.resume(coroutine.create(function()
  5411. local E = 0
  5412. repeat
  5413. E = E + 5
  5414. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  5415. Swait()
  5416. 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)
  5417. 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)
  5418. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5419. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5420. 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)
  5421. 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)
  5422. until ATTACK == false
  5423. GYRO:remove()
  5424. end))
  5425. for i = 1, 50 do
  5426. Swait()
  5427. end
  5428. for i = 1, 25 do
  5429. Swait()
  5430. WACKYEFFECT({
  5431. Time = 15,
  5432. EffectType = "Skull",
  5433. Size = VT(4, 4, 4),
  5434. Size2 = VT(0, 0, 0),
  5435. Transparency = 1,
  5436. Transparency2 = 0,
  5437. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  5438. MoveToPos = Eon.Position,
  5439. RotationX = 0,
  5440. RotationY = 0,
  5441. RotationZ = 0,
  5442. Material = "Neon",
  5443. Color = C3(1, 0, 0),
  5444. SoundID = nil,
  5445. SoundPitch = nil,
  5446. SoundVolume = nil
  5447. })
  5448. end
  5449. local LOOP = 0
  5450. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  5451. MakeForm(BEAMO, "Ball")
  5452. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  5453. MakeForm(BEAM, "Cyl")
  5454. repeat
  5455. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  5456. if DISTANCE < 2000 then
  5457. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  5458. BEAMO.CFrame = CF(Eon.Position)
  5459. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  5460. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  5461. ApplyAoE(Mouse.Hit.p, 14,true,false)
  5462. WACKYEFFECT({
  5463. Time = 35,
  5464. EffectType = "Sphere",
  5465. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  5466. Size2 = VT(5, 75, 5),
  5467. Transparency = 0,
  5468. Transparency2 = 1,
  5469. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5470. MoveToPos = nil,
  5471. RotationX = 0,
  5472. RotationY = 0,
  5473. RotationZ = 0,
  5474. Material = "Neon",
  5475. Color = C3(1, 0, 0),
  5476. SoundID = nil,
  5477. SoundPitch = MRANDOM(9, 12) / 10,
  5478. SoundVolume = 10
  5479. })
  5480. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5481. Swait()
  5482. LOOP = LOOP + 1
  5483. end
  5484. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  5485. coroutine.resume(coroutine.create(function()
  5486. for i = 1, 15 do
  5487. Swait()
  5488. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  5489. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  5490. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  5491. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  5492. end
  5493. BEAM:remove()
  5494. BEAMO:remove()
  5495. end))
  5496. ATTACK = false
  5497. Rooted = false
  5498. VALUE2 = false
  5499. end
  5500.  
  5501. function TakeOnMe()
  5502. Speed = 5
  5503. local MEME = CreateSound(0, Effects, 2, 1, false)
  5504. ATTACK = true
  5505. Rooted = false
  5506. local DANCE = true
  5507. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  5508. if NEWKEY == "p" then
  5509. DANCE = false
  5510. end
  5511. end)
  5512. PLAYSONG = false
  5513. while true do
  5514. for i = 1, 15 do
  5515. Swait()
  5516. MEME.Parent = Effects
  5517. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5518. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5521. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5522. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5523. end
  5524. if DANCE == false then
  5525. break
  5526. end
  5527. for i = 1, 15 do
  5528. Swait()
  5529. MEME.Parent = Effects
  5530. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5534. 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)
  5535. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5536. end
  5537. end
  5538. PLAYSONG = true
  5539. KEY:Disconnect()
  5540. MEME:remove()
  5541. Speed = 25
  5542. ATTACK = false
  5543. Rooted = false
  5544. end
  5545.  
  5546.  
  5547. function Execute()
  5548. ATTACK = true
  5549. Rooted = false
  5550. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  5551. Part.Color = C3(0,0,0)
  5552. MakeForm(Part,"Wedge")
  5553. Part.CanCollide = true
  5554. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  5555. for i=0, 1, 0.1 / Animation_Speed do
  5556. Swait()
  5557. 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)
  5558. 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)
  5559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5560. 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)
  5561. 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)
  5562. 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)
  5563. end
  5564. CreateSound(541909867, RightBarrel, 7, 1, false)
  5565. local TOCH = Part.Touched:Connect(function(hit)
  5566. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5567. Banish(hit.Parent)
  5568. end
  5569. end)
  5570. for i=0, 0.35, 0.1 / Animation_Speed do
  5571. Swait()
  5572. 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)
  5573. 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)
  5574. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5575. 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)
  5576. 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)
  5577. 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)
  5578. end
  5579. TOCH:disconnect()
  5580. for i=0, 0.35, 0.1 / Animation_Speed do
  5581. Swait()
  5582. 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)
  5583. 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)
  5584. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5585. 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)
  5586. 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)
  5587. 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)
  5588. end
  5589. Part:remove()
  5590. ATTACK = false
  5591. Rooted = false
  5592. end
  5593. function Banisher_Burn()
  5594. ATTACK = true
  5595. Rooted = true
  5596. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  5597. for i=0, 1, 0.1 / Animation_Speed do
  5598. Swait()
  5599. 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)
  5600. 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)
  5601. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5602. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5603. 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)
  5604. 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)
  5605. end
  5606. coroutine.resume(coroutine.create(function()
  5607. local POS = Mouse.Hit.p
  5608. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  5609. MakeForm(RAY,"Cyl")
  5610. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  5611. MakeForm(SPHERE,"Ball")
  5612. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  5613. MakeForm(SHIELD,"Ball")
  5614. SHIELD.CFrame = CF(POS)
  5615. RAY.CFrame = CF(POS)
  5616. SPHERE.CFrame = CF(POS)
  5617. CreateSound(440145570, SPHERE, 10, 0.8, false)
  5618. CreateSound(415700134, SPHERE, 10, 0.8, false)
  5619. for i = 1, 200 do
  5620. Swait()
  5621. 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,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5622. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  5623. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  5624. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  5625. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  5626. end
  5627. for i = 1, 45 do
  5628. Swait()
  5629. RAY.Transparency = RAY.Transparency + 1/45
  5630. SPHERE.Transparency = RAY.Transparency
  5631. SHIELD.Transparency = SPHERE.Transparency + 1/45
  5632. end
  5633. RAY:remove()
  5634. SHIELD:remove()
  5635. SPHERE:remove()
  5636. end))
  5637. for i=0, 1, 0.1 / Animation_Speed do
  5638. Swait()
  5639. 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)
  5640. 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)
  5641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5643. 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)
  5644. 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)
  5645. end
  5646. ATTACK = false
  5647. Rooted = false
  5648. end
  5649. function Teleport()
  5650. ATTACK = true
  5651. Rooted = false
  5652. for i=0, 0.5, 0.1 / Animation_Speed do
  5653. Swait()
  5654. 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)
  5655. 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)
  5656. end
  5657. for e = 1, #BODY do
  5658. if BODY[e] ~= nil then
  5659. local STUFF = BODY[e]
  5660. local PART = STUFF[1]
  5661. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  5662. local PRT = PART:Clone()
  5663. PRT.Anchored = true
  5664. PRT.CanCollide = false
  5665. PRT.Material = "Neon"
  5666. PRT.Color = C3(255,100,255)
  5667. PRT.Name = "WarpEffect"
  5668. PRT.Parent = Effects
  5669. PRT.CFrame = PART.CFrame
  5670. PRT:BreakJoints()
  5671. if PRT:FindFirstChildOfClass("Sound") then
  5672. PRT:FindFirstChildOfClass("Sound"):remove()
  5673. end
  5674. if PRT:FindFirstChildOfClass("Decal") then
  5675. PRT:FindFirstChildOfClass("Decal"):remove()
  5676. end
  5677. coroutine.resume(coroutine.create(function()
  5678. for i = 1, 100 do
  5679. Swait()
  5680. PRT.Transparency = PRT.Transparency + 1/100
  5681. end
  5682. PRT:remove()
  5683. end))
  5684. end
  5685. end
  5686. end
  5687. CreateSound(217767125, Torso, 10, 1)
  5688. local POS = RootPart.Orientation
  5689. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  5690. RootPart.Orientation = POS
  5691. RootJoint.Parent = RootPart
  5692. for i=0, 0.5, 0.1 / Animation_Speed do
  5693. Swait()
  5694. 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)
  5695. 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)
  5696. end
  5697. for i=0, 0.1, 0.1 / Animation_Speed do
  5698. Swait()
  5699. 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)
  5700. end
  5701. ATTACK = false
  5702. Rooted = false
  5703. end
  5704. function BanishmentBeam()
  5705. ATTACK = true
  5706. Rooted = false
  5707. local GYRO = IT("BodyGyro",RootPart)
  5708. GYRO.D = 100
  5709. GYRO.P = 2000
  5710. GYRO.MaxTorque = VT(0,4000000,0)
  5711. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5712. CreateSound("93724183", RightArm, 5, 1, false)
  5713. for i=1, 35 do
  5714. Swait()
  5715. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  5716. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5717. 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(45)), 1 / Animation_Speed)
  5718. 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)
  5719. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. end
  5724. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  5725. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  5726. local TOCH = BEAM.Touched:Connect(function(hit)
  5727. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  5728. Kill(hit)
  5729. end
  5730. end)
  5731. local I = 0
  5732. repeat
  5733. Swait()
  5734. I = I + 1
  5735. if I <= 10 then
  5736. BEAM.Transparency = BEAM.Transparency - 0.1
  5737. end
  5738. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  5739. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  5740. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  5741. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  5742. BEAM.Size = VT(2,2,DISTANCE)
  5743. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5744. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  5745. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  5746. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5747. 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(45)), 1 / Animation_Speed)
  5748. 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)
  5749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5750. 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)
  5751. 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)
  5752. 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)
  5753. if ENDHIT ~= nil then
  5754. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  5755. Banish(ENDHIT)
  5756. end
  5757. end
  5758. until LOOP.Playing == false
  5759. GYRO:remove()
  5760. BEAM:remove()
  5761. ATTACK = false
  5762. Rooted = false
  5763. end
  5764. function Bat_Wave()
  5765. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  5766. if HITFLOOR ~= nil then
  5767. ATTACK = true
  5768. Rooted = true
  5769. do
  5770. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  5771. BAT.Color = C3(0, 0, 0)
  5772. MakeForm(BAT, "Ball")
  5773. CreateSound("1177785010", BAT, 10, 1)
  5774. for i = 1, 25 do
  5775. Swait()
  5776. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5777. BAT.Transparency = BAT.Transparency - 0.04
  5778. 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)
  5779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5782. 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)
  5783. 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)
  5784. end
  5785. local GYRO = IT("BodyGyro", RootPart)
  5786. GYRO.D = 100
  5787. GYRO.P = 2000
  5788. GYRO.MaxTorque = VT(0, 4000000, 0)
  5789. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5790. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  5791. WING.Color = C3(1, 0, 0)
  5792. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5793. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  5794. for i = 1, 15 do
  5795. Swait()
  5796. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5797. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5798. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5799. WING.Transparency = WING.Transparency - 0.06666666666666667
  5800. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  5801. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5805. 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)
  5806. 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)
  5807. end
  5808. coroutine.resume(coroutine.create(function()
  5809. local LOOP = 0
  5810. for i = 1, 70 do
  5811. LOOP = LOOP + 1
  5812. Swait()
  5813. if i < 18 then
  5814. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  5815. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  5816. end
  5817. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  5818. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5819. if LOOP == 15 then
  5820. LOOP = 0
  5821. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  5822. CreateSound("201858087", BAT, 10, 1)
  5823. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  5824. end
  5825. end
  5826. killnearest(BAT.Position, 35, 250)
  5827. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  5828. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  5829. CreateSound("178452217", BAT, 10, 1)
  5830. WING:remove()
  5831. BAT.Transparency = 1
  5832. Debris:AddItem(BAT, 5)
  5833. end))
  5834. GYRO:remove()
  5835. ATTACK = false
  5836. Rooted = false
  5837. end
  5838. end
  5839. end
  5840. function Deathzone()
  5841. ATTACK = true
  5842. Rooted = true
  5843. for i=0, 1, 0.1 / Animation_Speed do
  5844. Swait()
  5845. 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)
  5846. 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)
  5847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5848. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5849. 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)
  5850. 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)
  5851. end
  5852. local DONE = false
  5853. local GATE = nil
  5854. local GATESPIN = true
  5855. coroutine.resume(coroutine.create(function()
  5856. repeat
  5857. Swait()
  5858. if GATE ~= nil then
  5859. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  5860. end
  5861. until GATESPIN == false
  5862. end))
  5863. coroutine.resume(coroutine.create(function()
  5864. repeat
  5865. Swait()
  5866. 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)
  5867. 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)
  5868. 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)
  5869. 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)
  5870. 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)
  5871. 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)
  5872. until DONE == true
  5873. Swait(50)
  5874. for i = 1, 35 do
  5875. Swait(4)
  5876. local FIRED = false
  5877. local CHILDREN = workspace:GetDescendants()
  5878. for index, CHILD in pairs(CHILDREN) do
  5879. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5880. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5881. if HUM then
  5882. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5883. if TORSO then
  5884. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5885. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5886. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5887. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  5888. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5889. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5890. Banish(CHILD)
  5891. FIRED = true
  5892. break
  5893. end
  5894. end
  5895. end
  5896. end
  5897. end
  5898. if FIRED == false then
  5899. 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)))
  5900. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  5901. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5902. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5903. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5904. if HITBOD ~= nil then
  5905. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5906. Kill(HITBOD.Parent)
  5907. end
  5908. end
  5909. end
  5910. end
  5911. for i = 1, 45 do
  5912. Swait()
  5913. GATE.Size = GATE.Size - VT(3,0,3)
  5914. end
  5915. GATESPIN = false
  5916. GATE:remove()
  5917. end))
  5918. Swait(15)
  5919. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5920. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  5921. local DECAL = IT("Decal",GATE)
  5922. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  5923. DECAL.Face = "Top"
  5924. GATE.CFrame = CF(HITPOS)
  5925. CreateSound(160772554, GATE, 7, 1.3, false)
  5926. for i = 1, 45 do
  5927. Swait()
  5928. GATE.Size = GATE.Size + VT(18,0,18)
  5929. end
  5930. CreateSound(213603013, RightHole, 7, 1, false)
  5931. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(.7,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5932. ATTACK = false
  5933. Rooted = false
  5934. DONE = true
  5935. end
  5936.  
  5937. function Banisher_Bullet()
  5938. ATTACK = true
  5939. Rooted = false
  5940. for i=0, 0.05, 0.1 / Animation_Speed do
  5941. Swait()
  5942. turnto(Mouse.Hit.p)
  5943. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5944. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5945. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5946. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5947. 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)
  5948. 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)
  5949. chatfunc("BE GONE FROM HERE")
  5950. end
  5951. repeat
  5952. for i=0, 0.05, 0.1 / Animation_Speed do
  5953. Swait()
  5954. turnto(Mouse.Hit.p)
  5955. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5956. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5957. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5958. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5959. 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)
  5960. 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)
  5961. end
  5962. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  5963. SpawnTrail(Hole.Position,POS)
  5964. if HIT ~= nil then
  5965. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  5966. Banish(HIT.Parent)
  5967. end
  5968. end
  5969. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5970. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(cR,cG,cB), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5971. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5972. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(cR,cG,cB), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5973. for i=0, 0.05, 0.1 / Animation_Speed do
  5974. Swait()
  5975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  5977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5979. 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)
  5980. 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)
  5981. end
  5982. until KEYHOLD == false
  5983. ATTACK = false
  5984. Rooted = false
  5985. end
  5986.  
  5987.  
  5988. function Perfect_Command()
  5989. ATTACK = true
  5990. Rooted = true
  5991. chatfunc("Weaklings...")
  5992. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5993. CreateSound("1368605755", Effects, 10, 1)
  5994. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5995. killnearest2(Torso.Position, 9999, 0, 0, 0, true)
  5996. ATTACK = false
  5997. Rooted = false
  5998. end
  5999.  
  6000. function killnearest2(position,range,maxstrength)
  6001. for i,v in ipairs(workspace:GetChildren()) do
  6002. if v.ClassName == "Model" then
  6003. local body = v:GetChildren()
  6004. for part = 1, #body do
  6005. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6006. if(body[part].Position - position).Magnitude < range then
  6007. if v.ClassName == "Model" then
  6008. v:BreakJoints()
  6009. end
  6010. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  6011. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  6012. end
  6013. end
  6014. end
  6015. end
  6016. end
  6017. end
  6018.  
  6019. function killnearest(position,range,maxstrength,direction)
  6020. for i,v in ipairs(workspace:GetChildren()) do
  6021. local body = v:GetChildren()
  6022. for part = 1, #body do
  6023. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6024. if(body[part].Position - position).Magnitude < range then
  6025. if v.ClassName == "Model" then
  6026. --v:BreakJoints()
  6027. end
  6028. local POS = position
  6029. coroutine.resume(coroutine.create(function()
  6030. body[part].Anchored = true
  6031. body[part].Parent = Effects
  6032. body[part].CanCollide = true
  6033. local SIZE = body[part].Size
  6034. body[part].Material = "Neon"
  6035. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  6036. for i = 1, 75 do
  6037. Swait()
  6038. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6039. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6040. end
  6041. coroutine.resume(coroutine.create(function()
  6042. while true do
  6043. Swait()
  6044. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6045. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6046. end
  6047. end))
  6048. body[part].Anchored = false
  6049. body[part].Velocity = direction.lookVector*maxstrength
  6050. end))
  6051. end
  6052. end
  6053. end
  6054. if v.ClassName == "Part" then
  6055. if v.Anchored == false and (v.Position - position).Magnitude < range then
  6056. local POS = position
  6057. coroutine.resume(coroutine.create(function()
  6058. v.Anchored = true
  6059. v.Parent = Effects
  6060. local SIZE = v.Size
  6061. v.Material = "Neon"
  6062. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  6063. for i = 1, 75 do
  6064. Swait()
  6065. v.Color = Color3.fromRGB(cR,cG,cB)
  6066. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6067. end
  6068. coroutine.resume(coroutine.create(function()
  6069. while true do
  6070. Swait()
  6071. v.Color = Color3.fromRGB(cR,cG,cB)
  6072. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6073. end
  6074. end))
  6075. v.Anchored = false
  6076. v.Velocity = direction.lookVector*maxstrength
  6077. end))
  6078. end
  6079. end
  6080. end
  6081. end
  6082. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  6083. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6084. local mesh = IT("SpecialMesh",wave)
  6085. mesh.MeshType = "FileMesh"
  6086. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  6087. mesh.Scale = SIZE
  6088. mesh.Offset = VT(0,0,0)
  6089. wave.CFrame = CFRAME
  6090. coroutine.resume(coroutine.create(function(PART)
  6091. for i = 1, WAIT do
  6092. Swait()
  6093. mesh.Scale = mesh.Scale + GROW
  6094. if DOESROT == true then
  6095. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6096. end
  6097. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6098. if wave.Transparency > 0.99 then
  6099. wave:remove()
  6100. end
  6101. end
  6102. end))
  6103. end
  6104.  
  6105. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  6106. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6107. local mesh = IT("SpecialMesh",wave)
  6108. mesh.MeshType = "Sphere"
  6109. mesh.Scale = SIZE
  6110. mesh.Offset = VT(0,0,0)
  6111. wave.CFrame = CFRAME
  6112. coroutine.resume(coroutine.create(function(PART)
  6113. for i = 1, WAIT do
  6114. Swait()
  6115. mesh.Scale = mesh.Scale + GROW
  6116. wave.Transparency = wave.Transparency + (1/WAIT)
  6117. if wave.Transparency > 0.99 then
  6118. wave:remove()
  6119. end
  6120. end
  6121. end))
  6122. end
  6123. function Eliminate()
  6124. chatfunc("Come here!")
  6125. ATTACK = true
  6126. Rooted = false
  6127. local HASGRABBED = false
  6128. local WELD = nil
  6129. local TORS = nil
  6130. local hitting = RightArm.Touched:Connect(function(hit)
  6131. if hit.Parent:FindFirstChild("Humanoid") then
  6132. if hit.Parent.Humanoid.Health ~= 0 then
  6133. UNANCHOR = false
  6134. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6135. TORS.Anchored = true
  6136. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  6137. WELD = weldBetween(RightArm,TORS)
  6138. HASGRABBED = true
  6139. chatfunc("Time to die.")
  6140. Rooted = true
  6141. end
  6142. end
  6143. end)
  6144. for i=0, 1, 0.1 / Animation_Speed do
  6145. Swait()
  6146. if HASGRABBED == true then
  6147. break
  6148. end
  6149. 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)
  6150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  6151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6153. 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)), 2 / Animation_Speed)
  6154. 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)), 2 / Animation_Speed)
  6155. end
  6156. hitting:disconnect()
  6157. if HASGRABBED == true then
  6158. TORS.Anchored = false
  6159. RootPart.Anchored = true
  6160. for i=0, 2, 0.1 / Animation_Speed do
  6161. Swait()
  6162. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6166. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  6167. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6168. end
  6169. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
  6170. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
  6171. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  6172. SOUNDPART.CFrame = RootPart.CFrame
  6173. Debris:AddItem(SOUNDPART,5)
  6174. CreateSound("260411131", SOUNDPART, 2, 1)
  6175. for i = 1, 15 do
  6176. Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  6177. end
  6178. for i=0, 2, 0.1 / Animation_Speed do
  6179. Swait()
  6180. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6181. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6182. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6183. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6184. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  6185. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  6186. end
  6187. for i=0, 0.25, 0.1 / Animation_Speed do
  6188. Swait()
  6189. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  6190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  6191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  6192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  6193. 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)
  6194. 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)
  6195. end
  6196. if HITFLOOR ~= nil then
  6197. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
  6198. end
  6199. CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
  6200. WELD:remove()
  6201. for i = 1, 25 do
  6202. Swait()
  6203. killnearest(RootPart.Position,45,100,Torso.CFrame)
  6204. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
  6205. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
  6206. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
  6207. Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Maroon", 1 + MRANDOM(1,30)/5)
  6208. Slice2(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Maroon", 1 + MRANDOM(1,30)/15)
  6209. end
  6210. end
  6211. UNANCHOR = true
  6212. ATTACK = false
  6213. Rooted = false
  6214. end
  6215. function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
  6216. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  6217. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  6218. wave.CFrame = CFRAME
  6219. coroutine.resume(coroutine.create(function(PART)
  6220. for i = 1, WAIT do
  6221. Swait()
  6222. mesh.Scale = mesh.Scale * GROW
  6223. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6224. if wave.Transparency > 0.99 then
  6225. wave:remove()
  6226. end
  6227. end
  6228. end))
  6229. end
  6230.  
  6231. function BlackBlast()
  6232. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6233. ATTACK = true
  6234. Rooted = true
  6235. local GYRO = IT("BodyGyro",RootPart)
  6236. GYRO.D = 25
  6237. GYRO.P = 20000
  6238. GYRO.MaxTorque = VT(0,4000000,0)
  6239. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6240. CreateSound(429459101,Torso,5,1.5,false)
  6241. local GYROING = true
  6242. coroutine.resume(coroutine.create(function()
  6243. repeat
  6244. Swait()
  6245. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6246. until GYROING == false
  6247. GYRO:Remove()
  6248. end))
  6249. for i=0, 1, 0.1 / Animation_Speed do
  6250. Swait()
  6251. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6252. 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)
  6253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6255. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6256. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  6257. end
  6258. for i = 1, 13 do
  6259. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  6260. end
  6261. CreateSound(1368637781,Torso,5,1.5,false)
  6262. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6263. for index, CHILD in pairs(Character:GetChildren()) do
  6264. if CHILD:IsA("BasePart") then
  6265. CHILD.Transparency = CHILD.Transparency + 1
  6266. elseif CHILD:IsA("Accessory") then
  6267. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6268. end
  6269. end
  6270. GYROING = false
  6271. coroutine.resume(coroutine.create(function()
  6272. coroutine.resume(coroutine.create(function()
  6273. for i=1, 25 do
  6274. Swait()
  6275. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  6276. end
  6277. end))
  6278. repeat
  6279. Swait()
  6280. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  6281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  6282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  6283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  6286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  6287. until ATTACK == false
  6288. end))
  6289. coroutine.resume(coroutine.create(function()
  6290. local BULLETCFRAME = RootPart.CFrame
  6291. local EXPLODED = false
  6292. coroutine.resume(coroutine.create(function()
  6293. repeat
  6294. Swait()
  6295. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6296. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6297. until EXPLODED == true
  6298. end))
  6299. for i=1, 50 do
  6300. Swait()
  6301. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  6302. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  6303. if RAY then
  6304. ApplyAoEl(BULLETCFRAME.p,25,12,54,350,false)
  6305. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  6306. break
  6307. end
  6308. end
  6309. wait(0.5)
  6310. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6311. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6312. for E = 1, 3 do
  6313. for i = 1, 5 do
  6314. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  6315. end
  6316. end
  6317. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  6318. EXPLODED = true
  6319. for i = 1, 15 do
  6320. Swait()
  6321. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  6322. end
  6323. end))
  6324. wait(0.5)
  6325. for index, CHILD in pairs(Character:GetChildren()) do
  6326. if CHILD:IsA("BasePart") then
  6327. CHILD.Transparency = CHILD.Transparency - 1
  6328. elseif CHILD:IsA("Accessory") then
  6329. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6330. end
  6331. end
  6332. ATTACK = false
  6333. Rooted = false
  6334. end
  6335. end
  6336. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  6337. coroutine.resume(coroutine.create(function()
  6338. local FADE = IT("Model",Effects)
  6339. if PARENT ~= nil then
  6340. FADE.Parent = PARENT
  6341. end
  6342. FADE.Name = "FadingEffect"
  6343. for _, c in pairs(Character:GetChildren()) do
  6344. if c.ClassName == "Part" then
  6345. c.CanCollide = false
  6346. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  6347. FADER.CFrame = c.CFrame
  6348. FADER.Color = COLOR
  6349. if FADER.Name == "Head" then
  6350. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  6351. elseif FADER.Name == "HumanoidRootPart" then
  6352. FADE.PrimaryPart = FADER
  6353. FADER.Transparency = 1
  6354. end
  6355. end
  6356. end
  6357. local TRANS = 0.25/TIMER
  6358. local DIST = nil
  6359. if MOVEDIRECTION ~= nil then
  6360. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  6361. end
  6362. for i = 1, TIMER do
  6363. Swait()
  6364. for _, c in pairs(FADE:GetChildren()) do
  6365. if c.ClassName == "Part" then
  6366. c.Transparency = c.Transparency + TRANS
  6367. end
  6368. end
  6369. if MOVEDIRECTION ~= nil then
  6370. local ORI = FADE.PrimaryPart.Orientation
  6371. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  6372. end
  6373. end
  6374. FADE:remove()
  6375. end))
  6376. end
  6377. function R_RANDOM(CFRAME,DIST)
  6378. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  6379. end
  6380.  
  6381. function ApplyAoEl(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6382. for index, CHILD in pairs(workspace:GetDescendants()) do
  6383. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6384. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6385. if HUM then
  6386. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6387. if TORSO then
  6388. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6389. if INSTAKILL == true then
  6390. CHILD:BreakJoints()
  6391. else
  6392. local DMG = MRANDOM(MINDMG,MAXDMG)
  6393. ApplyDamagel(HUM,DMG)
  6394. end
  6395. if FLING > 0 then
  6396. for _, c in pairs(CHILD:GetChildren()) do
  6397. if c:IsA("BasePart") then
  6398. local bv = Instance.new("BodyVelocity")
  6399. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6400. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6401. bv.Parent = c
  6402. Debris:AddItem(bv,0.05)
  6403. end
  6404. end
  6405. end
  6406. end
  6407. end
  6408. end
  6409. end
  6410. end
  6411. end
  6412. function ApplyDamagel(Humanoid,Damage)
  6413. Damage = Damage * DAMAGEMULTIPLIER
  6414. if Humanoid.Health < 0 then
  6415. if Humanoid.Health - Damage > 0 then
  6416. Humanoid.Health = Humanoid.Health - Damage
  6417. else
  6418. Humanoid.Parent:BreakJoints()
  6419. end
  6420. else
  6421. Humanoid.Parent:BreakJoints()
  6422. end
  6423. end
  6424. function NightmareFall()
  6425. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  6426. ATTACK = true
  6427. Rooted = true
  6428. EQUIPPED = true
  6429. CreateSound(1466932232,Head,10,1,false)
  6430. for i=0, 2, 0.1 / Animation_Speed do
  6431. Swait()
  6432. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6433. 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)
  6434. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6435. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6436. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6437. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6438.  
  6439. end
  6440. for i=0, 2, 0.1 / Animation_Speed do
  6441. Swait()
  6442. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6443. 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)
  6444. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.15 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(140), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6445. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6446. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6447. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6448.  
  6449. end
  6450. local SIZE = 0
  6451. local POS = RootPart.Position+VT(0,150,0)
  6452. local BLOWN = false
  6453. coroutine.resume(coroutine.create(function()
  6454. coroutine.resume(coroutine.create(function()
  6455. repeat
  6456. Swait()
  6457. if SIZE > 0 then
  6458. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*2.5, Transparency = 0.3, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6459. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(SIZE,SIZE,SIZE)*3, Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6460. end
  6461. until BLOWN == true
  6462. end))
  6463. repeat
  6464. Swait()
  6465. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(12), RAD(25)), 1 / Animation_Speed)
  6466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6471.  
  6472. until ATTACK == false
  6473. end))
  6474. wait(0.2)
  6475. for i = 1, 15 do
  6476. wait(MRANDOM(2,6)/45)
  6477. coroutine.resume(coroutine.create(function()
  6478. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  6479. local HEIGHT = 45/5
  6480. local DISTANCE = (BLADE.Position - POS).Magnitude
  6481. for i = 1, 45 do
  6482. Swait()
  6483. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  6484. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0.3, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 0})
  6485. end
  6486. SIZE = SIZE + 1
  6487. end))
  6488. end
  6489. wait(2.5)
  6490. BLOWN = true
  6491. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(150,50,150), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 401056199, SoundPitch = 0.4, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6492. for E = 1, 5 do
  6493. for i = 1, 5 do
  6494. WACKYEFFECT({Time = 50+(E*4), EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  6495. end
  6496. end
  6497. CreateSound(288641686,Effects,5,1,false)
  6498. CreateSound(592877506,Effects,5,1,false)
  6499. local HITS = {}
  6500. for index, CHILD in pairs(workspace:GetDescendants()) do
  6501. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6502. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6503. if HUM then
  6504. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6505. if TORSO then
  6506. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  6507. local PASS = true
  6508. for E = 1, #HITS do
  6509. if HITS[E] == CHILD then
  6510. PASS = false
  6511. end
  6512. end
  6513. if PASS == true then
  6514. table.insert(HITS,CHILD)
  6515. end
  6516. end
  6517. end
  6518. end
  6519. end
  6520. end
  6521. if #HITS > 0 then
  6522. local DONE = false
  6523. local HUMS = {}
  6524. coroutine.resume(coroutine.create(function()
  6525. for E = 1, #HITS do
  6526. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  6527. table.insert(HUMS,HUM)
  6528. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  6529. local grav = Instance.new("BodyPosition",TORSO)
  6530. grav.D = 850
  6531. grav.P = 4000
  6532. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6533. grav.Position = TORSO.Position+VT(0,35,0)
  6534. CreateSound(592877506,TORSO,5,0.5,false)
  6535. if TORSO then
  6536. coroutine.resume(coroutine.create(function()
  6537. local B = IT("Attachment",TORSO)
  6538. local ChainLink = IT("Beam",Torso)
  6539. ChainLink.Texture = "rbxassetid://73042633"
  6540. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  6541. ChainLink.TextureSpeed = -1
  6542. ChainLink.FaceCamera = true
  6543. ChainLink.Width0 = 3
  6544. ChainLink.Width1 = 3
  6545. ChainLink.TextureLength = 3
  6546. ChainLink.Attachment0 = A
  6547. ChainLink.Attachment1 = B
  6548. ChainLink.CurveSize0 = 0
  6549. ChainLink.CurveSize1 = 0
  6550. ChainLink.FaceCamera = true
  6551. ChainLink.TextureMode = "Static"
  6552. ChainLink.Transparency = NumberSequence.new(0)
  6553. repeat
  6554. Swait()
  6555. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(0,0,0), Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 35})
  6556. until DONE == true or HUM.Health < 1
  6557. B:Remove()
  6558. ChainLink:Remove()
  6559. grav:Remove()
  6560. if HUM.Health < 1 then
  6561. for E = 1, 2 do
  6562. for i = 1, 3 do
  6563. WACKYEFFECT({Time = 15, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/6, Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  6564. end
  6565. end
  6566. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(2,2,2)*TORSO.Size.Z, Size2 = VT(6,6,6)*TORSO.Size.Z, Transparency = 0.6, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 160772554, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6567. for _, c in pairs(HITS[E]:GetChildren()) do
  6568. if c:IsA("BasePart") or c:IsA("Accessory") then
  6569. c:remove()
  6570. end
  6571. end
  6572. local BONES = {
  6573. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  6574. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  6575. }
  6576. local SELECTABLEBONES = {
  6577. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  6578. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  6579. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  6580. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  6581. }
  6582. for i = 1, 9 do
  6583. local CHOSENPIECE = nil
  6584. if i == 1 then
  6585. CHOSENPIECE = BONES.Skull
  6586. elseif i == 2 then
  6587. CHOSENPIECE = BONES.Ribs
  6588. else
  6589. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  6590. end
  6591. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  6592. BONE.CanCollide = true
  6593. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  6594. if CHOSENPIECE.MeshId == 36869983 then
  6595. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  6596. else
  6597. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  6598. end
  6599. end
  6600. end
  6601. end))
  6602. end
  6603. end
  6604. wait(1)
  6605. for i = 1, 250 do
  6606. Swait()
  6607. for E = 1, #HUMS do
  6608. if HUMS[E] then
  6609. if HUMS[E].Health > 0 then
  6610. HUMS[E].Health = HUMS[E].Health - 0.3
  6611. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  6612. WACKYEFFECT({Time = 10, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(1.5,0,1.5)/20, Transparency = 0.9, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  6613. end
  6614. end
  6615. end
  6616. end
  6617. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0, 0, 0), "OWEXTRADAMAGE")
  6618. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  6619. coroutine.resume(coroutine.create(function()
  6620. CreateSound(743521450,Cam,5,0.6,false)
  6621. for E = 1, 75 do
  6622. Swait()
  6623. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  6624. end
  6625. wait(4)
  6626. for E = 1, 25 do
  6627. Swait()
  6628. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  6629. end
  6630. SKILLFRAME:Remove()
  6631. end))
  6632. DONE = true
  6633. for i = 1, 50 do
  6634. wait(0.5)
  6635. for i = 1, 3 do
  6636. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(DAMAGEMULTIPLIER-1,0.1,DAMAGEMULTIPLIER-1)*1.5, Transparency = 0.6, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.25,0).p) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 1, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 22})
  6637. end
  6638. end
  6639. DAMAGEMULTIPLIER = 1
  6640. end))
  6641. wait(0.2)
  6642. end
  6643. wait(0.4)
  6644. EQUIPPED = false
  6645. ATTACK = false
  6646. Rooted = false
  6647. end
  6648. end
  6649.  
  6650. function Supernova()
  6651. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  6652. if HITFLOOR ~= nil then
  6653. local HITBODIES = {}
  6654. ATTACK = true
  6655. Rooted = true
  6656. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  6657. MakeForm(ABSOLUTE,"Ball")
  6658. CreateSound("429459101", ABSOLUTE, 10, 1)
  6659. for i=0, 4, 0.1 / Animation_Speed do
  6660. Swait()
  6661. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  6662. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  6663. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  6664. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  6665. MakeForm(CHARGE,"Ball")
  6666. CHARGE.Color = C3(1,1,1)
  6667. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  6668. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  6669. 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)
  6670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  6673. 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)
  6674. 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)
  6675. end
  6676. CreateSound("907330103", Head, 10, 1.2)
  6677. for i = 1, 75 do
  6678. Swait()
  6679. 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)
  6680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  6681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  6683. 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)
  6684. 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)
  6685. end
  6686. coroutine.resume(coroutine.create(function()
  6687. for i = 1, 13 do
  6688. for e = 1, 8 do
  6689. Swait(1)
  6690. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  6691. CreateSwirl(ABSOLUTE.Size/4,50,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  6692. end
  6693. for i = 1, 5 do
  6694. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  6695. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
  6696. end
  6697. CreateSwirl(ABSOLUTE.Size/4,50,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  6698. CreateSwirl(ABSOLUTE.Size/4,75,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  6699. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  6700. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  6701. killnearest(ABSOLUTE.Position,i*18,i)
  6702. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  6703. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  6704. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  6705. end
  6706. ABSOLUTE.Transparency = 1
  6707. Debris:AddItem(ABSOLUTE,10)
  6708. end))
  6709. ATTACK = false
  6710. Rooted = false
  6711. end
  6712. end
  6713. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  6714. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6715. wave.Color = COLOR
  6716. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6717. wave.CFrame = CFRAME
  6718. coroutine.resume(coroutine.create(function(PART)
  6719. for i = 1, WAIT do
  6720. Swait()
  6721. mesh.Scale = mesh.Scale + GROW
  6722. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6723. if DOESROT == true then
  6724. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6725. end
  6726. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6727. if wave.Transparency > 0.99 then
  6728. wave:remove()
  6729. end
  6730. end
  6731. end))
  6732. end
  6733.  
  6734. function Melee()
  6735. ATTACK = true
  6736. BLADE.CanCollide = true
  6737. Rooted = false
  6738. EQUIPPED = true
  6739. local HIT = function()
  6740. local HITS = {}
  6741. local TOUCH = BLADE.Touched:Connect(function(hit)
  6742. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  6743. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  6744. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6745. if TORSO and HUM.Health > 0 then
  6746. local PASS = true
  6747. for i = 1, #HITS do
  6748. if HITS[i] == hit.Parent then
  6749. PASS = false
  6750. end
  6751. end
  6752. table.insert(HITS,hit.Parent)
  6753. if PASS == true then
  6754. ApplyDamage0(HUM,MRANDOM(15,25))
  6755. end
  6756. end
  6757. end
  6758. end)
  6759. return TOUCH
  6760. end
  6761. if COMBO == 1 then
  6762. for i=0, 0.35, 0.1 / Animation_Speed do
  6763. Swait()
  6764. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6765. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6766. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6767. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6768. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6769. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6770. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6771. end
  6772. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6773. local TOUCHED = HIT()
  6774. for i=0, 0.5, 0.1 / Animation_Speed do
  6775. Swait()
  6776. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  6777. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  6778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.8, 0.5, -0.7) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(15), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  6779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6780. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6781. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6782. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6783. end
  6784. TOUCHED:Disconnect()
  6785. COMBO = 2
  6786. elseif COMBO == 2 then
  6787. for i=0, 0.35, 0.1 / Animation_Speed do
  6788. Swait()
  6789. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6790. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(160), RAD(0), RAD(-5)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6793. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6794. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6795. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6796. end
  6797. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6798. local TOUCHED = HIT()
  6799. for i=0, 0.35, 0.1 / Animation_Speed do
  6800. Swait()
  6801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6807. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6808. end
  6809. TOUCHED:Disconnect()
  6810. for i=0, 0.2, 0.1 / Animation_Speed do
  6811. Swait()
  6812. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6813. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35, -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6816. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6817. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6818. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  6819. end
  6820. COMBO = 1
  6821. end
  6822. coroutine.resume(coroutine.create(function()
  6823. for i = 1, 50 do
  6824. Swait()
  6825. if ATTACK == true then
  6826. break
  6827. end
  6828. end
  6829. if ATTACK == false then
  6830. COMBO = 1
  6831. end
  6832. end))
  6833. BLADE.CanCollide = false
  6834. ATTACK = false
  6835. Rooted = false
  6836. EQUIPPED = false
  6837. end
  6838.  
  6839. function ApplyDamage0(Humanoid,Damage)
  6840. Damage = Damage * DAMAGEMULTIPLIER
  6841. if Humanoid.Health < 0 then
  6842. if Humanoid.Health - Damage > 0 then
  6843. Humanoid.Health = Humanoid.Health - Damage
  6844. else
  6845. Humanoid.Parent:BreakJoints()
  6846. end
  6847. else
  6848. Humanoid.Parent:BreakJoints()
  6849. end
  6850. end
  6851. function AbyssalShriek()
  6852. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6853. ATTACK = true
  6854. Rooted = true
  6855. for i=0, 0.2, 0.1 / Animation_Speed do
  6856. Swait()
  6857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6858. 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)
  6859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6861. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  6863. end
  6864. coroutine.resume(coroutine.create(function()
  6865. repeat
  6866. Swait()
  6867. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  6868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  6869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6871. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  6872. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  6873. until ATTACK == false
  6874. end))
  6875. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position+VT(0,1.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 15})
  6876. CreateSound(199978176,Head,5,1,false)
  6877. for i = 1, 60 do
  6878. Swait()
  6879. ApplyAoE0(RootPart.Position,17,1,1,0,false)
  6880. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  6881. if HITFLOOR then
  6882. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(20,1,20), Size2 = VT(25+MRANDOM(0,8),7,25+MRANDOM(0,8)), Transparency = 0.95, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6883. end
  6884. local SIZE = VT(1,3,1)
  6885. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = SIZE*MRANDOM(10,65)/10, Transparency = 0.5, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(1,17),MRANDOM(0,12)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
  6886. end
  6887. wait(0.2)
  6888. ATTACK = false
  6889. Rooted = false
  6890. end
  6891. end
  6892.  
  6893. function ApplyAoE0(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6894. for index, CHILD in pairs(workspace:GetDescendants()) do
  6895. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6896. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6897. if HUM then
  6898. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6899. if TORSO then
  6900. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6901. if INSTAKILL == true then
  6902. CHILD:BreakJoints()
  6903. else
  6904. local DMG = MRANDOM(MINDMG,MAXDMG)
  6905. ApplyDamage0(HUM,DMG)
  6906. end
  6907. if FLING > 0 then
  6908. for _, c in pairs(CHILD:GetChildren()) do
  6909. if c:IsA("BasePart") then
  6910. local bv = Instance.new("BodyVelocity")
  6911. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6912. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6913. bv.Parent = c
  6914. Debris:AddItem(bv,0.05)
  6915. end
  6916. end
  6917. end
  6918. end
  6919. end
  6920. end
  6921. end
  6922. end
  6923. end
  6924. function AbyssalDash()
  6925. ATTACK = true
  6926. Rooted = true
  6927. UNANCHOR = false
  6928. for i=0, 0.4, 0.1 / Animation_Speed do
  6929. Swait()
  6930. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6931. 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)
  6932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6935. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  6936. end
  6937. CreateSound(1177785010,Torso,2,1,false)
  6938. CreateSound(971125740,Torso,5,1,false)
  6939. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  6940. for index, CHILD in pairs(Character:GetChildren()) do
  6941. if CHILD:IsA("BasePart") then
  6942. CHILD.Transparency = CHILD.Transparency + 1
  6943. elseif CHILD:IsA("Accessory") then
  6944. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6945. end
  6946. end
  6947. local HITS = {}
  6948. for i=0, 1, 0.1 / Animation_Speed do
  6949. Swait()
  6950. for index, CHILD in pairs(workspace:GetDescendants()) do
  6951. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6952. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6953. if HUM then
  6954. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6955. if TORSO then
  6956. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  6957. local PASS = true
  6958. for E = 1, #HITS do
  6959. if HITS[E] == CHILD then
  6960. PASS = false
  6961. end
  6962. end
  6963. if PASS == true then
  6964. local DMG = MRANDOM(25,45)
  6965. ApplyDamage0(HUM,DMG)
  6966. table.insert(HITS,CHILD)
  6967. end
  6968. end
  6969. end
  6970. end
  6971. end
  6972. end
  6973. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(25,0,25), Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-6) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  6974. for i = 1, 2 do
  6975. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  6976. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  6977. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  6978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(-25), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(-25), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6981. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  6982. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  6983. end
  6984. end
  6985. for index, CHILD in pairs(Character:GetChildren()) do
  6986. if CHILD:IsA("BasePart") then
  6987. CHILD.Transparency = CHILD.Transparency - 1
  6988. elseif CHILD:IsA("Accessory") then
  6989. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6990. end
  6991. end
  6992. for i=1, 25 do
  6993. Swait()
  6994. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  6995. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6996. 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)
  6997. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6998. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6999. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-45)), 1 / Animation_Speed)
  7000. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-25), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  7001. end
  7002. UNANCHOR = true
  7003. ATTACK = false
  7004. Rooted = false
  7005. end
  7006.  
  7007. function ApplyAoE11(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  7008. local CHILDREN = workspace:GetDescendants()
  7009. for index, CHILD in pairs(CHILDREN) do
  7010. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7011. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7012. if HUM then
  7013. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7014. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  7015. if INSTAKILL == true then
  7016. CHILD:BreakJoints()
  7017. else
  7018. local DMG = MRANDOM(MINDMG, MAXDMG)
  7019. ApplyDamage0(HUM, DMG, TORSO)
  7020. end
  7021. if FLING > 0 then
  7022. for _, c in pairs(CHILD:GetChildren()) do
  7023. if c:IsA("BasePart") then
  7024. local bv = Instance.new("BodyVelocity")
  7025. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  7026. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  7027. bv.Parent = c
  7028. Debris:AddItem(bv, 0.05)
  7029. end
  7030. end
  7031. end
  7032. end
  7033. end
  7034. end
  7035. end
  7036. end
  7037.  
  7038. function Taunt2()
  7039. ATTACK = true
  7040. Rooted = true
  7041. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  7042. repeat
  7043. Swait()
  7044. TAUNT.Parent = Torso
  7045. TAUNT.Playing = true
  7046. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7047. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  7048. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7049. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7050. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7051. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7052. until TAUNT.TimePosition >= 1.25
  7053. for i=0, 1.6, 0.1 / Animation_Speed do
  7054. Swait()
  7055. TAUNT.Parent = Torso
  7056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  7057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  7058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  7060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  7062. end
  7063. ATTACK = false
  7064. Rooted = false
  7065. end
  7066.  
  7067. function yeetus()
  7068. warn("not finished")
  7069. end
  7070.  
  7071. local PLAYMAINANIM = true
  7072.  
  7073. local HATWELD = nil
  7074. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  7075. PLAYMAINANIM = false
  7076. if WhichPose == "Cast1" then
  7077. for i=0, Time, 0.1 / Animation_Speed do
  7078. Swait()
  7079. if Magic == true then
  7080. 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})
  7081. end
  7082. if Gyro ~= nil and Gyro ~= false then
  7083. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7084. end
  7085. 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)
  7086. 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)
  7087. 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)
  7088. 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)
  7089. 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)
  7090. 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)
  7091. end
  7092. elseif WhichPose == "Cast2" then
  7093. for i=0, Time, 0.1 / Animation_Speed do
  7094. Swait()
  7095. if Magic == true then
  7096. 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})
  7097. 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})
  7098. end
  7099. if Gyro ~= nil and Gyro ~= false then
  7100. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7101. end
  7102. 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)
  7103. 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)
  7104. 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)
  7105. 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)
  7106. 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)
  7107. 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)
  7108. end
  7109. elseif WhichPose == "RightArmUp" then
  7110. for i=0, Time, 0.1 / Animation_Speed do
  7111. Swait()
  7112. if Magic == true then
  7113. 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})
  7114. end
  7115. if Gyro ~= nil and Gyro ~= false then
  7116. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7117. end
  7118. 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)
  7119. 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)
  7120. 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)
  7121. 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)
  7122. 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)
  7123. 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)
  7124. end
  7125. elseif WhichPose == "Taunt" then
  7126. for i=0, Time, 0.1 / Animation_Speed do
  7127. Swait()
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. 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)
  7133. 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)
  7134. end
  7135. HATWELD.Part0 = RightArm
  7136. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  7137. CreateSound(221057812,Torso,10,1,false)
  7138. for i=0, Time*2, 0.1 / Animation_Speed do
  7139. Swait()
  7140. 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)
  7141. 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)
  7142. 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)
  7143. 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)
  7144. 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)
  7145. 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)
  7146. end
  7147. for i=0, Time, 0.1 / Animation_Speed do
  7148. Swait()
  7149. 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)
  7150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  7151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  7152. 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)
  7153. 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)
  7154. 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)
  7155. 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)
  7156. end
  7157. HATWELD.Part0 = Head
  7158. HATWELD.C0 = CF(0,0.35,0)
  7159. elseif WhichPose == "Prepare key" then
  7160. for i=0, Time, 0.1 / Animation_Speed do
  7161. Swait()
  7162. if Gyro ~= nil and Gyro ~= false then
  7163. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7164. end
  7165. 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)
  7166. 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)
  7167. 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)
  7168. 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)
  7169. 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)
  7170. 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)
  7171. end
  7172. elseif WhichPose == "Turn key" then
  7173. for i=0, Time, 0.1 / Animation_Speed do
  7174. Swait()
  7175. if Gyro ~= nil and Gyro ~= false then
  7176. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7177. end
  7178. 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)
  7179. 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)
  7180. 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)
  7181. 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)
  7182. 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)
  7183. 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)
  7184. end
  7185. end
  7186. PLAYMAINANIM = true
  7187. end
  7188.  
  7189. function Hat()
  7190. ATTACK = true
  7191. Rooted = false
  7192. Pose("Taunt",0.4,1.2,false)
  7193. ATTACK = false
  7194. Rooted = false
  7195. end
  7196.  
  7197. function Prison_Key()
  7198. chatfunc("Be Locked Away From This Dimension in the of Time Space")
  7199. if Mouse.Target ~= nil then
  7200. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7201. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7202. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7203. local GYRO = IT("BodyGyro",RootPart)
  7204. GYRO.D = 750
  7205. GYRO.P = 20000
  7206. GYRO.MaxTorque = VT(0,40000000,0)
  7207. local grav = Instance.new("BodyPosition",TORSO)
  7208. grav.D = 15
  7209. grav.P = 20000
  7210. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7211. grav.position = TORSO.Position
  7212. local GYRO2 = IT("BodyGyro",TORSO)
  7213. GYRO2.D = 750
  7214. GYRO2.P = 20000
  7215. GYRO2.MaxTorque = VT(0,40000000,0)
  7216. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7217. grav.Name = "Jail"
  7218. local LOCKPARTS = {}
  7219. ATTACK = true
  7220. Rooted = false
  7221. local LOCK = IT("Model",Effects)
  7222. LOCK.Name = "Lock"
  7223. local LOCK2 = IT("Model",LOCK)
  7224. LOCK2.Name = "Metal"
  7225. --CREATE LOCK--
  7226. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  7227. LOCK.PrimaryPart = BASE
  7228. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  7229. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  7230. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  7231. MakeForm(PRT,"Cyl")
  7232. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  7233. PRT.Color = C3(0,0,0)
  7234. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  7235. MakeForm(PRT,"Cyl")
  7236. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  7237. PRT.Color = C3(0,0,0)
  7238. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  7239. for i = 1, 45 do
  7240. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7241. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  7242. end
  7243. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7244. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  7245. LOCK2.PrimaryPart = PRT
  7246. ---------------
  7247. local CHILDREN = LOCK:GetDescendants()
  7248. for index, CHILD in pairs(CHILDREN) do
  7249. if CHILD:IsA("BasePart") then
  7250. CHILD.Transparency = 1
  7251. end
  7252. end
  7253. for i = 1, 75 do
  7254. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  7255. Swait()
  7256. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7257. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7258. local CHILDREN = LOCK:GetDescendants()
  7259. for index, CHILD in pairs(CHILDREN) do
  7260. if CHILD:IsA("BasePart") then
  7261. CHILD.Transparency = CHILD.Transparency - 1/75
  7262. end
  7263. end
  7264. end
  7265. HUM.DisplayDistanceType = "None"
  7266. local KEY = IT("Model",Effects)
  7267. KEY.Name = "Key"
  7268. --CREATE KEY--
  7269. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  7270. KEY.PrimaryPart = KBASE
  7271. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  7272. local WLD = weldBetween(RightArm,KBASE)
  7273. for i = 1, 45 do
  7274. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  7275. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  7276. weldBetween(KBASE,PRT)
  7277. end
  7278. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7279. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  7280. weldBetween(KBASE,PRT)
  7281. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7282. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  7283. weldBetween(KBASE,PRT)
  7284. --------------
  7285. Rooted = true
  7286. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  7287. coroutine.resume(coroutine.create(function()
  7288. for i = 1, 10 do
  7289. Swait()
  7290. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7291. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7292. end
  7293. CreateSound(1149318312,BASE,5,1,false)
  7294. CreateSound(160772554,BASE,3,1,false)
  7295. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  7296. for i = 1, 4 do
  7297. 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})
  7298. end
  7299. 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})
  7300. wait(1)
  7301. TORSO.Parent.Parent = LOCK
  7302. for i = 1, 75 do
  7303. Swait()
  7304. local CHILDREN = KEY:GetDescendants()
  7305. for index, CHILD in pairs(CHILDREN) do
  7306. if CHILD:IsA("BasePart") then
  7307. CHILD.Transparency = i/25
  7308. end
  7309. end
  7310. local CHILDREN = LOCK:GetDescendants()
  7311. for index, CHILD in pairs(CHILDREN) do
  7312. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  7313. CHILD.Transparency = CHILD.Transparency + 1/75
  7314. elseif CHILD.ClassName == "Decal" then
  7315. CHILD.Transparency = CHILD.Transparency + 1/75
  7316. end
  7317. end
  7318. end
  7319. TORSO.Parent:ClearAllChildren()
  7320. KEY:remove()
  7321. LOCK:remove()
  7322. end))
  7323. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  7324. GYRO:remove()
  7325. ATTACK = false
  7326. Rooted = false
  7327. end
  7328. end
  7329. end
  7330. -------- how to make smite work
  7331. function SpawnSmite(POS)
  7332. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7333. local EMITPOS = HITPOS
  7334. if HITFLOOR ~= nil then
  7335. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7336. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7337. EMITPOS = HITPOS
  7338. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7339. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7340. EMITPOS = HITPOS
  7341. end
  7342. end
  7343. if HITFLOOR ~= nil then
  7344. ApplyAoE(EMITPOS,10)
  7345. 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(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  7346. 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,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7347. 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7348. for i = 1, 5 do
  7349. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7350. 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(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  7351. end
  7352. end
  7353. end
  7354.  
  7355. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7356. coroutine.resume(coroutine.create(function()
  7357. local METEOR = IT("Model",Effects)
  7358. METEOR.Name = "Meteorite"
  7359. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7360. METEOR.PrimaryPart = CENTER
  7361. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7362. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7363. for i = 1, 15 do
  7364. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  7365. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7366. end
  7367. if ISDEBREE ~= true then
  7368. 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))))
  7369. else
  7370. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7371. end
  7372. local IMPACT = false
  7373. CreateSound(463593339, CENTER, 10, 0.6)
  7374. if SIZE >= 3.5 then
  7375. for i = 1, MRANDOM(3,7) do
  7376. 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)
  7377. end
  7378. end
  7379. for i = 1, 200 do
  7380. Swait()
  7381. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7382. if HITFLOOR == nil then
  7383. local ORI = CENTER.Orientation
  7384. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7385. else
  7386. if HITFLOOR.Anchored == true then
  7387. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7388. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7389. end
  7390. IMPACT = true
  7391. break
  7392. end
  7393. end
  7394. if IMPACT == true then
  7395. 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,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  7396. 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(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  7397. 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(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  7398. ApplyAoE(CENTER.Position,30*SIZE)
  7399. end
  7400. METEOR:remove()
  7401. end))
  7402. end
  7403. function Meteor_Shower()
  7404. ATTACK = true
  7405. Rooted = false
  7406. CreateSound(1368573150, RightArm, 3, 0.8)
  7407. CreateSound(649634100, Torso, 10, 0.8)
  7408. for i=0, 1.2, 0.1 / Animation_Speed do
  7409. Swait()
  7410. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, 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(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  7411. 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)
  7412. 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)
  7413. end
  7414. local POS = Mouse.Hit.p
  7415. CreateSound(463593339, Effects, 3, 1)
  7416. coroutine.resume(coroutine.create(function()
  7417. for i = 1, 35 do
  7418. wait(MRANDOM(5,150)/100)
  7419. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  7420. end
  7421. end))
  7422. ATTACK = false
  7423. Rooted = false
  7424. end
  7425.  
  7426. ------ LOL
  7427. function TimesUp()
  7428. CLOCKTARGET = nil
  7429. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7430. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7431. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7432. if TORSO then
  7433. ATTACK = true
  7434. Rooted = false
  7435. coroutine.resume(coroutine.create(function()
  7436. repeat
  7437. Swait()
  7438. 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)
  7439. 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)
  7440. 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)
  7441. 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)
  7442. 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)
  7443. 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)
  7444. until ATTACK == false
  7445. end))
  7446. if Effects:FindFirstChild("NeonDoll") then
  7447. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  7448. end
  7449. wait(0.5)
  7450. local FAKECHARACTER = IT("Model",Effects)
  7451. FAKECHARACTER.Name = "NeonDoll"
  7452. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.3,0.3,0.15),false)
  7453. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  7454. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7455. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  7456. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7457. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  7458. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7459. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  7460. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7461. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  7462. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.15,0.15),false)
  7463. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  7464. CreateSound(201858045, TORS, 5, 0.4, false)
  7465. for i = 1, 150 do
  7466. Swait()
  7467. CLOCKSPEED = 1
  7468. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7469. if c.ClassName == "Part" then
  7470. c.Transparency = c.Transparency - 0.5/150
  7471. end
  7472. end
  7473. end
  7474. CLOCKTARGET = HUM
  7475. coroutine.resume(coroutine.create(function()
  7476. repeat Swait() CLOCKSPEED = 30 until CLOCKTARGET == nil
  7477. for i = 1, 25 do
  7478. Swait()
  7479. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7480. if c.ClassName == "Part" then
  7481. c.Transparency = c.Transparency + 0.5/25
  7482. end
  7483. end
  7484. end
  7485. CLOCKSPEED = 6
  7486. FAKECHARACTER:remove()
  7487. end))
  7488. wait(0.5)
  7489. ATTACK = false
  7490. Rooted = false
  7491. end
  7492. end
  7493. end
  7494.  
  7495. function ChainPunch()
  7496. ATTACK = true
  7497. Rooted = false
  7498. local GYRO = IT("BodyGyro",RootPart)
  7499. GYRO.D = 25
  7500. GYRO.P = 2000
  7501. GYRO.MaxTorque = VT(0,40000,0)
  7502. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7503. repeat
  7504. Swait()
  7505. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7506. 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)
  7507. 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)
  7508. 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)
  7509. 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)
  7510. 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)
  7511. 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)
  7512. until HOLD == true
  7513. local POS = Mouse.Hit.p
  7514. local CHAINS = false
  7515. local CHAINLINKS = {}
  7516. local A = IT("Attachment",RightArm)
  7517. A.Position = VT(1,-1,0)*SIZE
  7518. A.Orientation = VT(-90, -89.982, 0)
  7519. local B = IT("Attachment",RightArm)
  7520. B.Position = VT(-1,-1,0)*SIZE
  7521. B.Orientation = VT(-90, 89.988, 0)
  7522. local C = IT("Attachment",RightArm)
  7523. C.Position = VT(0.5,-1.3,0)*SIZE
  7524. C.Orientation = VT(-90, -89.982, 0)
  7525. local D = IT("Attachment",RightArm)
  7526. D.Position = VT(-0.5,-1.3,0)*SIZE
  7527. D.Orientation = VT(-90, 89.988, 0)
  7528. local LIGHT = IT("Attachment",RightArm)
  7529. LIGHT.Position = VT(0,-1,0)*SIZE
  7530. local LIGHT2 = IT("PointLight",LIGHT)
  7531. LIGHT2.Range = 7
  7532. LIGHT2.Brightness = 5
  7533. LIGHT2.Color = SKILLTEXTCOLOR
  7534. for i = 1, 2 do
  7535. local TWIST = -2
  7536. local START = A
  7537. local END = B
  7538. if i == 1 then
  7539. START = B
  7540. END = A
  7541. end
  7542. local ChainLink = IT("Beam",Torso)
  7543. ChainLink.Texture = "rbxassetid://73042633"
  7544. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7545. ChainLink.TextureSpeed = 1
  7546. ChainLink.Width0 = 1
  7547. ChainLink.Width1 = 1
  7548. ChainLink.TextureLength = 2.5
  7549. ChainLink.Attachment0 = START
  7550. ChainLink.Attachment1 = END
  7551. ChainLink.CurveSize0 = TWIST
  7552. ChainLink.CurveSize1 = TWIST
  7553. --ChainLink.FaceCamera = true
  7554. ChainLink.Segments = 45
  7555. ChainLink.Transparency = NumberSequence.new(1)
  7556. table.insert(CHAINLINKS,ChainLink)
  7557. end
  7558. for i = 1, 2 do
  7559. local TWIST = -1
  7560. local START = C
  7561. local END = D
  7562. if i == 1 then
  7563. START = D
  7564. END = C
  7565. end
  7566. local ChainLink = IT("Beam",Torso)
  7567. ChainLink.Texture = "rbxassetid://73042633"
  7568. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7569. ChainLink.TextureSpeed = 1
  7570. ChainLink.Width0 = 1
  7571. ChainLink.Width1 = 1
  7572. ChainLink.TextureLength = 5
  7573. ChainLink.Attachment0 = START
  7574. ChainLink.Attachment1 = END
  7575. ChainLink.CurveSize0 = TWIST
  7576. ChainLink.CurveSize1 = TWIST
  7577. --ChainLink.FaceCamera = true
  7578. ChainLink.Segments = 25
  7579. ChainLink.LightEmission = 0.5
  7580. ChainLink.Transparency = NumberSequence.new(1)
  7581. table.insert(CHAINLINKS,ChainLink)
  7582. end
  7583. coroutine.resume(coroutine.create(function()
  7584. repeat
  7585. Swait()
  7586. 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)
  7587. 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)
  7588. 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)
  7589. 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)
  7590. 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)
  7591. 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)
  7592. until CHAINS == true
  7593. repeat
  7594. Swait()
  7595. 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)
  7596. 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)
  7597. 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)
  7598. 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)
  7599. 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)
  7600. 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)
  7601. until ATTACK == false
  7602. for e = 1, 15 do
  7603. Swait()
  7604. for i = 1, #CHAINLINKS do
  7605. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  7606. end
  7607. end
  7608. A:remove()
  7609. B:remove()
  7610. C:remove()
  7611. D:remove()
  7612. end))
  7613. CreateSound(233856115, RightArm, 5, 1.2, false)
  7614. for e = 1, 15 do
  7615. Swait()
  7616. for i = 1, #CHAINLINKS do
  7617. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  7618. end
  7619. end
  7620. CHAINS = true
  7621. Rooted = true
  7622. wait(0.25)
  7623. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  7624. FIST.Color = C3(1, 215/255, 1)
  7625. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  7626. local LIGHT3 = IT("PointLight",FIST)
  7627. LIGHT3.Range = 7
  7628. LIGHT3.Brightness = 5
  7629. LIGHT3.Color = SKILLTEXTCOLOR
  7630. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  7631. local FISTA = IT("Attachment",FIST)
  7632. FISTA.Position = VT(0.062, 0.977, 0)
  7633. local ChainLink = IT("Beam",Torso)
  7634. ChainLink.Texture = "rbxassetid://73042633"
  7635. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7636. ChainLink.TextureSpeed = 0
  7637. ChainLink.Width0 = 3
  7638. ChainLink.Width1 = 3
  7639. ChainLink.TextureLength = 12
  7640. ChainLink.Attachment0 = LIGHT
  7641. ChainLink.Attachment1 = FISTA
  7642. ChainLink.FaceCamera = true
  7643. ChainLink.Segments = 45
  7644. ChainLink.LightEmission = 0.5
  7645. ChainLink.Transparency = NumberSequence.new(0.25)
  7646. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  7647. for i = 1, 85 do
  7648. Swait()
  7649. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  7650. ChainLink.TextureLength = 12+(i*2)
  7651. ApplyAoE(FIST.Position,10,15,25,100,false)
  7652. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7653. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  7654. if HITFLOOR ~= nil then
  7655. HITFLOOR:BreakJoints()
  7656. coroutine.resume(coroutine.create(function()
  7657. for i = 1, 15 do
  7658. Swait()
  7659. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  7660. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  7661. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7662. end
  7663. end))
  7664. break
  7665. end
  7666. end
  7667. coroutine.resume(coroutine.create(function()
  7668. for i = 1, 50 do
  7669. Swait()
  7670. FIST.Transparency = FIST.Transparency + 0.5/50
  7671. LIGHT3.Range = LIGHT3.Range - 7/50
  7672. end
  7673. FIST:remove()
  7674. end))
  7675. LIGHT:remove()
  7676. GYRO:remove()
  7677. ATTACK = false
  7678. Rooted = false
  7679. end
  7680.  
  7681. function WarpMeteor()
  7682. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  7683. if DIST > 180 then
  7684. DIST = 180
  7685. end
  7686. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  7687. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  7688. if HITFLOOR then
  7689. local POS = HITPOS
  7690. ATTACK = true
  7691. Rooted = true
  7692. local WARPED = false
  7693. local SMASHED = false
  7694. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  7695. coroutine.resume(coroutine.create(function()
  7696. repeat
  7697. Swait()
  7698. 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)
  7699. 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)
  7700. 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)
  7701. 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)
  7702. 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)
  7703. 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)
  7704. until WARPED == true
  7705. repeat
  7706. Swait()
  7707. 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)
  7708. 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)
  7709. 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)
  7710. 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)
  7711. 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)
  7712. 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)
  7713. until SMASHED == true
  7714. repeat
  7715. Swait()
  7716. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  7717. 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)
  7718. 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)
  7719. 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)
  7720. 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)
  7721. 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)
  7722. until ATTACK == false
  7723. end))
  7724. VALUE1 = true
  7725. CreateSound(233856115, Torso, 5, 1.6, false)
  7726. for i = 1, 25 do
  7727. Swait()
  7728. for _, c in pairs(Character:GetChildren()) do
  7729. if c.ClassName == "Part" then
  7730. c.Transparency = c.Transparency + 1/25
  7731. end
  7732. end
  7733. for _, c in pairs(Weapon:GetChildren()) do
  7734. if c.ClassName == "Part" then
  7735. c.Transparency = c.Transparency + 1/25
  7736. end
  7737. end
  7738. end
  7739. UNANCHOR = false
  7740. RootPart.Anchored = true
  7741. RootPart.Velocity = VT(0,0,0)
  7742. local ROOTPOS = RootPart.Position
  7743. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  7744. WARPED = true
  7745. for i = 1, 25 do
  7746. Swait()
  7747. for _, c in pairs(Character:GetChildren()) do
  7748. if c.ClassName == "Part" then
  7749. c.Transparency = c.Transparency - 1/25
  7750. end
  7751. end
  7752. for _, c in pairs(Weapon:GetChildren()) do
  7753. if c.ClassName == "Part" then
  7754. c.Transparency = c.Transparency - 1/25
  7755. end
  7756. end
  7757. end
  7758. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  7759. SHELL.CFrame = RootPart.CFrame
  7760. MakeForm(SHELL,"Ball")
  7761. CreateSound(402981977, SHELL, 5, 1.6, false)
  7762. for i = 1, 10 do
  7763. Swait()
  7764. SHELL.Transparency = SHELL.Transparency - 1/10
  7765. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  7766. end
  7767. for i = 1, math.ceil(75/2) do
  7768. Swait()
  7769. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  7770. SHELL.CFrame = CF(RootPart.Position)
  7771. 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})
  7772. end
  7773. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  7774. SHELL.CFrame = CF(RootPart.Position)
  7775. 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})
  7776. 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})
  7777. 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})
  7778. for i = 1, 5 do
  7779. 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  7780. end
  7781. SHELL:remove()
  7782. ApplyAoE(RootPart.Position,75,35,75,175,false)
  7783. SMASHED = true
  7784. wait(1)
  7785. VALUE1 = false
  7786. UNANCHOR = true
  7787. ATTACK = false
  7788. Rooted = false
  7789. end
  7790. end
  7791.  
  7792. function PandorasBox()
  7793. 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)
  7794. if HITFLOOR ~= nil then
  7795. ATTACK = true
  7796. Rooted = true
  7797. local RINGSPIN = true
  7798. local CONSTRUCTING = true
  7799. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  7800. RING.Color = C3(0,0,0)
  7801. MakeForm(RING,"Cyl")
  7802. RING.CFrame = CF(HITPOS)
  7803. CreateSound(402981977, RING, 5, 1.2, false)
  7804. coroutine.resume(coroutine.create(function()
  7805. repeat
  7806. Swait()
  7807. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7808. 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)
  7809. 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)
  7810. 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)
  7811. 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)
  7812. 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)
  7813. 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)
  7814. until CONSTRUCTING == false
  7815. repeat
  7816. Swait()
  7817. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7818. until RINGSPIN == false
  7819. for i = 1, 25 do
  7820. Swait()
  7821. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7822. RING.Size = RING.Size - VT(0.15,0,0.15)
  7823. --DECAL.Transparency = DECAL.Transparency + 1/25
  7824. RING.Transparency = RING.Transparency + 1/25
  7825. end
  7826. RING:remove()
  7827. end))
  7828. for i = 1, 15 do
  7829. Swait()
  7830. RING.Size = RING.Size + VT(0.75,0,0.75)
  7831. RING.Transparency = RING.Transparency - 1/15
  7832. end
  7833. local BOXSPIN = true
  7834. local PANDORASBOX = IT("Model",Effects)
  7835. PANDORASBOX.Name = "Pandora's Box"
  7836. local BOX = IT("Model",PANDORASBOX)
  7837. BOX.Name = "Body"
  7838. local LID = IT("Model",PANDORASBOX)
  7839. LID.Name = "Lid"
  7840. --BUILDING THE BOX--
  7841. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  7842. BASE.Color = C3(0,0,0)
  7843. PANDORASBOX.PrimaryPart = BASE
  7844. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  7845. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7846. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  7847. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7848. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  7849. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7850. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  7851. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7852. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  7853. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7854. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  7855. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7856. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  7857. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7858. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  7859. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7860. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  7861. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7862. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  7863. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7864. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  7865. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7866. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  7867. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7868. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  7869. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7870. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  7871. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7872. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  7873. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7874. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  7875. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7876. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  7877. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7878. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  7879. -------------
  7880. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7881. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  7882. LID.PrimaryPart = LIDPART
  7883. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7884. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  7885. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7886. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  7887. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7888. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  7889. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7890. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  7891. local DECAL = IT("Decal",LIDPART)
  7892. DECAL.Face = "Top"
  7893. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  7894. DECAL.Color3 = C3(0,0,0)
  7895. --BUILDING THE BOX--
  7896. coroutine.resume(coroutine.create(function()
  7897. repeat
  7898. Swait()
  7899. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  7900. until BOXSPIN == false
  7901. end))
  7902. for i = 1, 25 do
  7903. Swait()
  7904. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  7905. end
  7906. wait(0.5)
  7907. BOXSPIN = false
  7908. CONSTRUCTING = false
  7909. coroutine.resume(coroutine.create(function()
  7910. 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})
  7911. --[[for i = 1, 45 do
  7912. Swait()
  7913. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  7914. end-
  7915. LID:remove()]]--
  7916. for _, c in pairs(LID:GetChildren()) do
  7917. if c.ClassName == "Part" then
  7918. c.Anchored = false
  7919. c.CanCollide = true
  7920. if c ~= LIDPART then
  7921. weldBetween(LIDPART,c)
  7922. end
  7923. end
  7924. end
  7925. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  7926. Debris:AddItem(LID,15)
  7927. wait(0.5)
  7928. local RANDOMEFFECT = MRANDOM(1,4)
  7929. if RANDOMEFFECT == 1 then
  7930. for i = 1, 45 do
  7931. wait((2-(i/15))/15)
  7932. 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})
  7933. end
  7934. wait(1)
  7935. 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})
  7936. 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})
  7937. 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})
  7938. for i = 1, 5 do
  7939. 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})
  7940. end
  7941. ApplyAoE(BASE.Position,50,1,200,375,false)
  7942. ApplyAoE(BASE.Position,250,35,75,175,false)
  7943. elseif RANDOMEFFECT == 2 then
  7944. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  7945. FIELD.CFrame = BASE.CFrame
  7946. MakeForm(FIELD,"Ball")
  7947. for i = 1, 50 do
  7948. Swait()
  7949. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  7950. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  7951. end
  7952. wait(0.2)
  7953. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  7954. coroutine.resume(coroutine.create(function()
  7955. for i = 1, 75 do
  7956. Swait()
  7957. LOOP.Volume = LOOP.Volume + 10/75
  7958. LOOP.Parent = FIELD
  7959. local CHILDREN = workspace:GetDescendants()
  7960. for index, CHILD in pairs(CHILDREN) do
  7961. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7962. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7963. if HUM then
  7964. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7965. if TORSO then
  7966. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7967. HUM.Health = HUM.Health - 0.1
  7968. TORSO.Velocity = VT(0,5,0)
  7969. HUM.PlatformStand = true
  7970. if TORSO.RotVelocity.Magnitude < 15 then
  7971. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7972. end
  7973. end
  7974. end
  7975. end
  7976. end
  7977. end
  7978. FIELD.Size = FIELD.Size + VT(3,3,3)
  7979. FIELD.Transparency = FIELD.Transparency + 0.8/75
  7980. end
  7981. for i = 1, 500 do
  7982. Swait()
  7983. LOOP.Parent = FIELD
  7984. local CHILDREN = workspace:GetDescendants()
  7985. for index, CHILD in pairs(CHILDREN) do
  7986. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7987. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7988. if HUM then
  7989. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7990. if TORSO then
  7991. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7992. TORSO.Velocity = VT(0,5,0)
  7993. HUM.Health = HUM.Health - 0.1
  7994. HUM.PlatformStand = true
  7995. if TORSO.RotVelocity.Magnitude < 15 then
  7996. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7997. end
  7998. end
  7999. end
  8000. end
  8001. end
  8002. end
  8003. end
  8004. for i = 1, 25 do
  8005. Swait()
  8006. LOOP.Volume = LOOP.Volume + 10/25
  8007. LOOP.Parent = FIELD
  8008. local CHILDREN = workspace:GetDescendants()
  8009. for index, CHILD in pairs(CHILDREN) do
  8010. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8011. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8012. if HUM then
  8013. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8014. if TORSO then
  8015. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  8016. TORSO.Velocity = VT(0,5,0)
  8017. HUM.Health = HUM.Health - 0.1
  8018. HUM.PlatformStand = false
  8019. if TORSO.RotVelocity.Magnitude < 15 then
  8020. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  8021. end
  8022. end
  8023. end
  8024. end
  8025. end
  8026. end
  8027. FIELD.Size = FIELD.Size - VT(3,3,3)
  8028. FIELD.Transparency = FIELD.Transparency + 0.2/25
  8029. end
  8030. FIELD:remove()
  8031. end))
  8032. elseif RANDOMEFFECT == 3 then
  8033. for i = 1, 10 do
  8034. wait(0.15)
  8035. 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})
  8036. coroutine.resume(coroutine.create(function()
  8037. local MINION = CLONE:Clone()
  8038. MINION.Parent = Effects
  8039. MINION.Name = "Shadow"
  8040. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  8041. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  8042. for _, c in pairs(MINION:GetChildren()) do
  8043. if c.ClassName == "Part" then
  8044. c.Material = "Neon"
  8045. c.Color = C3(0,0,0)
  8046. c.Transparency = 0.25
  8047. if c.Name == "Head" then
  8048. c:ClearAllChildren()
  8049. local MSH = IT("BlockMesh",c)
  8050. MSH.Scale = VT(0.5,1,1)
  8051. end
  8052. end
  8053. end
  8054. local TORSO = MINION.Torso
  8055. local HUMAN = MINION.Humanoid
  8056. HUMAN.WalkSpeed = 20
  8057. HUMAN.MaxHealth = math.huge
  8058. HUMAN.Health = math.huge
  8059. HUMAN.DisplayDistanceType = "None"
  8060. HUMAN.Died:connect(function()
  8061. MINION:remove()
  8062. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  8063. end)
  8064. wait(1)
  8065. local findNearestTorso = function(POS)
  8066. local list = game.Workspace:GetDescendants()
  8067. local torso = nil
  8068. local dist = 500
  8069. local temp = nil
  8070. local human = nil
  8071. local temp2 = nil
  8072. for x = 1, #list do
  8073. temp2 = list[x]
  8074. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  8075. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  8076. human = temp2:findFirstChildOfClass("Humanoid")
  8077. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  8078. if (temp.Position - POS).magnitude < dist then
  8079. torso = temp
  8080. dist = (temp.Position - POS).magnitude
  8081. end
  8082. end
  8083. end
  8084. end
  8085. return torso, dist
  8086. end
  8087. for i = 1, 40 do
  8088. if HUMAN.Health == 0 then
  8089. break
  8090. end
  8091. wait(0.3)
  8092. local target,dist= findNearestTorso(TORSO.Position)
  8093. if target then
  8094. HUMAN:MoveTo(target.Position)
  8095. if dist < 25 then
  8096. CreateSound(348663022, TORSO, 10, 1, true)
  8097. wait(2)
  8098. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  8099. --ANIM:Play()
  8100. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  8101. ApplyAoE(TORSO.Position,10,0,0,85,true)
  8102. 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})
  8103. for i = 1, 5 do
  8104. 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})
  8105. end
  8106. break
  8107. end
  8108. end
  8109. end
  8110. MINION:remove()
  8111. end))
  8112. end
  8113. elseif RANDOMEFFECT == 4 then
  8114. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  8115. FIELD.Color = C3(0,0,0)
  8116. FIELD.CFrame = BASE.CFrame
  8117. MakeForm(FIELD,"Ball")
  8118. FIELD.CanCollide = true
  8119. for i = 1, 50 do
  8120. Swait()
  8121. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  8122. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  8123. end
  8124. wait(0.2)
  8125. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  8126. coroutine.resume(coroutine.create(function()
  8127. local E = 0
  8128. for i = 1, 75 do
  8129. E = E + 1
  8130. Swait()
  8131. if E >= 35 then
  8132. E = 0
  8133. 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})
  8134. end
  8135. LOOP.Volume = LOOP.Volume + 10/75
  8136. LOOP.Parent = FIELD
  8137. local CHILDREN = workspace:GetDescendants()
  8138. for index, CHILD in pairs(CHILDREN) do
  8139. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8140. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8141. if HUM then
  8142. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8143. if TORSO then
  8144. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8145. for _, c in pairs(CHILD:GetChildren()) do
  8146. if c:IsA("BasePart") then
  8147. local bv = Instance.new("BodyVelocity")
  8148. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8149. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8150. bv.Parent = c
  8151. Debris:AddItem(bv,0.05)
  8152. end
  8153. end
  8154. HUM.Health = HUM.Health - 0.3
  8155. end
  8156. end
  8157. end
  8158. end
  8159. end
  8160. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  8161. end
  8162. for i = 1, 180 do
  8163. E = E + 1
  8164. Swait()
  8165. if E >= 35 then
  8166. E = 0
  8167. 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})
  8168. end
  8169. LOOP.Parent = FIELD
  8170. local CHILDREN = workspace:GetDescendants()
  8171. for index, CHILD in pairs(CHILDREN) do
  8172. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8173. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8174. if HUM then
  8175. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8176. if TORSO then
  8177. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8178. for _, c in pairs(CHILD:GetChildren()) do
  8179. if c:IsA("BasePart") then
  8180. local bv = Instance.new("BodyVelocity")
  8181. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8182. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8183. bv.Parent = c
  8184. Debris:AddItem(bv,0.05)
  8185. end
  8186. end
  8187. HUM.Health = HUM.Health - 0.3
  8188. end
  8189. end
  8190. end
  8191. end
  8192. end
  8193. end
  8194. ApplyAoE(FIELD.Position,40,15,20,375,false)
  8195. 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})
  8196. for i = 1, 5 do
  8197. 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})
  8198. end
  8199. FIELD:remove()
  8200. end))
  8201. elseif RANDOMEFFECT == 5 then
  8202. end
  8203. wait(0.5)
  8204. for i = 1, 25 do
  8205. Swait()
  8206. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  8207. end
  8208. PANDORASBOX:remove()
  8209. RINGSPIN = false
  8210. end))
  8211. ATTACK = false
  8212. Rooted = false
  8213. end
  8214. end
  8215.  
  8216. function Taunt()
  8217. ATTACK = true
  8218. local LAUGH = nil
  8219. coroutine.resume(coroutine.create(function()
  8220. repeat
  8221. Swait()
  8222. 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)
  8223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8225. 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)
  8226. 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)
  8227. 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)
  8228. until LAUGH ~= nil
  8229. repeat
  8230. Swait()
  8231. LAUGH.Parent = Head
  8232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
  8233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8235. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8236. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
  8237. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
  8238. until LAUGH.Playing == false
  8239. ATTACK = false
  8240. end))
  8241. wait(0.1)
  8242. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  8243. end
  8244. function SpawnTrail(FROM,TO,BIG)
  8245. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  8246. MakeForm(TRAIL,"Cyl")
  8247. local DIST = (FROM - TO).Magnitude
  8248. if BIG == true then
  8249. TRAIL.Size = VT(0.5,DIST,0.5)
  8250. else
  8251. TRAIL.Size = VT(0.25,DIST,0.25)
  8252. end
  8253. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  8254. coroutine.resume(coroutine.create(function()
  8255. for i = 1, 5 do
  8256. Swait()
  8257. TRAIL.Transparency = TRAIL.Transparency + 0.1
  8258. end
  8259. TRAIL:remove()
  8260. end))
  8261. end
  8262. local A = IT("Attachment",RightBarrel)
  8263. A.Position = VT(0,-2.5,0)
  8264. local B = IT("Attachment",RightBarrel)
  8265. B.Position = VT(0,2.5,0)
  8266. local Trail = IT("Trail",RightBarrel)
  8267. Trail.Attachment0 = A
  8268. Trail.Attachment1 = B
  8269. Trail.Lifetime = 0.2
  8270. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  8271. Trail.Transparency = NumberSequence.new(0, 1)
  8272. Trail.Enabled = false
  8273. function Execute()
  8274. ATTACK = true
  8275. Rooted = false
  8276. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  8277. Part.Color = C3(0,0,0)
  8278. MakeForm(Part,"Wedge")
  8279. Part.CanCollide = true
  8280. 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))
  8281. for i=0, 0.1, 0.1 / Animation_Speed do
  8282. Swait()
  8283. 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)
  8284. 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)
  8285. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8286. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8287. 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)
  8288. 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)
  8289. end
  8290. Trail.Enabled = true
  8291. CreateSound(541909867, Barrel, 7, 1, false)
  8292. local TOCH = Part.Touched:Connect(function(hit)
  8293. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  8294. Kill(hit.Parent)
  8295. end
  8296. end)
  8297. for i=0, 0.35, 0.1 / Animation_Speed do
  8298. Swait()
  8299. 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)
  8300. 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)
  8301. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8302. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8303. 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)
  8304. 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)
  8305. end
  8306. TOCH:disconnect()
  8307. Trail.Enabled = false
  8308. for i=0, 0.35, 0.1 / Animation_Speed do
  8309. Swait()
  8310. 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)
  8311. 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)
  8312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8314. 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)
  8315. 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)
  8316. end
  8317. Part:remove()
  8318. ATTACK = false
  8319. Rooted = false
  8320. end
  8321.  
  8322. function Final_Limit()
  8323. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8324. if HITFLOOR ~= nil then
  8325. do
  8326. local HITBODIES = {}
  8327. ATTACK = true
  8328. Rooted = true
  8329. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  8330. ABSOLUTE.Color = C3(0, 0, 0)
  8331. MakeForm(ABSOLUTE, "Ball")
  8332. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  8333. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  8334. for i = 0, 4, 0.1 / Animation_Speed do
  8335. Swait()
  8336. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  8337. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  8338. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  8339. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  8340. MakeForm(CHARGE, "Ball")
  8341. CHARGE.Color = C3(0, 0, 0)
  8342. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  8343. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  8344. 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)
  8345. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * 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)
  8348. 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)
  8349. 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)
  8350. end
  8351. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, "Really black", "BatWings", VT(2, 2, 2))
  8352. WING.Color = C3(0, 0, 0)
  8353. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8354. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  8355. for i = 1, 15 do
  8356. Swait()
  8357. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8358. WING.Transparency = WING.Transparency - 0.06666666666666667
  8359. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  8360. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8361. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8362. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8363. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8364. 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)
  8365. 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)
  8366. end
  8367. for i = 1, 15 do
  8368. Swait()
  8369. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8370. WING.Transparency = WING.Transparency - 0.06666666666666667
  8371. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  8372. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  8373. 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(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8374. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  8375. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8376. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  8377. 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)
  8378. 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)
  8379. end
  8380. coroutine.resume(coroutine.create(function()
  8381. local LOOP = 0
  8382. local ech = 0
  8383. for i = 1, 250 do
  8384. LOOP = LOOP + 1
  8385. Swait()
  8386. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  8387. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8388. CreateRing(VT(0, 0, 0), false, 0, 25, CF(ABSOLUTE.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 0, 0), VT(LOOP, LOOP, 0) / 45)
  8389. if LOOP == 25 then
  8390. LOOP = 0
  8391. ech = ech + 1
  8392. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  8393. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  8394. for i = 1, 5 do
  8395. Slice("Thin", 2 * ech, 35, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), C3(0, 0, 0), VT(0.001, 0, 0.001))
  8396. Slice("Round", 2 * ech, 45, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), C3(0, 0, 0), VT(0, 0, 0))
  8397. end
  8398. end
  8399. end
  8400. for i = 1, 10 do
  8401. Swait()
  8402. WING.Transparency = WING.Transparency + 0.1
  8403. end
  8404. WING:remove()
  8405. for i = 1, 10 do
  8406. Swait()
  8407. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  8408. end
  8409. ABSOLUTE:remove()
  8410. end))
  8411. ATTACK = false
  8412. Rooted = false
  8413. end
  8414. end
  8415. end
  8416.  
  8417. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  8418. local CHILDREN = workspace:GetDescendants()
  8419. for index, CHILD in pairs(CHILDREN) do
  8420. if CHILD.ClassName == "Model" and CHILD ~= Character then
  8421. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8422. if HUM then
  8423. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8424. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  8425. if EBANISH == true then
  8426. Banish(CHILD)
  8427. else
  8428. local DMG = MRANDOM(MINDMG, MAXDMG)
  8429. ApplyDamage(HUM, DMG, TORSO)
  8430. end
  8431. if FLING > 0 then
  8432. for _, c in pairs(CHILD:GetChildren()) do
  8433. if c:IsA("BasePart") then
  8434. local bv = Instance.new("BodyVelocity")
  8435. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8436. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  8437. bv.Parent = c
  8438. Debris:AddItem(bv, 0.05)
  8439. end
  8440. end
  8441. end
  8442. end
  8443. end
  8444. end
  8445. end
  8446. end
  8447.  
  8448. function Eon_Fire()
  8449. ATTACK = true
  8450. Rooted = true
  8451. local GYRO = IT("BodyGyro", RootPart)
  8452. GYRO.D = 15
  8453. GYRO.P = 2000
  8454. GYRO.MaxTorque = VT(0, 4000000, 0)
  8455. CreateSound("341301115", Head, 5, 1.1)
  8456. CreateSound("93724183", Head, 6, 1)
  8457. for i = 1, 200 do
  8458. Swait()
  8459. WACKYEFFECT({
  8460. Time = MRANDOM(5, 15),
  8461. EffectType = "Round Slash",
  8462. Size = VT(0, 0, 0),
  8463. Size2 = VT(0.12, 0, 0.12),
  8464. Transparency = 0.5,
  8465. Transparency2 = 1,
  8466. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8467. MoveToPos = nil,
  8468. RotationX = MRANDOM(-50, 50) / 50,
  8469. RotationY = MRANDOM(-50, 50) / 10,
  8470. RotationZ = MRANDOM(-50, 50) / 50,
  8471. Material = "Neon",
  8472. Color = color,
  8473. SoundID = nil,
  8474. SoundPitch = nil,
  8475. SoundVolume = nil
  8476. })
  8477. WACKYEFFECT({
  8478. Time = MRANDOM(5, 15),
  8479. EffectType = "Round Slash",
  8480. Size = VT(0, 0, 0),
  8481. Size2 = VT(0.1, 0, 0.1),
  8482. Transparency = 0.5,
  8483. Transparency2 = 1,
  8484. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8485. MoveToPos = nil,
  8486. RotationX = MRANDOM(-50, 50) / 50,
  8487. RotationY = MRANDOM(-50, 50) / 10,
  8488. RotationZ = MRANDOM(-50, 50) / 50,
  8489. Material = "Neon",
  8490. Color = color,
  8491. SoundID = nil,
  8492. SoundPitch = nil,
  8493. SoundVolume = nil
  8494. })
  8495. WACKYEFFECT({
  8496. Time = MRANDOM(5, 15),
  8497. EffectType = "Round Slash",
  8498. Size = VT(0, 0, 0),
  8499. Size2 = VT(0.16, 0, 0.16),
  8500. Transparency = 0.5,
  8501. Transparency2 = 1,
  8502. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8503. MoveToPos = nil,
  8504. RotationX = MRANDOM(-50, 50) / 50,
  8505. RotationY = MRANDOM(-50, 50) / 10,
  8506. RotationZ = MRANDOM(-50, 50) / 50,
  8507. Material = "Neon",
  8508. Color = color,
  8509. SoundID = nil,
  8510. SoundPitch = nil,
  8511. SoundVolume = nil
  8512. })
  8513. WACKYEFFECT({
  8514. Time = 5,
  8515. EffectType = "Sphere",
  8516. Size = VT(i, i, i) / 150,
  8517. Size2 = VT(0, 0, 0),
  8518. Transparency = 0.5,
  8519. Transparency2 = 1,
  8520. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8521. MoveToPos = nil,
  8522. RotationX = 0,
  8523. RotationY = 0,
  8524. RotationZ = 0,
  8525. Material = "Neon",
  8526. Color = color,
  8527. SoundID = nil,
  8528. SoundPitch = nil,
  8529. SoundVolume = nil
  8530. })
  8531. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8532. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8536. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8537. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8538. end
  8539. GYRO:remove()
  8540. for i = 0, 0.3, 0.1 / Animation_Speed do
  8541. Swait()
  8542. WACKYEFFECT({
  8543. Time = 25,
  8544. EffectType = "Sphere",
  8545. Size = VT(200, 200, 200) / 150,
  8546. Size2 = VT(0, 0, 0),
  8547. Transparency = 0.5,
  8548. Transparency2 = 1,
  8549. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8550. MoveToPos = nil,
  8551. RotationX = 0,
  8552. RotationY = 0,
  8553. RotationZ = 0,
  8554. Material = "Neon",
  8555. Color = color,
  8556. SoundID = nil,
  8557. SoundPitch = nil,
  8558. SoundVolume = nil
  8559. })
  8560. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8561. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8562. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8563. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8564. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8565. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8566. end
  8567. coroutine.resume(coroutine.create(function()
  8568. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  8569. MakeForm(FIREBALL, "Ball")
  8570. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8571. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8572. for i = 1, 500 do
  8573. Swait()
  8574. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8575. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8576. if HITFLOOR ~= nil then
  8577. break
  8578. end
  8579. end
  8580. CreateSound(325132788, Effects, 8, 1, false)
  8581. for i = 1, 120 do
  8582. Swait()
  8583. WACKYEFFECT({
  8584. Time = 85,
  8585. EffectType = "Sphere",
  8586. Size = FIREBALL.Size,
  8587. Size2 = VT(0, 1000, 0),
  8588. Transparency = 0.5,
  8589. Transparency2 = 1,
  8590. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8591. MoveToPos = nil,
  8592. RotationX = MRANDOM(-50, 50) / 10,
  8593. RotationY = MRANDOM(-50, 50) / 10,
  8594. RotationZ = MRANDOM(-50, 50) / 10,
  8595. Material = "Neon",
  8596. Color = color,
  8597. SoundID = nil,
  8598. SoundPitch = nil,
  8599. SoundVolume = nil
  8600. })
  8601. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  8602. end
  8603. Swait(5)
  8604. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  8605. for i = 1, 10 do
  8606. WACKYEFFECT({
  8607. Time = 85 + 5 * i,
  8608. EffectType = "Slash",
  8609. Size = VT(3, 0, 3),
  8610. Size2 = VT(12, 0, 12),
  8611. Transparency = 0.5,
  8612. Transparency2 = 1,
  8613. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8614. MoveToPos = nil,
  8615. RotationX = MRANDOM(-50, 50) / 50,
  8616. RotationY = MRANDOM(-50, 50) / 10,
  8617. RotationZ = MRANDOM(-50, 50) / 50,
  8618. Material = "Neon",
  8619. Color = C3(1, 1, 1),
  8620. SoundID = nil,
  8621. SoundPitch = nil,
  8622. SoundVolume = nil
  8623. })
  8624. WACKYEFFECT({
  8625. Time = 185 + 5 * i,
  8626. EffectType = "Swirl",
  8627. Size = VT(15, 15, 15),
  8628. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  8629. Transparency = 0.5,
  8630. Transparency2 = 1,
  8631. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8632. MoveToPos = nil,
  8633. RotationX = MRANDOM(-50, 50) / 50,
  8634. RotationY = MRANDOM(-50, 50) / 10,
  8635. RotationZ = MRANDOM(-50, 50) / 50,
  8636. Material = "Neon",
  8637. Color = C3(1, 0.5, 0.5),
  8638. SoundID = nil,
  8639. SoundPitch = nil,
  8640. SoundVolume = nil
  8641. })
  8642. WACKYEFFECT({
  8643. Time = 285 + 5 * i,
  8644. EffectType = "Round Slash",
  8645. Size = VT(3, 0, 3),
  8646. Size2 = VT(12, 0, 12),
  8647. Transparency = 0.5,
  8648. Transparency2 = 1,
  8649. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8650. MoveToPos = nil,
  8651. RotationX = MRANDOM(-50, 50) / 50,
  8652. RotationY = MRANDOM(-50, 50) / 10,
  8653. RotationZ = MRANDOM(-50, 50) / 50,
  8654. Material = "Neon",
  8655. Color = color,
  8656. SoundID = nil,
  8657. SoundPitch = nil,
  8658. SoundVolume = nil
  8659. })
  8660. WACKYEFFECT({
  8661. Time = 285 + 5 * i,
  8662. EffectType = "Sphere",
  8663. Size = VT(650, 650, 650),
  8664. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  8665. Transparency = 0.5,
  8666. Transparency2 = 1,
  8667. CFrame = FIREBALL.CFrame,
  8668. MoveToPos = nil,
  8669. RotationX = 0,
  8670. RotationY = 0,
  8671. RotationZ = 0,
  8672. Material = "Neon",
  8673. Color = color,
  8674. SoundID = nil,
  8675. SoundPitch = 0,
  8676. SoundVolume = 0
  8677. })
  8678. end
  8679. wait(1)
  8680. WACKYEFFECT({
  8681. Time = 75,
  8682. EffectType = "Sphere",
  8683. Size = VT(350, 350, 350),
  8684. Size2 = VT(4500, 4500, 4500),
  8685. Transparency = 0.8,
  8686. Transparency2 = 1,
  8687. CFrame = FIREBALL.CFrame,
  8688. MoveToPos = nil,
  8689. RotationX = 0,
  8690. RotationY = 0,
  8691. RotationZ = 0,
  8692. Material = "Neon",
  8693. Color = C3(1, 1, 1),
  8694. SoundID = nil,
  8695. SoundPitch = 0,
  8696. SoundVolume = 0
  8697. })
  8698. for i = 1, 15 do
  8699. Swait()
  8700. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  8701. WACKYEFFECT({
  8702. Time = 85,
  8703. EffectType = "Sphere",
  8704. Size = VT(75, 75, 75),
  8705. Size2 = VT(0, 2500, 0),
  8706. Transparency = 0.5,
  8707. Transparency2 = 1,
  8708. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8709. MoveToPos = nil,
  8710. RotationX = MRANDOM(-50, 50) / 10,
  8711. RotationY = MRANDOM(-50, 50) / 10,
  8712. RotationZ = MRANDOM(-50, 50) / 10,
  8713. Material = "Neon",
  8714. Color = color,
  8715. SoundID = nil,
  8716. SoundPitch = nil,
  8717. SoundVolume = nil
  8718. })
  8719. end
  8720. FIREBALL:remove()
  8721. end))
  8722. WACKYEFFECT({
  8723. Time = 25,
  8724. EffectType = "Ring",
  8725. Size = VT(0, 0, 0),
  8726. Size2 = VT(3.75, 3.75, 0),
  8727. Transparency = 0.7,
  8728. Transparency2 = 1,
  8729. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8730. MoveToPos = nil,
  8731. RotationX = 0,
  8732. RotationY = 0,
  8733. RotationZ = 0,
  8734. Material = "Neon",
  8735. Color = color,
  8736. SoundID = nil,
  8737. SoundPitch = nil,
  8738. SoundVolume = nil
  8739. })
  8740. WACKYEFFECT({
  8741. Time = 50,
  8742. EffectType = "Ring",
  8743. Size = VT(0, 0, 0),
  8744. Size2 = VT(15, 15, 0),
  8745. Transparency = 0.7,
  8746. Transparency2 = 1,
  8747. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8748. MoveToPos = nil,
  8749. RotationX = 0,
  8750. RotationY = 0,
  8751. RotationZ = 0,
  8752. Material = "Neon",
  8753. Color = color,
  8754. SoundID = nil,
  8755. SoundPitch = nil,
  8756. SoundVolume = nil
  8757. })
  8758. for i = 0, 0.3, 0.1 / Animation_Speed do
  8759. Swait()
  8760. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8761. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8763. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8764. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8765. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8766. end
  8767. ATTACK = false
  8768. Rooted = false
  8769. end
  8770.  
  8771. function UEon_Fire()
  8772. ATTACK = true
  8773. Rooted = true
  8774. local GYRO = IT("BodyGyro", RootPart)
  8775. GYRO.D = 15
  8776. GYRO.P = 2000
  8777. GYRO.MaxTorque = VT(0, 4000000, 0)
  8778. CreateSound("341301115", Head, 5, 1.1)
  8779. CreateSound("93724183", Head, 6, 1)
  8780. for i = 1, 200 do
  8781. Swait()
  8782. WACKYEFFECT({
  8783. Time = MRANDOM(5, 15),
  8784. EffectType = "Round Slash",
  8785. Size = VT(0, 0, 0),
  8786. Size2 = VT(80.12, 0, 80.12),
  8787. Transparency = 0.5,
  8788. Transparency2 = 0,
  8789. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8790. MoveToPos = nil,
  8791. RotationX = MRANDOM(-50, 50) / 50,
  8792. RotationY = MRANDOM(-50, 50) / 10,
  8793. RotationZ = MRANDOM(-50, 50) / 50,
  8794. Material = "Neon",
  8795. Color = color,
  8796. SoundID = nil,
  8797. SoundPitch = nil,
  8798. SoundVolume = nil
  8799. })
  8800. WACKYEFFECT({
  8801. Time = MRANDOM(5, 15),
  8802. EffectType = "Round Slash",
  8803. Size = VT(0, 0, 0),
  8804. Size2 = VT(80.1, 0, 80.1),
  8805. Transparency = 0.5,
  8806. Transparency2 = 1,
  8807. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8808. MoveToPos = nil,
  8809. RotationX = MRANDOM(-150, 150) / 150,
  8810. RotationY = MRANDOM(-150, 150) / 110,
  8811. RotationZ = MRANDOM(-150, 150) / 150,
  8812. Material = "Neon",
  8813. Color = color,
  8814. SoundID = nil,
  8815. SoundPitch = nil,
  8816. SoundVolume = nil
  8817. })
  8818. WACKYEFFECT({
  8819. Time = MRANDOM(5, 15),
  8820. EffectType = "Round Slash",
  8821. Size = VT(0, 0, 0),
  8822. Size2 = VT(80.16, 0, 80.16),
  8823. Transparency = 0.5,
  8824. Transparency2 = 1,
  8825. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8826. MoveToPos = nil,
  8827. RotationX = MRANDOM(-150, 150) / 150,
  8828. RotationY = MRANDOM(-150, 150) / 110,
  8829. RotationZ = MRANDOM(-150, 150) / 150,
  8830. Material = "Neon",
  8831. Color = color,
  8832. SoundID = nil,
  8833. SoundPitch = nil,
  8834. SoundVolume = nil
  8835. })
  8836. WACKYEFFECT({
  8837. Time = 5,
  8838. EffectType = "Sphere",
  8839. Size = VT(i, i, i) / 150,
  8840. Size2 = VT(0, 0, 0),
  8841. Transparency = 0.5,
  8842. Transparency2 = 0,
  8843. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8844. MoveToPos = nil,
  8845. RotationX = 0,
  8846. RotationY = 0,
  8847. RotationZ = 0,
  8848. Material = "Neon",
  8849. Color = color,
  8850. SoundID = nil,
  8851. SoundPitch = nil,
  8852. SoundVolume = nil
  8853. })
  8854. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8855. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8859. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  8861. end
  8862. GYRO:remove()
  8863. for i = 0, 0.3, 0.1 / Animation_Speed do
  8864. Swait()
  8865. WACKYEFFECT({
  8866. Time = 25,
  8867. EffectType = "Sphere",
  8868. Size = VT(111200, 111200, 111200) / 11150,
  8869. Size2 = VT(0, 0, 0),
  8870. Transparency = 0.5,
  8871. Transparency2 = 1,
  8872. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8873. MoveToPos = nil,
  8874. RotationX = 0,
  8875. RotationY = 0,
  8876. RotationZ = 0,
  8877. Material = "Neon",
  8878. Color = color,
  8879. SoundID = nil,
  8880. SoundPitch = nil,
  8881. SoundVolume = nil
  8882. })
  8883. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8887. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8888. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  8889. end
  8890. coroutine.resume(coroutine.create(function()
  8891. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(10, 10, 10))
  8892. MakeForm(FIREBALL, "Ball")
  8893. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8894. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8895. for i = 1, 500 do
  8896. Swait()
  8897. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8898. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8899. if HITFLOOR ~= nil then
  8900. break
  8901. end
  8902. end
  8903. CreateSound(325132788, Effects, 8, 1, false)
  8904. for i = 1, 120 do
  8905. Swait()
  8906. WACKYEFFECT({
  8907. Time = 85,
  8908. EffectType = "Sphere",
  8909. Size = FIREBALL.Size,
  8910. Size2 = VT(0, 1000000, 0),
  8911. Transparency = 0.5,
  8912. Transparency2 = 0,
  8913. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8914. MoveToPos = nil,
  8915. RotationX = MRANDOM(-150, 150) / 110,
  8916. RotationY = MRANDOM(-150, 150) / 110,
  8917. RotationZ = MRANDOM(-150, 150) / 110,
  8918. Material = "Neon",
  8919. Color = color,
  8920. SoundID = nil,
  8921. SoundPitch = nil,
  8922. SoundVolume = nil
  8923. })
  8924. FIREBALL.Size = FIREBALL.Size - VT(100000, 100000, 100000) / 12000000
  8925. end
  8926. Swait(5)
  8927. ApplyAoE5(FIREBALL.Position, 43500000, 6500000, 6500000, 60000000, true)
  8928. for i = 1, 10 do
  8929. WACKYEFFECT({
  8930. Time = 85 + 5 * i,
  8931. EffectType = "Slash",
  8932. Size = VT(113, 0, 113),
  8933. Size2 = VT(1200000, 0, 1200000),
  8934. Transparency = 0.5,
  8935. Transparency2 = 0,
  8936. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8937. MoveToPos = nil,
  8938. RotationX = MRANDOM(-150, 150) / 150,
  8939. RotationY = MRANDOM(-150, 150) / 110,
  8940. RotationZ = MRANDOM(-150, 150) / 150,
  8941. Material = "Neon",
  8942. Color = C3(1, 1, 1),
  8943. SoundID = nil,
  8944. SoundPitch = nil,
  8945. SoundVolume = nil
  8946. })
  8947. WACKYEFFECT({
  8948. Time = 185 + 5 * i,
  8949. EffectType = "Swirl",
  8950. Size = VT(1000005, 1500000, 1500000),
  8951. Size2 = VT(70000000, 70000000, 70000000) + VT(1500000, 1500000, 1500000) * i,
  8952. Transparency = 0.5,
  8953. Transparency2 = 1,
  8954. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8955. MoveToPos = nil,
  8956. RotationX = MRANDOM(-50, 50) / 50,
  8957. RotationY = MRANDOM(-50, 50) / 10,
  8958. RotationZ = MRANDOM(-50, 50) / 50,
  8959. Material = "Neon",
  8960. Color = C3(1, 0.5, 0.5),
  8961. SoundID = nil,
  8962. SoundPitch = nil,
  8963. SoundVolume = nil
  8964. })
  8965. WACKYEFFECT({
  8966. Time = 285 + 5 * i,
  8967. EffectType = "Round Slash",
  8968. Size = VT(300000, 0, 300000),
  8969. Size2 = VT(1200000, 0, 1200000),
  8970. Transparency = 0.5,
  8971. Transparency2 = 1,
  8972. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8973. MoveToPos = nil,
  8974. RotationX = MRANDOM(-50, 50) / 50,
  8975. RotationY = MRANDOM(-50, 50) / 10,
  8976. RotationZ = MRANDOM(-50, 50) / 50,
  8977. Material = "Neon",
  8978. Color = color,
  8979. SoundID = nil,
  8980. SoundPitch = nil,
  8981. SoundVolume = nil
  8982. })
  8983. WACKYEFFECT({
  8984. Time = 285 + 5 * i,
  8985. EffectType = "Sphere",
  8986. Size = VT(6500000, 6500000, 6500000),
  8987. Size2 = VT(7500000, 7500000, 7500000) + VT(1500000, 1500000, 1500000) * i,
  8988. Transparency = 0.5,
  8989. Transparency2 = 1,
  8990. CFrame = FIREBALL.CFrame,
  8991. MoveToPos = nil,
  8992. RotationX = 0,
  8993. RotationY = 0,
  8994. RotationZ = 0,
  8995. Material = "Neon",
  8996. Color = color,
  8997. SoundID = nil,
  8998. SoundPitch = 0,
  8999. SoundVolume = 0
  9000. })
  9001. end
  9002. wait(1)
  9003. WACKYEFFECT({
  9004. Time = 75,
  9005. EffectType = "Sphere",
  9006. Size = VT(35000000, 35000000, 35000000),
  9007. Size2 = VT(450000000, 450000000, 450000000),
  9008. Transparency = 0.8,
  9009. Transparency2 = 1,
  9010. CFrame = FIREBALL.CFrame,
  9011. MoveToPos = nil,
  9012. RotationX = 0,
  9013. RotationY = 0,
  9014. RotationZ = 0,
  9015. Material = "Neon",
  9016. Color = C3(1, 1, 1),
  9017. SoundID = nil,
  9018. SoundPitch = 0,
  9019. SoundVolume = 0
  9020. })
  9021. for i = 1, 15 do
  9022. Swait()
  9023. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  9024. WACKYEFFECT({
  9025. Time = 85,
  9026. EffectType = "Sphere",
  9027. Size = VT(7500000, 7500000, 7500000),
  9028. Size2 = VT(0, 250000000, 0),
  9029. Transparency = 0.5,
  9030. Transparency2 = 1,
  9031. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  9032. MoveToPos = nil,
  9033. RotationX = MRANDOM(-50, 50) / 10,
  9034. RotationY = MRANDOM(-50, 50) / 10,
  9035. RotationZ = MRANDOM(-50, 50) / 10,
  9036. Material = "Neon",
  9037. Color = color,
  9038. SoundID = nil,
  9039. SoundPitch = nil,
  9040. SoundVolume = nil
  9041. })
  9042. end
  9043. FIREBALL:remove()
  9044. end))
  9045. WACKYEFFECT({
  9046. Time = 25,
  9047. EffectType = "Ring",
  9048. Size = VT(0, 0, 0),
  9049. Size2 = VT(3.7555, 3.7555, 0),
  9050. Transparency = 0.7,
  9051. Transparency2 = 1,
  9052. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9053. MoveToPos = nil,
  9054. RotationX = 0,
  9055. RotationY = 0,
  9056. RotationZ = 0,
  9057. Material = "Neon",
  9058. Color = color,
  9059. SoundID = nil,
  9060. SoundPitch = nil,
  9061. SoundVolume = nil
  9062. })
  9063. WACKYEFFECT({
  9064. Time = 50,
  9065. EffectType = "Ring",
  9066. Size = VT(0, 0, 0),
  9067. Size2 = VT(1500000, 1500000, 0),
  9068. Transparency = 0.7,
  9069. Transparency2 = 1,
  9070. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9071. MoveToPos = nil,
  9072. RotationX = 0,
  9073. RotationY = 0,
  9074. RotationZ = 0,
  9075. Material = "Neon",
  9076. Color = color,
  9077. SoundID = nil,
  9078. SoundPitch = nil,
  9079. SoundVolume = nil
  9080. })
  9081. for i = 0, 0.3, 0.1 / Animation_Speed do
  9082. Swait()
  9083. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9087. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9088. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9089. end
  9090. ATTACK = false
  9091. Rooted = false
  9092. end
  9093. local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  9094. MakeForm(Eye,"Ball")
  9095.  
  9096. function AttackTemplate()
  9097. ATTACK = true
  9098. Rooted = false
  9099. for i=0, 1, 0.1 / Animation_Speed do
  9100. Swait()
  9101. 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)
  9102. 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)
  9103. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9105. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9106. 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)
  9107. 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)
  9108. end
  9109. ATTACK = false
  9110. Rooted = false
  9111. end
  9112.  
  9113. function VoidWarp()
  9114. ATTACK = true
  9115. Rooted = false
  9116. for i=0, 0.2, 0.1 / Animation_Speed do
  9117. Swait()
  9118. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9120. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9123. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9124. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9125. end
  9126. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  9127. CreateSound("1208650519", Torso, 10, 2.5)
  9128. local GUI,GUI2 = CreateGUICircle(Torso)
  9129. for i = 1, 50 do
  9130. Swait()
  9131. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9132. GUI2.Rotation = GUI2.Rotation + i/10
  9133. end
  9134. CastWarpOutlines(Character)
  9135. local POS = Torso.Position
  9136. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  9137. Swait()
  9138. CreateSound("1177785010", Torso, 10, 1)
  9139. coroutine.resume(coroutine.create(function()
  9140. for i = 1, 50 do
  9141. Swait()
  9142. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  9143. GUI2.Rotation = GUI2.Rotation - i/10
  9144. end
  9145. end))
  9146. ATTACK = false
  9147. Rooted = false
  9148. end
  9149.  
  9150. local asd = Instance.new("ParticleEmitter")
  9151. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  9152. asd.LightEmission = .1
  9153. asd.Size = NumberSequence.new(0.2)
  9154. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  9155. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  9156. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  9157. asd.Transparency = bbb
  9158. asd.Size = aaa
  9159. asd.ZOffset = .9
  9160. asd.Acceleration = Vector3.new(0, -15, 0)
  9161. asd.LockedToPart = false
  9162. asd.EmissionDirection = "Back"
  9163. asd.Lifetime = NumberRange.new(1, 2)
  9164. asd.Rotation = NumberRange.new(-100, 100)
  9165. asd.RotSpeed = NumberRange.new(-100, 100)
  9166. asd.Speed = NumberRange.new(25,35)
  9167. asd.Enabled = false
  9168. asd.VelocitySpread = 5
  9169.  
  9170. function getbloody(victim,amount)
  9171. local PART = IT("Part",Effects)
  9172. PART.Transparency = 1
  9173. PART.Size = victim.Size
  9174. PART.Anchored = true
  9175. PART.CanCollide = false
  9176. PART.CFrame = CF(victim.Position,Torso.Position)
  9177. local HITPLAYERSOUNDS = {"356551938","264486467"}
  9178. Debris:AddItem(PART,5)
  9179. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  9180. local prtcl = asd:Clone()
  9181. prtcl.Parent = PART
  9182. prtcl:Emit(amount*10)
  9183. end
  9184.  
  9185. function impale(chain,hit)
  9186. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  9187. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  9188. if humanoid.Health ~= 0 then
  9189. hit.Parent:BreakJoints()
  9190. getbloody(hit,0)
  9191. local prtcl = asd:Clone()
  9192. prtcl.Parent = chain
  9193. prtcl.Enabled = true
  9194. prtcl.Speed = NumberRange.new(0)
  9195. prtcl.Size = NumberSequence.new(0.2)
  9196. end
  9197. end
  9198. end
  9199.  
  9200. function clerp(a, b, t)
  9201. return a:lerp(b, t)
  9202. end
  9203.  
  9204. function newBezier(startpos, pos2, pos3, endpos, t)
  9205. local A = clerp(startpos, pos2, t)
  9206. local B = clerp(pos2, pos3, t)
  9207. local C = clerp(pos3, endpos, t)
  9208. local lerp1 = clerp(A, B, t)
  9209. local lerp2 = clerp(B, C, t)
  9210. local cubic = clerp(lerp1, lerp2, t)
  9211. return cubic
  9212. end
  9213.  
  9214. function VoidChain()
  9215. ATTACK = true
  9216. Rooted = false
  9217. for i=0, 2, 0.1 / Animation_Speed do
  9218. turnto(Mouse.Hit.p)
  9219. Swait()
  9220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  9221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  9222. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9223. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  9224. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  9225. 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)
  9226. 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)
  9227. end
  9228. CreateSound("1208650519", RightArm, 10, 2)
  9229. local RING = CreateMagicCircle()
  9230. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  9231. for i = 1, 5 do
  9232. turnto(Mouse.Hit.p)
  9233. Swait()
  9234. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9235. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9236. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9237. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  9238. RING.Size = RING.Size + VT(1,0,1)
  9239. end
  9240. coroutine.resume(coroutine.create(function()
  9241. local POS = Mouse.Hit.p
  9242. local A = IT("Attachment",RING)
  9243. for i = 1, 15 do
  9244. Swait(MRANDOM(0,5))
  9245. coroutine.resume(coroutine.create(function()
  9246. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9247. --print("Chain start")
  9248. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9249. Front.CanCollide = true
  9250. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  9251. local B = IT("Attachment",Front)
  9252. local ChainLink = IT("Beam",RING)
  9253. ChainLink.Texture = "rbxassetid://1262544869"
  9254. ChainLink.TextureSpeed = 0
  9255. ChainLink.FaceCamera = true
  9256. ChainLink.Width0 = 3
  9257. ChainLink.Attachment0 = A
  9258. ChainLink.Attachment1 = B
  9259. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9260. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9261. ChainLink.TextureMode = "Static"
  9262. local bv = Instance.new("BodyVelocity")
  9263. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9264. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9265. bv.Parent = Front
  9266. bv.Name = "MOVE"
  9267. --print("Chain made")
  9268. coroutine.resume(coroutine.create(function()
  9269. Swait(50)
  9270. bv:remove()
  9271. local POS = Front.Position
  9272. Front.CanCollide = false
  9273. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9274. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9275. for i = 0, 1, 0.07 do
  9276. Swait()
  9277. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9278. end
  9279. Front:remove()
  9280. ChainLink:remove()
  9281. end))
  9282. local harm = Front.Touched:Connect(function(hit)
  9283. impale(Front,hit)
  9284. end)
  9285. end))
  9286. end
  9287. Swait(60)
  9288. for i = 1, 5 do
  9289. Swait()
  9290. RING.Size = RING.Size - VT(1,0,1)
  9291. end
  9292. RING:remove()
  9293. end))
  9294. ATTACK = false
  9295. Rooted = false
  9296. end
  9297.  
  9298. function VortexLeash()
  9299. ATTACK = true
  9300. Rooted = true
  9301. for i=0, 1, 0.1 / Animation_Speed do
  9302. Swait()
  9303. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9304. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9305. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  9308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  9309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  9310. end
  9311. local RING = CreateMagicCircle()
  9312. CreateSound("1208650519", RING, 10, 1.5)
  9313. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  9314. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  9315. for i = 1, 75 do
  9316. Swait()
  9317. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9318. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9319. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9320. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  9321. RING.Size = RING.Size + VT(1,0,1)
  9322. end
  9323. coroutine.resume(coroutine.create(function()
  9324. for i = 1, 450 do
  9325. Swait(2)
  9326. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  9327. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9328. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9329. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  9330. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  9331. local A = IT("Attachment",RING)
  9332. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  9333. coroutine.resume(coroutine.create(function()
  9334. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9335. --print("Chain start")
  9336. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9337. Front.CanCollide = false
  9338. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  9339. local B = IT("Attachment",Front)
  9340. local ChainLink = IT("Beam",RING)
  9341. ChainLink.Texture = "rbxassetid://1262544869"
  9342. ChainLink.TextureSpeed = 0
  9343. ChainLink.FaceCamera = true
  9344. ChainLink.Width0 = 3
  9345. ChainLink.Attachment0 = A
  9346. ChainLink.Attachment1 = B
  9347. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9348. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9349. ChainLink.TextureMode = "Static"
  9350. local bv = Instance.new("BodyVelocity")
  9351. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9352. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9353. bv.Parent = Front
  9354. bv.Name = "MOVE"
  9355. --print("Chain made")
  9356. coroutine.resume(coroutine.create(function()
  9357. Swait(50)
  9358. bv:remove()
  9359. local POS = Front.Position
  9360. Front.CanCollide = false
  9361. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9362. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9363. for i = 0, 1, 0.07 do
  9364. Swait()
  9365. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9366. end
  9367. Front:remove()
  9368. ChainLink:remove()
  9369. end))
  9370. local harm = Front.Touched:Connect(function(hit)
  9371. impale(Front,hit)
  9372. end)
  9373. end))
  9374. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  9375. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  9376. end
  9377. Swait(65)
  9378. for i = 1, 75 do
  9379. Swait()
  9380. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  9381. RING.Size = RING.Size - VT(1,0,1)
  9382. end
  9383. RING:remove()
  9384. end))
  9385. ATTACK = false
  9386. Rooted = false
  9387. end
  9388.  
  9389. function VortexBarrier()
  9390. ATTACK = true
  9391. Rooted = true
  9392. chatfunc("PRISON...",15)
  9393. for i=0, 2, 0.1 / Animation_Speed do
  9394. Swait()
  9395. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9396. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9397. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9400. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9401. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9402. end
  9403. for i=0, 0.5, 0.1 / Animation_Speed do
  9404. Swait()
  9405. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9406. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9407. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9410. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  9411. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  9412. end
  9413. chatfunc("BARRIER!!!",2)
  9414. CreateSound("1208650519", Effects, 10, 1)
  9415. local GUI,GUI2 = CreateGUICircle(Torso)
  9416. local GUI3,GUI4 = CreateGUICircle(Torso)
  9417. for i = 1, 200 do
  9418. Swait()
  9419. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9420. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9421. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9422. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9423. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9424. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9425. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9426. GUI2.Rotation = GUI2.Rotation + i/10
  9427. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  9428. GUI4.Rotation = GUI4.Rotation - i/10
  9429. end
  9430. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  9431. Swait(25)
  9432. for i = 1, 100 do
  9433. Swait()
  9434. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  9435. GUI2.Rotation = GUI2.Rotation - i/5
  9436. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  9437. GUI4.Rotation = GUI4.Rotation + i/5
  9438. end
  9439. GUI:remove()
  9440. GUI3:remove()
  9441. ATTACK = false
  9442. Rooted = false
  9443. end
  9444.  
  9445. function ApplyKill(POSITION,RANGE,BRUTAL)
  9446. local CHILDREN = workspace:GetDescendants()
  9447. for index, CHILD in pairs(CHILDREN) do
  9448. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9449. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9450. if HUM then
  9451. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9452. if TORSO then
  9453. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  9454. if BRUTAL == true then
  9455. Banish(CHILD)
  9456. else
  9457. CHILD:BreakJoints()
  9458. end
  9459. end
  9460. end
  9461. end
  9462. end
  9463. end
  9464. end
  9465.  
  9466.  
  9467. function RedStar()
  9468. ATTACK = true
  9469. Rooted = true
  9470. local SPOTS = {}
  9471. for i = 1, 15 do
  9472. Swait()
  9473. 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)
  9474. 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)
  9475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9476. 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)
  9477. end
  9478. 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})
  9479. for i=0, 0.5, 0.1 / Animation_Speed do
  9480. Swait()
  9481. 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)
  9482. 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)
  9483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9484. 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)
  9485. end
  9486. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9487. table.insert(SPOTS,HITPOS)
  9488. CreateSound(145080998, Hole, 2, 1, false)
  9489. 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})
  9490. coroutine.resume(coroutine.create(function()
  9491. local POS = Mouse.Hit.p
  9492. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9493. MakeForm(RAY,"Cyl")
  9494. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9495. MakeForm(SPHERE,"Ball")
  9496. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  9497. MakeForm(SHIELD,"Ball")
  9498. SHIELD.CFrame = CF(POS)
  9499. RAY.CFrame = CF(POS)
  9500. SPHERE.CFrame = CF(POS)
  9501. CreateSound(440145570, SPHERE, 10, 0.8, false)
  9502. CreateSound(415700134, SPHERE, 10, 0.8, false)
  9503. for i = 1, 200 do
  9504. Swait()
  9505. 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})
  9506. 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})
  9507. 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})
  9508. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  9509. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  9510. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  9511. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  9512. end
  9513. for i = 1, 45 do
  9514. Swait()
  9515. RAY.Transparency = RAY.Transparency + 1/45
  9516. SPHERE.Transparency = RAY.Transparency
  9517. SHIELD.Transparency = SPHERE.Transparency + 1/45
  9518. end
  9519. RAY:remove()
  9520. SHIELD:remove()
  9521. SPHERE:remove()
  9522. end))
  9523. ATTACK = false
  9524. Rooted = false
  9525. end
  9526.  
  9527.  
  9528.  
  9529. function lightning()
  9530. ATTACK = true
  9531. Rooted = true
  9532. local SPOTS = {}
  9533. local BULLETS = 0
  9534. repeat
  9535. BULLETS = BULLETS + 1
  9536. for i = 1, 15 do
  9537. Swait()
  9538. 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)
  9539. 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)
  9540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9541. 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)
  9542. end
  9543. until KEYHOLD == false
  9544. for i = 1, BULLETS do
  9545. for i=0, 0.5, 0.1 / Animation_Speed do
  9546. Swait()
  9547. 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)
  9548. 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)
  9549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9550. 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)
  9551. end
  9552. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9553. table.insert(SPOTS,HITPOS)
  9554.  
  9555. for i=0, 0.35, 0.1 / Animation_Speed do
  9556. Swait()
  9557.  
  9558. 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)
  9559. 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)
  9560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9561. 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)
  9562. end
  9563. end
  9564. coroutine.resume(coroutine.create(function()
  9565. for i = 1, #SPOTS do
  9566. wait(0.1)
  9567. coroutine.resume(coroutine.create(function()
  9568. local SPOT = SPOTS[i]
  9569. local BOLT = Lightning({Material = "Neon", FadeIn = true, Color = color, Start = SPOT+VT(0,150,0), End = SPOT, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 125, Thicken = true})
  9570. local POSITION = BOLT.Pos
  9571. ApplyAoE2(POSITION,75/2,0,0,350,true)
  9572. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,150,50), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  9573. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(75,5,75), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = color, SoundID = 165970126, SoundPitch = 1, SoundVolume = 4})
  9574. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(35,15,35), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  9575. end))
  9576. end
  9577. end))
  9578. ATTACK = false
  9579. Rooted = false
  9580. end
  9581.  
  9582. function Shot()
  9583. ATTACK = true
  9584. Rooted = false
  9585. Weapon.Parent = Character
  9586. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9587. for i=0, 0.4, 0.1 / Animation_Speed do
  9588. Swait()
  9589. turnto(Mouse.Hit.p)
  9590. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  9591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((0 * SIZE) - 0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9594. 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)
  9595. 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)
  9596. end
  9597. repeat
  9598. for i=0, 0.2, 0.1 / Animation_Speed do
  9599. Swait()
  9600. turnto(Mouse.Hit.p)
  9601. 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(40)), 1 / Animation_Speed)
  9602. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  9603. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9604. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) 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)
  9605. 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)
  9606. end
  9607. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  9608. SpawnTrail(Hole.Position,POS)
  9609. if HIT ~= nil then
  9610. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  9611. Banish(HIT.Parent)
  9612. end
  9613. end
  9614. 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,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  9615. 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,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9616. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9617. 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,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9618. for i=0, 0.3, 0.1 / Animation_Speed do
  9619. Swait()
  9620. 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(40)), 1 / Animation_Speed)
  9621. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  9622. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(15), RAD(40)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9623. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.6*SIZE, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) 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)
  9624. 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)
  9625. end
  9626. until KEYHOLD == false
  9627. Weapon.Parent = Character
  9628. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9629. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9630. ATTACK = false
  9631. Rooted = false
  9632. end
  9633.  
  9634. function Lunar_Blast()
  9635. local HITBODIES = {}
  9636. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
  9637. local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
  9638. CENTER.CFrame = CF(ECH)
  9639. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
  9640. RAY.Color = C3(0.05,0.05,0.15)
  9641. MakeForm(RAY,"Cyl")
  9642. RAY.CFrame = CF(ECH)
  9643. for i = 1, 75 do
  9644. Swait()
  9645. RAY.Transparency = RAY.Transparency - 1/75
  9646. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  9647. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  9648. end
  9649. killnearest(ECH,25,25)
  9650. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  9651. for i = 1, 25 do
  9652. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  9653. end
  9654. CreateSound("168586621", CENTER, 10, 0.8)
  9655. RAY:remove()
  9656. Debris:AddItem(CENTER,5)
  9657. end
  9658.  
  9659. function shakes(power,length)
  9660. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  9661. local var = script.Shaker:Clone()
  9662. var.Parent = v.PlayerGui
  9663. local pw = var.Shakeval
  9664. local lgth = var.MultLength
  9665. pw.Value = power
  9666. lgth.Value = length
  9667. var.Disabled = false
  9668. end
  9669. end
  9670.  
  9671. function SuperStomp()
  9672. ATTACK = true
  9673. Rooted = true
  9674. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  9675. coroutine.resume(coroutine.create(function()
  9676. Swait(65)
  9677. shakes(1,1)
  9678. CreateSound(262562442,RightLeg,60,1,false)
  9679. CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
  9680. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0.55,0)*SIZE, Size2 = VT(90,3,90), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
  9681. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,7.5,0)*SIZE, Size2 = VT(60,6.5,60), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.96, SoundVolume = 10})
  9682. ApplyAoE(HITPOS,35,35,50,75,false)
  9683. end))
  9684. CreateSound(163619849,RightLeg,10,1,false)
  9685. for i=0, 2, 0.1 / Animation_Speed do
  9686. WACKYEFFECT({EffectType = "Block", Size = VT(2,2,2), Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightLeg.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  9687. Swait()
  9688. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(40)), 0.5 / Animation_Speed)
  9689. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-40)), 0.5 / Animation_Speed)
  9690. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(90), RAD(-45), RAD(-55)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9691. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(30), RAD(85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9692. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.4*SIZE - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9693. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9694. end
  9695. for i=0, 1, 0.1 / Animation_Speed do
  9696. Swait()
  9697. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  9698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  9699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9701. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.7*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(10), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  9702. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.13) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  9703. end
  9704. ATTACK = false
  9705. Rooted = false
  9706. end
  9707.  
  9708.  
  9709. function Bullet_Rain()
  9710. ATTACK = true
  9711. Rooted = true
  9712. Weapon.Parent = Character
  9713. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9714. for i=0, 0.6, 0.1 / Animation_Speed do
  9715. Swait()
  9716. 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)
  9717. 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)
  9718. 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)
  9719. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  9720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6*SIZE, 0.75*SIZE, -0.5*SIZE) * 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)
  9721. end
  9722. local DONE = false
  9723. local GATE = nil
  9724. local GATESPIN = true
  9725. coroutine.resume(coroutine.create(function()
  9726. repeat
  9727. Swait()
  9728. if GATE ~= nil then
  9729. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  9730. end
  9731. until GATESPIN == false
  9732. end))
  9733. coroutine.resume(coroutine.create(function()
  9734. repeat
  9735. Swait()
  9736. 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)
  9737. 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)
  9738. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.01 - 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)
  9739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0.01, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  9740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.75*SIZE, -0.5*SIZE) * ANGLES(RAD(0), RAD(-180), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  9741. until DONE == true
  9742. Swait(10)
  9743. for i = 1, 75 do
  9744. Swait(1.5)
  9745. local FIRED = false
  9746. local CHILDREN = workspace:GetDescendants()
  9747. for index, CHILD in pairs(CHILDREN) do
  9748. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9749. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9750. if HUM then
  9751. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9752. if TORSO then
  9753. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  9754. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  9755. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  9756. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 3})
  9757. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  9758. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9759. ApplyAoE(CFRAME.p,3,0.25,1,2,false)
  9760. FIRED = true
  9761. break
  9762. end
  9763. end
  9764. end
  9765. end
  9766. end
  9767. if FIRED == false then
  9768. 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)))
  9769. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  9770. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  9771. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9772. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  9773. if HITBOD ~= nil then
  9774. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  9775. ApplyAoE(HITBOD,3,0.25,1,0,false)
  9776. end
  9777. end
  9778. end
  9779. end
  9780. for i = 1, 45 do
  9781. Swait()
  9782. GATE.Size = GATE.Size - VT(3,0,3)
  9783. end
  9784. GATESPIN = false
  9785. GATE:remove()
  9786. end))
  9787. Swait(5)
  9788. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  9789. GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
  9790. local DECAL = IT("Decal",GATE)
  9791. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  9792. DECAL.Face = "Top"
  9793. GATE.CFrame = CF(HITPOS)
  9794. CreateSound(160772554, GATE, 7, 1.3, false)
  9795. for i = 1, 45 do
  9796. Swait()
  9797. GATE.Size = GATE.Size + VT(3,0,3)
  9798. end
  9799. CreateSound(145080998, Hole, 7, 1, false)
  9800. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,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,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  9801. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9802. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Barrel.CFrame, ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  9803. ATTACK = false
  9804. Rooted = false
  9805. DONE = true
  9806. end
  9807.  
  9808.  
  9809. function Needle()
  9810. ATTACK = true
  9811. Rooted = true
  9812. local GYRO = IT("BodyGyro",RootPart)
  9813. GYRO.D = 2
  9814. GYRO.P = 2000
  9815. GYRO.MaxTorque = VT(0,4000000,0)
  9816. local NEEDGYRO = true
  9817. coroutine.resume(coroutine.create(function()
  9818. repeat
  9819. Swait()
  9820. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9821. until NEEDGYRO == false
  9822. GYRO:Remove()
  9823. end))
  9824. for i=0, 0.3, 0.1 / Animation_Speed do
  9825. Swait()
  9826. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9830. 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)
  9831. 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)
  9832. end
  9833. for i=0, 1, 0.1 / Animation_Speed do
  9834. Swait()
  9835. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9836. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9839. 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)
  9840. 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)
  9841. end
  9842. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  9843. 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})
  9844. NEEDGYRO = false
  9845. if HIT then
  9846. local NEEDLE = IT("Model",Effects)
  9847. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  9848. MakeForm(BASE,"Cyl")
  9849. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  9850. weldBetween(BASE,HIT)
  9851. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  9852. MakeForm(FLUID,"Cyl")
  9853. FLUID.CFrame = BASE.CFrame
  9854. weldBetween(BASE,FLUID)
  9855. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  9856. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  9857. weldBetween(BASE,PART)
  9858. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  9859. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  9860. weldBetween(BASE,PART)
  9861. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  9862. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  9863. weldBetween(BASE,PART)
  9864. Debris:AddItem(NEEDLE,7)
  9865. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  9866. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  9867. coroutine.resume(coroutine.create(function()
  9868. for i = 1, 500 do
  9869. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  9870. if HUMAN.Health == 0 then
  9871. break
  9872. end
  9873. Swait(2)
  9874. end
  9875. if HUMAN.Health == 0 then
  9876. local CHILD = HUMAN.Parent
  9877. if CHILD:FindFirstChild("Torso") then
  9878. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  9879. Ragdoll(CHILD,Torso,true)
  9880. elseif CHILD:FindFirstChild("UpperTorso") then
  9881. R15Ragdoll(CHILD,true)
  9882. end
  9883. end
  9884. end))
  9885. end
  9886. end
  9887. for i=0, 1, 0.1 / Animation_Speed do
  9888. Swait()
  9889. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9890. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9893. 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)
  9894. 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)
  9895. end
  9896. ATTACK = false
  9897. Rooted = false
  9898. end
  9899.  
  9900. function Buzzsaw()
  9901. ATTACK = true
  9902. Rooted = false
  9903. local ARMSPEED = 0.1
  9904. local TARGET = nil
  9905. local ROOT = nil
  9906. local HUMAN = nil
  9907. local DIST = 4
  9908. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  9909. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  9910. local BLADE = true
  9911. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  9912. coroutine.resume(coroutine.create(function()
  9913. repeat
  9914. Swait()
  9915. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  9916. until BLADE == false
  9917. SAWBLADE:remove()
  9918. end))
  9919. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  9920. for i=0, 1, 0.1 / Animation_Speed do
  9921. Swait()
  9922. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9923. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9924. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9925. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9926. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9927. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9928. end
  9929. for i=0, 2, 0.1 / Animation_Speed do
  9930. Swait()
  9931. local CHILDREN = workspace:GetDescendants()
  9932. for index, CHILD in pairs(CHILDREN) do
  9933. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9934. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9935. if HUM then
  9936. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9937. if TORSO and HUM.Health > 0 then
  9938. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  9939. DIST = (TORSO.Position - RightArm.Position).Magnitude
  9940. ROOT = TORSO
  9941. HUMAN = HUM
  9942. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9943. end
  9944. end
  9945. end
  9946. end
  9947. end
  9948. if ROOT then
  9949. break
  9950. end
  9951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  9954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9955. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9957. end
  9958. if ROOT then
  9959. ARMSPEED = 0.03
  9960. Rooted = true
  9961. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  9962. repeat
  9963. HUMAN.Health = HUMAN.Health - 0.5
  9964. Swait()
  9965. ROOT.Anchored = true
  9966. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  9969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9970. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9971. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9972. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  9973. ROOT.Anchored = false
  9974. if HUMAN.Health == 0 then
  9975. if ROOT.Name ~= "Torso" then
  9976. ROOT:remove()
  9977. end
  9978. if TARGET.Name == "Torso" then
  9979. Ragdoll(HUMAN.Parent,Torso,true)
  9980. elseif TARGET.Name == "UpperTorso" then
  9981. R15Ragdoll(HUMAN.Parent,true)
  9982. end
  9983. end
  9984. end
  9985. BLADE = false
  9986. ATTACK = false
  9987. Rooted = false
  9988. end
  9989.  
  9990. --//=================================\\
  9991. --|| ASSIGN THINGS TO KEYS
  9992. --\\=================================//
  9993.  
  9994. function MouseDown(Mouse)
  9995. if ATTACK == false then
  9996. Execute()
  9997. end
  9998. end
  9999.  
  10000.  
  10001. function KeyDown(Key)
  10002. KEYHOLD = true
  10003. if Key == "z" and ATTACK == false then
  10004. Banisher_Bullet()
  10005. end
  10006.  
  10007. if Key == "q" and ATTACK == false then
  10008. VoidChain()
  10009. end
  10010.  
  10011. if Key == "v" and ATTACK == false then
  10012. lightning()
  10013. end
  10014.  
  10015. if Key == "b" and ATTACK == false then
  10016. yeetus()
  10017. end
  10018.  
  10019. if Key == "one" and ATTACK == false then
  10020. Prison_Key()
  10021. end
  10022.  
  10023. if Key == "two" and ATTACK == false then
  10024. Final_Limit()
  10025. end
  10026.  
  10027. if Key == "three" and ATTACK == false then
  10028. Eon_Fire()
  10029. end
  10030.  
  10031. if Key == "four" and ATTACK == false then
  10032. UEon_Fire()
  10033. end
  10034.  
  10035. if Key == "seven" and ATTACK == false then
  10036. VoidWarp()
  10037. end
  10038.  
  10039. if Key == "eight" and ATTACK == false then
  10040. VortexLeash()
  10041. end
  10042.  
  10043. if Key == "nine" and ATTACK == false then
  10044. VortexBarrier()
  10045. end
  10046.  
  10047. if Key == "five" and ATTACK == false then
  10048. SuperStomp()
  10049. end
  10050.  
  10051. if Key == "six" and ATTACK == false then
  10052. Meteor_Shower()
  10053. end
  10054.  
  10055.  
  10056. if Key == "k" and ATTACK == false then
  10057. Eliminate()
  10058. end
  10059.  
  10060. if Key == "c" and ATTACK == false then
  10061. RedStar()
  10062. end
  10063.  
  10064. if Key == "l" and ATTACK == false then
  10065. PandorasBox()
  10066. end
  10067.  
  10068. if Key == "t" and ATTACK == false then
  10069. Taunt2()
  10070. end
  10071.  
  10072. if Key == "e" and ATTACK == false then
  10073. Lunar_Blast()
  10074. end
  10075.  
  10076. if Key == "f" and ATTACK == false then
  10077. Bullet_Rain()
  10078. end
  10079.  
  10080. if Key == "h" and ATTACK == false then
  10081. WarpMeteor()
  10082. end
  10083.  
  10084. if Key == "n" and ATTACK == false then
  10085. Buzzsaw()
  10086. end
  10087.  
  10088.  
  10089. if Key == "j" and ATTACK == false then
  10090. Nuke()
  10091. end
  10092.  
  10093. if Key == "y" and ATTACK == false then
  10094. Needle()
  10095. end
  10096.  
  10097. if Key == "r" and ATTACK == false then
  10098. TimesUp()
  10099. end
  10100.  
  10101. if Key == "u" and ATTACK == false then
  10102. Shot()
  10103. end
  10104.  
  10105. if Key == "x" and ATTACK == false then
  10106. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  10107. TOBANISH = {}
  10108. end
  10109.  
  10110. if Key == "p" and ATTACK == false then
  10111. TakeOnMe()
  10112. end
  10113.  
  10114. if Key == "g" and ATTACK == false then
  10115. Deathzone()
  10116. end
  10117. end
  10118.  
  10119. function KeyUp(Key)
  10120. KEYHOLD = false
  10121. end
  10122.  
  10123. Mouse.Button1Down:connect(function(NEWKEY)
  10124. MouseDown(NEWKEY)
  10125. end)
  10126. Mouse.Button1Up:connect(function(NEWKEY)
  10127. MouseUp(NEWKEY)
  10128. end)
  10129. Mouse.KeyDown:connect(function(NEWKEY)
  10130. KeyDown(NEWKEY)
  10131. end)
  10132. Mouse.KeyUp:connect(function(NEWKEY)
  10133. KeyUp(NEWKEY)
  10134. end)
  10135. --//=================================\\
  10136. --\\=================================//
  10137.  
  10138.  
  10139. function unanchor()
  10140. if UNANCHOR == true then
  10141. g = Character:GetChildren()
  10142. for i = 1, #g do
  10143. if g[i].ClassName == "Part" then
  10144. g[i].Anchored = false
  10145. end
  10146. end
  10147. end
  10148. end
  10149.  
  10150. --//=================================\\
  10151. --|| SOME TAG EDIT
  10152. --\\=================================//
  10153.  
  10154. m = game.Players.MrGoo345
  10155. char = m.Character
  10156. local txt = Instance.new("BillboardGui", char)
  10157. txt.Adornee = char.Head
  10158. txt.Name = "_status"
  10159. txt.Size = UDim2.new(2, 0, 1.2, 0)
  10160. txt.StudsOffset = Vector3.new(-9, 8, 0)
  10161. local text = Instance.new("TextLabel", txt)
  10162. text.Size = UDim2.new(10, 0, 7, 0)
  10163. text.FontSize = "Size24"
  10164. text.TextScaled = true
  10165. text.TextTransparency = 0
  10166. text.BackgroundTransparency = 1
  10167. text.TextTransparency = 0
  10168. text.TextStrokeTransparency = 0
  10169. text.Font = "Antique"
  10170. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  10171. v = Instance.new("Part")
  10172. v.Name = "ColorBrick"
  10173. v.Parent = m.Character
  10174. v.FormFactor = "Symmetric"
  10175. v.Anchored = true
  10176. v.CanCollide = false
  10177. v.BottomSurface = "Smooth"
  10178. v.TopSurface = "Smooth"
  10179. v.Size = Vector3.new(10, 5, 3)
  10180. v.Transparency = 1
  10181. v.CFrame = char.Torso.CFrame
  10182. v.BrickColor = BrickColor.new("Really black")
  10183. v.Transparency = 1
  10184. v.Shape = "Block"
  10185. spawn(function()
  10186. local TweenService = game:GetService("TweenService")
  10187. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  10188. local Int = 0
  10189. while wait(0.5) do
  10190. if Int == #Colours then Int = 0 end
  10191. Int = Int+1
  10192. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  10193. end
  10194. end)
  10195. text.Text = "Sirius Deo"
  10196.  
  10197. --//=================================\\
  10198. --|| WRAP THE WHOLE SCRIPT UP
  10199. --\\=================================//
  10200.  
  10201.  
  10202. Humanoid.Changed:connect(function(Jump)
  10203. if Jump == "Jump" and (Disable_Jump == true) then
  10204. Humanoid.Jump = false
  10205. end
  10206. end)
  10207.  
  10208. local CONNECT = nil
  10209.  
  10210.  
  10211. while true do
  10212. Swait()
  10213. ANIMATE.Parent = nil
  10214. if Character:FindFirstChildOfClass("Humanoid") == nil then
  10215. Humanoid = IT("Humanoid",Character)
  10216. end
  10217. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  10218. v:Stop();
  10219. end
  10220. SINE = SINE + CHANGE
  10221. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  10222. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  10223. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  10224. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  10225.  
  10226. if ANIM == "Walk" and TORSOVELOCITY > 3 then
  10227. 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)
  10228. 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)
  10229. 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)
  10230. 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)
  10231. 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)
  10232. 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)
  10233. end
  10234. if TORSOVERTICALVELOCITY > 3 and HITFLOOR == nil then
  10235. ANIM = "Jump"
  10236. if ATTACK == false then
  10237. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  10238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  10239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  10240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  10241. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  10242. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  10243. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10244. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10245. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10246. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10247. end
  10248. elseif TORSOVERTICALVELOCITY < -3 and HITFLOOR == nil then
  10249. ANIM = "Fall"
  10250. if ATTACK == false then
  10251. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10252. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  10254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  10255. 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)
  10256. 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)
  10257. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10258. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10259. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10260. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10261. end
  10262. elseif TORSOVELOCITY < 3 and HITFLOOR ~= nil then
  10263. ANIM = "Idle"
  10264. if ATTACK == false then
  10265. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  10266. 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)
  10267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.4 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(120), RAD(0), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  10268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  10269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-25)), 1 / Animation_Speed)
  10270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-5), RAD(-70), RAD(0)) * ANGLES(RAD(1), RAD(0), RAD(0)), 1 / Animation_Speed)
  10271. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10272. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10273. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10274. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10275. end
  10276. elseif TORSOVELOCITY > 3 and HITFLOOR ~= nil then
  10277. ANIM = "Walk"
  10278. if ATTACK == false then
  10279. 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)
  10280. 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)
  10281. 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)
  10282. 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)
  10283. 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)
  10284. 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)
  10285. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10286. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10287. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10288. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10289. end
  10290. end
  10291. unanchor()
  10292. Humanoid.MaxHealth = "inf"
  10293. Humanoid.Health = "inf"
  10294. if Rooted == false then
  10295. Disable_Jump = false
  10296. Humanoid.WalkSpeed = Speed
  10297. elseif Rooted == true then
  10298. Disable_Jump = true
  10299. Humanoid.WalkSpeed = 0
  10300. end
  10301. for _, c in pairs(Character:GetDescendants()) do
  10302. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  10303. if c:FindFirstChildOfClass("SpecialMesh") then
  10304. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  10305. end
  10306.  
  10307.  
  10308. elseif c.ClassName == "Part" and c.Name == "Eye" then
  10309. c.Color = Color3.fromRGB(cR,cG,cB)
  10310. c.Material = "Neon"
  10311. end
  10312.  
  10313. if c == Head then
  10314. if c:FindFirstChild("face") then
  10315. c.face:remove()
  10316. end
  10317. end
  10318. end
  10319. sick.Parent = Torso
  10320. sick:resume()
  10321. sick.Volume = 5
  10322. sick.Pitch = 1
  10323. sick.SoundId = "rbxassetid://0"
  10324. sick.Name = "BanishV3Music"
  10325. end
  10326.  
  10327. --//=================================\\
  10328. --\\=================================//
  10329.  
  10330.  
  10331.  
  10332.  
  10333.  
  10334. --//====================================================\\--
  10335. --|| END OF SCRIPT
  10336. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement