Advertisement
doryna2281337

Untitled

Jul 31st, 2019
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. script.Name = "Fat Skidded Edit"
  3. --//====================================================\\--
  4. --|| RECREATED BY MrGoo345
  5. --\\====================================================//--
  6.  
  7.  
  8. print("Since I Have Gotten Better At Scripting I Decided to Recreate this clusterfuck")
  9. print("and that is me MrGoo345 who edited BH")
  10.  
  11.  
  12. script:ClearAllChildren()
  13. wait(0.2)
  14.  
  15. Player = game:GetService("Players").doryna2281337
  16. PlayerGui = Player.PlayerGui
  17. Cam = workspace.CurrentCamera
  18. Backpack = Player.Backpack
  19. Character = Player.Character
  20. Humanoid = Character.Humanoid
  21. RootPart = Character["HumanoidRootPart"]
  22. Torso = Character["Torso"]
  23. Head = Character["Head"]
  24. RightArm = Character["Right Arm"]
  25. LeftArm = Character["Left Arm"]
  26. RightLeg = Character["Right Leg"]
  27. LeftLeg = Character["Left Leg"]
  28. RootJoint = RootPart["RootJoint"]
  29. Neck = Torso["Neck"]
  30. RightShoulder = Torso["Right Shoulder"]
  31. LeftShoulder = Torso["Left Shoulder"]
  32. RightHip = Torso["Right Hip"]
  33. LeftHip = Torso["Left Hip"]
  34. local TIME = 0
  35. local sick = Instance.new("Sound",Torso)
  36.  
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53. angles=CFrame.Angles
  54. local RWINGS = {}
  55. local LWINGS = {}
  56. local GunPoint
  57. Player_Size = 1
  58.  
  59. -- Thingy To Make Song Work
  60.  
  61. p = game.Players.doryna2281337
  62.  
  63. char = p.Character
  64.  
  65. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  66. local s = Instance.new("Sound",char)
  67. s.Name = "BGMusic"
  68. s.SoundId = "rbxassetid://1906550226"
  69. s.Pitch = 1
  70. s.Volume = 40
  71. s.Looped = true
  72. s.archivable = false
  73. s.Parent = char.Head
  74. wait(0.1)
  75. s:play()
  76.  
  77. -- Rest of Script
  78. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This MrGoo345 created the looped song thing that is in here anyways.
  79.  
  80. local sine = 0
  81.  
  82. function clerp(a,b,t)
  83. local qa = {QuaternionFromCFrame(a)}
  84. local qb = {QuaternionFromCFrame(b)}
  85. local ax, ay, az = a.x, a.y, a.z
  86. local bx, by, bz = b.x, b.y, b.z
  87. local _t = 1-t
  88. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  89. end
  90.  
  91.  
  92.  
  93. --//=================================\\
  94. --|| PARTICLES N MODELS N STUFF
  95. --\\=================================//
  96.  
  97. local handle = Instance.new("Part")
  98. handle.Parent = Character
  99. handle.Size = Vector3.new(1,1,1)
  100. handle.Archivable = true
  101. handle.Transparency = 0.99
  102. handle.BrickColor = BrickColor.new("White")
  103. handle.Material = "Neon"
  104. local handlmesh = Instance.new("BlockMesh",handle)
  105. handlmesh.Scale = Vector3.new(1,1,1)
  106. local handleweld = Instance.new("Weld")
  107. handleweld.Parent = handle
  108. handleweld.Part0 = Torso
  109. handleweld.Part1 = handle
  110. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  111. local par = Instance.new("Part")
  112. par.Parent = Character
  113. par.Size = Vector3.new(0.2,0.2,0.2)
  114. par.Archivable = true
  115. par.Transparency = 0
  116. par.BrickColor = BrickColor.new("Really black")
  117. par.Material = "Metal"
  118. local parmesh = Instance.new("SpecialMesh",par)
  119. parmesh.MeshType = "FileMesh"
  120. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  121. parmesh.Scale = Vector3.new(5,5,5)
  122. local weld12 = Instance.new("Weld")
  123. weld12.Parent = par
  124. weld12.Part0 = handle
  125. weld12.Part1 = par
  126. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  127. local par2 = Instance.new("Part")
  128. par2.Parent = Character
  129. par2.Size = Vector3.new(0.2,0.2,0.2)
  130. par2.Archivable = true
  131. par2.Transparency = 0
  132. par2.BrickColor = BrickColor.new("Deep orange")
  133. par2.Material = "Metal"
  134. local parmesh2 = Instance.new("SpecialMesh",par2)
  135. parmesh2.MeshType = "FileMesh"
  136. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  137. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  138. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  139. parmesh2.TextureId = "rbxassetid://269748808"
  140. local weld13 = Instance.new("Weld")
  141. weld13.Parent = par2
  142. weld13.Part0 = handle
  143. weld13.Part1 = par2
  144. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  145. local par3 = Instance.new("Part")
  146. par3.Parent = Character
  147. par3.Size = Vector3.new(0.2,0.2,0.2)
  148. par3.Archivable = true
  149. par3.Transparency = 0
  150. par3.BrickColor = BrickColor.new("Deep orange")
  151. par3.Material = "Metal"
  152. local parmesh3 = Instance.new("SpecialMesh",par3)
  153. parmesh3.MeshType = "FileMesh"
  154. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  155. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  156. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  157. parmesh3.TextureId = "rbxassetid://269748808"
  158. local weld14 = Instance.new("Weld")
  159. weld14.Parent = par3
  160. weld14.Part0 = handle
  161. weld14.Part1 = par3
  162. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  163. local par4 = Instance.new("Part")
  164. par4.Parent = Character
  165. par4.Size = Vector3.new(0.2,0.2,0.2)
  166. par4.Archivable = true
  167. par4.Transparency = 0
  168. par4.BrickColor = BrickColor.new("Deep orange")
  169. par4.Material = "Metal"
  170. local parmesh4 = Instance.new("SpecialMesh",par4)
  171. parmesh4.MeshType = "FileMesh"
  172. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  173. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  174. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  175. parmesh4.TextureId = "rbxassetid://269748808"
  176. local weld15 = Instance.new("Weld")
  177. weld15.Parent = par4
  178. weld15.Part0 = handle
  179. weld15.Part1 = par4
  180. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  181. local par4a = Instance.new("Part")
  182. par4a.Parent = Character
  183. par4a.Size = Vector3.new(0.2,0.2,0.2)
  184. par4a.Archivable = true
  185. par4a.Transparency = 0
  186. par4a.BrickColor = BrickColor.new("Deep orange")
  187. par4a.Material = "Metal"
  188. local parmesh4a = Instance.new("SpecialMesh",par4a)
  189. parmesh4a.MeshType = "FileMesh"
  190. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  191. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  192. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  193. parmesh4a.TextureId = "rbxassetid://269748808"
  194. local weld15a = Instance.new("Weld")
  195. weld15a.Parent = par4a
  196. weld15a.Part0 = par4
  197. weld15a.Part1 = par4a
  198. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  199. local par4b = Instance.new("Part")
  200. par4b.Parent = Character
  201. par4b.Size = Vector3.new(0.2,0.2,0.2)
  202. par4b.Archivable = true
  203. par4b.Transparency = 0
  204. par4b.BrickColor = BrickColor.new("Deep orange")
  205. par4b.Material = "Metal"
  206. local parmesh4b = Instance.new("SpecialMesh",par4b)
  207. parmesh4b.MeshType = "FileMesh"
  208. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  209. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  210. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  211. parmesh4b.TextureId = "rbxassetid://269748808"
  212. local weld15b = Instance.new("Weld")
  213. weld15b.Parent = par4b
  214. weld15b.Part0 = par4
  215. weld15b.Part1 = par4b
  216. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  217. local par5 = Instance.new("Part")
  218. par5.Parent = Character
  219. par5.Size = Vector3.new(0.2,0.2,0.2)
  220. par5.Archivable = true
  221. par5.Transparency = 0
  222. par5.BrickColor = BrickColor.new("Deep orange")
  223. par5.Material = "Metal"
  224. local parmesh5 = Instance.new("SpecialMesh",par5)
  225. parmesh5.MeshType = "FileMesh"
  226. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  227. parmesh5.Scale = Vector3.new(1,1,0.75)
  228. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  229. parmesh5.TextureId = "rbxassetid://269748808"
  230. local weld16 = Instance.new("Weld")
  231. weld16.Parent = par5
  232. weld16.Part0 = handle
  233. weld16.Part1 = par5
  234. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  235. local par5a = Instance.new("Part")
  236. par5a.Parent = Character
  237. par5a.Size = Vector3.new(0.2,0.2,0.2)
  238. par5a.Archivable = true
  239. par5a.Transparency = 0
  240. par5a.BrickColor = BrickColor.new("Deep orange")
  241. par5a.Material = "Metal"
  242. local parmesh5a = Instance.new("SpecialMesh",par5a)
  243. parmesh5a.MeshType = "FileMesh"
  244. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  245. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  246. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  247. parmesh5a.TextureId = "rbxassetid://269748808"
  248. local weld16a = Instance.new("Weld")
  249. weld16a.Parent = par5a
  250. weld16a.Part0 = par5
  251. weld16a.Part1 = par5a
  252. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  253. local par5b = Instance.new("Part")
  254. par5b.Parent = Character
  255. par5b.Size = Vector3.new(0.2,0.2,0.2)
  256. par5b.Archivable = true
  257. par5b.Transparency = 0
  258. par5b.BrickColor = BrickColor.new("Deep orange")
  259. par5b.Material = "Metal"
  260. local parmesh5b = Instance.new("SpecialMesh",par5b)
  261. parmesh5b.MeshType = "FileMesh"
  262. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  263. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  264. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  265. parmesh5b.TextureId = "rbxassetid://269748808"
  266. local weld16b = Instance.new("Weld")
  267. weld16b.Parent = par5b
  268. weld16b.Part0 = par5
  269. weld16b.Part1 = par5b
  270. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  271. local par6 = Instance.new("Part")
  272. par6.Parent = Character
  273. par6.Size = Vector3.new(0.2,0.2,0.2)
  274. par6.Archivable = true
  275. par6.Transparency = 0
  276. par6.BrickColor = BrickColor.new("Deep orange")
  277. par6.Material = "Metal"
  278. local parmesh6 = Instance.new("SpecialMesh",par6)
  279. parmesh6.MeshType = "FileMesh"
  280. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  281. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  282. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  283. parmesh6.TextureId = "rbxassetid://269748808"
  284. local weld17 = Instance.new("Weld")
  285. weld17.Parent = par6
  286. weld17.Part0 = handle
  287. weld17.Part1 = par6
  288. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  289. local par6a = Instance.new("Part")
  290. par6a.Parent = Character
  291. par6a.Size = Vector3.new(0.2,0.2,0.2)
  292. par6a.Archivable = true
  293. par6a.Transparency = 0
  294. par6a.BrickColor = BrickColor.new("Deep orange")
  295. par6a.Material = "Metal"
  296. local parmesh6a = Instance.new("SpecialMesh",par6a)
  297. parmesh6a.MeshType = "FileMesh"
  298. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  299. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  300. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  301. parmesh6a.TextureId = "rbxassetid://269748808"
  302. local weld17a = Instance.new("Weld")
  303. weld17a.Parent = par6a
  304. weld17a.Part0 = par6
  305. weld17a.Part1 = par6a
  306. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  307. local par6b = Instance.new("Part")
  308. par6b.Parent = Character
  309. par6b.Size = Vector3.new(0.2,0.2,0.2)
  310. par6b.Archivable = true
  311. par6b.Transparency = 0
  312. par6b.BrickColor = BrickColor.new("Deep orange")
  313. par6b.Material = "Metal"
  314. local parmesh6b = Instance.new("SpecialMesh",par6b)
  315. parmesh6b.MeshType = "FileMesh"
  316. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  317. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  318. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  319. parmesh6b.TextureId = "rbxassetid://269748808"
  320. local weld17b = Instance.new("Weld")
  321. weld17b.Parent = par6b
  322. weld17b.Part0 = par6
  323. weld17b.Part1 = par6b
  324. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  325. local par7 = Instance.new("Part")
  326. par7.Parent = Character
  327. par7.Size = Vector3.new(0.2,0.2,0.2)
  328. par7.Archivable = true
  329. par7.Transparency = 0
  330. par7.BrickColor = BrickColor.new("Persimmon")
  331. par7.Material = "Metal"
  332. local parmesh7 = Instance.new("SpecialMesh",par7)
  333. parmesh7.MeshType = "FileMesh"
  334. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  335. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  336. local weld18 = Instance.new("Weld")
  337. weld18.Parent = par7
  338. weld18.Part0 = handle
  339. weld18.Part1 = par7
  340. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  341. local par8 = Instance.new("Part")
  342. par8.Parent = Character
  343. par8.Size = Vector3.new(0.2,0.2,0.2)
  344. par8.Archivable = true
  345. par8.Transparency = 0
  346. par8.BrickColor = BrickColor.new("Really black")
  347. par8.Material = "Metal"
  348. local parmesh8 = Instance.new("SpecialMesh",par8)
  349. parmesh8.MeshType = "FileMesh"
  350. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  351. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  352. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  353. parmesh8.TextureId = "rbxassetid://269748808"
  354. local weld19 = Instance.new("Weld")
  355. weld19.Parent = par8
  356. weld19.Part0 = handle
  357. weld19.Part1 = par8
  358. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  359. ----- lol
  360. handle.CanCollide = false
  361. par.CanCollide = false
  362. par2.CanCollide = false
  363. par3.CanCollide = false
  364. par4.CanCollide = false
  365. par4a.CanCollide = false
  366. par4b.CanCollide = false
  367. par5.CanCollide = false
  368. par5a.CanCollide = false
  369. par5b.CanCollide = false
  370. par6.CanCollide = false
  371. par6a.CanCollide = false
  372. par6b.CanCollide = false
  373. par7.CanCollide = false
  374. par8.CanCollide = false
  375. ----
  376.  
  377. --//=================================\\
  378. --|| USEFUL VALUES
  379. --\\=================================//
  380.  
  381. Animation_Speed = 1.5
  382. local FORCERESET = false
  383. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  384. local Speed = 50
  385. local SIZE = 1
  386. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  387. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  388. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  389. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  390. local DAMAGEMULTIPLIER = 1
  391. local ANIM = "Idle"
  392. local ATTACK = false
  393. local EQUIPPED = false
  394. local HOLD = false
  395. local COMBO = 1
  396. local Rooted = false
  397. local SINE = 0
  398. local KEYHOLD = false
  399. local CHANGE = 2 / Animation_Speed
  400. local WALKINGANIM = false
  401. local VALUE1 = false
  402. local VALUE2 = false
  403. local ROBLOXIDLEANIMATION = IT("Animation")
  404. local Glove = IT("Model")
  405. Glove.Name = "Glove"
  406. local Effects = IT("Folder", Glove)
  407. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  408. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  409. --ROBLOXIDLEANIMATION.Parent = Humanoid
  410. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  411. WEAPONGUI.Name = "BanishV3Gui"
  412. local Weapon = IT("Model")
  413. Weapon.Name = "Adds"
  414. local Effects = IT("Folder", Weapon)
  415. Effects.Name = "Effects"
  416. local ANIMATOR = Humanoid.Animator
  417. local ANIMATE = Character:FindFirstChild("Animate")
  418. local UNANCHOR = true
  419. local TOBANISH = {}
  420. local EYES = {}
  421. script.Parent = PlayerGui
  422. local FADERS = true
  423. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  424. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  425. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  426. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  427.  
  428. function StatLabel(CFRAME, TEXT, COLOR)
  429. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  430. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  431. local BODYGYRO = IT("BodyGyro", STATPART)
  432. game:GetService("Debris"):AddItem(STATPART ,5)
  433. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  434. BILLBOARDGUI.Adornee = STATPART
  435. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  436. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  437. BILLBOARDGUI.AlwaysOnTop = false
  438. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  439. TEXTLABEL.BackgroundTransparency = 1
  440. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  441. TEXTLABEL.Text = TEXT
  442. TEXTLABEL.Font = SKILLFONT
  443. TEXTLABEL.FontSize="Size42"
  444. TEXTLABEL.TextColor3 = COLOR
  445. TEXTLABEL.TextStrokeTransparency = 0
  446. TEXTLABEL.TextScaled = true
  447. TEXTLABEL.TextWrapped = true
  448. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  449. for i = 1, 50 do
  450. Swait()
  451. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  452. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  453. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  454. end
  455. THEPART.Parent = nil
  456. end),STATPART, TEXTLABEL)
  457. end
  458.  
  459. --//=================================\\
  460. --\\=================================//
  461.  
  462. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  463. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  464. end
  465.  
  466. function PositiveAngle(NUMBER)
  467. if NUMBER >= 0 then
  468. NUMBER = 0
  469. end
  470. return NUMBER
  471. end
  472.  
  473. function NegativeAngle(NUMBER)
  474. if NUMBER <= 0 then
  475. NUMBER = 0
  476. end
  477. return NUMBER
  478. end
  479.  
  480. function Swait(NUMBER)
  481. if NUMBER == 0 or NUMBER == nil then
  482. ArtificialHB.Event:wait()
  483. else
  484. for i = 1, NUMBER do
  485. ArtificialHB.Event:wait()
  486. end
  487. end
  488. end
  489.  
  490. function QuaternionFromCFrame(cf)
  491. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  492. local trace = m00 + m11 + m22
  493. if trace > 0 then
  494. local s = math.sqrt(1 + trace)
  495. local recip = 0.5 / s
  496. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  497. else
  498. local i = 0
  499. if m11 > m00 then
  500. i = 1
  501. end
  502. if m22 > (i == 0 and m00 or m11) then
  503. i = 2
  504. end
  505. if i == 0 then
  506. local s = math.sqrt(m00 - m11 - m22 + 1)
  507. local recip = 0.5 / s
  508. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  509. elseif i == 1 then
  510. local s = math.sqrt(m11 - m22 - m00 + 1)
  511. local recip = 0.5 / s
  512. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  513. elseif i == 2 then
  514. local s = math.sqrt(m22 - m00 - m11 + 1)
  515. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  516. end
  517. end
  518. end
  519.  
  520. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  521. local xs, ys, zs = x + x, y + y, z + z
  522. local wx, wy, wz = w * xs, w * ys, w * zs
  523. local xx = x * xs
  524. local xy = x * ys
  525. local xz = x * zs
  526. local yy = y * ys
  527. local yz = y * zs
  528. local zz = z * zs
  529. 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))
  530. end
  531.  
  532. function QuaternionSlerp(a, b, t)
  533. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  534. local startInterp, finishInterp;
  535. if cosTheta >= 0.0001 then
  536. if (1 - cosTheta) > 0.0001 then
  537. local theta = ACOS(cosTheta)
  538. local invSinTheta = 1 / SIN(theta)
  539. startInterp = SIN((1 - t) * theta) * invSinTheta
  540. finishInterp = SIN(t * theta) * invSinTheta
  541. else
  542. startInterp = 1 - t
  543. finishInterp = t
  544. end
  545. else
  546. if (1 + cosTheta) > 0.0001 then
  547. local theta = ACOS(-cosTheta)
  548. local invSinTheta = 1 / SIN(theta)
  549. startInterp = SIN((t - 1) * theta) * invSinTheta
  550. finishInterp = SIN(t * theta) * invSinTheta
  551. else
  552. startInterp = t - 1
  553. finishInterp = t
  554. end
  555. end
  556. 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
  557. end
  558.  
  559. function Clerp(a, b, t)
  560. local qa = {QuaternionFromCFrame(a)}
  561. local qb = {QuaternionFromCFrame(b)}
  562. local ax, ay, az = a.x, a.y, a.z
  563. local bx, by, bz = b.x, b.y, b.z
  564. local _t = 1 - t
  565. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  566. end
  567.  
  568. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  569. local frame = IT("Frame")
  570. frame.BackgroundTransparency = TRANSPARENCY
  571. frame.BorderSizePixel = BORDERSIZEPIXEL
  572. frame.Position = POSITION
  573. frame.Size = SIZE
  574. frame.BackgroundColor3 = COLOR
  575. frame.BorderColor3 = BORDERCOLOR
  576. frame.Name = NAME
  577. frame.Parent = PARENT
  578. return frame
  579. end
  580.  
  581. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  582. local label = IT("TextLabel")
  583. label.BackgroundTransparency = 1
  584. label.Size = UD2(1, 0, 1, 0)
  585. label.Position = UD2(0, 0, 0, 0)
  586. label.TextColor3 = TEXTCOLOR
  587. label.TextStrokeTransparency = STROKETRANSPARENCY
  588. label.TextTransparency = TRANSPARENCY
  589. label.FontSize = TEXTFONTSIZE
  590. label.Font = TEXTFONT
  591. label.BorderSizePixel = BORDERSIZEPIXEL
  592. label.TextScaled = false
  593. label.Text = TEXT
  594. label.Name = NAME
  595. label.Parent = PARENT
  596. return label
  597. end
  598.  
  599. function NoOutlines(PART)
  600. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  601. end
  602.  
  603.  
  604. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  605. local NEWWELD = IT(TYPE)
  606. NEWWELD.Part0 = PART0
  607. NEWWELD.Part1 = PART1
  608. NEWWELD.C0 = C0
  609. NEWWELD.C1 = C1
  610. NEWWELD.Parent = PARENT
  611. return NEWWELD
  612. end
  613.  
  614. local sound = IT("Sound",nil)
  615.  
  616. function CreateSound(ID, PARENT, VOLUME, PITCH)
  617. local NEWSOUND = nil
  618. coroutine.resume(coroutine.create(function()
  619. NEWSOUND = sound:Clone()
  620. NEWSOUND.Parent = PARENT
  621. NEWSOUND.Volume = VOLUME
  622. NEWSOUND.Pitch = PITCH
  623. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  624. Swait()
  625. NEWSOUND:play()
  626. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  627. end))
  628. return NEWSOUND
  629. end
  630.  
  631. function CFrameFromTopBack(at, top, back)
  632. local right = top:Cross(back)
  633. 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)
  634. end
  635.  
  636. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  637. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  638. local mesh = IT("SpecialMesh",wave)
  639. mesh.MeshType = "FileMesh"
  640. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  641. mesh.Scale = SIZE
  642. mesh.Offset = VT(0,0,-SIZE.X/8)
  643. wave.CFrame = CFRAME
  644. coroutine.resume(coroutine.create(function(PART)
  645. for i = 1, WAIT do
  646. Swait()
  647. mesh.Scale = mesh.Scale + GROW
  648. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  649. if DOESROT == true then
  650. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  651. end
  652. wave.Transparency = wave.Transparency + (0.5/WAIT)
  653. if wave.Transparency > 0.99 then
  654. wave:remove()
  655. end
  656. end
  657. end))
  658. end
  659.  
  660. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  661. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  662. local mesh = IT("SpecialMesh",wave)
  663. mesh.MeshType = "FileMesh"
  664. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  665. mesh.Scale = SIZE
  666. mesh.Offset = VT(0,0,-SIZE.X/8)
  667. wave.CFrame = CFRAME
  668. coroutine.resume(coroutine.create(function(PART)
  669. for i = 1, WAIT do
  670. Swait()
  671. mesh.Scale = mesh.Scale + GROW
  672. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  673. if DOESROT == true then
  674. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  675. end
  676. wave.Transparency = wave.Transparency + (0.5/WAIT)
  677. if wave.Transparency > 0.99 then
  678. wave:remove()
  679. end
  680. end
  681. end))
  682. end
  683.  
  684. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  685. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  686. local mesh = IT("SpecialMesh",wave)
  687. mesh.MeshType = "FileMesh"
  688. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  689. mesh.Scale = SIZE
  690. mesh.Offset = VT(0,0,-SIZE.X/8)
  691. wave.CFrame = CFRAME
  692. coroutine.resume(coroutine.create(function(PART)
  693. for i = 1, WAIT do
  694. Swait()
  695. mesh.Scale = mesh.Scale + GROW
  696. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  697. if DOESROT == true then
  698. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  699. end
  700. wave.Transparency = wave.Transparency + (0.5/WAIT)
  701. if wave.Transparency > 0.99 then
  702. wave:remove()
  703. end
  704. end
  705. end))
  706. end
  707.  
  708. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  709. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  710. local mesh = IT("SpecialMesh",wave)
  711. mesh.MeshType = "FileMesh"
  712. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  713. mesh.Scale = SIZE
  714. mesh.Offset = VT(0,0,-SIZE.X/8)
  715. wave.CFrame = CFRAME
  716. coroutine.resume(coroutine.create(function(PART)
  717. for i = 1, WAIT do
  718. Swait()
  719. mesh.Scale = mesh.Scale + GROW
  720. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  721. if DOESROT == true then
  722. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  723. end
  724. wave.Transparency = wave.Transparency + (0.5/WAIT)
  725. if wave.Transparency > 0.99 then
  726. wave:remove()
  727. end
  728. end
  729. end))
  730. end
  731.  
  732. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  733. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  734. local mesh = IT("SpecialMesh",wave)
  735. mesh.MeshType = "FileMesh"
  736. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  737. mesh.Scale = SIZE
  738. wave.CFrame = CFRAME
  739. coroutine.resume(coroutine.create(function(PART)
  740. for i = 1, WAIT do
  741. Swait()
  742. mesh.Scale = mesh.Scale + GROW
  743. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  744. if DOESROT == true then
  745. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  746. end
  747. wave.Transparency = wave.Transparency + (0.5/WAIT)
  748. if wave.Transparency > 0.99 then
  749. wave:remove()
  750. end
  751. end
  752. end))
  753. end
  754.  
  755. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  756. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  757. local mesh = IT("SpecialMesh",wave)
  758. mesh.MeshType = "FileMesh"
  759. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  760. mesh.Scale = SIZE
  761. wave.CFrame = CFRAME
  762. coroutine.resume(coroutine.create(function(PART)
  763. for i = 1, WAIT do
  764. Swait()
  765. mesh.Scale = mesh.Scale + GROW
  766. if DOESROT == true then
  767. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  768. end
  769. wave.Transparency = wave.Transparency + (0.5/WAIT)
  770. if wave.Transparency > 0.99 then
  771. wave:remove()
  772. end
  773. end
  774. end))
  775. end
  776.  
  777. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  778. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  779. local mesh = IT("SpecialMesh",wave)
  780. mesh.MeshType = "FileMesh"
  781. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  782. mesh.Scale = SIZE
  783. mesh.Offset = VT(0,0,0)
  784. wave.CFrame = CFRAME
  785. coroutine.resume(coroutine.create(function(PART)
  786. for i = 1, WAIT do
  787. Swait()
  788. mesh.Scale = mesh.Scale + GROW
  789. if DOESROT == true then
  790. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  791. end
  792. wave.Transparency = wave.Transparency + (0.5/WAIT)
  793. if wave.Transparency > 0.99 then
  794. wave:remove()
  795. end
  796. end
  797. end))
  798. end
  799.  
  800. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  801. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  802. local mesh = IT("SpecialMesh",wave)
  803. mesh.MeshType = "Sphere"
  804. mesh.Scale = SIZE
  805. mesh.Offset = VT(0,0,0)
  806. wave.CFrame = CFRAME
  807. coroutine.resume(coroutine.create(function(PART)
  808. for i = 1, WAIT do
  809. Swait()
  810. mesh.Scale = mesh.Scale + GROW
  811. wave.Transparency = wave.Transparency + (1/WAIT)
  812. if wave.Transparency > 0.99 then
  813. wave:remove()
  814. end
  815. end
  816. end))
  817. end
  818.  
  819. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  820. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  821. local mesh = IT("BlockMesh",wave)
  822. wave.CFrame = CFRAME
  823. coroutine.resume(coroutine.create(function(PART)
  824. for i = 1, WAIT do
  825. Swait()
  826. mesh.Scale = mesh.Scale + GROW
  827. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  828. wave.Transparency = wave.Transparency + (1/WAIT)
  829. if wave.Transparency > 0.99 then
  830. wave:remove()
  831. end
  832. end
  833. end))
  834. end
  835.  
  836. function MakeForm(PART,TYPE)
  837. if TYPE == "Cyl" then
  838. local MSH = IT("CylinderMesh",PART)
  839. elseif TYPE == "Ball" then
  840. local MSH = IT("SpecialMesh",PART)
  841. MSH.MeshType = "Sphere"
  842. elseif TYPE == "Wedge" then
  843. local MSH = IT("SpecialMesh",PART)
  844. MSH.MeshType = "Wedge"
  845. elseif TYPE == "Head" then
  846. local MSH = IT("SpecialMesh",PART)
  847. MSH.Scale = VT(1.25,1.25,1.25)
  848. end
  849. end
  850.  
  851. function CheckTableForString(Table, String)
  852. for i, v in pairs(Table) do
  853. if string.find(string.lower(String), string.lower(v)) then
  854. return true
  855. end
  856. end
  857. return false
  858. end
  859.  
  860. function CheckIntangible(Hit)
  861. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  862. if Hit and Hit.Parent then
  863. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  864. return true
  865. end
  866. end
  867. return false
  868. end
  869.  
  870. Debris = game:GetService("Debris")
  871.  
  872. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  873. local Direction = CFrame.new(StartPos, Vec).lookVector
  874. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  875. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  876. if RayHit and CheckIntangible(RayHit) then
  877. if DelayIfHit then
  878. wait()
  879. end
  880. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  881. end
  882. return RayHit, RayPos, RayNormal
  883. end
  884.  
  885. function CreateMagicCircle()
  886. local sinkhole = IT("Part")
  887. sinkhole.Size = VT(0,0,0)
  888. sinkhole.Parent = Effects
  889. sinkhole.Material = "Neon"
  890. sinkhole.Color = C3(0,0,0)
  891. sinkhole.Anchored = true
  892. sinkhole.CanCollide = false
  893. sinkhole.Transparency = 1
  894. local decal = IT("Decal",sinkhole)
  895. decal.Face = "Top"
  896. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  897. local decal2 = IT("Decal",sinkhole)
  898. decal2.Face = "Bottom"
  899. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  900. return sinkhole
  901. end
  902.  
  903. function CreateGUICircle(TARGET)
  904. local GUI = Instance.new("BillboardGui",Character)
  905. GUI.Size = UDim2.new(0,0,0,0)
  906. GUI.Adornee = TARGET
  907. local GUI2 = IT("ImageLabel",GUI)
  908. GUI2.BackgroundTransparency = 1
  909. GUI2.BorderSizePixel = 0
  910. GUI2.Size = UDim2.new(1,0,1,0)
  911. GUI2.SizeConstraint = "RelativeYY"
  912. GUI.AlwaysOnTop = true
  913. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  914. return GUI,GUI2
  915. end
  916.  
  917. function CastWarpOutlines(TARGET)
  918. coroutine.resume(coroutine.create(function()
  919. local T = TARGET:GetChildren()
  920. for i = 1, # T do
  921. local child = T[i]
  922. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  923. local clone = child:Clone()
  924. clone.Parent = Effects
  925. clone.Anchored = true
  926. clone.CanCollide = false
  927. clone:ClearAllChildren()
  928. clone.CFrame = child.CFrame
  929. if clone.Name == "Head" then
  930. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  931. end
  932. if clone.ClassName == "MeshPart" then
  933. clone.TextureID = ""
  934. end
  935. clone.BrickColor = BRICKC"Black"
  936. clone.Material = "Neon"
  937. coroutine.resume(coroutine.create(function()
  938. for i = 1, 200 do
  939. Swait()
  940. clone.Transparency = clone.Transparency + 0.005
  941. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  942. end
  943. clone:remove()
  944. end))
  945. end
  946. end
  947. end))
  948. end
  949.  
  950. function turnto(position)
  951. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  952. end
  953.  
  954. --//=================================\\
  955. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  956. --\\=================================//
  957.  
  958. ArtificialHB = Instance.new("BindableEvent", script)
  959. ArtificialHB.Name = "ArtificialHB"
  960.  
  961. script:WaitForChild("ArtificialHB")
  962.  
  963. frame = Frame_Speed
  964. tf = 0
  965. allowframeloss = false
  966. tossremainder = false
  967. lastframe = tick()
  968. script.ArtificialHB:Fire()
  969.  
  970. game:GetService("RunService").Heartbeat:connect(function(s, p)
  971. tf = tf + s
  972. if tf >= frame then
  973. if allowframeloss then
  974. script.ArtificialHB:Fire()
  975. lastframe = tick()
  976. else
  977. for i = 1, math.floor(tf / frame) do
  978. script.ArtificialHB:Fire()
  979. end
  980. lastframe = tick()
  981. end
  982. if tossremainder then
  983. tf = 0
  984. else
  985. tf = tf - frame * math.floor(tf / frame)
  986. end
  987. end
  988. end)
  989.  
  990. --//=================================\\
  991. --\\=================================//
  992. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  993. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  994. end
  995.  
  996. function PositiveAngle(NUMBER)
  997. if NUMBER >= 0 then
  998. NUMBER = 0
  999. end
  1000. return NUMBER
  1001. end
  1002.  
  1003. function NegativeAngle(NUMBER)
  1004. if NUMBER <= 0 then
  1005. NUMBER = 0
  1006. end
  1007. return NUMBER
  1008. end
  1009.  
  1010. function Swait(NUMBER)
  1011. if NUMBER == 0 or NUMBER == nil then
  1012. ArtificialHB.Event:wait()
  1013. else
  1014. for i = 1, NUMBER do
  1015. ArtificialHB.Event:wait()
  1016. end
  1017. end
  1018. end
  1019.  
  1020. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1021. local NEWMESH = IT(MESH)
  1022. if MESH == "SpecialMesh" then
  1023. NEWMESH.MeshType = MESHTYPE
  1024. if MESHID ~= "nil" and MESHID ~= "" then
  1025. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1026. end
  1027. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1028. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1029. end
  1030. end
  1031. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1032. NEWMESH.Scale = SCALE
  1033. NEWMESH.Parent = PARENT
  1034. return NEWMESH
  1035. end
  1036.  
  1037. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1038. local NEWPART = IT("Part")
  1039. NEWPART.formFactor = FORMFACTOR
  1040. NEWPART.Reflectance = REFLECTANCE
  1041. NEWPART.Transparency = TRANSPARENCY
  1042. NEWPART.CanCollide = false
  1043. NEWPART.Locked = true
  1044. NEWPART.Anchored = true
  1045. if ANCHOR == false then
  1046. NEWPART.Anchored = false
  1047. end
  1048. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1049. NEWPART.Name = NAME
  1050. NEWPART.Size = SIZE
  1051. NEWPART.Position = Torso.Position
  1052. NEWPART.Material = MATERIAL
  1053. NEWPART:BreakJoints()
  1054. NEWPART.Parent = PARENT
  1055. return NEWPART
  1056. end
  1057.  
  1058. local function weldBetween(a, b)
  1059. local weldd = Instance.new("ManualWeld")
  1060. weldd.Part0 = a
  1061. weldd.Part1 = b
  1062. weldd.C0 = CFrame.new()
  1063. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1064. weldd.Parent = a
  1065. return weldd
  1066. end
  1067.  
  1068.  
  1069. function QuaternionFromCFrame(cf)
  1070. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1071. local trace = m00 + m11 + m22
  1072. if trace > 0 then
  1073. local s = math.sqrt(1 + trace)
  1074. local recip = 0.5 / s
  1075. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1076. else
  1077. local i = 0
  1078. if m11 > m00 then
  1079. i = 1
  1080. end
  1081. if m22 > (i == 0 and m00 or m11) then
  1082. i = 2
  1083. end
  1084. if i == 0 then
  1085. local s = math.sqrt(m00 - m11 - m22 + 1)
  1086. local recip = 0.5 / s
  1087. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1088. elseif i == 1 then
  1089. local s = math.sqrt(m11 - m22 - m00 + 1)
  1090. local recip = 0.5 / s
  1091. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1092. elseif i == 2 then
  1093. local s = math.sqrt(m22 - m00 - m11 + 1)
  1094. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1095. end
  1096. end
  1097. end
  1098.  
  1099. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1100. local xs, ys, zs = x + x, y + y, z + z
  1101. local wx, wy, wz = w * xs, w * ys, w * zs
  1102. local xx = x * xs
  1103. local xy = x * ys
  1104. local xz = x * zs
  1105. local yy = y * ys
  1106. local yz = y * zs
  1107. local zz = z * zs
  1108. 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))
  1109. end
  1110.  
  1111. function QuaternionSlerp(a, b, t)
  1112. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1113. local startInterp, finishInterp;
  1114. if cosTheta >= 0.0001 then
  1115. if (1 - cosTheta) > 0.0001 then
  1116. local theta = ACOS(cosTheta)
  1117. local invSinTheta = 1 / SIN(theta)
  1118. startInterp = SIN((1 - t) * theta) * invSinTheta
  1119. finishInterp = SIN(t * theta) * invSinTheta
  1120. else
  1121. startInterp = 1 - t
  1122. finishInterp = t
  1123. end
  1124. else
  1125. if (1 + cosTheta) > 0.0001 then
  1126. local theta = ACOS(-cosTheta)
  1127. local invSinTheta = 1 / SIN(theta)
  1128. startInterp = SIN((t - 1) * theta) * invSinTheta
  1129. finishInterp = SIN(t * theta) * invSinTheta
  1130. else
  1131. startInterp = t - 1
  1132. finishInterp = t
  1133. end
  1134. end
  1135. 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
  1136. end
  1137.  
  1138. function Clerp(a, b, t)
  1139. local qa = {QuaternionFromCFrame(a)}
  1140. local qb = {QuaternionFromCFrame(b)}
  1141. local ax, ay, az = a.x, a.y, a.z
  1142. local bx, by, bz = b.x, b.y, b.z
  1143. local _t = 1 - t
  1144. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1145. end
  1146.  
  1147. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1148. local frame = IT("Frame")
  1149. frame.BackgroundTransparency = TRANSPARENCY
  1150. frame.BorderSizePixel = BORDERSIZEPIXEL
  1151. frame.Position = POSITION
  1152. frame.Size = SIZE
  1153. frame.BackgroundColor3 = COLOR
  1154. frame.BorderColor3 = BORDERCOLOR
  1155. frame.Name = NAME
  1156. frame.Parent = PARENT
  1157. return frame
  1158. end
  1159.  
  1160. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1161. local label = IT("TextLabel")
  1162. label.BackgroundTransparency = 1
  1163. label.Size = UD2(1, 0, 1, 0)
  1164. label.Position = UD2(0, 0, 0, 0)
  1165. label.TextColor3 = TEXTCOLOR
  1166. label.TextStrokeTransparency = STROKETRANSPARENCY
  1167. label.TextTransparency = TRANSPARENCY
  1168. label.FontSize = TEXTFONTSIZE
  1169. label.Font = TEXTFONT
  1170. label.BorderSizePixel = BORDERSIZEPIXEL
  1171. label.TextScaled = false
  1172. label.Text = TEXT
  1173. label.Name = NAME
  1174. label.Parent = PARENT
  1175. return label
  1176. end
  1177.  
  1178. function NoOutlines(PART)
  1179. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1180. end
  1181.  
  1182. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1183. local NEWWELD = IT(TYPE)
  1184. NEWWELD.Part0 = PART0
  1185. NEWWELD.Part1 = PART1
  1186. NEWWELD.C0 = C0
  1187. NEWWELD.C1 = C1
  1188. NEWWELD.Parent = PARENT
  1189. return NEWWELD
  1190. end
  1191.  
  1192.  
  1193. Player = game:GetService("Players").doryna2281337
  1194. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  1195. Cam = workspace.CurrentCamera
  1196. Backpack = Player:FindFirstChildOfClass("Backpack")
  1197. Character = Player.Character
  1198. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1199.  
  1200. function chatfunc(text)
  1201. local chat = coroutine.wrap(function()
  1202. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1203. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1204. end
  1205. local naeeym2 = Instance.new("BillboardGui",Character)
  1206. naeeym2.Size = UDim2.new(0,100,0,40)
  1207. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1208. naeeym2.Adornee = Character.Head
  1209. naeeym2.Name = "TalkingBillBoard"
  1210. local tecks3 = Instance.new("TextLabel",naeeym2)
  1211. tecks3.BackgroundTransparency = 1
  1212. tecks3.BorderSizePixel = 0
  1213. tecks3.Text = ""
  1214. tecks3.Font = "SciFi"
  1215. tecks3.TextSize = 30
  1216. tecks3.TextStrokeTransparency = 0
  1217. tecks3.TextColor3 = Color3.new(3.15,0,0)
  1218. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1219. tecks3.Size = UDim2.new(1,0,0.5,0)
  1220. for i = 1,string.len(text),1 do
  1221. tecks3.Text = string.sub(text,1,i)
  1222. wait(0.01)
  1223. end
  1224. wait(3)
  1225. for i = 1, 80 do
  1226. Swait()
  1227. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1228. tecks3.Rotation = tecks3.Rotation + .8
  1229. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  1230. tecks3.TextTransparency = tecks3.TextTransparency + .03
  1231. end
  1232. end)
  1233. chat()
  1234. end
  1235.  
  1236.  
  1237. function CFrameFromTopBack(at, top, back)
  1238. local right = top:Cross(back)
  1239. 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)
  1240. end
  1241.  
  1242. --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})
  1243. local cR=255
  1244. local cG=0
  1245. local cB=0
  1246. local flg5=1 local omgidk=1
  1247. local add=10.5
  1248. game:GetService('RunService').Heartbeat:connect(function()
  1249. if omgidk>10000 then omgidk=0 end
  1250. omgidk=omgidk+1
  1251. if cR>=255 then flg5=1 end
  1252. if cG>=255 then flg5=2 end
  1253. if cB>=255 then flg5=3 end
  1254. if flg5==1 then cR=cR-add cG=cG+add end
  1255. if flg5==2 then cG=cG-add cB=cB+add end
  1256. if flg5==3 then cB=cB-add cR=cR+add end
  1257. color=Color3.fromRGB(cR,cG,cB)
  1258. function WACKYEFFECT(Table)
  1259. local TYPE = (Table.EffectType or "Sphere")
  1260. local SIZE = (Table.Size or VT(6,6,6))
  1261. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1262. local TRANSPARENCY = (Table.Transparency or 0)
  1263. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1264. local CFRAME = (Table.CFrame or Torso.CFrame)
  1265. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1266. local ROTATION1 = (Table.RotationX or 0)
  1267. local ROTATION2 = (Table.RotationY or 0)
  1268. local ROTATION3 = (Table.RotationZ or 0)
  1269. local MATERIAL = "Neon"
  1270. local COLOR = color
  1271. local TIME = (Table.Time or 45)
  1272. local SOUNDID = (Table.SoundID or nil)
  1273. local SOUNDPITCH = (Table.SoundPitch or nil)
  1274. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1275. coroutine.resume(coroutine.create(function()
  1276. local PLAYSSOUND = false
  1277. local SOUND = nil
  1278. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1279. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1280. PLAYSSOUND = true
  1281. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1282. end
  1283. EFFECT.Color = color
  1284. local MSH = nil
  1285. if TYPE == "Sphere" then
  1286. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1287. elseif TYPE == "Block" then
  1288. MSH = IT("BlockMesh",EFFECT)
  1289. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1290. elseif TYPE == "Wave" then
  1291. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1292. elseif TYPE == "Ring" then
  1293. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1294. elseif TYPE == "Slash" then
  1295. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1296. elseif TYPE == "Round Slash" then
  1297. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1298. elseif TYPE == "Swirl" then
  1299. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1300. elseif TYPE == "Skull" then
  1301. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1302. elseif TYPE == "Crystal" then
  1303. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1304. end
  1305. if MSH ~= nil then
  1306. local MOVESPEED = nil
  1307. if MOVEDIRECTION ~= nil then
  1308. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1309. end
  1310. local GROWTH = SIZE - ENDSIZE
  1311. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1312. if TYPE == "Block" then
  1313. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1314. else
  1315. EFFECT.CFrame = CFRAME
  1316. end
  1317. for LOOP = 1, TIME+1 do
  1318. Swait()
  1319. MSH.Scale = MSH.Scale - GROWTH/TIME
  1320. if TYPE == "Wave" then
  1321. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1322. end
  1323. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1324. if TYPE == "Block" then
  1325. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1326. else
  1327. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1328. end
  1329. if MOVEDIRECTION ~= nil then
  1330. local ORI = EFFECT.Orientation
  1331. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1332. EFFECT.Orientation = ORI
  1333. end
  1334. end
  1335. if PLAYSSOUND == false then
  1336. EFFECT:remove()
  1337. else
  1338. SOUND.Stopped:Connect(function()
  1339. EFFECT:remove()
  1340. end)
  1341. end
  1342. else
  1343. if PLAYSSOUND == false then
  1344. EFFECT:remove()
  1345. else
  1346. repeat Swait() until SOUND.Playing == false
  1347. EFFECT:remove()
  1348. end
  1349. end
  1350. end))
  1351. end
  1352. end)
  1353. function MakeForm(PART,TYPE)
  1354. if TYPE == "Cyl" then
  1355. local MSH = IT("CylinderMesh",PART)
  1356. elseif TYPE == "Ball" then
  1357. local MSH = IT("SpecialMesh",PART)
  1358. MSH.MeshType = "Sphere"
  1359. elseif TYPE == "Wedge" then
  1360. local MSH = IT("SpecialMesh",PART)
  1361. MSH.MeshType = "Wedge"
  1362. end
  1363. end
  1364. function SpawnTrail(FROM,TO,BIG)
  1365. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1366. MakeForm(TRAIL,"Cyl")
  1367. local cR=255
  1368. local cG=0
  1369. local cB=0
  1370. local flg5=1 local omgidk=1
  1371. local add=10.5
  1372. game:GetService('RunService').Heartbeat:connect(function()
  1373. if omgidk>10000 then omgidk=0 end
  1374. omgidk=omgidk+1
  1375. if cR>=255 then flg5=1 end
  1376. if cG>=255 then flg5=2 end
  1377. if cB>=255 then flg5=3 end
  1378. if flg5==1 then cR=cR-add cG=cG+add end
  1379. if flg5==2 then cG=cG-add cB=cB+add end
  1380. if flg5==3 then cB=cB-add cR=cR+add end
  1381. color=Color3.fromRGB(cR,cG,cB)
  1382. TRAIL.Color = color
  1383. end)
  1384. local DIST = (FROM - TO).Magnitude
  1385. if BIG == true then
  1386. TRAIL.Size = VT(5,DIST,5)
  1387. else
  1388. TRAIL.Size = VT(5,DIST,5)
  1389. end
  1390. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1391. coroutine.resume(coroutine.create(function()
  1392. for i = 1, 55 do
  1393. Swait()
  1394. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1395. end
  1396. TRAIL:remove()
  1397. end))
  1398. end
  1399.  
  1400. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1401. local DIRECTION = CF(StartPos,EndPos).lookVector
  1402. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1403. end
  1404.  
  1405. function turnto(position)
  1406. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1407. end
  1408.  
  1409.  
  1410. --//=================================\\
  1411. --|| SOME FUNCTIONS
  1412. --\\=================================//
  1413.  
  1414. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1415. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1416. end
  1417.  
  1418. function PositiveAngle(NUMBER)
  1419. if NUMBER >= 0 then
  1420. NUMBER = 0
  1421. end
  1422. return NUMBER
  1423. end
  1424.  
  1425. function NegativeAngle(NUMBER)
  1426. if NUMBER <= 0 then
  1427. NUMBER = 0
  1428. end
  1429. return NUMBER
  1430. end
  1431.  
  1432. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1433. if FLOOR ~= nil then
  1434. coroutine.resume(coroutine.create(function()
  1435. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1436. PART.CFrame = CF(POSITION)
  1437. for i = 1, 45 do
  1438. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1439. RingPiece.Material = FLOOR.Material
  1440. RingPiece.Color = FLOOR.Color
  1441. 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)))
  1442. Debris:AddItem(RingPiece, SWAIT)
  1443. end
  1444. PART:remove()
  1445. end))
  1446. end
  1447. end
  1448. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1449. if FLOOR ~= nil then
  1450. for i = 1, AMOUNT do
  1451. do
  1452. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1453. DEBREE.Material = FLOOR.Material
  1454. DEBREE.Color = FLOOR.Color
  1455. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1456. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1457. coroutine.resume(coroutine.create(function()
  1458. Swait(15)
  1459. DEBREE.Parent = workspace
  1460. DEBREE.CanCollide = true
  1461. Debris:AddItem(DEBREE, SWAIT)
  1462. end))
  1463. end
  1464. end
  1465. end
  1466. end
  1467.  
  1468. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1469. if FLOOR ~= nil then
  1470. for i = 1, AMOUNT do
  1471. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1472. DEBREE.Material = FLOOR.Material
  1473. DEBREE.Color = FLOOR.Color
  1474. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1475. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1476. coroutine.resume(coroutine.create(function()
  1477. Swait(15)
  1478. DEBREE.Parent = workspace
  1479. DEBREE.CanCollide = true
  1480. Debris:AddItem(DEBREE,SWAIT)
  1481. end))
  1482. end
  1483. end
  1484. end
  1485.  
  1486. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1487. if FLOOR ~= nil then
  1488. coroutine.resume(coroutine.create(function()
  1489. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  1490. PART.CFrame = CF(POSITION)
  1491. for i = 1, 45 do
  1492. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  1493. RingPiece.Material = FLOOR.Material
  1494. RingPiece.Color = FLOOR.Color
  1495. 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)))
  1496. Debris:AddItem(RingPiece,SWAIT)
  1497. end
  1498. PART:remove()
  1499. end))
  1500. end
  1501. end
  1502.  
  1503. local DECAL = IT("Decal")
  1504. function MakeRing()
  1505. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1506. local MSH = IT("BlockMesh", RING)
  1507. local TOP = DECAL:Clone()
  1508. local BOTTOM = DECAL:Clone()
  1509. TOP.Parent = RING
  1510. BOTTOM.Parent = RING
  1511. TOP.Face = "Top"
  1512. BOTTOM.Face = "Bottom"
  1513. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1514. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1515. local function REMOVE()
  1516. coroutine.resume(coroutine.create(function()
  1517. local SIZE = MSH.Scale.X
  1518. for i = 1, 35 do
  1519. Swait()
  1520. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1521. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1522. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1523. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1524. end
  1525. RING:remove()
  1526. end))
  1527. end
  1528. return RING, MSH, REMOVE
  1529. end
  1530.  
  1531. function killnearest(position, range, maxstrength)
  1532. for i, v in ipairs(workspace:GetChildren()) do
  1533. do
  1534. local body = v:GetChildren()
  1535. for part = 1, #body do
  1536. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1537. if v.ClassName == "Model" then
  1538. v:BreakJoints()
  1539. end
  1540. local bv = Instance.new("BodyVelocity")
  1541. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1542. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1543. bv.Parent = body[part]
  1544. Debris:AddItem(bv, 0.2)
  1545. body[part].Parent = Effects
  1546. body[part].Material = "Neon"
  1547. body[part].Color = C3(0, 0, 0)
  1548. body[part].CanCollide = true
  1549. coroutine.resume(coroutine.create(function()
  1550. wait(5)
  1551. if body[part].Parent == Effects then
  1552. body[part]:remove()
  1553. end
  1554. end))
  1555. end
  1556. end
  1557. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1558. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1559. end
  1560. end
  1561. end
  1562. end
  1563.  
  1564. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1565. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1566. wave.Color = COLOR
  1567. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  1568. wave.CFrame = CFRAME
  1569. coroutine.resume(coroutine.create(function(PART)
  1570. for i = 1, WAIT do
  1571. Swait()
  1572. mesh.Scale = mesh.Scale + GROW
  1573. if DOESROT == true then
  1574. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1575. end
  1576. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1577. if wave.Transparency > 0.99 then
  1578. wave:remove()
  1579. end
  1580. end
  1581. end))
  1582. end
  1583.  
  1584. function MakeForm(PART, TYPE)
  1585. if TYPE == "Cyl" then
  1586. local MSH = IT("CylinderMesh", PART)
  1587. elseif TYPE == "Ball" then
  1588. local MSH = IT("SpecialMesh", PART)
  1589. MSH.MeshType = "Sphere"
  1590. elseif TYPE == "Wedge" then
  1591. local MSH = IT("SpecialMesh", PART)
  1592. MSH.MeshType = "Wedge"
  1593. end
  1594. end
  1595.  
  1596. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1597. local NEWPART = IT("Part")
  1598. NEWPART.formFactor = FORMFACTOR
  1599. NEWPART.Reflectance = REFLECTANCE
  1600. NEWPART.Transparency = TRANSPARENCY
  1601. NEWPART.CanCollide = false
  1602. NEWPART.Locked = true
  1603. NEWPART.Anchored = true
  1604. if ANCHOR == false then
  1605. NEWPART.Anchored = false
  1606. end
  1607. NEWPART.Name = NAME
  1608. NEWPART.Size = SIZE
  1609. NEWPART.Position = Torso.Position
  1610. NEWPART.Material = MATERIAL
  1611. NEWPART:BreakJoints()
  1612. NEWPART.Parent = PARENT
  1613. return NEWPART
  1614. end
  1615.  
  1616. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1617. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1618. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1619. wave.CFrame = CFRAME
  1620. coroutine.resume(coroutine.create(function(PART)
  1621. for i = 1, WAIT do
  1622. Swait()
  1623. mesh.Scale = mesh.Scale + GROW
  1624. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1625. if DOESROT == true then
  1626. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1627. end
  1628. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1629. if wave.Transparency > 0.99 then
  1630. wave:remove()
  1631. end
  1632. end
  1633. end))
  1634. end
  1635.  
  1636. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1637. for _, c in pairs(PARENT:GetChildren()) do
  1638. if c.ClassName == "Model" then
  1639. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1640. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1641. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1642. if DIST > (TORSO.Position - FROM).Magnitude then
  1643. table.insert(TABLE, c)
  1644. end
  1645. AddChildrenToTable(FROM, c, DIST, TABLE)
  1646. elseif c.ClassName == "Folder" then
  1647. AddChildrenToTable(FROM, c, DIST, TABLE)
  1648. end
  1649. end
  1650. end
  1651. end
  1652.  
  1653. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1654. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1655. local mesh
  1656. if KIND == "Base" then
  1657. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1658. elseif KIND == "Thin" then
  1659. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1660. elseif KIND == "Round" then
  1661. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1662. end
  1663. wave.CFrame = CFRAME
  1664. coroutine.resume(coroutine.create(function(PART)
  1665. for i = 1, WAIT do
  1666. Swait()
  1667. mesh.Scale = mesh.Scale + GROW / 10
  1668. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1669. if wave.Transparency > 0.99 then
  1670. wave:remove()
  1671. end
  1672. end
  1673. end))
  1674. end
  1675.  
  1676. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1677. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1678. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1679. wave.CFrame = CFRAME
  1680. coroutine.resume(coroutine.create(function(PART)
  1681. for i = 1, WAIT do
  1682. Swait()
  1683. mesh.Scale = mesh.Scale + GROW
  1684. wave.Transparency = wave.Transparency + 1 / WAIT
  1685. if wave.Transparency > 0.99 then
  1686. wave:remove()
  1687. end
  1688. end
  1689. end))
  1690. end
  1691.  
  1692. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1693. local TORSO = Torso
  1694. local HUM = Humanoid
  1695. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1696. coroutine.wrap(function()
  1697. VT = Vector3.new
  1698. MRANDOM = math.random
  1699. local A = TIME
  1700. local B = INTENSITY
  1701. local C = true
  1702. local HUMANOID = Humanoid
  1703. local TIMER = A or 35
  1704. local SHAKE = B or 5
  1705. local FADE = C or true
  1706. if HUMANOID then
  1707. local FADER = SHAKE / TIMER
  1708. for i = 1, TIMER do
  1709. wait()
  1710. 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)
  1711. end
  1712. HUMANOID.CameraOffset = VT(0, 0, 0)
  1713. end
  1714.  
  1715. end)()
  1716. end
  1717. end
  1718.  
  1719. function Effect(data)
  1720. local FX = data.Effect or 'ResizeAndFade'
  1721. local Parent = data.Parent or Effects
  1722. local Color = data.Color or C3.N(0,0,0)
  1723. local Size = data.Size or V3.N(1,1,1)
  1724. local MoveDir = data.MoveDirection or nil
  1725. local MeshData = data.Mesh or nil
  1726. local SndData = data.Sound or nil
  1727. local Frames = data.Frames or 45
  1728. local Manual = data.Manual or nil
  1729. local Material = data.Material or nil
  1730. local CFra = data.CFrame or Torso.CFrame
  1731. local Settings = data.FXSettings or {}
  1732. local Snd,Prt,Msh;
  1733. local Shape = data.Shape or Enum.PartType.Block
  1734. coroutine.resume(coroutine.create(function()
  1735. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1736. Prt = Manual
  1737. else
  1738. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1739. Prt.Shape = Shape
  1740. end
  1741. if(typeof(MeshData) == 'table')then
  1742. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1743. elseif(typeof(MeshData) == 'Instance')then
  1744. Msh = MeshData:Clone()
  1745. Msh.Parent = Prt
  1746. elseif(Shape == Enum.PartType.Block)then
  1747. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1748. end
  1749. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1750. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1751. end
  1752. if(Snd)then
  1753. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1754. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1755. end
  1756. local MoveSpeed = nil;
  1757. if(MoveDir)then
  1758. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1759. end
  1760. local Inc = M.RNG()-M.RNG()
  1761. local Thingie = 0
  1762. local Thingie2 = M.RNG(50,100)/100
  1763. if(FX ~= 'Arc')then
  1764. for i = 1, Frames do
  1765. if(swait and typeof(swait) == 'function')then
  1766. swait()
  1767. else
  1768. wait()
  1769. end
  1770. if(FX == 'ResizeAndFade')then
  1771. if(not Settings.EndSize)then
  1772. Settings.EndSize = V3.N(0,0,0)
  1773. end
  1774. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  1775. if(Settings.EndIsIncrement)then
  1776. Prt.Size = Prt.Size + Settings.EndSize
  1777. else
  1778. Prt.Size = Prt.Size - grow/Frames
  1779. end
  1780. Prt.Transparency = (i/Frames)
  1781. elseif(FX == 'Fade')then
  1782. Prt.Transparency = (i/Frames)
  1783. end
  1784.  
  1785. if(Settings.RandomizeCFrame)then
  1786. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1787. end
  1788. if(MoveDir and MoveSpeed)then
  1789. local Orientation = Prt.Orientation
  1790. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1791. Prt.Orientation = Orientation
  1792. end
  1793. end
  1794. Prt:destroy()
  1795. else
  1796. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1797. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1798. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1799. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1800. assert(start ~= nil,"You need to specify a start point!")
  1801. assert(endP ~= nil,"You need to specify an end point!")
  1802. for i = 0, 1, Settings.Speed or 0.01 do
  1803. if(swait and typeof(swait) == 'function')then
  1804. swait()
  1805. else
  1806. wait()
  1807. end
  1808. if(Settings.Home)then
  1809. endP = Settings.Home.CFrame
  1810. end
  1811. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1812. end
  1813. if(Settings.RemoveOnGoal)then
  1814. Prt:destroy()
  1815. end
  1816. end
  1817. end))
  1818. return Prt,Msh,Snd
  1819. end
  1820.  
  1821. function RightWing()
  1822. for i = 1, 2 do
  1823. local PART
  1824. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1825. 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))
  1826. table.insert(RWINGS, WingWeld)
  1827. PART = Wing
  1828. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1829. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  1830. PART = Wing
  1831. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1832. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1833. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1834. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1835. PART = Wing
  1836. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1837. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1838. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1839. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1840. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1841. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1842. PART = Wing
  1843. table.insert(RWINGS, WingWeld)
  1844. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1845. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1846. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1847. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1848. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1849. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1850. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1851. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  1852. PART = Wing
  1853. table.insert(RWINGS, WingWeld)
  1854. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1855. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1856. PART = Wing
  1857. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1858. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  1859. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1860. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1861. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1862. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  1863. PART = Wing
  1864. table.insert(RWINGS, WingWeld)
  1865. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1866. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1867. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1868. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1869. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1870. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1871. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1872. table.insert(EYES, Wing1)
  1873. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  1874. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1875. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1876. PART = Wing
  1877. table.insert(RWINGS, WingWeld)
  1878. end
  1879. BODY = {}
  1880. for _, c in pairs(Character:GetDescendants()) do
  1881. if c:IsA("BasePart") then
  1882. table.insert(BODY, {
  1883. c,
  1884. c.Parent,
  1885. c.Material,
  1886. c.Color
  1887. })
  1888. elseif c:IsA("JointInstance") then
  1889. table.insert(BODY, {
  1890. c,
  1891. c.Parent,
  1892. nil,
  1893. nil
  1894. })
  1895. end
  1896. end
  1897. end
  1898. function LeftWing()
  1899. for i = 1, 2 do
  1900. local PART
  1901. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1902. 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))
  1903. table.insert(LWINGS, WingWeld)
  1904. PART = Wing
  1905. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1906. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  1907. PART = Wing
  1908. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1909. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1910. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1911. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1912. PART = Wing
  1913. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1914. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1915. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1916. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1917. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1918. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1919. PART = Wing
  1920. table.insert(LWINGS, WingWeld)
  1921. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1922. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1923. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1924. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1925. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1926. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1927. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1928. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  1929. PART = Wing
  1930. table.insert(LWINGS, WingWeld)
  1931. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1932. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1933. PART = Wing
  1934. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1935. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  1936. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1937. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1938. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1939. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  1940. PART = Wing
  1941. table.insert(LWINGS, WingWeld)
  1942. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1943. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1944. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1945. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1946. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1947. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1948. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1949. table.insert(EYES, Wing1)
  1950. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  1951. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1952. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1953. PART = Wing
  1954. table.insert(LWINGS, WingWeld)
  1955. end
  1956. BODY = {}
  1957. for _, c in pairs(Character:GetDescendants()) do
  1958. if c:IsA("BasePart") then
  1959. table.insert(BODY, {
  1960. c,
  1961. c.Parent,
  1962. c.Material,
  1963. c.Color
  1964. })
  1965. elseif c:IsA("JointInstance") then
  1966. table.insert(BODY, {
  1967. c,
  1968. c.Parent,
  1969. nil,
  1970. nil
  1971. })
  1972. end
  1973. end
  1974. end
  1975.  
  1976. function Swait(NUMBER)
  1977. if NUMBER == 0 or NUMBER == nil then
  1978. ArtificialHB.Event:wait()
  1979. else
  1980. for i = 1, NUMBER do
  1981. ArtificialHB.Event:wait()
  1982. end
  1983. end
  1984. end
  1985.  
  1986. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1987. local NEWMESH = IT(MESH)
  1988. if MESH == "SpecialMesh" then
  1989. NEWMESH.MeshType = MESHTYPE
  1990. if MESHID ~= "nil" and MESHID ~= "" then
  1991. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1992. end
  1993. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1994. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1995. end
  1996. end
  1997. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1998. NEWMESH.Scale = SCALE
  1999. NEWMESH.Parent = PARENT
  2000. return NEWMESH
  2001. end
  2002.  
  2003. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2004. local NEWPART = IT("Part")
  2005. NEWPART.formFactor = FORMFACTOR
  2006. NEWPART.Reflectance = REFLECTANCE
  2007. NEWPART.Transparency = TRANSPARENCY
  2008. NEWPART.CanCollide = false
  2009. NEWPART.Locked = true
  2010. NEWPART.Anchored = true
  2011. if ANCHOR == false then
  2012. NEWPART.Anchored = false
  2013. end
  2014. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2015. NEWPART.Name = NAME
  2016. NEWPART.Size = SIZE
  2017. NEWPART.Position = Torso.Position
  2018. NEWPART.Material = MATERIAL
  2019. NEWPART:BreakJoints()
  2020. NEWPART.Parent = PARENT
  2021. return NEWPART
  2022. end
  2023.  
  2024. local function weldBetween(a, b)
  2025. local weldd = Instance.new("ManualWeld")
  2026. weldd.Part0 = a
  2027. weldd.Part1 = b
  2028. weldd.C0 = CFrame.new()
  2029. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2030. weldd.Parent = a
  2031. return weldd
  2032. end
  2033.  
  2034.  
  2035. function QuaternionFromCFrame(cf)
  2036. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2037. local trace = m00 + m11 + m22
  2038. if trace > 0 then
  2039. local s = math.sqrt(1 + trace)
  2040. local recip = 0.5 / s
  2041. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2042. else
  2043. local i = 0
  2044. if m11 > m00 then
  2045. i = 1
  2046. end
  2047. if m22 > (i == 0 and m00 or m11) then
  2048. i = 2
  2049. end
  2050. if i == 0 then
  2051. local s = math.sqrt(m00 - m11 - m22 + 1)
  2052. local recip = 0.5 / s
  2053. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2054. elseif i == 1 then
  2055. local s = math.sqrt(m11 - m22 - m00 + 1)
  2056. local recip = 0.5 / s
  2057. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2058. elseif i == 2 then
  2059. local s = math.sqrt(m22 - m00 - m11 + 1)
  2060. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2061. end
  2062. end
  2063. end
  2064.  
  2065. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2066. local xs, ys, zs = x + x, y + y, z + z
  2067. local wx, wy, wz = w * xs, w * ys, w * zs
  2068. local xx = x * xs
  2069. local xy = x * ys
  2070. local xz = x * zs
  2071. local yy = y * ys
  2072. local yz = y * zs
  2073. local zz = z * zs
  2074. 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))
  2075. end
  2076.  
  2077. function QuaternionSlerp(a, b, t)
  2078. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2079. local startInterp, finishInterp;
  2080. if cosTheta >= 0.0001 then
  2081. if (1 - cosTheta) > 0.0001 then
  2082. local theta = ACOS(cosTheta)
  2083. local invSinTheta = 1 / SIN(theta)
  2084. startInterp = SIN((1 - t) * theta) * invSinTheta
  2085. finishInterp = SIN(t * theta) * invSinTheta
  2086. else
  2087. startInterp = 1 - t
  2088. finishInterp = t
  2089. end
  2090. else
  2091. if (1 + cosTheta) > 0.0001 then
  2092. local theta = ACOS(-cosTheta)
  2093. local invSinTheta = 1 / SIN(theta)
  2094. startInterp = SIN((t - 1) * theta) * invSinTheta
  2095. finishInterp = SIN(t * theta) * invSinTheta
  2096. else
  2097. startInterp = t - 1
  2098. finishInterp = t
  2099. end
  2100. end
  2101. 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
  2102. end
  2103.  
  2104. function Clerp(a, b, t)
  2105. local qa = {QuaternionFromCFrame(a)}
  2106. local qb = {QuaternionFromCFrame(b)}
  2107. local ax, ay, az = a.x, a.y, a.z
  2108. local bx, by, bz = b.x, b.y, b.z
  2109. local _t = 1 - t
  2110. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2111. end
  2112.  
  2113. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2114. local frame = IT("Frame")
  2115. frame.BackgroundTransparency = TRANSPARENCY
  2116. frame.BorderSizePixel = BORDERSIZEPIXEL
  2117. frame.Position = POSITION
  2118. frame.Size = SIZE
  2119. frame.BackgroundColor3 = COLOR
  2120. frame.BorderColor3 = BORDERCOLOR
  2121. frame.Name = NAME
  2122. frame.Parent = PARENT
  2123. return frame
  2124. end
  2125.  
  2126. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2127. local label = IT("TextLabel")
  2128. label.BackgroundTransparency = 1
  2129. label.Size = UD2(1, 0, 1, 0)
  2130. label.Position = UD2(0, 0, 0, 0)
  2131. label.TextColor3 = TEXTCOLOR
  2132. label.TextStrokeTransparency = STROKETRANSPARENCY
  2133. label.TextTransparency = TRANSPARENCY
  2134. label.FontSize = TEXTFONTSIZE
  2135. label.Font = TEXTFONT
  2136. label.BorderSizePixel = BORDERSIZEPIXEL
  2137. label.TextScaled = false
  2138. label.Text = TEXT
  2139. label.Name = NAME
  2140. label.Parent = PARENT
  2141. return label
  2142. end
  2143.  
  2144. function NoOutlines(PART)
  2145. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2146. end
  2147.  
  2148. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2149. local NEWWELD = IT(TYPE)
  2150. NEWWELD.Part0 = PART0
  2151. NEWWELD.Part1 = PART1
  2152. NEWWELD.C0 = C0
  2153. NEWWELD.C1 = C1
  2154. NEWWELD.Parent = PARENT
  2155. return NEWWELD
  2156. end
  2157.  
  2158. local S = IT("Sound")
  2159. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2160. local NEWSOUND = nil
  2161. coroutine.resume(coroutine.create(function()
  2162. NEWSOUND = S:Clone()
  2163. NEWSOUND.Parent = PARENT
  2164. NEWSOUND.Volume = VOLUME
  2165. NEWSOUND.Pitch = PITCH
  2166. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2167. NEWSOUND:play()
  2168. if DOESLOOP == true then
  2169. NEWSOUND.Looped = true
  2170. else
  2171. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2172. NEWSOUND:remove()
  2173. end
  2174. end))
  2175. return NEWSOUND
  2176. end
  2177.  
  2178. function CFrameFromTopBack(at, top, back)
  2179. local right = top:Cross(back)
  2180. 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)
  2181. end
  2182.  
  2183. --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})
  2184. function Lightning(Table)
  2185. local Color = Table.Color or C3(1,1,1)
  2186. local StartPos = Table.Start or Torso.Position
  2187. local EndPos = Table.End or Mouse.Hit.p
  2188. local SegmentLength = Table.SegmentL or 2
  2189. local Thickness = Table.Thickness or 0.1
  2190. local Dissapear = Table.DoesFade or false
  2191. local Parent = Table.Ignore or Character
  2192. local MaxDist = Table.MaxDist or 400
  2193. local Branches = Table.Branches or false
  2194. local Thicken = Table.Thicken or false
  2195. local FadeTime = Table.FadeTime or 15
  2196. local FadeIn = Table.FadeIn or false
  2197. local Material = Table.Material or "Neon"
  2198. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  2199. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  2200. local LIGHTNINGMODEL = IT("Model",Effects)
  2201. LIGHTNINGMODEL.Name = "Lightning"
  2202. local LastBolt = nil
  2203. for E = 1, DISTANCE do
  2204. local ExtraSize = 0
  2205. if Thicken == true then
  2206. ExtraSize = (DISTANCE-E)/15
  2207. end
  2208. local TRANSPARENCY = 0
  2209. if FadeIn == true then
  2210. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  2211. if TRANSPARENCY < 0 then
  2212. TRANSPARENCY = 0
  2213. end
  2214. end
  2215. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  2216. PART.Color = Color
  2217. MakeForm(PART,"Cyl")
  2218. if LastBolt == nil then
  2219. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  2220. else
  2221. 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)
  2222. end
  2223. LastBolt = PART
  2224. if Branches == true and E < (DISTANCE-5) then
  2225. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  2226. if CHOICE == 1 then
  2227. local LASTBRANCH = nil
  2228. for i = 1, MRANDOM(2,5) do
  2229. local ExtraSize2 = 0
  2230. if Thicken == true then
  2231. ExtraSize = ((DISTANCE-E)/25)/i
  2232. end
  2233. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  2234. PART.Color = Color
  2235. MakeForm(PART,"Cyl")
  2236. if LASTBRANCH == nil then
  2237. 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)
  2238. else
  2239. 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)
  2240. end
  2241. LASTBRANCH = PART
  2242. end
  2243. end
  2244. end
  2245. end
  2246. if Dissapear == true then
  2247. coroutine.resume(coroutine.create(function()
  2248. for i = 1, FadeTime do
  2249. Swait()
  2250. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  2251. if c.ClassName == "Part" then
  2252. c.Transparency = c.Transparency + (i/FadeTime)/10
  2253. end
  2254. end
  2255. end
  2256. LIGHTNINGMODEL:remove()
  2257. end))
  2258. elseif Dissapear == false then
  2259. Debris:AddItem(LIGHTNINGMODEL,0.1)
  2260. end
  2261. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  2262. end
  2263.  
  2264. -- Rainbow Stuff --
  2265. local cR=255
  2266. local cG=0
  2267. local cB=0
  2268. local flg5=1 local omgidk=1
  2269. local add=10.5
  2270. game:GetService('RunService').Heartbeat:connect(function()
  2271. if omgidk>10000 then omgidk=0 end
  2272. omgidk=omgidk+1
  2273. if cR>=255 then flg5=1 end
  2274. if cG>=255 then flg5=2 end
  2275. if cB>=255 then flg5=3 end
  2276. if flg5==1 then cR=cR-add cG=cG+add end
  2277. if flg5==2 then cG=cG-add cB=cB+add end
  2278. if flg5==3 then cB=cB-add cR=cR+add end
  2279. end)
  2280. color=Color3.fromRGB(cR,cG,cB)
  2281.  
  2282. function WACKYEFFECT(Table)
  2283. local TYPE = (Table.EffectType or "Sphere")
  2284. local SIZE = (Table.Size or VT(6,6,6))
  2285. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  2286. local TRANSPARENCY = (Table.Transparency or 0)
  2287. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2288. local CFRAME = (Table.CFrame or Torso.CFrame)
  2289. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2290. local ROTATION1 = (Table.RotationX or 0)
  2291. local ROTATION2 = (Table.RotationY or 0)
  2292. local ROTATION3 = (Table.RotationZ or 0)
  2293. local MATERIAL = (Table.Material or "Neon")
  2294. local COLOR = (Table.Color or C3(1,1,1))
  2295. local TIME = (Table.Time or 45)
  2296. local SOUNDID = (Table.SoundID or nil)
  2297. local SOUNDPITCH = (Table.SoundPitch or nil)
  2298. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2299. coroutine.resume(coroutine.create(function()
  2300. local PLAYSSOUND = false
  2301. local SOUND = nil
  2302. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2303. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2304. PLAYSSOUND = true
  2305. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2306. end
  2307. EFFECT.Color = COLOR
  2308. local MSH = nil
  2309. if TYPE == "Sphere" then
  2310. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2311. elseif TYPE == "Block" then
  2312. MSH = IT("BlockMesh",EFFECT)
  2313. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2314. elseif TYPE == "Wave" then
  2315. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2316. elseif TYPE == "Ring" then
  2317. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2318. elseif TYPE == "Slash" then
  2319. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2320. elseif TYPE == "Round Slash" then
  2321. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2322. elseif TYPE == "Swirl" then
  2323. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2324. elseif TYPE == "Skull" then
  2325. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2326. elseif TYPE == "Crystal" then
  2327. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2328. end
  2329. if MSH ~= nil then
  2330. local MOVESPEED = nil
  2331. if MOVEDIRECTION ~= nil then
  2332. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2333. end
  2334. local GROWTH = SIZE - ENDSIZE
  2335. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2336. if TYPE == "Block" then
  2337. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2338. else
  2339. EFFECT.CFrame = CFRAME
  2340. end
  2341. for LOOP = 1, TIME+1 do
  2342. Swait()
  2343. MSH.Scale = MSH.Scale - GROWTH/TIME
  2344. if TYPE == "Wave" then
  2345. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2346. end
  2347. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2348. if TYPE == "Block" then
  2349. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2350. else
  2351. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2352. end
  2353. if MOVEDIRECTION ~= nil then
  2354. local ORI = EFFECT.Orientation
  2355. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2356. EFFECT.Orientation = ORI
  2357. end
  2358. end
  2359. if PLAYSSOUND == false then
  2360. EFFECT:remove()
  2361. else
  2362. repeat Swait() until SOUND.Playing == false
  2363. EFFECT:remove()
  2364. end
  2365. else
  2366. if PLAYSSOUND == false then
  2367. EFFECT:remove()
  2368. else
  2369. repeat Swait() until SOUND.Playing == false
  2370. EFFECT:remove()
  2371. end
  2372. end
  2373. end))
  2374. end
  2375.  
  2376. function MakeForm(PART,TYPE)
  2377. if TYPE == "Cyl" then
  2378. local MSH = IT("CylinderMesh",PART)
  2379. elseif TYPE == "Ball" then
  2380. local MSH = IT("SpecialMesh",PART)
  2381. MSH.MeshType = "Sphere"
  2382. elseif TYPE == "Wedge" then
  2383. local MSH = IT("SpecialMesh",PART)
  2384. MSH.MeshType = "Wedge"
  2385. end
  2386. end
  2387. function SpawnTrail(FROM,TO,BIG)
  2388. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2389. MakeForm(TRAIL,"Cyl")
  2390. local cR=255
  2391. local cG=0
  2392. local cB=0
  2393. local flg5=1 local omgidk=1
  2394. local add=10.5
  2395. game:GetService('RunService').Heartbeat:connect(function()
  2396. if omgidk>10000 then omgidk=0 end
  2397. omgidk=omgidk+1
  2398. if cR>=255 then flg5=1 end
  2399. if cG>=255 then flg5=2 end
  2400. if cB>=255 then flg5=3 end
  2401. if flg5==1 then cR=cR-add cG=cG+add end
  2402. if flg5==2 then cG=cG-add cB=cB+add end
  2403. if flg5==3 then cB=cB-add cR=cR+add end
  2404. color=Color3.fromRGB(cR,cG,cB)
  2405. TRAIL.Color = color
  2406. end)
  2407. local DIST = (FROM - TO).Magnitude
  2408. if BIG == true then
  2409. TRAIL.Size = VT(5,DIST,5)
  2410. else
  2411. TRAIL.Size = VT(5,DIST,5)
  2412. end
  2413. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2414. coroutine.resume(coroutine.create(function()
  2415. for i = 1, 55 do
  2416. Swait()
  2417. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2418. end
  2419. TRAIL:remove()
  2420. end))
  2421. end
  2422.  
  2423. Debris = game:GetService("Debris")
  2424.  
  2425. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2426. local DIRECTION = CF(StartPos,EndPos).lookVector
  2427. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2428. end
  2429.  
  2430. function turnto(position)
  2431. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2432. end
  2433.  
  2434. --//=================================\\
  2435. --|| WEAPON CREATION
  2436. --\\=================================//
  2437. 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))
  2438.  
  2439.  
  2440.  
  2441. for i = 1, 35 do
  2442. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2443. FACE.Color = C3(0,0,0)
  2444. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2445. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2446. end
  2447.  
  2448. local CLOCKLOOP = 0
  2449. local CLOCKTARGET = nil
  2450. local CLOCKSPEED = 10
  2451.  
  2452. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2453. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2454. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2455. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2456. MakeForm(PRT,"Cyl")
  2457. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2458. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2459. MakeForm(PRT,"Cyl")
  2460. PRT.Color = C3(159/255, 111/255, 183/255)
  2461. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2462. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2463. MakeForm(RING,"Cyl")
  2464. RING.Color = C3(0,0,0)
  2465. for i = 1, 12 do
  2466. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  2467. PRT.Color = C3(0,0,0)
  2468. local MSH = IT("BlockMesh",PRT)
  2469. MSH.Scale = VT(0.6,1,1)
  2470. 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))
  2471. end
  2472. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2473. PRT.Color = C3(0,0,0)
  2474. local MSH = IT("BlockMesh",PRT)
  2475. MSH.Scale = VT(0.4,1,1)
  2476. 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))
  2477. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2478. PRT.Color = C3(0,0,0)
  2479. local MSH = IT("BlockMesh",PRT)
  2480. MSH.Scale = VT(0.4,1,1)
  2481. 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))
  2482. coroutine.resume(coroutine.create(function()
  2483. while true do
  2484. Swait()
  2485. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2486. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2487. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2488. if CLOCKLOOP <= -150 then
  2489. if VALUE1 == false then
  2490. CLOCKLOOP = 0
  2491. 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})
  2492. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2493. ApplyAoE(HITPOS,10,15,45,75,false)
  2494. 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})
  2495. 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})
  2496. if CLOCKTARGET ~= nil then
  2497. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2498. if CLOCKTARGET.Torso ~= nil then
  2499. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2500. end
  2501. if CLOCKTARGET.Health == 0 then
  2502. CLOCKTARGET = nil
  2503. end
  2504. end
  2505. end
  2506. end
  2507. end
  2508. end))
  2509.  
  2510.  
  2511. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hats", VT(2,0.2,2),false)
  2512. MakeForm(HAT1,"Cyl")
  2513. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2514. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(2.01,0.15,2.01),false)
  2515. BELT.Color = C3(1,1,1)
  2516. MakeForm(BELT,"Cyl")
  2517. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2518. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hata", VT(1.3,2.2,1.3),false)
  2519. MakeForm(HAT2,"Cyl")
  2520. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2521. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.2,1.31),false)
  2522. BELT.Color = C3(1,1,1)
  2523. MakeForm(BELT,"Cyl")
  2524. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2525. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gem", VT(0.25,0.25,0.1),false)
  2526. MakeForm(GEM,"Ball")
  2527. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2528. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gems", VT(0.25,0.25,0.1),false)
  2529. MakeForm(GEM,"Ball")
  2530. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2531. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gee", VT(0.1,0.25,0.25),false)
  2532. MakeForm(GEM,"Ball")
  2533. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2534. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gema", VT(0.1,0.25,0.25),false)
  2535. MakeForm(GEM,"Ball")
  2536. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2537. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2538. BELT.Color = C3(1,1,1)
  2539. MakeForm(BELT,"Cyl")
  2540. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2541. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2542. BELT.Color = C3(1,1,1)
  2543. MakeForm(BELT,"Cyl")
  2544. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2545. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2546. BELT.Color = C3(1,1,1)
  2547. MakeForm(BELT,"Cyl")
  2548. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2549. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2550. BELT.Color = C3(1,1,1)
  2551. MakeForm(BELT,"Cyl")
  2552. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2553. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hatsss", VT(1.3,0.5,1.3),false)
  2554. MakeForm(BELT,"Ball")
  2555. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2556. Humanoid.DisplayDistanceType = "None"
  2557.  
  2558. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2559. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2560. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2561. MakeForm(Part,"Wedge")
  2562. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2563. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2564. MakeForm(Part,"Wedge")
  2565. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2566. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2567. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2568. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2569. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * 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.4,0.4,0.4),false)
  2571. MakeForm(Part,"Cyl")
  2572. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2573. for i = 1, 8 do
  2574. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2575. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2576. end
  2577. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2578. MakeForm(Part,"Cyl")
  2579. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2580. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2581. MakeForm(Part,"Ball")
  2582. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2583. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2584. MakeForm(Part,"Wedge")
  2585. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2586. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2587. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2588. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2589. MakeForm(Part,"Cyl")
  2590. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2591. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2592. MakeForm(Part,"Cyl")
  2593. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2595. MakeForm(Part,"Cyl")
  2596. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2597. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2598. MakeForm(Part,"Wedge")
  2599. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2600. local LASTPART = Handle
  2601. for i = 1, 10 do
  2602. if LASTPART == Handle then
  2603. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2604. LASTPART = Part
  2605. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2606. else
  2607. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false)
  2608. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2609. LASTPART = Part
  2610. end
  2611. end
  2612.  
  2613. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2614. MakeForm(Barrel,"Cyl")
  2615. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2616. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2617. MakeForm(Part,"Cyl")
  2618. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2619. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2620. MakeForm(Part,"Wedge")
  2621. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2622. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2623. MakeForm(Hole,"Cyl")
  2624. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2625. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2626. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2627. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2628. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2629. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2630. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2631. coroutine.resume(coroutine.create(function()
  2632. while wait() do
  2633. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2634. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2635. end
  2636. end))
  2637.  
  2638. local cR=255
  2639. local cG=0
  2640. local cB=0
  2641. local flg5=1 local omgidk=1
  2642. local add=10.5
  2643. game:GetService('RunService').Heartbeat:connect(function()
  2644. if omgidk>10000 then omgidk=0 end
  2645. omgidk=omgidk+1
  2646. if cR>=255 then flg5=1 end
  2647. if cG>=255 then flg5=2 end
  2648. if cB>=255 then flg5=3 end
  2649. if flg5==1 then cR=cR-add cG=cG+add end
  2650. if flg5==2 then cG=cG-add cB=cB+add end
  2651. if flg5==3 then cB=cB-add cR=cR+add end
  2652. color=Color3.fromRGB(cR,cG,cB)
  2653. for _, c in pairs(Weapon:GetDescendants()) do
  2654. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2655. c.Material = "Glass"
  2656. c.Color = C3(0,0,0)
  2657. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2658. c.Color = color
  2659. c.Material = "Neon"
  2660. end
  2661. end
  2662. end)
  2663. Weapon.Parent = Character
  2664. for _, c in pairs(Weapon:GetChildren()) do
  2665. if c.ClassName == "Part" then
  2666. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2667. end
  2668. end
  2669.  
  2670.  
  2671.  
  2672.  
  2673. if Character:FindFirstChildOfClass("Accessory") then
  2674. Character:FindFirstChildOfClass("Accessory"):remove()
  2675. elseif Character:FindFirstChildOfClass("Hat") then
  2676. Character:FindFirstChildOfClass("Hat"):remove()
  2677. end
  2678. if Head:FindFirstChild("face") then
  2679. Head.face.Texture = "rbxassetid://403870689"
  2680. if Character:FindFirstChildOfClass("Accessory") then
  2681. Character:FindFirstChildOfClass("Accessory"):remove()
  2682. elseif Character:FindFirstChildOfClass("Hat") then
  2683. Character:FindFirstChildOfClass("Hat"):remove()
  2684. end
  2685. if Character:FindFirstChildOfClass("Accessory") then
  2686. Character:FindFirstChildOfClass("Accessory"):remove()
  2687. elseif Character:FindFirstChildOfClass("Hat") then
  2688. Character:FindFirstChildOfClass("Hat"):remove()
  2689. end
  2690. if Character:FindFirstChildOfClass("Accessory") then
  2691. Character:FindFirstChildOfClass("Accessory"):remove()
  2692. elseif Character:FindFirstChildOfClass("Hat") then
  2693. Character:FindFirstChildOfClass("Hat"):remove()
  2694. end
  2695. if Character:FindFirstChildOfClass("Accessory") then
  2696. Character:FindFirstChildOfClass("Accessory"):remove()
  2697. elseif Character:FindFirstChildOfClass("Hat") then
  2698. Character:FindFirstChildOfClass("Hat"):remove()
  2699. end
  2700. if Character:FindFirstChildOfClass("Accessory") then
  2701. Character:FindFirstChildOfClass("Accessory"):remove()
  2702. elseif Character:FindFirstChildOfClass("Hat") then
  2703. Character:FindFirstChildOfClass("Hat"):remove()
  2704. end
  2705. end
  2706.  
  2707. local Particle = IT("ParticleEmitter",nil)
  2708. Particle.Enabled = false
  2709. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2710. Particle.LightEmission = 0.5
  2711. Particle.Rate = 150
  2712. Particle.ZOffset = 0.2
  2713. Particle.Rotation = NumberRange.new(-180, 180)
  2714. Particle.RotSpeed = NumberRange.new(-180, 180)
  2715. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2716. 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))
  2717.  
  2718. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2719. function ParticleEmitter(Table)
  2720. local PRTCL = Particle:Clone()
  2721. local Speed = Table.Speed or 5
  2722. local Drag = Table.Drag or 0
  2723. local Size1 = Table.Size1 or 1
  2724. local Size2 = Table.Size2 or 5
  2725. local Lifetime1 = Table.Lifetime1 or 1
  2726. local Lifetime2 = Table.Lifetime2 or 1.5
  2727. local Parent = Table.Parent or Torso
  2728. local Emit = Table.Emit or 100
  2729. local Offset = Table.Offset or 360
  2730. local Acel = Table.Acel or VT(0,0,0)
  2731. local Enabled = Table.Enabled or false
  2732. PRTCL.Parent = Parent
  2733. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2734. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2735. PRTCL.Speed = NumberRange.new(Speed)
  2736. PRTCL.VelocitySpread = Offset
  2737. PRTCL.Drag = Drag
  2738. PRTCL.Acceleration = Acel
  2739. if Enabled == false then
  2740. PRTCL:Emit(Emit)
  2741. Debris:AddItem(PRTCL,Lifetime2)
  2742. else
  2743. PRTCL.Enabled = true
  2744. end
  2745. return PRTCL
  2746. end
  2747.  
  2748. function ParticleEmitter(Table)
  2749. local PRTCL = Particle:Clone()
  2750. local Speed = Table.Speed or 5
  2751. local Drag = Table.Drag or 0
  2752. local Size1 = Table.Size1 or 1
  2753. local Size2 = Table.Size2 or 5
  2754. local Lifetime1 = Table.Lifetime1 or 1
  2755. local Lifetime2 = Table.Lifetime2 or 1.5
  2756. local Parent = Table.Parent or Torso
  2757. local Emit = Table.Emit or 100
  2758. local Offset = Table.Offset or 360
  2759. local Acel = Table.Acel or VT(0,0,0)
  2760. local Enabled = Table.Enabled or false
  2761. PRTCL.Parent = Parent
  2762. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2763. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2764. PRTCL.Speed = NumberRange.new(Speed)
  2765. PRTCL.VelocitySpread = Offset
  2766. PRTCL.Drag = Drag
  2767. PRTCL.Acceleration = Acel
  2768. if Enabled == false then
  2769. PRTCL:Emit(Emit)
  2770. Debris:AddItem(PRTCL,Lifetime2)
  2771. else
  2772. PRTCL.Enabled = true
  2773. end
  2774. return PRTCL
  2775. end
  2776.  
  2777. function swait(num)
  2778. if num == 0 or num == nil then
  2779. ArtificialHB.Event:wait()
  2780. else
  2781. for i = 0, num do
  2782. ArtificialHB.Event:wait()
  2783. end
  2784. end
  2785. end
  2786.  
  2787. local DECAL = IT("Decal")
  2788. function MagicRingg()
  2789. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  2790. local MESH = IT("BlockMesh",RING)
  2791. local BOTTOMTEXTURE = DECAL:Clone()
  2792. BOTTOMTEXTURE.Parent = RING
  2793. BOTTOMTEXTURE.Face = "Bottom"
  2794. BOTTOMTEXTURE.Name = "BottomTexture"
  2795. local TOPTEXTURE = DECAL:Clone()
  2796. TOPTEXTURE.Parent = RING
  2797. TOPTEXTURE.Face = "Top"
  2798. TOPTEXTURE.Name = "TopTexture"
  2799. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2800. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2801. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  2802. TOPTEXTURE.Color3 = C3(0,0,0)
  2803. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  2804. end
  2805.  
  2806. function chatfunc(text)
  2807. local chat = coroutine.wrap(function()
  2808. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2809. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2810. end
  2811. local Bill = Instance.new("BillboardGui",Character)
  2812. Bill.Size = UDim2.new(0,100,0,40)
  2813. Bill.StudsOffset = Vector3.new(0,2,0)
  2814. Bill.Adornee = Character.Head
  2815. Bill.Name = "TalkingBillBoard"
  2816. local Hehe = Instance.new("TextLabel",Bill)
  2817. Hehe.BackgroundTransparency = 1
  2818. Hehe.BorderSizePixel = 0
  2819. Hehe.Text = ""
  2820. Hehe.Font = "Cartoon"
  2821. Hehe.TextSize = 40
  2822. Hehe.TextStrokeTransparency = 0
  2823. Hehe.Size = UDim2.new(1,0,0.5,0)
  2824. coroutine.resume(coroutine.create(function()
  2825. while Hehe ~= nil do
  2826. Swait()
  2827. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  2828. Hehe.Rotation = math.random(-5,5)
  2829. Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB)
  2830. Hehe.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB)
  2831. end
  2832. end))
  2833. for i = 1,string.len(text),1 do
  2834. Swait()
  2835. Hehe.Text = string.sub(text,1,i)
  2836. end
  2837. Swait(90)--Re[math.random(1, 93)]
  2838. for i = 0, 1, .025 do
  2839. Swait()
  2840. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2841. Hehe.TextStrokeTransparency = i
  2842. Hehe.TextTransparency = i
  2843. end
  2844. Bill:Destroy()
  2845. end)
  2846. chat()
  2847. end
  2848.  
  2849. function onChatted(msg)
  2850. chatfunc(msg)
  2851. end
  2852.  
  2853. Player.Chatted:connect(onChatted)
  2854.  
  2855. local BODY = {}
  2856. for _, c in pairs(Character:GetDescendants()) do
  2857. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2858. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2859. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2860. end
  2861. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2862. elseif c:IsA("JointInstance") then
  2863. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2864. end
  2865. end
  2866.  
  2867. function refit()
  2868. Character.Parent = workspace
  2869. for e = 1, #BODY do
  2870. if BODY[e] ~= nil then
  2871. local STUFF = BODY[e]
  2872. local PART = STUFF[1]
  2873. local PARENT = STUFF[2]
  2874. local MATERIAL = STUFF[3]
  2875. local COLOR = STUFF[4]
  2876. local TRANSPARENCY = STUFF[5]
  2877. --local SIZE = STUFF[6]
  2878. local NAME = STUFF[7]
  2879. if PART.ClassName == "Part" and PART ~= RootPart then
  2880. PART.Material = MATERIAL
  2881. PART.Transparency = TRANSPARENCY
  2882. PART.Name = NAME
  2883. end
  2884. if PART.Parent ~= PARENT then
  2885. Humanoid:remove()
  2886. PART.Parent = PARENT
  2887. Humanoid = IT("Humanoid",Character)
  2888. end
  2889. end
  2890. end
  2891. end
  2892.  
  2893. Humanoid.Died:connect(function()
  2894. refit()
  2895. end)
  2896.  
  2897. function printbye(Name)
  2898. 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, "}
  2899. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2900. end
  2901.  
  2902. workspace.ChildAdded:connect(function(instance)
  2903. for BANISH = 1, #TOBANISH do
  2904. if TOBANISH[BANISH] ~= nil then
  2905. if instance.Name == TOBANISH[BANISH] then
  2906. coroutine.resume(coroutine.create(function()
  2907. printbye(instance.Name)
  2908. instance:ClearAllChildren()
  2909. Debris:AddItem(instance,0.0005)
  2910. end))
  2911. end
  2912. end
  2913. end
  2914. end)
  2915.  
  2916. function Shatter(Part)
  2917. if Part.Transparency < 1 then
  2918. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  2919. Debris:AddItem(SOUNDPART,5)
  2920. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2921. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2922. local SIZESET = SIZE/4
  2923. local XOffset = Part.Size.X*1.5/SIZESET
  2924. local YOffset = Part.Size.Y*1.5/SIZESET
  2925. local ZOffset = Part.Size.Z*1.5/SIZESET
  2926. for x = 1, math.ceil(XOffset) do
  2927. for y = 1, math.ceil(YOffset) do
  2928. for z = 1, math.ceil(ZOffset) do
  2929. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2930. SHARD.CanCollide = true
  2931. 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))
  2932. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2933. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  2934. for _, c in pairs(Part:GetChildren()) do
  2935. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  2936. c:Clone().Parent = SHARD
  2937. end
  2938. end
  2939. end
  2940. end
  2941. end
  2942. end
  2943. Part:remove()
  2944. end
  2945. --//=================================\\
  2946. --|| DAMAGING
  2947. --\\=================================//
  2948.  
  2949. function recurse(root,callback,i)
  2950. i= i or 0
  2951. for _,v in pairs(root:GetChildren()) do
  2952. i = i + 1
  2953. callback(i,v)
  2954.  
  2955. if #v:GetChildren() > 0 then
  2956. i = recurse(v,callback,i)
  2957. end
  2958. end
  2959.  
  2960. return i
  2961. end
  2962.  
  2963. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2964. attachmentName = attachmentName.."RigAttachment"
  2965. local constraint = Instance.new(className.."Constraint")
  2966. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2967. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2968. constraint.Name = "RagdollConstraint"..part1.Name
  2969.  
  2970. for _,propertyData in next,properties or {} do
  2971. constraint[propertyData[1]] = propertyData[2]
  2972. end
  2973.  
  2974. constraint.Parent = character
  2975. end
  2976.  
  2977. function getAttachment0(character, attachmentName)
  2978. for _,child in next,character:GetChildren() do
  2979. local attachment = child:FindFirstChild(attachmentName)
  2980. if attachment then
  2981. return attachment
  2982. end
  2983. end
  2984. end
  2985.  
  2986. function ArtificialHitbox(Part)
  2987. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2988. HITBOX.CanCollide = true
  2989. HITBOX.CFrame = Part.CFrame
  2990. weldBetween(Part,HITBOX)
  2991. end
  2992.  
  2993. function R15Ragdoll(character,KeepArms)
  2994. character:BreakJoints()
  2995. coroutine.resume(coroutine.create(function()
  2996. recurse(character, function(_,v)
  2997. if v:IsA("Attachment") then
  2998. v.Axis = Vector3.new(0, 1, 0)
  2999. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3000. v.Rotation = Vector3.new(0, 0, 0)
  3001. end
  3002. end)
  3003. for _,child in next,character:GetChildren() do
  3004. if child:IsA("Accoutrement") then
  3005. for _,part in next,child:GetChildren() do
  3006. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  3007. local attachment1 = part:FindFirstChildOfClass("Attachment")
  3008. local attachment0 = getAttachment0(character,attachment1.Name)
  3009. if attachment0 and attachment1 then
  3010. local constraint = Instance.new("HingeConstraint")
  3011. constraint.Attachment0 = attachment0
  3012. constraint.Attachment1 = attachment1
  3013. constraint.LimitsEnabled = true
  3014. constraint.UpperAngle = 0
  3015. constraint.LowerAngle = 0
  3016. constraint.Parent = character
  3017. end
  3018. ArtificialHitbox(part)
  3019. elseif part.Name == "HumanoidRootPart" then
  3020. part:remove()
  3021. end
  3022. end
  3023. end
  3024. end
  3025.  
  3026. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3027. {"LimitsEnabled",true};
  3028. {"UpperAngle",5};
  3029. })
  3030. if character:FindFirstChild("Head") then
  3031. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  3032. {"LimitsEnabled",true};
  3033. {"UpperAngle",15};
  3034. })
  3035. end
  3036.  
  3037. local handProperties = {
  3038. {"LimitsEnabled", true};
  3039. {"UpperAngle",0};
  3040. {"LowerAngle",0};
  3041. }
  3042. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3043. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3044.  
  3045. local shinProperties = {
  3046. {"LimitsEnabled", true};
  3047. {"UpperAngle", 0};
  3048. {"LowerAngle", -75};
  3049. }
  3050. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3051. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3052.  
  3053. local footProperties = {
  3054. {"LimitsEnabled", true};
  3055. {"UpperAngle", 15};
  3056. {"LowerAngle", -45};
  3057. }
  3058. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3059. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3060. if KeepArms == true then
  3061. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  3062. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3063. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  3064. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3065. end
  3066. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3067. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3068. Debris:AddItem(character,5)
  3069. end))
  3070. end
  3071.  
  3072. function Ragdoll(Character2,CharTorso,KeepArms)
  3073. coroutine.resume(coroutine.create(function()
  3074. Character2:BreakJoints()
  3075. local hum = Character2:findFirstChild("Humanoid")
  3076. hum:remove()
  3077. local function Scan(ch)
  3078. local e
  3079. for e = 1,#ch do
  3080. Scan(ch[e]:GetChildren())
  3081. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3082. ch[e]:remove()
  3083. end
  3084. end
  3085. end
  3086. local NEWHUM = IT("Humanoid")
  3087. NEWHUM.Name = "Corpse"
  3088. NEWHUM.Health = 0
  3089. NEWHUM.MaxHealth = 0
  3090. NEWHUM.PlatformStand = true
  3091. NEWHUM.Parent = Character2
  3092. NEWHUM.DisplayDistanceType = "None"
  3093.  
  3094. local ch = Character2:GetChildren()
  3095. local i
  3096. for i = 1,#ch do
  3097. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3098. ch[i]:remove()
  3099. end
  3100. end
  3101.  
  3102. local Torso2 = Character2.Torso
  3103. local movevector = Vector3.new()
  3104.  
  3105. if Torso2 then
  3106. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  3107. local Head = Character2:FindFirstChild("Head")
  3108. if Head then
  3109. local Neck = Instance.new("Weld")
  3110. Neck.Name = "Neck"
  3111. Neck.Part0 = Torso2
  3112. Neck.Part1 = Head
  3113. Neck.C0 = CFrame.new(0, 1.5, 0)
  3114. Neck.C1 = CFrame.new()
  3115. Neck.Parent = Torso2
  3116.  
  3117. end
  3118. local Limb = Character2:FindFirstChild("Right Arm")
  3119. if Limb and KeepArms == true then
  3120.  
  3121. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3122. local Joint = Instance.new("Glue")
  3123. Joint.Name = "RightShoulder"
  3124. Joint.Part0 = Torso2
  3125. Joint.Part1 = Limb
  3126. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3127. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3128. Joint.Parent = Torso2
  3129.  
  3130. local B = Instance.new("Part")
  3131. B.TopSurface = 0
  3132. B.BottomSurface = 0
  3133. B.formFactor = "Symmetric"
  3134. B.Size = Vector3.new(1, 1, 1)
  3135. B.Transparency = 1
  3136. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3137. B.Parent = Character2
  3138. local W = Instance.new("Weld")
  3139. W.Part0 = Limb
  3140. W.Part1 = B
  3141. W.C0 = CFrame.new(0, -0.5, 0)
  3142. W.Parent = Limb
  3143.  
  3144. end
  3145. local Limb = Character2:FindFirstChild("Left Arm")
  3146. if Limb and KeepArms == true then
  3147.  
  3148. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3149. local Joint = Instance.new("Glue")
  3150. Joint.Name = "LeftShoulder"
  3151. Joint.Part0 = Torso2
  3152. Joint.Part1 = Limb
  3153. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3154. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3155. Joint.Parent = Torso2
  3156.  
  3157. local B = Instance.new("Part")
  3158. B.TopSurface = 0
  3159. B.BottomSurface = 0
  3160. B.formFactor = "Symmetric"
  3161. B.Size = Vector3.new(1, 1, 1)
  3162. B.Transparency = 1
  3163. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3164. B.Parent = Character2
  3165. local W = Instance.new("Weld")
  3166. W.Part0 = Limb
  3167. W.Part1 = B
  3168. W.C0 = CFrame.new(0, -0.5, 0)
  3169. W.Parent = Limb
  3170.  
  3171. end
  3172. local Limb = Character2:FindFirstChild("Right Leg")
  3173. if Limb then
  3174.  
  3175. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3176. local Joint = Instance.new("Glue")
  3177. Joint.Name = "RightHip"
  3178. Joint.Part0 = Torso2
  3179. Joint.Part1 = Limb
  3180. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3181. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3182. Joint.Parent = Torso2
  3183.  
  3184. local B = Instance.new("Part")
  3185. B.TopSurface = 0
  3186. B.BottomSurface = 0
  3187. B.formFactor = "Symmetric"
  3188. B.Size = Vector3.new(1, 1, 1)
  3189. B.Transparency = 1
  3190. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3191. B.Parent = Character2
  3192. local W = Instance.new("Weld")
  3193. W.Part0 = Limb
  3194. W.Part1 = B
  3195. W.C0 = CFrame.new(0, -0.5, 0)
  3196. W.Parent = Limb
  3197.  
  3198. end
  3199. local Limb = Character2:FindFirstChild("Left Leg")
  3200. if Limb then
  3201.  
  3202. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3203. local Joint = Instance.new("Glue")
  3204. Joint.Name = "LeftHip"
  3205. Joint.Part0 = Torso2
  3206. Joint.Part1 = Limb
  3207. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3208. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3209. Joint.Parent = Torso2
  3210.  
  3211. local B = Instance.new("Part")
  3212. B.TopSurface = 0
  3213. B.BottomSurface = 0
  3214. B.formFactor = "Symmetric"
  3215. B.Size = Vector3.new(1, 1, 1)
  3216. B.Transparency = 1
  3217. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3218. B.Parent = Character2
  3219. local W = Instance.new("Weld")
  3220. W.Part0 = Limb
  3221. W.Part1 = B
  3222. W.C0 = CFrame.new(0, -0.5, 0)
  3223. W.Parent = Limb
  3224.  
  3225. end
  3226. --[
  3227. local Bar = Instance.new("Part")
  3228. Bar.TopSurface = 0
  3229. Bar.BottomSurface = 0
  3230. Bar.formFactor = "Symmetric"
  3231. Bar.Size = Vector3.new(1, 1, 1)
  3232. Bar.Transparency = 1
  3233. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3234. Bar.Parent = Character2
  3235. local Weld = Instance.new("Weld")
  3236. Weld.Part0 = Torso2
  3237. Weld.Part1 = Bar
  3238. Weld.C0 = CFrame.new(0, 0.5, 0)
  3239. Weld.Parent = Torso2
  3240. --]]
  3241. end
  3242. Character2.Parent = workspace
  3243. Debris:AddItem(Character2,5)
  3244.  
  3245. return Character2,Torso2
  3246. end))
  3247. end
  3248. function killnearest(position,range,maxstrength,direction)
  3249. for i,v in ipairs(workspace:GetChildren()) do
  3250. local body = v:GetChildren()
  3251. for part = 1, #body do
  3252. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3253. if(body[part].Position - position).Magnitude < range then
  3254. if v.ClassName == "Model" then
  3255. --v:BreakJoints()
  3256. end
  3257. local POS = position
  3258. coroutine.resume(coroutine.create(function()
  3259. body[part].Anchored = true
  3260. body[part].Parent = Effects
  3261. body[part].CanCollide = true
  3262. local SIZE = body[part].Size
  3263. body[part].Material = "Neon"
  3264. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  3265. for i = 1, 75 do
  3266. Swait()
  3267. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3268. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3269. end
  3270. coroutine.resume(coroutine.create(function()
  3271. while true do
  3272. Swait()
  3273. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3274. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3275. end
  3276. end))
  3277. body[part].Anchored = false
  3278. body[part].Velocity = direction.lookVector*maxstrength
  3279. end))
  3280. end
  3281. end
  3282. end
  3283. if v.ClassName == "Part" then
  3284. if v.Anchored == false and (v.Position - position).Magnitude < range then
  3285. local POS = position
  3286. coroutine.resume(coroutine.create(function()
  3287. v.Anchored = true
  3288. v.Parent = Effects
  3289. local SIZE = v.Size
  3290. v.Material = "Neon"
  3291. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  3292. for i = 1, 75 do
  3293. Swait()
  3294. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3295. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3296. end
  3297. coroutine.resume(coroutine.create(function()
  3298. while true do
  3299. Swait()
  3300. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3301. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3302. end
  3303. end))
  3304. v.Anchored = false
  3305. v.Velocity = direction.lookVector*maxstrength
  3306. end))
  3307. end
  3308. end
  3309. end
  3310. end
  3311.  
  3312. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3313. local TORSO = Torso
  3314. local HUM = Humanoid
  3315. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3316. coroutine.wrap(function()
  3317. VT = Vector3.new
  3318. MRANDOM = math.random
  3319. local A = TIME
  3320. local B = INTENSITY
  3321. local C = true
  3322. local HUMANOID = Humanoid
  3323. local TIMER = A or 35
  3324. local SHAKE = B or 5
  3325. local FADE = C or true
  3326. if HUMANOID then
  3327. local FADER = SHAKE / TIMER
  3328. for i = 1, TIMER do
  3329. wait()
  3330. 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)
  3331. end
  3332. HUMANOID.CameraOffset = VT(0, 0, 0)
  3333. end
  3334.  
  3335. end)()
  3336. end
  3337. end
  3338.  
  3339. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  3340. local dmg = math.random(10000,100000)
  3341. for i,v in ipairs(workspace:GetChildren()) do
  3342. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3343. local body = v:GetChildren()
  3344. for part = 1, #body do
  3345. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3346. if(body[part].Position - position).Magnitude < radius then
  3347. if v.ClassName == "Model" then
  3348. if v:FindFirstChildOfClass("Humanoid") then
  3349. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  3350. local bv = Instance.new("BodyVelocity")
  3351. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3352. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  3353. bv.Parent = body[part]
  3354. Debris:AddItem(bv,0.2)
  3355. end
  3356. end
  3357. end
  3358. end
  3359. end
  3360. end
  3361. if v:FindFirstChild("HitBy"..Player.Name) then
  3362. v:FindFirstChild("HitBy"..Player.Name):remove()
  3363. end
  3364. end
  3365. end
  3366.  
  3367. function CameraEnshaking(Length, Intensity)
  3368. coroutine.resume(coroutine.create(function()
  3369. local intensity = 1 * Intensity
  3370. local rotM = 0.01 * Intensity
  3371. for i = 0, Length, 0.1 do
  3372. Swait()
  3373. intensity = intensity - 0.05 * Intensity / Length
  3374. rotM = rotM - 5.0E-4 * Intensity / Length
  3375. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3376. 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)
  3377. end
  3378. hum.CameraOffset = Vector3.new(0, 0, 0)
  3379. end))
  3380. end
  3381.  
  3382. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3383. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3384. defence.Name = ("HitBy"..Player.Name)
  3385. game:GetService("Debris"):AddItem(defence, 0.001)
  3386. Damage = Damage * DAMAGEMULTIPLIER
  3387. if Humanoid.Health ~= 0 then
  3388. local CritChance = MRANDOM(1,100)
  3389. if Damage > Humanoid.Health then
  3390. Damage = math.ceil(Humanoid.Health)
  3391. if Damage == 0 then
  3392. Damage = 0.1
  3393. end
  3394. end
  3395. Humanoid.Health = Humanoid.Health - Damage
  3396. end
  3397. end
  3398.  
  3399. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3400. local CHILDREN = workspace:GetDescendants()
  3401. for index, CHILD in pairs(CHILDREN) do
  3402. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3403. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3404. if HUM then
  3405. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3406. if TORSO then
  3407. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3408. if INSTAKILL == true then
  3409. CHILD:BreakJoints()
  3410. else
  3411. local DMG = MRANDOM(MINDMG,MAXDMG)
  3412. ApplyDamage(HUM,DMG,TORSO)
  3413. end
  3414. if FLING > 0 then
  3415. for _, c in pairs(CHILD:GetChildren()) do
  3416. if c:IsA("BasePart") then
  3417. local bv = Instance.new("BodyVelocity")
  3418. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3419. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3420. bv.Parent = c
  3421. Debris:AddItem(bv,0.05)
  3422. end
  3423. end
  3424. end
  3425. end
  3426. end
  3427. end
  3428. end
  3429. end
  3430. end
  3431.  
  3432.  
  3433.  
  3434. function MagicSphere2(size,waitt,cframe,color)
  3435. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  3436. local mesh = IT("SpecialMesh",wave)
  3437. mesh.MeshType = "Sphere"
  3438. mesh.Scale = VT(size,size,size)
  3439. mesh.Offset = VT(0,0,0)
  3440. wave.CFrame = cframe
  3441. coroutine.resume(coroutine.create(function(PART)
  3442. for i = 1, waitt do
  3443. Swait()
  3444. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  3445. wave.Transparency = wave.Transparency - (1/waitt)
  3446. end
  3447. wave:remove()
  3448. end))
  3449. end
  3450.  
  3451. function MagicSphere(size,waitt,cframe,color)
  3452. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  3453. local mesh = IT("SpecialMesh",wave)
  3454. mesh.MeshType = "Sphere"
  3455. mesh.Scale = VT(size,size,size)
  3456. mesh.Offset = VT(0,0,0)
  3457. wave.CFrame = cframe
  3458. coroutine.resume(coroutine.create(function(PART)
  3459. for i = 1, waitt do
  3460. Swait()
  3461. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  3462. wave.Transparency = wave.Transparency + (1/waitt)
  3463. if wave.Transparency > 0.99 then
  3464. wave:remove()
  3465. end
  3466. end
  3467. end))
  3468. end
  3469.  
  3470. local asd = Instance.new("ParticleEmitter")
  3471. asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
  3472. asd.LightEmission = .1
  3473. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3474. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3475. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3476. asd.Transparency = bbb
  3477. asd.Size = aaa
  3478. asd.ZOffset = .9
  3479. asd.Acceleration = Vector3.new(0, -15, 0)
  3480. asd.LockedToPart = false
  3481. asd.EmissionDirection = "Back"
  3482. asd.Lifetime = NumberRange.new(1, 2)
  3483. asd.Rotation = NumberRange.new(-100, 100)
  3484. asd.RotSpeed = NumberRange.new(-100, 100)
  3485. asd.Speed = NumberRange.new(10)
  3486. asd.Enabled = false
  3487. asd.VelocitySpread = 999
  3488.  
  3489. function getbloody(victim,amount)
  3490. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3491. PART.CFrame = victim.CFrame
  3492. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3493. Debris:AddItem(PART,5)
  3494. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3495. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3496. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3497. local prtcl = asd:Clone()
  3498. prtcl.Parent = PART
  3499. prtcl:Emit(amount*10)
  3500. end
  3501.  
  3502. function Kill(Char)
  3503. local NewCharacter = IT("Model",Effects)
  3504. NewCharacter.Name = "Ow im ded ;-;"
  3505. for _, c in pairs(Char:GetDescendants()) do
  3506. if c:IsA("BasePart") and c.Transparency == 0 then
  3507. if c.Parent == Char then
  3508. getbloody(c,5)
  3509. end
  3510. c:BreakJoints()
  3511. c.Material = "Glass"
  3512. c.Color = C3(0.5,0.5,0)
  3513. c.CanCollide = true
  3514. c.Transparency = 0.3
  3515. if c:FindFirstChildOfClass("SpecialMesh") then
  3516. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3517. end
  3518. if c.Name == "Head" then
  3519. c:ClearAllChildren()
  3520. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3521. end
  3522. if c.ClassName == "MeshPart" then
  3523. c.TextureID = ""
  3524. end
  3525. if c:FindFirstChildOfClass("BodyPosition") then
  3526. c:FindFirstChildOfClass("BodyPosition"):remove()
  3527. end
  3528. if c:FindFirstChildOfClass("ParticleEmitter") then
  3529. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3530. end
  3531. c.Parent = NewCharacter
  3532. c.Name = "DeadPart"
  3533. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3534. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3535. end
  3536. end
  3537. Char:remove()
  3538. Debris:AddItem(NewCharacter,5)
  3539. end
  3540.  
  3541. function ApplyDamage(Humanoid,Damage)
  3542. Damage = Damage * DAMAGEMULTIPLIER
  3543. if Humanoid.Health ~= 0 then
  3544. Humanoid.Health = Humanoid.Health - Damage
  3545. end
  3546. end
  3547.  
  3548. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  3549. local CHILDREN = workspace:GetDescendants()
  3550. for index, CHILD in pairs(CHILDREN) do
  3551. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3552. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3553. if HUM then
  3554. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3555. if TORSO then
  3556. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3557. if INSTAKILL == true then
  3558. CHILD:BreakJoints()
  3559. if OPTION ~= nil then
  3560. Kill(CHILD,OPTION)
  3561. end
  3562. else
  3563. local DMG = MRANDOM(MINDMG,MAXDMG)
  3564. ApplyDamage(HUM,DMG)
  3565. end
  3566. if FLING ~= 0 then
  3567. for _, c in pairs(CHILD:GetChildren()) do
  3568. if c:IsA("BasePart") then
  3569. local bv = Instance.new("BodyVelocity")
  3570. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3571. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3572. bv.Parent = c
  3573. Debris:AddItem(bv,0.05)
  3574. end
  3575. end
  3576. end
  3577. end
  3578. end
  3579. end
  3580. end
  3581. end
  3582. end
  3583.  
  3584. function Kill(Victim,Fire)
  3585. coroutine.resume(coroutine.create(function()
  3586. local NIL = script.TotalNil:Clone()
  3587. NIL.Parent = Victim
  3588. NIL.Disabled = false
  3589. if Fire ~= true then
  3590. Victim:BreakJoints()
  3591. for _, c in pairs(Victim:GetChildren()) do
  3592. if c:IsA("BasePart") then
  3593. c.Anchored = true
  3594. end
  3595. end
  3596. for _, c in pairs(Victim:GetChildren()) do
  3597. if c:IsA("BasePart") then
  3598. Shatter(c)
  3599. end
  3600. end
  3601. else
  3602. Victim:BreakJoints()
  3603. local FIRES = {}
  3604. for _, e in pairs(Victim:GetDescendants()) do
  3605. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  3606. e.Transparency = 1
  3607. e:ClearAllChildren()
  3608. local FIRE = script.HellFire:Clone()
  3609. FIRE.Parent = e
  3610. FIRE.Enabled = true
  3611. table.insert(FIRES,FIRE)
  3612. elseif e.ClassName == "Decal" then
  3613. e:remove()
  3614. end
  3615. end
  3616. for i = 1, 50 do
  3617. Victim:BreakJoints()
  3618. wait()
  3619. end
  3620. for i = 1, #FIRES do
  3621. FIRES[i].Enabled = false
  3622. end
  3623. wait(1.1)
  3624. Victim:remove()
  3625. end
  3626. end))
  3627. end
  3628. function Banish(Foe)
  3629. if Foe then
  3630. coroutine.resume(coroutine.create(function()
  3631. --if game.Players:FindFirstChild(Foe.Name) then
  3632. table.insert(TOBANISH,Foe.Name)
  3633. printbye(Foe.Name)
  3634. --end
  3635. Foe.Archivable = true
  3636. local CLONE = Foe:Clone()
  3637. Foe:Destroy()
  3638. CLONE.Parent = Effects
  3639. CLONE:BreakJoints()
  3640. local MATERIALS = {"Glass","Neon"}
  3641. for _, c in pairs(CLONE:GetDescendants()) do
  3642. if c:IsA("BasePart") then
  3643. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3644. CreateSound(340722848, c, 10, 1, false)
  3645. end
  3646. c.Anchored = true
  3647. c.Transparency = c.Transparency + 0.2
  3648. c.Material = MATERIALS[MRANDOM(1,2)]
  3649. c.Color = C3(0,255,0)
  3650. if c.ClassName == "MeshPart" then
  3651. c.TextureID = ""
  3652. end
  3653. if c:FindFirstChildOfClass("SpecialMesh") then
  3654. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3655. end
  3656. if c:FindFirstChildOfClass("Decal") then
  3657. c:FindFirstChildOfClass("Decal"):remove()
  3658. end
  3659. c.Name = "Banished"
  3660. c.CanCollide = false
  3661. else
  3662. c:remove()
  3663. end
  3664. end
  3665. local A = false
  3666. for i = 1, 35 do
  3667. if A == false then
  3668. A = true
  3669. elseif A == true then
  3670. A = false
  3671. end
  3672. for _, c in pairs(CLONE:GetDescendants()) do
  3673. if c:IsA("BasePart") then
  3674. c.Anchored = true
  3675. c.Material = MATERIALS[MRANDOM(1,2)]
  3676. c.Transparency = c.Transparency + 0.8/35
  3677. if A == false then
  3678. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3679. elseif A == true then
  3680. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3681. end
  3682. end
  3683. end
  3684. Swait()
  3685. end
  3686. CLONE:remove()
  3687. end))
  3688. end
  3689. end
  3690.  
  3691. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3692. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3693. defence.Name = ("HitBy"..Player.Name)
  3694. game:GetService("Debris"):AddItem(defence, 0.001)
  3695. Damage = Damage * DAMAGEMULTIPLIER
  3696. if Humanoid.Health ~= 0 then
  3697. local CritChance = MRANDOM(1,100)
  3698. if Damage > Humanoid.Health then
  3699. Damage = math.ceil(Humanoid.Health)
  3700. if Damage == 0 then
  3701. Damage = 0.1
  3702. end
  3703. end
  3704. Humanoid.Health = Humanoid.Health - Damage
  3705. end
  3706. end
  3707. ---------------------I think it pandora thing
  3708. function ApplyAoE12(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3709. local CHILDREN = workspace:GetDescendants()
  3710. for index, CHILD in pairs(CHILDREN) do
  3711. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3712. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3713. if HUM then
  3714. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3715. if TORSO then
  3716. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3717. if INSTAKILL == true then
  3718. CHILD:BreakJoints()
  3719. else
  3720. local DMG = MRANDOM(MINDMG,MAXDMG)
  3721. ApplyDamage(HUM,DMG,TORSO)
  3722. end
  3723. if FLING > 0 then
  3724. for _, c in pairs(CHILD:GetChildren()) do
  3725. if c:IsA("BasePart") then
  3726. local bv = Instance.new("BodyVelocity")
  3727. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3728. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3729. bv.Parent = c
  3730. Debris:AddItem(bv,0.05)
  3731. end
  3732. end
  3733. end
  3734. end
  3735. end
  3736. end
  3737. end
  3738. end
  3739. end
  3740.  
  3741. -----------------
  3742. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3743. local CHILDREN = workspace:GetDescendants()
  3744. for index, CHILD in pairs(CHILDREN) do
  3745. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3746. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3747. if HUM then
  3748. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3749. if TORSO then
  3750. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3751. if ISBANISH == true then
  3752. Banish(CHILD)
  3753. else
  3754. if ISBANISH == "Gravity" then
  3755. HUM.PlatformStand = true
  3756. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3757. local grav = Instance.new("BodyPosition",TORSO)
  3758. grav.D = 15
  3759. grav.P = 20000
  3760. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3761. grav.position = TORSO.Position
  3762. grav.Name = "V3BanishForce"..Player.Name
  3763. else
  3764. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3765. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3766. end
  3767. else
  3768. HUM.PlatformStand = false
  3769. end
  3770. end
  3771. elseif ISBANISH == "Gravity" then
  3772. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3773. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3774. HUM.PlatformStand = false
  3775. end
  3776. end
  3777. end
  3778. end
  3779. end
  3780. end
  3781. end
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787. -----------------------------
  3788.  
  3789. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  3790. local CHILDREN = workspace:GetDescendants()
  3791. for index, CHILD in pairs(CHILDREN) do
  3792. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3793. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3794. if HUM then
  3795. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3796. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3797. if IZBANISH == true then
  3798. Banish(CHILD)
  3799. else
  3800. local DMG = MRANDOM(MINDMG, MAXDMG)
  3801. ApplyDamage(HUM, DMG, TORSO)
  3802. end
  3803. if FLING > 0 then
  3804. for _, c in pairs(CHILD:GetChildren()) do
  3805. if c:IsA("BasePart") then
  3806. local bv = Instance.new("BodyVelocity")
  3807. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3808. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3809. bv.Parent = c
  3810. Debris:AddItem(bv, 0.05)
  3811. end
  3812. end
  3813. end
  3814. end
  3815. end
  3816. end
  3817. end
  3818. end
  3819.  
  3820. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  3821. local svch = Character2
  3822. Character2:BreakJoints()
  3823. local hum = Character2:findFirstChild("Humanoid")
  3824. local q = Character2:GetChildren()
  3825. local CLONE = IT("Model", Effects)
  3826. for i = 1, #q do
  3827. if q[i].ClassName == "Accessory" and Headless == true then
  3828. q[i]:remove()
  3829. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  3830. q[i].Parent = CLONE
  3831. elseif q[i].ClassName ~= "Humanoid" then
  3832. q[i]:remove()
  3833. end
  3834. end
  3835. local chrclone = CLONE
  3836. local ch = chrclone:GetChildren()
  3837. local i
  3838. for i = 1, #ch do
  3839. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3840. ch[i]:remove()
  3841. end
  3842. end
  3843. local function Scan(ch)
  3844. local e
  3845. for e = 1, #ch do
  3846. Scan(ch[e]:GetChildren())
  3847. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3848. ch[e]:remove()
  3849. end
  3850. end
  3851. end
  3852. Character2:remove()
  3853. local NEWHUM = IT("Humanoid")
  3854. NEWHUM.Name = "Corpse"
  3855. NEWHUM.Health = 0
  3856. NEWHUM.MaxHealth = 0
  3857. NEWHUM.PlatformStand = true
  3858. NEWHUM.Parent = CLONE
  3859. NEWHUM.DisplayDistanceType = "None"
  3860. Scan(chrclone:GetChildren())
  3861. local ch = Character2:GetChildren()
  3862. local i
  3863. for i = 1, #ch do
  3864. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3865. ch[i]:remove()
  3866. end
  3867. end
  3868. local ch = Character2:GetChildren()
  3869. local i
  3870. for i = 1, #ch do
  3871. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3872. ch[i]:remove()
  3873. end
  3874. end
  3875. Character2 = chrclone
  3876. local Torso2 = Character2.Torso
  3877. local movevector = Vector3.new()
  3878. if Torso2 then
  3879. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  3880. local Head = Character2:FindFirstChild("Head")
  3881. if Head then
  3882. local Neck = Instance.new("Weld")
  3883. Neck.Name = "Neck"
  3884. Neck.Part0 = Torso2
  3885. Neck.Part1 = Head
  3886. Neck.C0 = CFrame.new(0, 1.5, 0)
  3887. Neck.C1 = CFrame.new()
  3888. Neck.Parent = Torso2
  3889. if Headless == true then
  3890. Head.Transparency = 1
  3891. Head:ClearAllChildren()
  3892. end
  3893. end
  3894. local Limb = Character2:FindFirstChild("Right Arm")
  3895. if Limb then
  3896. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3897. local Joint = Instance.new("Glue")
  3898. Joint.Name = "RightShoulder"
  3899. Joint.Part0 = Torso2
  3900. Joint.Part1 = Limb
  3901. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3902. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3903. Joint.Parent = Torso2
  3904. local B = Instance.new("Part")
  3905. B.TopSurface = 0
  3906. B.BottomSurface = 0
  3907. B.formFactor = "Symmetric"
  3908. B.Size = Vector3.new(1, 1, 1)
  3909. B.Transparency = 1
  3910. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3911. B.Parent = Character2
  3912. local W = Instance.new("Weld")
  3913. W.Part0 = Limb
  3914. W.Part1 = B
  3915. W.C0 = CFrame.new(0, -0.5, 0)
  3916. W.Parent = Limb
  3917. end
  3918. local Limb = Character2:FindFirstChild("Left Arm")
  3919. if Limb then
  3920. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3921. local Joint = Instance.new("Glue")
  3922. Joint.Name = "LeftShoulder"
  3923. Joint.Part0 = Torso2
  3924. Joint.Part1 = Limb
  3925. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3926. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3927. Joint.Parent = Torso2
  3928. local B = Instance.new("Part")
  3929. B.TopSurface = 0
  3930. B.BottomSurface = 0
  3931. B.formFactor = "Symmetric"
  3932. B.Size = Vector3.new(1, 1, 1)
  3933. B.Transparency = 1
  3934. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3935. B.Parent = Character2
  3936. local W = Instance.new("Weld")
  3937. W.Part0 = Limb
  3938. W.Part1 = B
  3939. W.C0 = CFrame.new(0, -0.5, 0)
  3940. W.Parent = Limb
  3941. end
  3942. local Limb = Character2:FindFirstChild("Right Leg")
  3943. if Limb then
  3944. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3945. local Joint = Instance.new("Glue")
  3946. Joint.Name = "RightHip"
  3947. Joint.Part0 = Torso2
  3948. Joint.Part1 = Limb
  3949. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3950. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3951. Joint.Parent = Torso2
  3952. local B = Instance.new("Part")
  3953. B.TopSurface = 0
  3954. B.BottomSurface = 0
  3955. B.formFactor = "Symmetric"
  3956. B.Size = Vector3.new(1, 1, 1)
  3957. B.Transparency = 1
  3958. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3959. B.Parent = Character2
  3960. local W = Instance.new("Weld")
  3961. W.Part0 = Limb
  3962. W.Part1 = B
  3963. W.C0 = CFrame.new(0, -0.5, 0)
  3964. W.Parent = Limb
  3965. end
  3966. local Limb = Character2:FindFirstChild("Left Leg")
  3967. if Limb then
  3968. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3969. local Joint = Instance.new("Glue")
  3970. Joint.Name = "LeftHip"
  3971. Joint.Part0 = Torso2
  3972. Joint.Part1 = Limb
  3973. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3974. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3975. Joint.Parent = Torso2
  3976. local B = Instance.new("Part")
  3977. B.TopSurface = 0
  3978. B.BottomSurface = 0
  3979. B.formFactor = "Symmetric"
  3980. B.Size = Vector3.new(1, 1, 1)
  3981. B.Transparency = 1
  3982. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3983. B.Parent = Character2
  3984. local W = Instance.new("Weld")
  3985. W.Part0 = Limb
  3986. W.Part1 = B
  3987. W.C0 = CFrame.new(0, -0.5, 0)
  3988. W.Parent = Limb
  3989. end
  3990. local Bar = Instance.new("Part")
  3991. Bar.TopSurface = 0
  3992. Bar.BottomSurface = 0
  3993. Bar.formFactor = "Symmetric"
  3994. Bar.Size = Vector3.new(1, 1, 1)
  3995. Bar.Transparency = 1
  3996. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3997. Bar.Parent = Character2
  3998. local Weld = Instance.new("Weld")
  3999. Weld.Part0 = Torso2
  4000. Weld.Part1 = Bar
  4001. Weld.C0 = CFrame.new(0, 0.5, 0)
  4002. Weld.Parent = Torso2
  4003. end
  4004. Character2.Parent = Weapon
  4005. if movevector ~= Vector3.new() then
  4006. for i = 1, 10 do
  4007. Torso2.Velocity = movevector * Velocity
  4008. end
  4009. end
  4010. Character2.Name = "Corpse"
  4011. return Character2, Torso2
  4012. end
  4013.  
  4014. 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."}
  4015.  
  4016. DeathTaunt = {"You Will Know Pain."}
  4017.  
  4018.  
  4019.  
  4020.  
  4021. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4022. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4023. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4024. local BODYGYRO = IT("BodyGyro", STATPART)
  4025. local BODYPOSITION = IT("BodyPosition", STATPART)
  4026. BODYPOSITION.P = 2000
  4027. BODYPOSITION.D = 100
  4028. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4029. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4030. game:GetService("Debris"):AddItem(STATPART ,5)
  4031. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4032. BILLBOARDGUI.Adornee = STATPART
  4033. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4034. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4035. BILLBOARDGUI.AlwaysOnTop = false
  4036. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4037. TEXTLABEL.BackgroundTransparency = 1
  4038. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4039. TEXTLABEL.Text = TEXT
  4040. TEXTLABEL.Font = "SciFi"
  4041. TEXTLABEL.FontSize="Size42"
  4042. TEXTLABEL.TextColor3 = COLOR
  4043. TEXTLABEL.TextStrokeTransparency = 1
  4044. TEXTLABEL.TextScaled = true
  4045. TEXTLABEL.TextWrapped = true
  4046. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4047. if LABELTYPE == "Normal" then
  4048. for i = 1, 20 do
  4049. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4050. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4051. end
  4052. elseif LABELTYPE == "Debuff" then
  4053. for i = 1, 20 do
  4054. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4055. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4056. end
  4057. elseif LABELTYPE == "Shock" then
  4058. local ORIGIN = STATPART.Position
  4059. for i = 1, 20 do
  4060. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4061. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4062. end
  4063. end
  4064. THEPART.Parent = nil
  4065. end),STATPART, BODYPOSITION, TEXTLABEL)
  4066. end
  4067.  
  4068. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  4069. local dmg = math.random(min,max)
  4070. for i,v in ipairs(workspace:GetChildren()) do
  4071. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4072. local body = v:GetChildren()
  4073. for part = 1, #body do
  4074. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4075. if(body[part].Position - position).Magnitude < radius then
  4076. if v.ClassName == "Model" then
  4077. if v:FindFirstChildOfClass("Humanoid") then
  4078. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  4079. if HUMAN.Health ~= 0 then
  4080. if HasChain == true then
  4081. local defence = Instance.new("BoolValue",v)
  4082. defence.Name = ("HitBy"..Player.Name)
  4083. game:GetService("Debris"):AddItem(defence, 1)
  4084. coroutine.resume(coroutine.create(function()
  4085. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4086. if TORSO then
  4087. --print("Found "..v.Name.."'s Torso")
  4088. local PART = IT("Part",Effects)
  4089. PART.Anchored = true
  4090. PART.CanCollide = false
  4091. PART.Transparency = 1
  4092. PART.CFrame = CF(position)
  4093. Debris:AddItem(PART,15)
  4094. local A = IT("Attachment",PART)
  4095. --TORSO.Anchored = true
  4096. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  4097. --print("Chain start")
  4098. Front.CFrame = CF(position)
  4099. Front.CanCollide = true
  4100. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  4101. local B = IT("Attachment",Front)
  4102. local ChainLink = IT("Beam",Effects)
  4103. ChainLink.Texture = "rbxassetid://1262544869"
  4104. ChainLink.TextureSpeed = 0
  4105. ChainLink.FaceCamera = true
  4106. ChainLink.Width0 = 3
  4107. ChainLink.Attachment0 = A
  4108. ChainLink.Attachment1 = B
  4109. ChainLink.TextureMode = "Static"
  4110. local bv = Instance.new("BodyVelocity")
  4111. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4112. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  4113. bv.Parent = Front
  4114. bv.Name = "MOVE"
  4115. --print("Chain made")
  4116. coroutine.resume(coroutine.create(function()
  4117. Swait(30)
  4118. bv:remove()
  4119. local POS = Front.Position
  4120. Front.CanCollide = false
  4121. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  4122. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  4123. for i = 0, 1, 0.07 do
  4124. Swait()
  4125. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  4126. end
  4127. Front:remove()
  4128. ChainLink:remove()
  4129. end))
  4130. local harm = Front.Touched:Connect(function(hit)
  4131. impale(Front,hit)
  4132. end)
  4133. end
  4134. end))
  4135. elseif DoesWarp == true then
  4136. local defence = Instance.new("BoolValue",v)
  4137. defence.Name = ("HitBy"..Player.Name)
  4138. game:GetService("Debris"):AddItem(defence, 0.001)
  4139. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4140. Warp(TORSO,Instakill)
  4141. else
  4142. if CanBeDodgedByJumping == true then
  4143. if body[part].Position.Y < position.Y+5 then
  4144. if math.random(1,100) < critrate+1 then
  4145. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4146. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4147. else
  4148. HUMAN.Health = HUMAN.Health - dmg
  4149. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4150. end
  4151. local defence = Instance.new("BoolValue",v)
  4152. defence.Name = ("HitBy"..Player.Name)
  4153. game:GetService("Debris"):AddItem(defence, 0.01)
  4154. end
  4155. else
  4156. if beserk == true then
  4157. HUMAN.Health = 0
  4158. end
  4159. if math.random(1,100) < critrate+1 then
  4160. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4161. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4162. else
  4163. HUMAN.Health = HUMAN.Health - dmg
  4164. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4165. end
  4166. local defence = Instance.new("BoolValue",v)
  4167. defence.Name = ("HitBy"..Player.Name)
  4168. game:GetService("Debris"):AddItem(defence, 0.01)
  4169. end
  4170. end
  4171. end
  4172. end
  4173. end
  4174. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4175. end
  4176. end
  4177. end
  4178. if v.ClassName == "Part" then
  4179. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  4180. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4181. end
  4182. end
  4183. end
  4184. end
  4185. end
  4186.  
  4187. function Warp(Victim,WarpToVoid)
  4188. print("Warping "..Victim.Name.."...")
  4189. Victim.Anchored = true
  4190. coroutine.resume(coroutine.create(function()
  4191. local GUI,GUI2 = CreateGUICircle(Victim)
  4192. CreateSound("1208650519", Victim, 10, 1)
  4193. for i = 1, 100 do
  4194. Swait()
  4195. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  4196. GUI2.Rotation = GUI2.Rotation + 4
  4197. end
  4198. CastWarpOutlines(Victim.Parent)
  4199. if WarpToVoid == false then
  4200. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  4201. CreateSound("1177785010", Victim, 10, 1)
  4202. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  4203. if HUMANOID ~= nil then
  4204. local dmg = MRANDOM(75,95)
  4205. HUMANOID.Health = HUMANOID.Health - dmg
  4206. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  4207. end
  4208. for i = 1, 50 do
  4209. Swait()
  4210. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4211. GUI2.Rotation = GUI2.Rotation - 8
  4212. end
  4213. Victim.Anchored = false
  4214. GUI:remove()
  4215. elseif WarpToVoid == true then
  4216. CastWarpOutlines(Victim.Parent)
  4217. q = Victim.Parent:GetChildren()
  4218. for i = 1, #q do
  4219. if q[i] ~= Victim then
  4220. q[i]:remove()
  4221. end
  4222. end
  4223. CreateSound("1177785010", Victim, 10, 1)
  4224. Victim.Transparency = 1
  4225. for i = 1, 50 do
  4226. Swait()
  4227. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4228. GUI2.Rotation = GUI2.Rotation - 8
  4229. end
  4230. Victim.Parent:remove()
  4231. end
  4232. end))
  4233. end
  4234.  
  4235. function killnearest(position,range,maxstrength)
  4236. for i,v in ipairs(workspace:GetChildren()) do
  4237. local body = v:GetChildren()
  4238. for part = 1, #body do
  4239. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4240. if(body[part].Position - position).Magnitude < range then
  4241. if v.ClassName == "Model" then
  4242. v:BreakJoints()
  4243. end
  4244. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4245. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4246. end
  4247. end
  4248. end
  4249. if v.ClassName == "Part" then
  4250. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4251. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  4252. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4253. end
  4254. end
  4255. end
  4256. end
  4257.  
  4258.  
  4259. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4260. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4261. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4262. local BODYGYRO = IT("BodyGyro", STATPART)
  4263. local BODYPOSITION = IT("BodyPosition", STATPART)
  4264. BODYPOSITION.P = 2000
  4265. BODYPOSITION.D = 100
  4266. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4267. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4268. game:GetService("Debris"):AddItem(STATPART ,5)
  4269. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4270. BILLBOARDGUI.Adornee = STATPART
  4271. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4272. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4273. BILLBOARDGUI.AlwaysOnTop = false
  4274. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4275. TEXTLABEL.BackgroundTransparency = 1
  4276. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4277. TEXTLABEL.Text = TEXT
  4278. TEXTLABEL.Font = "SciFi"
  4279. TEXTLABEL.FontSize="Size42"
  4280. TEXTLABEL.TextColor3 = COLOR
  4281. TEXTLABEL.TextStrokeTransparency = 1
  4282. TEXTLABEL.TextScaled = true
  4283. TEXTLABEL.TextWrapped = true
  4284. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4285. if LABELTYPE == "Normal" then
  4286. for i = 1, 20 do
  4287. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4288. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4289. end
  4290. elseif LABELTYPE == "Debuff" then
  4291. for i = 1, 20 do
  4292. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4293. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4294. end
  4295. elseif LABELTYPE == "Shock" then
  4296. local ORIGIN = STATPART.Position
  4297. for i = 1, 20 do
  4298. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4299. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4300. end
  4301. end
  4302. THEPART.Parent = nil
  4303. end),STATPART, BODYPOSITION, TEXTLABEL)
  4304. end
  4305.  
  4306.  
  4307. --//=================================\\
  4308. --|| ATTACK FUNCTIONS AND STUFF
  4309. --\\=================================//
  4310. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  4311.  
  4312. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4313. MakeForm(RightHole,"Cyl")
  4314.  
  4315. function getbloody(victim,amount)
  4316. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4317. PART.CFrame = victim.CFrame
  4318. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4319. Debris:AddItem(PART,5)
  4320. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4321. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4322. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4323. local prtcl = asd:Clone()
  4324. prtcl.Parent = PART
  4325. prtcl:Emit(amount*10)
  4326. end
  4327.  
  4328. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  4329.  
  4330. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  4331. if DoesCourontine == false then
  4332. local Direction = CF(Part.Position, ToLocation)
  4333. local Distance = (Part.Position - ToLocation).magnitude
  4334. for i = 1, AmountOfTime do
  4335. Swait()
  4336. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4337. Direction = Part.CFrame
  4338. end
  4339. Part:remove()
  4340. elseif DoesCourontine == true then
  4341. coroutine.resume(coroutine.create(function()
  4342. local Direction = CF(Part.Position, ToLocation)
  4343. local Distance = (Part.Position - ToLocation).magnitude
  4344. for i = 1, AmountOfTime do
  4345. Swait()
  4346. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4347. Direction = Part.CFrame
  4348. end
  4349. Part:remove()
  4350. end))
  4351. end
  4352. end
  4353.  
  4354. function Imperfect_Command()
  4355. ATTACK = true
  4356. Rooted = true
  4357. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4358. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4359. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4360. if TORSO then
  4361. local GYRO = IT("BodyGyro", RootPart)
  4362. GYRO.D = 750
  4363. GYRO.P = 2000
  4364. GYRO.MaxTorque = VT(0, 40000, 0)
  4365. CreateSound("907330103", Torso, 10, 1)
  4366. for i = 0, 1.6, 0.1 / Animation_Speed do
  4367. Swait()
  4368. WACKYEFFECT({
  4369. Time = 5,
  4370. EffectType = "Round Slash",
  4371. Size = VT(0, 0, 0),
  4372. Size2 = VT(0.01, 0, 0.01),
  4373. Transparency = 0.5,
  4374. Transparency2 = 1,
  4375. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4376. MoveToPos = nil,
  4377. RotationX = MRANDOM(-50, 50) / 10,
  4378. RotationY = MRANDOM(-50, 50) / 10,
  4379. RotationZ = MRANDOM(-50, 50) / 10,
  4380. Material = "Neon",
  4381. Color = C3(1, 0, 0),
  4382. SoundID = nil,
  4383. SoundPitch = nil,
  4384. SoundVolume = nil
  4385. })
  4386. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4387. 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)
  4388. 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)
  4389. 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)
  4390. 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)
  4391. if ANIM == "Idle" then
  4392. 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)
  4393. 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)
  4394. elseif ANIM == "Walk" then
  4395. 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)
  4396. 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)
  4397. elseif ANIM == "Jump" or ANIM == "Fall" then
  4398. 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)
  4399. 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)
  4400. end
  4401. end
  4402. GYRO:remove()
  4403. for i = 1, 15 do
  4404. WACKYEFFECT({
  4405. Time = MRANDOM(15, 85),
  4406. EffectType = "Round Slash",
  4407. Size = VT(0, 0, 0),
  4408. Size2 = VT(0.3, 0, 0.3),
  4409. Transparency = 0.5,
  4410. Transparency2 = 1,
  4411. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4412. MoveToPos = nil,
  4413. RotationX = MRANDOM(-50, 50) / 10,
  4414. RotationY = MRANDOM(-50, 50) / 10,
  4415. RotationZ = MRANDOM(-50, 50) / 10,
  4416. Material = "Neon",
  4417. Color = C3(1, 0, 0),
  4418. SoundID = nil,
  4419. SoundPitch = nil,
  4420. SoundVolume = nil
  4421. })
  4422. end
  4423. local bv = Instance.new("BodyVelocity")
  4424. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4425. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  4426. bv.Parent = TORSO
  4427. Debris:AddItem(bv, 0.05)
  4428. CreateSound("1222405264", TORSO, 10, 1)
  4429. Banish(HUM.Parent)
  4430. for i = 0, 0.5, 0.1 / Animation_Speed do
  4431. Swait()
  4432. WACKYEFFECT({
  4433. Time = 5,
  4434. EffectType = "Round Slash",
  4435. Size = VT(0, 0, 0),
  4436. Size2 = VT(0.01, 0, 0.01),
  4437. Transparency = 0.5,
  4438. Transparency2 = 1,
  4439. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4440. MoveToPos = nil,
  4441. RotationX = MRANDOM(-50, 50) / 10,
  4442. RotationY = MRANDOM(-50, 50) / 10,
  4443. RotationZ = MRANDOM(-50, 50) / 10,
  4444. Material = "Neon",
  4445. Color = C3(1, 0, 0),
  4446. SoundID = nil,
  4447. SoundPitch = nil,
  4448. SoundVolume = nil
  4449. })
  4450. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4451. 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)
  4452. 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)
  4453. 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)
  4454. 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)
  4455. if ANIM == "Idle" then
  4456. 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)
  4457. 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)
  4458. elseif ANIM == "Walk" then
  4459. 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)
  4460. 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)
  4461. elseif ANIM == "Jump" or ANIM == "Fall" then
  4462. 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)
  4463. 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)
  4464. end
  4465. end
  4466. end
  4467. end
  4468. ATTACK = false
  4469. Rooted = false
  4470. end
  4471.  
  4472.  
  4473. function Fire_At_Will()
  4474. ATTACK = true
  4475. Rooted = false
  4476. local GYRO = IT("BodyGyro", RootPart)
  4477. GYRO.D = 750
  4478. GYRO.P = 2000
  4479. GYRO.MaxTorque = VT(0, 40000, 0)
  4480. for i = 0, 0.2, 0.1 / Animation_Speed do
  4481. Swait()
  4482. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4483. 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)
  4484. 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)
  4485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4487. if ANIM == "Idle" then
  4488. 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)
  4489. 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)
  4490. elseif ANIM == "Walk" then
  4491. 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)
  4492. 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)
  4493. elseif ANIM == "Jump" or ANIM == "Fall" then
  4494. 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)
  4495. 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)
  4496. end
  4497. end
  4498. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Sphere", VT(1, 1, 1), false)
  4499. MakeForm(BOMB, "Ball")
  4500. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  4501. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  4502. for i = 0, 1.5, 0.1 / Animation_Speed do
  4503. Swait()
  4504. if MRANDOM(1, 2) == 1 then
  4505. for E = 1, #EYES do
  4506. if EYES[E] ~= nil then
  4507. local EY = EYES[E]
  4508. local LIGHTNING = Zap({
  4509. StartPosition = EY.Position,
  4510. TargetPosition = BOMB.Position,
  4511. Character = Character,
  4512. Color = "Really red",
  4513. Individual = false,
  4514. MaxRange = 7,
  4515. SegmentLength = 1,
  4516. Offset = 0.3,
  4517. SIZE = 0.05
  4518. })
  4519. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  4520. end
  4521. end
  4522. end
  4523. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  4524. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4525. 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)
  4526. 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)
  4527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4529. if ANIM == "Idle" then
  4530. 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)
  4531. 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)
  4532. elseif ANIM == "Walk" then
  4533. 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)
  4534. 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)
  4535. elseif ANIM == "Jump" or ANIM == "Fall" then
  4536. 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)
  4537. 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)
  4538. end
  4539. end
  4540. WACKYEFFECT({
  4541. Time = 25,
  4542. EffectType = "Ring",
  4543. Size = VT(0, 0, 0),
  4544. Size2 = VT(3.75, 3.75, 0),
  4545. Transparency = 0.7,
  4546. Transparency2 = 1,
  4547. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4548. MoveToPos = nil,
  4549. RotationX = 0,
  4550. RotationY = 0,
  4551. RotationZ = 0,
  4552. Material = "Neon",
  4553. Color = BOMB.Color,
  4554. SoundID = nil,
  4555. SoundPitch = nil,
  4556. SoundVolume = nil
  4557. })
  4558. WACKYEFFECT({
  4559. Time = 50,
  4560. EffectType = "Ring",
  4561. Size = VT(0, 0, 0),
  4562. Size2 = VT(15, 15, 0),
  4563. Transparency = 0.7,
  4564. Transparency2 = 1,
  4565. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4566. MoveToPos = nil,
  4567. RotationX = 0,
  4568. RotationY = 0,
  4569. RotationZ = 0,
  4570. Material = "Neon",
  4571. Color = BOMB.Color,
  4572. SoundID = nil,
  4573. SoundPitch = nil,
  4574. SoundVolume = nil
  4575. })
  4576. BOMB.Anchored = true
  4577. WELD:remove()
  4578. GYRO:remove()
  4579. coroutine.resume(coroutine.create(function()
  4580. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  4581. for i = 1, 500 do
  4582. Swait()
  4583. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  4584. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  4585. if HITFLOOR ~= nil then
  4586. break
  4587. end
  4588. end
  4589. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  4590. for i = 1, 3 do
  4591. WACKYEFFECT({
  4592. Time = 35,
  4593. EffectType = "Swirl",
  4594. Size = VT(0, 0, 0),
  4595. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  4596. Transparency = 0,
  4597. Transparency2 = 1,
  4598. CFrame = BOMB.CFrame,
  4599. MoveToPos = nil,
  4600. RotationX = 0,
  4601. RotationY = 5 * i,
  4602. RotationZ = 0,
  4603. Material = "Neon",
  4604. Color = BOMB.Color,
  4605. SoundID = nil,
  4606. SoundPitch = nil,
  4607. SoundVolume = nil
  4608. })
  4609. end
  4610. for i = 1, 5 do
  4611. WACKYEFFECT({
  4612. Time = 75,
  4613. EffectType = "Sphere",
  4614. Size = BOMB.Mesh.Scale,
  4615. Size2 = VT(25, 25, 25) * i,
  4616. Transparency = 0.5,
  4617. Transparency2 = 1,
  4618. CFrame = BOMB.CFrame,
  4619. MoveToPos = nil,
  4620. RotationX = 0,
  4621. RotationY = 0,
  4622. RotationZ = 0,
  4623. Material = "Neon",
  4624. Color = BOMB.Color,
  4625. SoundID = 1222405264,
  4626. SoundPitch = 1,
  4627. SoundVolume = 10
  4628. })
  4629. end
  4630. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  4631. if HITFLOOR then
  4632. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  4633. end
  4634. BOMB.Transparency = 1
  4635. for i = 1, 35 do
  4636. Swait()
  4637. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  4638. end
  4639. BOMB:remove()
  4640. end))
  4641. ATTACK = false
  4642. Rooted = false
  4643. end
  4644.  
  4645. function Burning_Hopes()
  4646. ATTACK = true
  4647. Rooted = true
  4648. local AIMPOS = Mouse.Hit.p
  4649. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  4650. coroutine.resume(coroutine.create(function()
  4651. local RAYS = {}
  4652. for i = 1, 4 do
  4653. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
  4654. MakeForm(RAY,"Cyl")
  4655. RAY.Mesh.Scale = VT(1,1.1,1)
  4656. table.insert(RAYS,RAY)
  4657. end
  4658. CreateSound(348663022, Effects, 2, 1.2, false)
  4659. for i = 1, 100 do
  4660. Swait()
  4661. for e = 1, #RAYS do
  4662. if RAYS[e] ~= nil then
  4663. local RAY = RAYS[e]
  4664. 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)
  4665. RAY.Transparency = RAY.Transparency - 0.01
  4666. end
  4667. end
  4668. end
  4669. for i = 1, 20 do
  4670. Swait()
  4671. for e = 1, #RAYS do
  4672. if RAYS[e] ~= nil then
  4673. local RAY = RAYS[e]
  4674. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  4675. end
  4676. end
  4677. end
  4678. wait(0.3)
  4679. for i = 1, 16 do
  4680. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  4681. SpawnTrail(POS+VT(0,200,0),POS)
  4682. end
  4683. for i = 1, 4 do
  4684. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  4685. end
  4686.  
  4687. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  4688. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  4689. CreateSound(130972023, Effects, 2, 1, false)
  4690. local POS = Mouse.Hit.p
  4691. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
  4692. MakeForm(RAY,"Cyl")
  4693. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
  4694. MakeForm(SPHERE,"Ball")
  4695. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  4696. MakeForm(SHIELD,"Ball")
  4697. SHIELD.CFrame = CF(AIMPOS)
  4698. RAY.CFrame = CF(AIMPOS)
  4699. SPHERE.CFrame = CF(AIMPOS)
  4700. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4701. CreateSound(415700134, SPHERE, 10, 0.8, false)
  4702. for i = 1, 200 do
  4703. Swait()
  4704. 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})
  4705. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  4706. RAY.Size = RAY.Size + VT(0,0,0)
  4707. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4708. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4709. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4710. end
  4711. for i = 1, 45 do
  4712. Swait()
  4713. RAY.Transparency = RAY.Transparency + 1/45
  4714. SPHERE.Transparency = RAY.Transparency
  4715. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4716. end
  4717. RAY:remove()
  4718. SHIELD:remove()
  4719. SPHERE:remove()
  4720. end))
  4721. ATTACK = false
  4722. Rooted = false
  4723. end
  4724.  
  4725. function OP()
  4726. ATTACK = true
  4727. Rooted = false
  4728. for i = 0, 1, 0.1 / Animation_Speed do
  4729. Swait()
  4730. 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)
  4731. 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)
  4732. 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)
  4733. 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)
  4734. 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)
  4735. 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)
  4736. end
  4737. Rooted = true
  4738. local GYRO = IT("BodyGyro", RootPart)
  4739. GYRO.D = 100
  4740. GYRO.P = 2000
  4741. GYRO.MaxTorque = VT(0, 4000000, 0)
  4742. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4743. for i = 1, 15 do
  4744. for i = 1, 15 do
  4745. Swait()
  4746. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4747. 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)
  4748. 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)
  4749. 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)
  4750. 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)
  4751. 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)
  4752. 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)
  4753. end
  4754. coroutine.resume(coroutine.create(function()
  4755. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  4756. CreateSound("814168787", EYE, 10, 1)
  4757. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  4758. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  4759. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4760. local ATTACKI = false
  4761. local TORS
  4762. for i = 1, 10 do
  4763. Swait()
  4764. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  4765. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4766. end
  4767. for i = 1, 100 do
  4768. Swait()
  4769. for _, c in pairs(workspace:GetChildren()) do
  4770. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  4771. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  4772. if 0 < HUMANOID.Health then
  4773. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  4774. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  4775. ATTACKI = true
  4776. TORS = TORSO
  4777. end
  4778. end
  4779. end
  4780. end
  4781. if ATTACKI == true then
  4782. break
  4783. end
  4784. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  4785. end
  4786. if ATTACKI == false then
  4787. for i = 1, 10 do
  4788. Swait()
  4789. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4790. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4791. end
  4792. else
  4793. if TORS ~= nil then
  4794. CreateSound("213603013", EYE, 10, 2)
  4795. local DIST = (TORS.Position - EYE.Position).Magnitude
  4796. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4797. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  4798. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4799. EYE.CFrame = CF(EYE.Position, TORS.Position)
  4800. TORS.Parent:BreakJoints()
  4801. Swait(35)
  4802. end
  4803. for i = 1, 10 do
  4804. Swait()
  4805. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4806. end
  4807. end
  4808. EYE:remove()
  4809. end))
  4810. end
  4811. GYRO:remove()
  4812. ATTACK = false
  4813. Rooted = false
  4814. end
  4815.  
  4816. function Absoluteum()
  4817. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  4818. if HITFLOOR ~= nil then
  4819. do
  4820. local HITBODIES = {}
  4821. ATTACK = true
  4822. Rooted = true
  4823. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  4824. MakeForm(ABSOLUTE, "Ball")
  4825. CreateSound("416200578", RootPart, 10, 1)
  4826. for i = 0, 8, 0.1 / Animation_Speed do
  4827. Swait()
  4828. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  4829. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  4830. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  4831. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  4832. MakeForm(CHARGE, "Ball")
  4833. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  4834. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  4835. 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)
  4836. 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)
  4837. 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)
  4838. 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)
  4839. 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)
  4840. 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)
  4841. end
  4842. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  4843. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  4844. for i = 1, 45 do
  4845. Swait()
  4846. 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)
  4847. 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)
  4848. 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)
  4849. 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)
  4850. 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)
  4851. 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)
  4852. end
  4853. coroutine.resume(coroutine.create(function()
  4854. local IMPACT = false
  4855. local BULLET = ABSOLUTE
  4856. MakeForm(BULLET, "Ball")
  4857. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  4858. for i = 1, 500 do
  4859. Swait()
  4860. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  4861. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  4862. 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)
  4863. if HIT ~= nil then
  4864. IMPACT = true
  4865. break
  4866. end
  4867. end
  4868. if IMPACT == false then
  4869. for i = 1, 40 do
  4870. Swait()
  4871. BULLET.Size = BULLET.Size * 0.9
  4872. end
  4873. BULLET:remove()
  4874. else
  4875. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  4876. for i = 1, 175 do
  4877. Swait()
  4878. BULLET.Size = BULLET.Size * 0.99
  4879. 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)
  4880. end
  4881. CreateSound("438666001", BULLET, 10, 3)
  4882. Swait(35)
  4883. BULLET.Transparency = 1
  4884. for i = 1, 20 do
  4885. for e = 1, 5 do
  4886. 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)
  4887. 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)
  4888. end
  4889. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  4890. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  4891. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  4892. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  4893. Swait(5)
  4894. for e = 1, #HITBODIES do
  4895. if HITBODIES[e] ~= nil then
  4896. local BOD = HITBODIES[e]
  4897. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4898. if TORS then
  4899. BOD:BreakJoints()
  4900. for _, c in pairs(BOD:GetChildren()) do
  4901. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  4902. local bv = Instance.new("BodyVelocity")
  4903. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4904. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  4905. bv.Parent = c
  4906. Debris:AddItem(bv, 0.2)
  4907. end
  4908. end
  4909. end
  4910. end
  4911. end
  4912. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
  4913. end
  4914. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  4915. Debris:AddItem(BULLET, 10)
  4916. end
  4917. end))
  4918. ATTACK = false
  4919. Rooted = false
  4920. end
  4921. end
  4922. end
  4923.  
  4924. function Nuke()
  4925. ATTACK = true
  4926. Rooted = true
  4927. local CHARGE = false
  4928. local BLASTS = {468991944, 468991990}
  4929. coroutine.resume(coroutine.create(function()
  4930. repeat
  4931. Swait()
  4932. 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)
  4933. 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)
  4934. 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)
  4935. 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)
  4936. 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)
  4937. 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)
  4938. until CHARGE == true
  4939. for i = 0, 0.4, 0.1 / Animation_Speed do
  4940. Swait()
  4941. WACKYEFFECT({
  4942. Time = 15,
  4943. EffectType = "Sphere",
  4944. Size = VT(60, 60, 60),
  4945. Size2 = VT(0, 0, 0),
  4946. Transparency = 1,
  4947. Transparency2 = 0.7,
  4948. CFrame = CF(RootPart.Position),
  4949. MoveToPos = nil,
  4950. RotationX = 0,
  4951. RotationY = 0,
  4952. RotationZ = 0,
  4953. Material = "Neon",
  4954. Color = C3(1, 1, 1),
  4955. SoundID = nil,
  4956. SoundPitch = nil,
  4957. SoundVolume = nil
  4958. })
  4959. 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)
  4960. 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)
  4961. 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)
  4962. 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)
  4963. 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)
  4964. 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)
  4965. end
  4966. coroutine.resume(coroutine.create(function()
  4967. local POS = RootPart.Position
  4968. wait(0.2)
  4969. for i = 1, 5 do
  4970. WACKYEFFECT({
  4971. Time = 65,
  4972. EffectType = "Sphere",
  4973. Size = VT(2, 2, 2),
  4974. Size2 = VT(0, 0, 500),
  4975. Transparency = 1,
  4976. Transparency2 = 0,
  4977. CFrame = CF(POS),
  4978. MoveToPos = nil,
  4979. RotationX = MRANDOM(-2, 2),
  4980. RotationY = MRANDOM(-12, 12),
  4981. RotationZ = MRANDOM(-2, 2),
  4982. Material = "Neon",
  4983. Color = C3(1, 1, 1),
  4984. SoundID = nil,
  4985. SoundPitch = nil,
  4986. SoundVolume = nil
  4987. })
  4988. end
  4989. wait(1)
  4990. SHAKECAM(POS, 9999999999, 25, 25)
  4991. ApplyAoE(POS, 450, true)
  4992. WACKYEFFECT({
  4993. Time = 85,
  4994. EffectType = "Sphere",
  4995. Size = VT(120, 120, 120),
  4996. Size2 = VT(350, 350, 350),
  4997. Transparency = 0,
  4998. Transparency2 = 1,
  4999. CFrame = CF(POS),
  5000. MoveToPos = nil,
  5001. RotationX = 0,
  5002. RotationY = 0,
  5003. RotationZ = 0,
  5004. Material = "Neon",
  5005. Color = C3(1, 1, 1),
  5006. SoundID = nil,
  5007. SoundPitch = 1,
  5008. SoundVolume = 10
  5009. })
  5010. for i = 1, 20 do
  5011. WACKYEFFECT({
  5012. Time = 85,
  5013. EffectType = "Sphere",
  5014. Size = VT(120, 120, 120),
  5015. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5016. Transparency = 0.8,
  5017. Transparency2 = 1,
  5018. CFrame = CF(POS),
  5019. MoveToPos = nil,
  5020. RotationX = 0,
  5021. RotationY = 0,
  5022. RotationZ = 0,
  5023. Material = "Neon",
  5024. Color = C3(1, 1, 1),
  5025. SoundID = nil,
  5026. SoundPitch = 1,
  5027. SoundVolume = 10
  5028. })
  5029. WACKYEFFECT({
  5030. Time = 100,
  5031. EffectType = "Wave",
  5032. Size = VT(25, 2, 25),
  5033. Size2 = VT(400, 0, 400) * 1.2,
  5034. Transparency = 0,
  5035. Transparency2 = 1,
  5036. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5037. MoveToPos = nil,
  5038. RotationX = 0,
  5039. RotationY = 0,
  5040. RotationZ = 0,
  5041. Material = "Neon",
  5042. Color = C3(1, 1, 1),
  5043. SoundID = nil,
  5044. SoundPitch = nil,
  5045. SoundVolume = nil
  5046. })
  5047. end
  5048. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5049. for i = 1, 5 do
  5050. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5051. WACKYEFFECT({
  5052. Time = 120,
  5053. EffectType = "Wave",
  5054. Size = VT(150, 2, 150),
  5055. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5056. Transparency = 0,
  5057. Transparency2 = 1,
  5058. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5059. MoveToPos = nil,
  5060. RotationX = 0,
  5061. RotationY = 0,
  5062. RotationZ = 0,
  5063. Material = "Neon",
  5064. Color = C3(1, 1, 1),
  5065. SoundID = nil,
  5066. SoundPitch = nil,
  5067. SoundVolume = nil
  5068. })
  5069. end
  5070. end))
  5071. for i = 0, 1, 0.1 / Animation_Speed do
  5072. Swait()
  5073. 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)
  5074. 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)
  5075. 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)
  5076. 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)
  5077. 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)
  5078. 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)
  5079. end
  5080. ATTACK = false
  5081. Rooted = false
  5082. end))
  5083. for i = 1, 30 do
  5084. wait(0.01)
  5085. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5086. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5087. if HITFLOOR then
  5088. ApplyAoE(HITPOS, 65, true)
  5089. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5090. WACKYEFFECT({
  5091. Time = 25,
  5092. EffectType = "Sphere",
  5093. Size = VT(22, 22, 22),
  5094. Size2 = VT(85, 85, 85),
  5095. Transparency = 0,
  5096. Transparency2 = 1,
  5097. CFrame = CF(HITPOS),
  5098. MoveToPos = nil,
  5099. RotationX = 0,
  5100. RotationY = 0,
  5101. RotationZ = 0,
  5102. Material = "Neon",
  5103. Color = C3(1, 1, 1),
  5104. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5105. SoundPitch = MRANDOM(9, 12) / 10,
  5106. SoundVolume = 10
  5107. })
  5108. for e = 1, 3 do
  5109. WACKYEFFECT({
  5110. EffectType = "Wave",
  5111. Size = VT(25, 0, 25),
  5112. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5113. Transparency = 0,
  5114. Transparency2 = 1,
  5115. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5116. MoveToPos = nil,
  5117. RotationX = 0,
  5118. RotationY = 3,
  5119. RotationZ = 0,
  5120. Material = "Neon",
  5121. Color = C3(1, 1, 1),
  5122. SoundID = nil,
  5123. SoundPitch = nil,
  5124. SoundVolume = nil
  5125. })
  5126. WACKYEFFECT({
  5127. Time = 35,
  5128. EffectType = "Sphere",
  5129. Size = VT(22, 45, 22),
  5130. Size2 = VT(25, 45 + e * 75, 25),
  5131. Transparency = 0,
  5132. Transparency2 = 1,
  5133. CFrame = CF(HITPOS) * TURN,
  5134. MoveToPos = nil,
  5135. RotationX = 0,
  5136. RotationY = 0,
  5137. RotationZ = 0,
  5138. Material = "Neon",
  5139. Color = C3(1, 1, 1),
  5140. SoundID = nil,
  5141. SoundPitch = MRANDOM(9, 12) / 10,
  5142. SoundVolume = 10
  5143. })
  5144. end
  5145. end
  5146. end
  5147. CHARGE = true
  5148. end
  5149.  
  5150. function SpectralBanishing()
  5151. ATTACK = true
  5152. Rooted = false
  5153. chatfunc("If you desire to be a ghost...", 20)
  5154. for i = 0, 5, 0.1 / Animation_Speed do
  5155. Swait()
  5156. 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)
  5157. 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)
  5158. 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)
  5159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5160. 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)
  5161. 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)
  5162. end
  5163. chatfunc("Then move on to the afterlife!", 6)
  5164. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  5165. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  5166. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  5167. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  5168. local distance = (GunPoint.Position - Way).magnitude
  5169. for i = 1, 5 do
  5170. local laser = Instance.new("Part", Effects)
  5171. laser.Transparency = 0
  5172. laser.CanCollide = false
  5173. laser.Anchored = true
  5174. laser.Color = C3(1, 0, 0)
  5175. laser.Material = "Neon"
  5176. laser.formFactor = Enum.FormFactor.Custom
  5177. laser.Size = Vector3.new(0.15, 0.15, distance)
  5178. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  5179. table.insert(Effects2, {
  5180. laser,
  5181. "Disappear",
  5182. 0.1,
  5183. 1,
  5184. 1,
  5185. 1,
  5186. 2
  5187. })
  5188. end
  5189. coroutine.resume(coroutine.create(function()
  5190. Swait(15)
  5191. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  5192. for i = 1, 25 do
  5193. Swait()
  5194. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  5195. end
  5196. local GAME = game.Players:GetChildren()
  5197. for PLAYER = 1, #GAME do
  5198. do
  5199. local PLAY = GAME[PLAYER]
  5200. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  5201. PLAY.Character.Parent = nil
  5202. coroutine.resume(coroutine.create(function()
  5203. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  5204. PLAY.Character.Parent = workspace
  5205. local Value = IT("BoolValue", Delete)
  5206. Value.Name = PLAY.Name
  5207. end
  5208. end))
  5209. end
  5210. end
  5211. end
  5212. for i = 1, 25 do
  5213. Swait()
  5214. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  5215. end
  5216. end))
  5217. for i = 0, 2, 0.1 / Animation_Speed do
  5218. Swait()
  5219. 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)
  5220. 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)
  5221. 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)
  5222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5223. 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)
  5224. 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)
  5225. end
  5226. ATTACK = false
  5227. Rooted = false
  5228. end
  5229.  
  5230. function Madness()
  5231. ATTACK = true
  5232. Rooted = false
  5233. local GYRO = IT("BodyGyro",RootPart)
  5234. GYRO.D = 750
  5235. GYRO.P = 20000
  5236. GYRO.MaxTorque = VT(0,40000000,0)
  5237. local LOCKED = true
  5238. local SHOT = false
  5239. coroutine.resume(coroutine.create(function()
  5240. for i=0, 1, 0.1 / Animation_Speed do
  5241. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5242. Swait()
  5243. 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)
  5244. 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)
  5245. 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)
  5246. 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)
  5247. end
  5248. LOCKED = false
  5249. SHOT = true
  5250. repeat
  5251. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5252. Swait()
  5253. 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)
  5254. 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)
  5255. 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)
  5256. 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)
  5257. until HOLD == false and SHOT == false
  5258. for i=0, 0.3, 0.1 / Animation_Speed do
  5259. Swait()
  5260. 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)
  5261. 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)
  5262. 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)
  5263. 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)
  5264. end
  5265. GYRO:remove()
  5266. ATTACK = false
  5267. Rooted = false
  5268. end))
  5269. repeat wait() until LOCKED == false
  5270. repeat
  5271. SHOT = true
  5272. wait(0.2)
  5273. SHOT = false
  5274. 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})
  5275. local HIT = BULLET.Hit
  5276. local HITPOS = BULLET.End
  5277. if HIT then
  5278. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  5279. Banish(HIT.Parent)
  5280. end
  5281. end
  5282. 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})
  5283. 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})
  5284. 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})
  5285. 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})
  5286. 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})
  5287. 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})
  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. until HOLD == false
  5292. end
  5293.  
  5294. function EMOTE()
  5295. ATTACK = true
  5296. Rooted = false
  5297. local LOOP = 0
  5298. for i=0, 0.1, 0.1 / Animation_Speed do
  5299. Swait()
  5300. 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)
  5301. 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)
  5302. 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)
  5303. 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)
  5304. end
  5305. for i=0, 3, 0.1 / Animation_Speed do
  5306. Swait()
  5307. LOOP = LOOP + 1
  5308. 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)
  5309. 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)
  5310. 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)
  5311. 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)
  5312. end
  5313. for i=0, 0.1, 0.1 / Animation_Speed do
  5314. Swait()
  5315. 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)
  5316. 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)
  5317. 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)
  5318. 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)
  5319. end
  5320. ATTACK = false
  5321. Rooted = false
  5322. end
  5323.  
  5324. function Kill(Char)
  5325. local NewCharacter = IT("Model",Effects)
  5326. NewCharacter.Name = "Ow im ded ;-;"
  5327. for _, c in pairs(Char:GetDescendants()) do
  5328. if c:IsA("BasePart") and c.Transparency == 0 then
  5329. if c.Parent == Char then
  5330. getbloody(c,5)
  5331. end
  5332. c:BreakJoints()
  5333. c.Material = "Glass"
  5334. c.Color = C3(0.5,0,0)
  5335. c.CanCollide = true
  5336. c.Transparency = 0.3
  5337. if c:FindFirstChildOfClass("SpecialMesh") then
  5338. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  5339. end
  5340. if c.Name == "Head" then
  5341. c:ClearAllChildren()
  5342. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  5343. end
  5344. if c.ClassName == "MeshPart" then
  5345. c.TextureID = ""
  5346. end
  5347. if c:FindFirstChildOfClass("BodyPosition") then
  5348. c:FindFirstChildOfClass("BodyPosition"):remove()
  5349. end
  5350. if c:FindFirstChildOfClass("ParticleEmitter") then
  5351. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  5352. end
  5353. c.Parent = NewCharacter
  5354. c.Name = "DeadPart"
  5355. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  5356. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  5357. end
  5358. end
  5359. Char:remove()
  5360. Debris:AddItem(NewCharacter,5)
  5361. end
  5362.  
  5363. function Taunt()
  5364. ATTACK = true
  5365. Rooted = true
  5366. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  5367. repeat
  5368. Swait()
  5369. TAUNT.Parent = Torso
  5370. TAUNT.Playing = true
  5371. 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)
  5372. 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)
  5373. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5374. 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)
  5375. 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)
  5376. 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)
  5377. until TAUNT.TimePosition >= 1.25
  5378. for i=0, 1.6, 0.1 / Animation_Speed do
  5379. Swait()
  5380. TAUNT.Parent = Torso
  5381. 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)
  5382. 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)
  5383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5384. 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)
  5385. 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)
  5386. 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)
  5387. end
  5388. ATTACK = false
  5389. Rooted = false
  5390. end
  5391.  
  5392. function oofBeam()
  5393. ATTACK = true
  5394. Rooted = false
  5395. VALUE2 = true
  5396. local GYRO = IT("BodyGyro", RootPart)
  5397. GYRO.D = 20
  5398. GYRO.P = 4000
  5399. GYRO.MaxTorque = VT(0, 40000, 0)
  5400. local POS = RootPart.Position + VT(0, 25, 0)
  5401. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  5402. 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)
  5403. 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)
  5404. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5405. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5406. 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)
  5407. 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)
  5408. coroutine.resume(coroutine.create(function()
  5409. local E = 0
  5410. repeat
  5411. E = E + 5
  5412. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  5413. Swait()
  5414. 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)
  5415. 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)
  5416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5417. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5418. 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)
  5419. 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)
  5420. until ATTACK == false
  5421. GYRO:remove()
  5422. end))
  5423. for i = 1, 50 do
  5424. Swait()
  5425. end
  5426. for i = 1, 25 do
  5427. Swait()
  5428. WACKYEFFECT({
  5429. Time = 15,
  5430. EffectType = "Skull",
  5431. Size = VT(4, 4, 4),
  5432. Size2 = VT(0, 0, 0),
  5433. Transparency = 1,
  5434. Transparency2 = 0,
  5435. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  5436. MoveToPos = Eon.Position,
  5437. RotationX = 0,
  5438. RotationY = 0,
  5439. RotationZ = 0,
  5440. Material = "Neon",
  5441. Color = C3(1, 0, 0),
  5442. SoundID = nil,
  5443. SoundPitch = nil,
  5444. SoundVolume = nil
  5445. })
  5446. end
  5447. local LOOP = 0
  5448. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  5449. MakeForm(BEAMO, "Ball")
  5450. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  5451. MakeForm(BEAM, "Cyl")
  5452. repeat
  5453. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  5454. if DISTANCE < 2000 then
  5455. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  5456. BEAMO.CFrame = CF(Eon.Position)
  5457. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  5458. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  5459. ApplyAoE(Mouse.Hit.p, 14,true,false)
  5460. WACKYEFFECT({
  5461. Time = 35,
  5462. EffectType = "Sphere",
  5463. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  5464. Size2 = VT(5, 75, 5),
  5465. Transparency = 0,
  5466. Transparency2 = 1,
  5467. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5468. MoveToPos = nil,
  5469. RotationX = 0,
  5470. RotationY = 0,
  5471. RotationZ = 0,
  5472. Material = "Neon",
  5473. Color = C3(1, 0, 0),
  5474. SoundID = nil,
  5475. SoundPitch = MRANDOM(9, 12) / 10,
  5476. SoundVolume = 10
  5477. })
  5478. 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})
  5479. Swait()
  5480. LOOP = LOOP + 1
  5481. end
  5482. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  5483. coroutine.resume(coroutine.create(function()
  5484. for i = 1, 15 do
  5485. Swait()
  5486. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  5487. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  5488. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  5489. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  5490. end
  5491. BEAM:remove()
  5492. BEAMO:remove()
  5493. end))
  5494. ATTACK = false
  5495. Rooted = false
  5496. VALUE2 = false
  5497. end
  5498.  
  5499. function TakeOnMe()
  5500. Speed = 5
  5501. local MEME = CreateSound(0, Effects, 2, 1, false)
  5502. ATTACK = true
  5503. Rooted = false
  5504. local DANCE = true
  5505. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  5506. if NEWKEY == "p" then
  5507. DANCE = false
  5508. end
  5509. end)
  5510. PLAYSONG = false
  5511. while true do
  5512. for i = 1, 15 do
  5513. Swait()
  5514. MEME.Parent = Effects
  5515. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5519. 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)
  5520. 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)
  5521. end
  5522. if DANCE == false then
  5523. break
  5524. end
  5525. for i = 1, 15 do
  5526. Swait()
  5527. MEME.Parent = Effects
  5528. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5532. 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)
  5533. 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)
  5534. end
  5535. end
  5536. PLAYSONG = true
  5537. KEY:Disconnect()
  5538. MEME:remove()
  5539. Speed = 25
  5540. ATTACK = false
  5541. Rooted = false
  5542. end
  5543.  
  5544.  
  5545. function Execute()
  5546. ATTACK = true
  5547. Rooted = false
  5548. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  5549. Part.Color = C3(0,0,0)
  5550. MakeForm(Part,"Wedge")
  5551. Part.CanCollide = true
  5552. 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))
  5553. for i=0, 1, 0.1 / Animation_Speed do
  5554. Swait()
  5555. 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)
  5556. 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)
  5557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5558. 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)
  5559. 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)
  5560. 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)
  5561. end
  5562. CreateSound(541909867, RightBarrel, 7, 1, false)
  5563. local TOCH = Part.Touched:Connect(function(hit)
  5564. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5565. Banish(hit.Parent)
  5566. end
  5567. end)
  5568. for i=0, 0.35, 0.1 / Animation_Speed do
  5569. Swait()
  5570. 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)
  5571. 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)
  5572. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5573. 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)
  5574. 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)
  5575. 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)
  5576. end
  5577. TOCH:disconnect()
  5578. for i=0, 0.35, 0.1 / Animation_Speed do
  5579. Swait()
  5580. 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)
  5581. 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)
  5582. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5583. 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)
  5584. 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)
  5585. 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)
  5586. end
  5587. Part:remove()
  5588. ATTACK = false
  5589. Rooted = false
  5590. end
  5591. function Banisher_Burn()
  5592. ATTACK = true
  5593. Rooted = true
  5594. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  5595. for i=0, 1, 0.1 / Animation_Speed do
  5596. Swait()
  5597. 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)
  5598. 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)
  5599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5601. 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)
  5602. 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)
  5603. end
  5604. coroutine.resume(coroutine.create(function()
  5605. local POS = Mouse.Hit.p
  5606. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  5607. MakeForm(RAY,"Cyl")
  5608. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  5609. MakeForm(SPHERE,"Ball")
  5610. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  5611. MakeForm(SHIELD,"Ball")
  5612. SHIELD.CFrame = CF(POS)
  5613. RAY.CFrame = CF(POS)
  5614. SPHERE.CFrame = CF(POS)
  5615. CreateSound(440145570, SPHERE, 10, 0.8, false)
  5616. CreateSound(415700134, SPHERE, 10, 0.8, false)
  5617. for i = 1, 200 do
  5618. Swait()
  5619. 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})
  5620. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  5621. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  5622. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  5623. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  5624. end
  5625. for i = 1, 45 do
  5626. Swait()
  5627. RAY.Transparency = RAY.Transparency + 1/45
  5628. SPHERE.Transparency = RAY.Transparency
  5629. SHIELD.Transparency = SPHERE.Transparency + 1/45
  5630. end
  5631. RAY:remove()
  5632. SHIELD:remove()
  5633. SPHERE:remove()
  5634. end))
  5635. for i=0, 1, 0.1 / Animation_Speed do
  5636. Swait()
  5637. 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)
  5638. 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)
  5639. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5640. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5641. 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)
  5642. 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)
  5643. end
  5644. ATTACK = false
  5645. Rooted = false
  5646. end
  5647. function Teleport()
  5648. ATTACK = true
  5649. Rooted = false
  5650. for i=0, 0.5, 0.1 / Animation_Speed do
  5651. Swait()
  5652. 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)
  5653. 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)
  5654. end
  5655. for e = 1, #BODY do
  5656. if BODY[e] ~= nil then
  5657. local STUFF = BODY[e]
  5658. local PART = STUFF[1]
  5659. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  5660. local PRT = PART:Clone()
  5661. PRT.Anchored = true
  5662. PRT.CanCollide = false
  5663. PRT.Material = "Neon"
  5664. PRT.Color = C3(255,100,255)
  5665. PRT.Name = "WarpEffect"
  5666. PRT.Parent = Effects
  5667. PRT.CFrame = PART.CFrame
  5668. PRT:BreakJoints()
  5669. if PRT:FindFirstChildOfClass("Sound") then
  5670. PRT:FindFirstChildOfClass("Sound"):remove()
  5671. end
  5672. if PRT:FindFirstChildOfClass("Decal") then
  5673. PRT:FindFirstChildOfClass("Decal"):remove()
  5674. end
  5675. coroutine.resume(coroutine.create(function()
  5676. for i = 1, 100 do
  5677. Swait()
  5678. PRT.Transparency = PRT.Transparency + 1/100
  5679. end
  5680. PRT:remove()
  5681. end))
  5682. end
  5683. end
  5684. end
  5685. CreateSound(217767125, Torso, 10, 1)
  5686. local POS = RootPart.Orientation
  5687. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  5688. RootPart.Orientation = POS
  5689. RootJoint.Parent = RootPart
  5690. for i=0, 0.5, 0.1 / Animation_Speed do
  5691. Swait()
  5692. 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)
  5693. 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)
  5694. end
  5695. for i=0, 0.1, 0.1 / Animation_Speed do
  5696. Swait()
  5697. 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)
  5698. end
  5699. ATTACK = false
  5700. Rooted = false
  5701. end
  5702. function BanishmentBeam()
  5703. ATTACK = true
  5704. Rooted = false
  5705. local GYRO = IT("BodyGyro",RootPart)
  5706. GYRO.D = 100
  5707. GYRO.P = 2000
  5708. GYRO.MaxTorque = VT(0,4000000,0)
  5709. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5710. CreateSound("93724183", RightArm, 5, 1, false)
  5711. for i=1, 35 do
  5712. Swait()
  5713. 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})
  5714. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5715. 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)
  5716. 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)
  5717. 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)
  5718. 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)
  5719. 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)
  5720. 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)
  5721. end
  5722. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  5723. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  5724. local TOCH = BEAM.Touched:Connect(function(hit)
  5725. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  5726. Kill(hit)
  5727. end
  5728. end)
  5729. local I = 0
  5730. repeat
  5731. Swait()
  5732. I = I + 1
  5733. if I <= 10 then
  5734. BEAM.Transparency = BEAM.Transparency - 0.1
  5735. end
  5736. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  5737. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  5738. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  5739. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  5740. BEAM.Size = VT(2,2,DISTANCE)
  5741. 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})
  5742. 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})
  5743. 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})
  5744. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5745. 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)
  5746. 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)
  5747. 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)
  5748. 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)
  5749. 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)
  5750. 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)
  5751. if ENDHIT ~= nil then
  5752. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  5753. Banish(ENDHIT)
  5754. end
  5755. end
  5756. until LOOP.Playing == false
  5757. GYRO:remove()
  5758. BEAM:remove()
  5759. ATTACK = false
  5760. Rooted = false
  5761. end
  5762. function Bat_Wave()
  5763. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  5764. if HITFLOOR ~= nil then
  5765. ATTACK = true
  5766. Rooted = true
  5767. do
  5768. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  5769. BAT.Color = C3(0, 0, 0)
  5770. MakeForm(BAT, "Ball")
  5771. CreateSound("1177785010", BAT, 10, 1)
  5772. for i = 1, 25 do
  5773. Swait()
  5774. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5775. BAT.Transparency = BAT.Transparency - 0.04
  5776. 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)
  5777. 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)
  5778. 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)
  5779. 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)
  5780. 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)
  5781. 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)
  5782. end
  5783. local GYRO = IT("BodyGyro", RootPart)
  5784. GYRO.D = 100
  5785. GYRO.P = 2000
  5786. GYRO.MaxTorque = VT(0, 4000000, 0)
  5787. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5788. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  5789. WING.Color = C3(1, 0, 0)
  5790. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5791. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  5792. for i = 1, 15 do
  5793. Swait()
  5794. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5795. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5796. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5797. WING.Transparency = WING.Transparency - 0.06666666666666667
  5798. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  5799. 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)
  5800. 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)
  5801. 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)
  5802. 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)
  5803. 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)
  5804. 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)
  5805. end
  5806. coroutine.resume(coroutine.create(function()
  5807. local LOOP = 0
  5808. for i = 1, 70 do
  5809. LOOP = LOOP + 1
  5810. Swait()
  5811. if i < 18 then
  5812. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  5813. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  5814. end
  5815. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  5816. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5817. if LOOP == 15 then
  5818. LOOP = 0
  5819. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  5820. CreateSound("201858087", BAT, 10, 1)
  5821. 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))
  5822. end
  5823. end
  5824. killnearest(BAT.Position, 35, 250)
  5825. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  5826. 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))
  5827. CreateSound("178452217", BAT, 10, 1)
  5828. WING:remove()
  5829. BAT.Transparency = 1
  5830. Debris:AddItem(BAT, 5)
  5831. end))
  5832. GYRO:remove()
  5833. ATTACK = false
  5834. Rooted = false
  5835. end
  5836. end
  5837. end
  5838. function Deathzone()
  5839. ATTACK = true
  5840. Rooted = true
  5841. for i=0, 1, 0.1 / Animation_Speed do
  5842. Swait()
  5843. 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)
  5844. 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)
  5845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5847. 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)
  5848. 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)
  5849. end
  5850. local DONE = false
  5851. local GATE = nil
  5852. local GATESPIN = true
  5853. coroutine.resume(coroutine.create(function()
  5854. repeat
  5855. Swait()
  5856. if GATE ~= nil then
  5857. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  5858. end
  5859. until GATESPIN == false
  5860. end))
  5861. coroutine.resume(coroutine.create(function()
  5862. repeat
  5863. Swait()
  5864. 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)
  5865. 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)
  5866. 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)
  5867. 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)
  5868. 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)
  5869. 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)
  5870. until DONE == true
  5871. Swait(50)
  5872. for i = 1, 35 do
  5873. Swait(4)
  5874. local FIRED = false
  5875. local CHILDREN = workspace:GetDescendants()
  5876. for index, CHILD in pairs(CHILDREN) do
  5877. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5878. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5879. if HUM then
  5880. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5881. if TORSO then
  5882. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5883. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5884. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5885. 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})
  5886. 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})
  5887. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5888. Banish(CHILD)
  5889. FIRED = true
  5890. break
  5891. end
  5892. end
  5893. end
  5894. end
  5895. end
  5896. if FIRED == false then
  5897. 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)))
  5898. 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})
  5899. 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})
  5900. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5901. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5902. if HITBOD ~= nil then
  5903. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5904. Kill(HITBOD.Parent)
  5905. end
  5906. end
  5907. end
  5908. end
  5909. for i = 1, 45 do
  5910. Swait()
  5911. GATE.Size = GATE.Size - VT(3,0,3)
  5912. end
  5913. GATESPIN = false
  5914. GATE:remove()
  5915. end))
  5916. Swait(15)
  5917. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5918. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  5919. local DECAL = IT("Decal",GATE)
  5920. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  5921. DECAL.Face = "Top"
  5922. GATE.CFrame = CF(HITPOS)
  5923. CreateSound(160772554, GATE, 7, 1.3, false)
  5924. for i = 1, 45 do
  5925. Swait()
  5926. GATE.Size = GATE.Size + VT(18,0,18)
  5927. end
  5928. CreateSound(213603013, RightHole, 7, 1, false)
  5929. 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})
  5930. ATTACK = false
  5931. Rooted = false
  5932. DONE = true
  5933. end
  5934.  
  5935. function Banisher_Bullet()
  5936. ATTACK = true
  5937. Rooted = false
  5938. for i=0, 0.05, 0.1 / Animation_Speed do
  5939. Swait()
  5940. turnto(Mouse.Hit.p)
  5941. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5945. 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)
  5946. 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)
  5947. chatfunc("BE GONE FROM HERE")
  5948. end
  5949. repeat
  5950. for i=0, 0.05, 0.1 / Animation_Speed do
  5951. Swait()
  5952. turnto(Mouse.Hit.p)
  5953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5957. 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)
  5958. 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)
  5959. end
  5960. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  5961. SpawnTrail(Hole.Position,POS)
  5962. if HIT ~= nil then
  5963. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  5964. Banish(HIT.Parent)
  5965. end
  5966. end
  5967. 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})
  5968. 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})
  5969. 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})
  5970. 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})
  5971. for i=0, 0.05, 0.1 / Animation_Speed do
  5972. Swait()
  5973. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5974. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  5975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5977. 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)
  5978. 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)
  5979. end
  5980. until KEYHOLD == false
  5981. ATTACK = false
  5982. Rooted = false
  5983. end
  5984.  
  5985.  
  5986. function Perfect_Command()
  5987. ATTACK = true
  5988. Rooted = true
  5989. chatfunc("Weaklings...")
  5990. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5991. CreateSound("1368605755", Effects, 10, 1)
  5992. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5993. killnearest2(Torso.Position, 9999, 0, 0, 0, true)
  5994. ATTACK = false
  5995. Rooted = false
  5996. end
  5997.  
  5998. function killnearest2(position,range,maxstrength)
  5999. for i,v in ipairs(workspace:GetChildren()) do
  6000. if v.ClassName == "Model" then
  6001. local body = v:GetChildren()
  6002. for part = 1, #body do
  6003. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6004. if(body[part].Position - position).Magnitude < range then
  6005. if v.ClassName == "Model" then
  6006. v:BreakJoints()
  6007. end
  6008. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  6009. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  6010. end
  6011. end
  6012. end
  6013. end
  6014. end
  6015. end
  6016.  
  6017. function killnearest(position,range,maxstrength,direction)
  6018. for i,v in ipairs(workspace:GetChildren()) do
  6019. local body = v:GetChildren()
  6020. for part = 1, #body do
  6021. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6022. if(body[part].Position - position).Magnitude < range then
  6023. if v.ClassName == "Model" then
  6024. --v:BreakJoints()
  6025. end
  6026. local POS = position
  6027. coroutine.resume(coroutine.create(function()
  6028. body[part].Anchored = true
  6029. body[part].Parent = Effects
  6030. body[part].CanCollide = true
  6031. local SIZE = body[part].Size
  6032. body[part].Material = "Neon"
  6033. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  6034. for i = 1, 75 do
  6035. Swait()
  6036. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6037. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6038. end
  6039. coroutine.resume(coroutine.create(function()
  6040. while true do
  6041. Swait()
  6042. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6043. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6044. end
  6045. end))
  6046. body[part].Anchored = false
  6047. body[part].Velocity = direction.lookVector*maxstrength
  6048. end))
  6049. end
  6050. end
  6051. end
  6052. if v.ClassName == "Part" then
  6053. if v.Anchored == false and (v.Position - position).Magnitude < range then
  6054. local POS = position
  6055. coroutine.resume(coroutine.create(function()
  6056. v.Anchored = true
  6057. v.Parent = Effects
  6058. local SIZE = v.Size
  6059. v.Material = "Neon"
  6060. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  6061. for i = 1, 75 do
  6062. Swait()
  6063. v.Color = Color3.fromRGB(cR,cG,cB)
  6064. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6065. end
  6066. coroutine.resume(coroutine.create(function()
  6067. while true do
  6068. Swait()
  6069. v.Color = Color3.fromRGB(cR,cG,cB)
  6070. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6071. end
  6072. end))
  6073. v.Anchored = false
  6074. v.Velocity = direction.lookVector*maxstrength
  6075. end))
  6076. end
  6077. end
  6078. end
  6079. end
  6080. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  6081. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6082. local mesh = IT("SpecialMesh",wave)
  6083. mesh.MeshType = "FileMesh"
  6084. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  6085. mesh.Scale = SIZE
  6086. mesh.Offset = VT(0,0,0)
  6087. wave.CFrame = CFRAME
  6088. coroutine.resume(coroutine.create(function(PART)
  6089. for i = 1, WAIT do
  6090. Swait()
  6091. mesh.Scale = mesh.Scale + GROW
  6092. if DOESROT == true then
  6093. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6094. end
  6095. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6096. if wave.Transparency > 0.99 then
  6097. wave:remove()
  6098. end
  6099. end
  6100. end))
  6101. end
  6102.  
  6103. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  6104. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6105. local mesh = IT("SpecialMesh",wave)
  6106. mesh.MeshType = "Sphere"
  6107. mesh.Scale = SIZE
  6108. mesh.Offset = VT(0,0,0)
  6109. wave.CFrame = CFRAME
  6110. coroutine.resume(coroutine.create(function(PART)
  6111. for i = 1, WAIT do
  6112. Swait()
  6113. mesh.Scale = mesh.Scale + GROW
  6114. wave.Transparency = wave.Transparency + (1/WAIT)
  6115. if wave.Transparency > 0.99 then
  6116. wave:remove()
  6117. end
  6118. end
  6119. end))
  6120. end
  6121. function Eliminate()
  6122. chatfunc("Come here!")
  6123. ATTACK = true
  6124. Rooted = false
  6125. local HASGRABBED = false
  6126. local WELD = nil
  6127. local TORS = nil
  6128. local hitting = RightArm.Touched:Connect(function(hit)
  6129. if hit.Parent:FindFirstChild("Humanoid") then
  6130. if hit.Parent.Humanoid.Health ~= 0 then
  6131. UNANCHOR = false
  6132. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6133. TORS.Anchored = true
  6134. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  6135. WELD = weldBetween(RightArm,TORS)
  6136. HASGRABBED = true
  6137. chatfunc("Time to die.")
  6138. Rooted = true
  6139. end
  6140. end
  6141. end)
  6142. for i=0, 1, 0.1 / Animation_Speed do
  6143. Swait()
  6144. if HASGRABBED == true then
  6145. break
  6146. end
  6147. 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)
  6148. 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)
  6149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6151. 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)
  6152. 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)
  6153. end
  6154. hitting:disconnect()
  6155. if HASGRABBED == true then
  6156. TORS.Anchored = false
  6157. RootPart.Anchored = true
  6158. for i=0, 2, 0.1 / Animation_Speed do
  6159. Swait()
  6160. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6161. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6162. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6163. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6164. 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)
  6165. 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)
  6166. end
  6167. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
  6168. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
  6169. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  6170. SOUNDPART.CFrame = RootPart.CFrame
  6171. Debris:AddItem(SOUNDPART,5)
  6172. CreateSound("260411131", SOUNDPART, 2, 1)
  6173. for i = 1, 15 do
  6174. Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  6175. end
  6176. for i=0, 2, 0.1 / Animation_Speed do
  6177. Swait()
  6178. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6182. 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)
  6183. 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)
  6184. end
  6185. for i=0, 0.25, 0.1 / Animation_Speed do
  6186. Swait()
  6187. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  6188. 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)
  6189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  6190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  6191. 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)
  6192. 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)
  6193. end
  6194. if HITFLOOR ~= nil then
  6195. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
  6196. end
  6197. CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
  6198. WELD:remove()
  6199. for i = 1, 25 do
  6200. Swait()
  6201. killnearest(RootPart.Position,45,100,Torso.CFrame)
  6202. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
  6203. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
  6204. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
  6205. 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)
  6206. 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)
  6207. end
  6208. end
  6209. UNANCHOR = true
  6210. ATTACK = false
  6211. Rooted = false
  6212. end
  6213. function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
  6214. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  6215. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  6216. wave.CFrame = CFRAME
  6217. coroutine.resume(coroutine.create(function(PART)
  6218. for i = 1, WAIT do
  6219. Swait()
  6220. mesh.Scale = mesh.Scale * GROW
  6221. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6222. if wave.Transparency > 0.99 then
  6223. wave:remove()
  6224. end
  6225. end
  6226. end))
  6227. end
  6228.  
  6229. function BlackBlast()
  6230. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6231. ATTACK = true
  6232. Rooted = true
  6233. local GYRO = IT("BodyGyro",RootPart)
  6234. GYRO.D = 25
  6235. GYRO.P = 20000
  6236. GYRO.MaxTorque = VT(0,4000000,0)
  6237. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6238. CreateSound(429459101,Torso,5,1.5,false)
  6239. local GYROING = true
  6240. coroutine.resume(coroutine.create(function()
  6241. repeat
  6242. Swait()
  6243. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6244. until GYROING == false
  6245. GYRO:Remove()
  6246. end))
  6247. for i=0, 1, 0.1 / Animation_Speed do
  6248. Swait()
  6249. 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)
  6250. 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)
  6251. 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)
  6252. 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)
  6253. 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)
  6254. 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)
  6255. end
  6256. for i = 1, 13 do
  6257. 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})
  6258. end
  6259. CreateSound(1368637781,Torso,5,1.5,false)
  6260. 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})
  6261. for index, CHILD in pairs(Character:GetChildren()) do
  6262. if CHILD:IsA("BasePart") then
  6263. CHILD.Transparency = CHILD.Transparency + 1
  6264. elseif CHILD:IsA("Accessory") then
  6265. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6266. end
  6267. end
  6268. GYROING = false
  6269. coroutine.resume(coroutine.create(function()
  6270. coroutine.resume(coroutine.create(function()
  6271. for i=1, 25 do
  6272. Swait()
  6273. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  6274. end
  6275. end))
  6276. repeat
  6277. Swait()
  6278. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  6279. 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)
  6280. 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)
  6281. 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)
  6282. 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)
  6283. 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)
  6284. 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)
  6285. until ATTACK == false
  6286. end))
  6287. coroutine.resume(coroutine.create(function()
  6288. local BULLETCFRAME = RootPart.CFrame
  6289. local EXPLODED = false
  6290. coroutine.resume(coroutine.create(function()
  6291. repeat
  6292. Swait()
  6293. 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})
  6294. 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})
  6295. until EXPLODED == true
  6296. end))
  6297. for i=1, 50 do
  6298. Swait()
  6299. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  6300. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  6301. if RAY then
  6302. ApplyAoEl(BULLETCFRAME.p,25,12,54,350,false)
  6303. 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})
  6304. break
  6305. end
  6306. end
  6307. wait(0.5)
  6308. 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})
  6309. 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})
  6310. for E = 1, 3 do
  6311. for i = 1, 5 do
  6312. 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})
  6313. end
  6314. end
  6315. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  6316. EXPLODED = true
  6317. for i = 1, 15 do
  6318. Swait()
  6319. 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})
  6320. end
  6321. end))
  6322. wait(0.5)
  6323. for index, CHILD in pairs(Character:GetChildren()) do
  6324. if CHILD:IsA("BasePart") then
  6325. CHILD.Transparency = CHILD.Transparency - 1
  6326. elseif CHILD:IsA("Accessory") then
  6327. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6328. end
  6329. end
  6330. ATTACK = false
  6331. Rooted = false
  6332. end
  6333. end
  6334. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  6335. coroutine.resume(coroutine.create(function()
  6336. local FADE = IT("Model",Effects)
  6337. if PARENT ~= nil then
  6338. FADE.Parent = PARENT
  6339. end
  6340. FADE.Name = "FadingEffect"
  6341. for _, c in pairs(Character:GetChildren()) do
  6342. if c.ClassName == "Part" then
  6343. c.CanCollide = false
  6344. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  6345. FADER.CFrame = c.CFrame
  6346. FADER.Color = COLOR
  6347. if FADER.Name == "Head" then
  6348. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  6349. elseif FADER.Name == "HumanoidRootPart" then
  6350. FADE.PrimaryPart = FADER
  6351. FADER.Transparency = 1
  6352. end
  6353. end
  6354. end
  6355. local TRANS = 0.25/TIMER
  6356. local DIST = nil
  6357. if MOVEDIRECTION ~= nil then
  6358. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  6359. end
  6360. for i = 1, TIMER do
  6361. Swait()
  6362. for _, c in pairs(FADE:GetChildren()) do
  6363. if c.ClassName == "Part" then
  6364. c.Transparency = c.Transparency + TRANS
  6365. end
  6366. end
  6367. if MOVEDIRECTION ~= nil then
  6368. local ORI = FADE.PrimaryPart.Orientation
  6369. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  6370. end
  6371. end
  6372. FADE:remove()
  6373. end))
  6374. end
  6375. function R_RANDOM(CFRAME,DIST)
  6376. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  6377. end
  6378.  
  6379. function ApplyAoEl(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6380. for index, CHILD in pairs(workspace:GetDescendants()) do
  6381. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6382. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6383. if HUM then
  6384. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6385. if TORSO then
  6386. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6387. if INSTAKILL == true then
  6388. CHILD:BreakJoints()
  6389. else
  6390. local DMG = MRANDOM(MINDMG,MAXDMG)
  6391. ApplyDamagel(HUM,DMG)
  6392. end
  6393. if FLING > 0 then
  6394. for _, c in pairs(CHILD:GetChildren()) do
  6395. if c:IsA("BasePart") then
  6396. local bv = Instance.new("BodyVelocity")
  6397. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6398. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6399. bv.Parent = c
  6400. Debris:AddItem(bv,0.05)
  6401. end
  6402. end
  6403. end
  6404. end
  6405. end
  6406. end
  6407. end
  6408. end
  6409. end
  6410. function ApplyDamagel(Humanoid,Damage)
  6411. Damage = Damage * DAMAGEMULTIPLIER
  6412. if Humanoid.Health < 0 then
  6413. if Humanoid.Health - Damage > 0 then
  6414. Humanoid.Health = Humanoid.Health - Damage
  6415. else
  6416. Humanoid.Parent:BreakJoints()
  6417. end
  6418. else
  6419. Humanoid.Parent:BreakJoints()
  6420. end
  6421. end
  6422. function NightmareFall()
  6423. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  6424. ATTACK = true
  6425. Rooted = true
  6426. EQUIPPED = true
  6427. CreateSound(1466932232,Head,10,1,false)
  6428. for i=0, 2, 0.1 / Animation_Speed do
  6429. Swait()
  6430. 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)
  6431. 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)
  6432. 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)
  6433. 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)
  6434. 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)
  6435. 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)
  6436.  
  6437. end
  6438. for i=0, 2, 0.1 / Animation_Speed do
  6439. Swait()
  6440. 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)
  6441. 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)
  6442. 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)
  6443. 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)
  6444. 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)
  6445. 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)
  6446.  
  6447. end
  6448. local SIZE = 0
  6449. local POS = RootPart.Position+VT(0,150,0)
  6450. local BLOWN = false
  6451. coroutine.resume(coroutine.create(function()
  6452. coroutine.resume(coroutine.create(function()
  6453. repeat
  6454. Swait()
  6455. if SIZE > 0 then
  6456. 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})
  6457. 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})
  6458. end
  6459. until BLOWN == true
  6460. end))
  6461. repeat
  6462. Swait()
  6463. 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)
  6464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6466. 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)
  6467. 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)
  6468. 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)
  6469.  
  6470. until ATTACK == false
  6471. end))
  6472. wait(0.2)
  6473. for i = 1, 15 do
  6474. wait(MRANDOM(2,6)/45)
  6475. coroutine.resume(coroutine.create(function()
  6476. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  6477. local HEIGHT = 45/5
  6478. local DISTANCE = (BLADE.Position - POS).Magnitude
  6479. for i = 1, 45 do
  6480. Swait()
  6481. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  6482. 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})
  6483. end
  6484. SIZE = SIZE + 1
  6485. end))
  6486. end
  6487. wait(2.5)
  6488. BLOWN = true
  6489. 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})
  6490. for E = 1, 5 do
  6491. for i = 1, 5 do
  6492. 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})
  6493. end
  6494. end
  6495. CreateSound(288641686,Effects,5,1,false)
  6496. CreateSound(592877506,Effects,5,1,false)
  6497. local HITS = {}
  6498. for index, CHILD in pairs(workspace:GetDescendants()) do
  6499. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6500. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6501. if HUM then
  6502. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6503. if TORSO then
  6504. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  6505. local PASS = true
  6506. for E = 1, #HITS do
  6507. if HITS[E] == CHILD then
  6508. PASS = false
  6509. end
  6510. end
  6511. if PASS == true then
  6512. table.insert(HITS,CHILD)
  6513. end
  6514. end
  6515. end
  6516. end
  6517. end
  6518. end
  6519. if #HITS > 0 then
  6520. local DONE = false
  6521. local HUMS = {}
  6522. coroutine.resume(coroutine.create(function()
  6523. for E = 1, #HITS do
  6524. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  6525. table.insert(HUMS,HUM)
  6526. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  6527. local grav = Instance.new("BodyPosition",TORSO)
  6528. grav.D = 850
  6529. grav.P = 4000
  6530. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6531. grav.Position = TORSO.Position+VT(0,35,0)
  6532. CreateSound(592877506,TORSO,5,0.5,false)
  6533. if TORSO then
  6534. coroutine.resume(coroutine.create(function()
  6535. local B = IT("Attachment",TORSO)
  6536. local ChainLink = IT("Beam",Torso)
  6537. ChainLink.Texture = "rbxassetid://73042633"
  6538. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  6539. ChainLink.TextureSpeed = -1
  6540. ChainLink.FaceCamera = true
  6541. ChainLink.Width0 = 3
  6542. ChainLink.Width1 = 3
  6543. ChainLink.TextureLength = 3
  6544. ChainLink.Attachment0 = A
  6545. ChainLink.Attachment1 = B
  6546. ChainLink.CurveSize0 = 0
  6547. ChainLink.CurveSize1 = 0
  6548. ChainLink.FaceCamera = true
  6549. ChainLink.TextureMode = "Static"
  6550. ChainLink.Transparency = NumberSequence.new(0)
  6551. repeat
  6552. Swait()
  6553. 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})
  6554. until DONE == true or HUM.Health < 1
  6555. B:Remove()
  6556. ChainLink:Remove()
  6557. grav:Remove()
  6558. if HUM.Health < 1 then
  6559. for E = 1, 2 do
  6560. for i = 1, 3 do
  6561. 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})
  6562. end
  6563. end
  6564. 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})
  6565. for _, c in pairs(HITS[E]:GetChildren()) do
  6566. if c:IsA("BasePart") or c:IsA("Accessory") then
  6567. c:remove()
  6568. end
  6569. end
  6570. local BONES = {
  6571. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  6572. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  6573. }
  6574. local SELECTABLEBONES = {
  6575. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  6576. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  6577. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  6578. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  6579. }
  6580. for i = 1, 9 do
  6581. local CHOSENPIECE = nil
  6582. if i == 1 then
  6583. CHOSENPIECE = BONES.Skull
  6584. elseif i == 2 then
  6585. CHOSENPIECE = BONES.Ribs
  6586. else
  6587. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  6588. end
  6589. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  6590. BONE.CanCollide = true
  6591. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  6592. if CHOSENPIECE.MeshId == 36869983 then
  6593. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  6594. else
  6595. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  6596. end
  6597. end
  6598. end
  6599. end))
  6600. end
  6601. end
  6602. wait(1)
  6603. for i = 1, 250 do
  6604. Swait()
  6605. for E = 1, #HUMS do
  6606. if HUMS[E] then
  6607. if HUMS[E].Health > 0 then
  6608. HUMS[E].Health = HUMS[E].Health - 0.3
  6609. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  6610. 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})
  6611. end
  6612. end
  6613. end
  6614. end
  6615. 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")
  6616. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  6617. coroutine.resume(coroutine.create(function()
  6618. CreateSound(743521450,Cam,5,0.6,false)
  6619. for E = 1, 75 do
  6620. Swait()
  6621. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  6622. end
  6623. wait(4)
  6624. for E = 1, 25 do
  6625. Swait()
  6626. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  6627. end
  6628. SKILLFRAME:Remove()
  6629. end))
  6630. DONE = true
  6631. for i = 1, 50 do
  6632. wait(0.5)
  6633. for i = 1, 3 do
  6634. 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})
  6635. end
  6636. end
  6637. DAMAGEMULTIPLIER = 1
  6638. end))
  6639. wait(0.2)
  6640. end
  6641. wait(0.4)
  6642. EQUIPPED = false
  6643. ATTACK = false
  6644. Rooted = false
  6645. end
  6646. end
  6647.  
  6648. function Supernova()
  6649. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  6650. if HITFLOOR ~= nil then
  6651. local HITBODIES = {}
  6652. ATTACK = true
  6653. Rooted = true
  6654. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  6655. MakeForm(ABSOLUTE,"Ball")
  6656. CreateSound("429459101", ABSOLUTE, 10, 1)
  6657. for i=0, 4, 0.1 / Animation_Speed do
  6658. Swait()
  6659. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  6660. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  6661. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  6662. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  6663. MakeForm(CHARGE,"Ball")
  6664. CHARGE.Color = C3(1,1,1)
  6665. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  6666. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  6667. 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)
  6668. 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)
  6669. 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)
  6670. 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)
  6671. 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)
  6672. 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)
  6673. end
  6674. CreateSound("907330103", Head, 10, 1.2)
  6675. for i = 1, 75 do
  6676. Swait()
  6677. 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)
  6678. 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)
  6679. 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)
  6680. 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)
  6681. 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)
  6682. 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)
  6683. end
  6684. coroutine.resume(coroutine.create(function()
  6685. for i = 1, 13 do
  6686. for e = 1, 8 do
  6687. Swait(1)
  6688. 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))
  6689. CreateSwirl(ABSOLUTE.Size/4,50,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  6690. end
  6691. for i = 1, 5 do
  6692. 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)
  6693. 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))
  6694. end
  6695. CreateSwirl(ABSOLUTE.Size/4,50,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  6696. CreateSwirl(ABSOLUTE.Size/4,75,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  6697. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  6698. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  6699. killnearest(ABSOLUTE.Position,i*18,i)
  6700. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  6701. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  6702. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  6703. end
  6704. ABSOLUTE.Transparency = 1
  6705. Debris:AddItem(ABSOLUTE,10)
  6706. end))
  6707. ATTACK = false
  6708. Rooted = false
  6709. end
  6710. end
  6711. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  6712. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6713. wave.Color = COLOR
  6714. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6715. wave.CFrame = CFRAME
  6716. coroutine.resume(coroutine.create(function(PART)
  6717. for i = 1, WAIT do
  6718. Swait()
  6719. mesh.Scale = mesh.Scale + GROW
  6720. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6721. if DOESROT == true then
  6722. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6723. end
  6724. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6725. if wave.Transparency > 0.99 then
  6726. wave:remove()
  6727. end
  6728. end
  6729. end))
  6730. end
  6731.  
  6732. function Melee()
  6733. ATTACK = true
  6734. BLADE.CanCollide = true
  6735. Rooted = false
  6736. EQUIPPED = true
  6737. local HIT = function()
  6738. local HITS = {}
  6739. local TOUCH = BLADE.Touched:Connect(function(hit)
  6740. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  6741. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  6742. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6743. if TORSO and HUM.Health > 0 then
  6744. local PASS = true
  6745. for i = 1, #HITS do
  6746. if HITS[i] == hit.Parent then
  6747. PASS = false
  6748. end
  6749. end
  6750. table.insert(HITS,hit.Parent)
  6751. if PASS == true then
  6752. ApplyDamage0(HUM,MRANDOM(15,25))
  6753. end
  6754. end
  6755. end
  6756. end)
  6757. return TOUCH
  6758. end
  6759. if COMBO == 1 then
  6760. for i=0, 0.35, 0.1 / Animation_Speed do
  6761. Swait()
  6762. 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)
  6763. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6765. 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)
  6766. 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)
  6767. 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)
  6768. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6769. end
  6770. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6771. local TOUCHED = HIT()
  6772. for i=0, 0.5, 0.1 / Animation_Speed do
  6773. Swait()
  6774. 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)
  6775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  6776. 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)
  6777. 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)
  6778. 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)
  6779. 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)
  6780. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6781. end
  6782. TOUCHED:Disconnect()
  6783. COMBO = 2
  6784. elseif COMBO == 2 then
  6785. for i=0, 0.35, 0.1 / Animation_Speed do
  6786. Swait()
  6787. 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)
  6788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6789. 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)
  6790. 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)
  6791. 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)
  6792. 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)
  6793. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6794. end
  6795. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6796. local TOUCHED = HIT()
  6797. for i=0, 0.35, 0.1 / Animation_Speed do
  6798. Swait()
  6799. 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)
  6800. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6802. 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)
  6803. 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)
  6804. 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)
  6805. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6806. end
  6807. TOUCHED:Disconnect()
  6808. for i=0, 0.2, 0.1 / Animation_Speed do
  6809. Swait()
  6810. 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)
  6811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6813. 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)
  6814. 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)
  6815. 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)
  6816. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  6817. end
  6818. COMBO = 1
  6819. end
  6820. coroutine.resume(coroutine.create(function()
  6821. for i = 1, 50 do
  6822. Swait()
  6823. if ATTACK == true then
  6824. break
  6825. end
  6826. end
  6827. if ATTACK == false then
  6828. COMBO = 1
  6829. end
  6830. end))
  6831. BLADE.CanCollide = false
  6832. ATTACK = false
  6833. Rooted = false
  6834. EQUIPPED = false
  6835. end
  6836.  
  6837. function ApplyDamage0(Humanoid,Damage)
  6838. Damage = Damage * DAMAGEMULTIPLIER
  6839. if Humanoid.Health < 0 then
  6840. if Humanoid.Health - Damage > 0 then
  6841. Humanoid.Health = Humanoid.Health - Damage
  6842. else
  6843. Humanoid.Parent:BreakJoints()
  6844. end
  6845. else
  6846. Humanoid.Parent:BreakJoints()
  6847. end
  6848. end
  6849. function AbyssalShriek()
  6850. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6851. ATTACK = true
  6852. Rooted = true
  6853. for i=0, 0.2, 0.1 / Animation_Speed do
  6854. Swait()
  6855. 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)
  6856. 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)
  6857. 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)
  6858. 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)
  6859. 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)
  6860. 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)
  6861. end
  6862. coroutine.resume(coroutine.create(function()
  6863. repeat
  6864. Swait()
  6865. 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)
  6866. 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)
  6867. 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)
  6868. 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)
  6869. 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)
  6870. 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)
  6871. until ATTACK == false
  6872. end))
  6873. 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})
  6874. CreateSound(199978176,Head,5,1,false)
  6875. for i = 1, 60 do
  6876. Swait()
  6877. ApplyAoE0(RootPart.Position,17,1,1,0,false)
  6878. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  6879. if HITFLOOR then
  6880. 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})
  6881. end
  6882. local SIZE = VT(1,3,1)
  6883. 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})
  6884. end
  6885. wait(0.2)
  6886. ATTACK = false
  6887. Rooted = false
  6888. end
  6889. end
  6890.  
  6891. function ApplyAoE0(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6892. for index, CHILD in pairs(workspace:GetDescendants()) do
  6893. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6894. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6895. if HUM then
  6896. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6897. if TORSO then
  6898. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6899. if INSTAKILL == true then
  6900. CHILD:BreakJoints()
  6901. else
  6902. local DMG = MRANDOM(MINDMG,MAXDMG)
  6903. ApplyDamage0(HUM,DMG)
  6904. end
  6905. if FLING > 0 then
  6906. for _, c in pairs(CHILD:GetChildren()) do
  6907. if c:IsA("BasePart") then
  6908. local bv = Instance.new("BodyVelocity")
  6909. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6910. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6911. bv.Parent = c
  6912. Debris:AddItem(bv,0.05)
  6913. end
  6914. end
  6915. end
  6916. end
  6917. end
  6918. end
  6919. end
  6920. end
  6921. end
  6922. function AbyssalDash()
  6923. ATTACK = true
  6924. Rooted = true
  6925. UNANCHOR = false
  6926. for i=0, 0.4, 0.1 / Animation_Speed do
  6927. Swait()
  6928. 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)
  6929. 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)
  6930. 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)
  6931. 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)
  6932. 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)
  6933. 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)
  6934. end
  6935. CreateSound(1177785010,Torso,2,1,false)
  6936. CreateSound(971125740,Torso,5,1,false)
  6937. 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})
  6938. for index, CHILD in pairs(Character:GetChildren()) do
  6939. if CHILD:IsA("BasePart") then
  6940. CHILD.Transparency = CHILD.Transparency + 1
  6941. elseif CHILD:IsA("Accessory") then
  6942. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6943. end
  6944. end
  6945. local HITS = {}
  6946. for i=0, 1, 0.1 / Animation_Speed do
  6947. Swait()
  6948. for index, CHILD in pairs(workspace:GetDescendants()) do
  6949. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6950. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6951. if HUM then
  6952. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6953. if TORSO then
  6954. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  6955. local PASS = true
  6956. for E = 1, #HITS do
  6957. if HITS[E] == CHILD then
  6958. PASS = false
  6959. end
  6960. end
  6961. if PASS == true then
  6962. local DMG = MRANDOM(25,45)
  6963. ApplyDamage0(HUM,DMG)
  6964. table.insert(HITS,CHILD)
  6965. end
  6966. end
  6967. end
  6968. end
  6969. end
  6970. end
  6971. 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})
  6972. for i = 1, 2 do
  6973. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  6974. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  6975. 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)
  6976. 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)
  6977. 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)
  6978. 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)
  6979. 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)
  6980. 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)
  6981. end
  6982. end
  6983. for index, CHILD in pairs(Character:GetChildren()) do
  6984. if CHILD:IsA("BasePart") then
  6985. CHILD.Transparency = CHILD.Transparency - 1
  6986. elseif CHILD:IsA("Accessory") then
  6987. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6988. end
  6989. end
  6990. for i=1, 25 do
  6991. Swait()
  6992. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  6993. 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)
  6994. 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)
  6995. 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)
  6996. 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)
  6997. 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)
  6998. 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)
  6999. end
  7000. UNANCHOR = true
  7001. ATTACK = false
  7002. Rooted = false
  7003. end
  7004.  
  7005. function ApplyAoE11(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  7006. local CHILDREN = workspace:GetDescendants()
  7007. for index, CHILD in pairs(CHILDREN) do
  7008. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7009. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7010. if HUM then
  7011. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7012. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  7013. if INSTAKILL == true then
  7014. CHILD:BreakJoints()
  7015. else
  7016. local DMG = MRANDOM(MINDMG, MAXDMG)
  7017. ApplyDamage0(HUM, DMG, TORSO)
  7018. end
  7019. if FLING > 0 then
  7020. for _, c in pairs(CHILD:GetChildren()) do
  7021. if c:IsA("BasePart") then
  7022. local bv = Instance.new("BodyVelocity")
  7023. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  7024. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  7025. bv.Parent = c
  7026. Debris:AddItem(bv, 0.05)
  7027. end
  7028. end
  7029. end
  7030. end
  7031. end
  7032. end
  7033. end
  7034. end
  7035.  
  7036. function Taunt2()
  7037. ATTACK = true
  7038. Rooted = true
  7039. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  7040. repeat
  7041. Swait()
  7042. TAUNT.Parent = Torso
  7043. TAUNT.Playing = true
  7044. 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)
  7045. 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)
  7046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7047. 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)
  7048. 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)
  7049. 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)
  7050. until TAUNT.TimePosition >= 1.25
  7051. for i=0, 1.6, 0.1 / Animation_Speed do
  7052. Swait()
  7053. TAUNT.Parent = Torso
  7054. 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)
  7055. 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)
  7056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7057. 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)
  7058. 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)
  7059. 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)
  7060. end
  7061. ATTACK = false
  7062. Rooted = false
  7063. end
  7064.  
  7065. function yeetus()
  7066. warn("not finished")
  7067. end
  7068.  
  7069. local PLAYMAINANIM = true
  7070.  
  7071. local HATWELD = nil
  7072. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  7073. PLAYMAINANIM = false
  7074. if WhichPose == "Cast1" then
  7075. for i=0, Time, 0.1 / Animation_Speed do
  7076. Swait()
  7077. if Magic == true then
  7078. 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})
  7079. end
  7080. if Gyro ~= nil and Gyro ~= false then
  7081. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7082. end
  7083. 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)
  7084. 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)
  7085. 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)
  7086. 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)
  7087. 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)
  7088. 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)
  7089. end
  7090. elseif WhichPose == "Cast2" then
  7091. for i=0, Time, 0.1 / Animation_Speed do
  7092. Swait()
  7093. if Magic == true then
  7094. 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})
  7095. 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})
  7096. end
  7097. if Gyro ~= nil and Gyro ~= false then
  7098. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7099. end
  7100. 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)
  7101. 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)
  7102. 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)
  7103. 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)
  7104. 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)
  7105. 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)
  7106. end
  7107. elseif WhichPose == "RightArmUp" then
  7108. for i=0, Time, 0.1 / Animation_Speed do
  7109. Swait()
  7110. if Magic == true then
  7111. 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})
  7112. end
  7113. if Gyro ~= nil and Gyro ~= false then
  7114. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7115. end
  7116. 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)
  7117. 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)
  7118. 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)
  7119. 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)
  7120. 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)
  7121. 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)
  7122. end
  7123. elseif WhichPose == "Taunt" then
  7124. for i=0, Time, 0.1 / Animation_Speed do
  7125. Swait()
  7126. 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)
  7127. 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)
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. end
  7133. HATWELD.Part0 = RightArm
  7134. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  7135. CreateSound(221057812,Torso,10,1,false)
  7136. for i=0, Time*2, 0.1 / Animation_Speed do
  7137. Swait()
  7138. 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)
  7139. 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)
  7140. 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)
  7141. 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)
  7142. 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)
  7143. 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)
  7144. end
  7145. for i=0, Time, 0.1 / Animation_Speed do
  7146. Swait()
  7147. 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)
  7148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  7149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  7150. 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)
  7151. 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)
  7152. 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)
  7153. 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)
  7154. end
  7155. HATWELD.Part0 = Head
  7156. HATWELD.C0 = CF(0,0.35,0)
  7157. elseif WhichPose == "Prepare key" then
  7158. for i=0, Time, 0.1 / Animation_Speed do
  7159. Swait()
  7160. if Gyro ~= nil and Gyro ~= false then
  7161. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7162. end
  7163. 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)
  7164. 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)
  7165. 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)
  7166. 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)
  7167. 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)
  7168. 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)
  7169. end
  7170. elseif WhichPose == "Turn key" then
  7171. for i=0, Time, 0.1 / Animation_Speed do
  7172. Swait()
  7173. if Gyro ~= nil and Gyro ~= false then
  7174. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7175. end
  7176. 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)
  7177. 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)
  7178. 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)
  7179. 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)
  7180. 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)
  7181. 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)
  7182. end
  7183. end
  7184. PLAYMAINANIM = true
  7185. end
  7186.  
  7187. function Hat()
  7188. ATTACK = true
  7189. Rooted = false
  7190. Pose("Taunt",0.4,1.2,false)
  7191. ATTACK = false
  7192. Rooted = false
  7193. end
  7194.  
  7195. function Prison_Key()
  7196. chatfunc("Be Locked Away From This Dimension in the of Time Space")
  7197. if Mouse.Target ~= nil then
  7198. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7199. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7200. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7201. local GYRO = IT("BodyGyro",RootPart)
  7202. GYRO.D = 750
  7203. GYRO.P = 20000
  7204. GYRO.MaxTorque = VT(0,40000000,0)
  7205. local grav = Instance.new("BodyPosition",TORSO)
  7206. grav.D = 15
  7207. grav.P = 20000
  7208. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7209. grav.position = TORSO.Position
  7210. local GYRO2 = IT("BodyGyro",TORSO)
  7211. GYRO2.D = 750
  7212. GYRO2.P = 20000
  7213. GYRO2.MaxTorque = VT(0,40000000,0)
  7214. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7215. grav.Name = "Jail"
  7216. local LOCKPARTS = {}
  7217. ATTACK = true
  7218. Rooted = false
  7219. local LOCK = IT("Model",Effects)
  7220. LOCK.Name = "Lock"
  7221. local LOCK2 = IT("Model",LOCK)
  7222. LOCK2.Name = "Metal"
  7223. --CREATE LOCK--
  7224. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  7225. LOCK.PrimaryPart = BASE
  7226. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  7227. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  7228. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  7229. MakeForm(PRT,"Cyl")
  7230. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  7231. PRT.Color = C3(0,0,0)
  7232. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  7233. MakeForm(PRT,"Cyl")
  7234. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  7235. PRT.Color = C3(0,0,0)
  7236. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  7237. for i = 1, 45 do
  7238. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7239. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  7240. end
  7241. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7242. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  7243. LOCK2.PrimaryPart = PRT
  7244. ---------------
  7245. local CHILDREN = LOCK:GetDescendants()
  7246. for index, CHILD in pairs(CHILDREN) do
  7247. if CHILD:IsA("BasePart") then
  7248. CHILD.Transparency = 1
  7249. end
  7250. end
  7251. for i = 1, 75 do
  7252. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  7253. Swait()
  7254. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7255. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7256. local CHILDREN = LOCK:GetDescendants()
  7257. for index, CHILD in pairs(CHILDREN) do
  7258. if CHILD:IsA("BasePart") then
  7259. CHILD.Transparency = CHILD.Transparency - 1/75
  7260. end
  7261. end
  7262. end
  7263. HUM.DisplayDistanceType = "None"
  7264. local KEY = IT("Model",Effects)
  7265. KEY.Name = "Key"
  7266. --CREATE KEY--
  7267. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  7268. KEY.PrimaryPart = KBASE
  7269. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  7270. local WLD = weldBetween(RightArm,KBASE)
  7271. for i = 1, 45 do
  7272. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  7273. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  7274. weldBetween(KBASE,PRT)
  7275. end
  7276. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7277. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  7278. weldBetween(KBASE,PRT)
  7279. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7280. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  7281. weldBetween(KBASE,PRT)
  7282. --------------
  7283. Rooted = true
  7284. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  7285. coroutine.resume(coroutine.create(function()
  7286. for i = 1, 10 do
  7287. Swait()
  7288. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7289. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7290. end
  7291. CreateSound(1149318312,BASE,5,1,false)
  7292. CreateSound(160772554,BASE,3,1,false)
  7293. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  7294. for i = 1, 4 do
  7295. 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})
  7296. end
  7297. 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})
  7298. wait(1)
  7299. TORSO.Parent.Parent = LOCK
  7300. for i = 1, 75 do
  7301. Swait()
  7302. local CHILDREN = KEY:GetDescendants()
  7303. for index, CHILD in pairs(CHILDREN) do
  7304. if CHILD:IsA("BasePart") then
  7305. CHILD.Transparency = i/25
  7306. end
  7307. end
  7308. local CHILDREN = LOCK:GetDescendants()
  7309. for index, CHILD in pairs(CHILDREN) do
  7310. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  7311. CHILD.Transparency = CHILD.Transparency + 1/75
  7312. elseif CHILD.ClassName == "Decal" then
  7313. CHILD.Transparency = CHILD.Transparency + 1/75
  7314. end
  7315. end
  7316. end
  7317. TORSO.Parent:ClearAllChildren()
  7318. KEY:remove()
  7319. LOCK:remove()
  7320. end))
  7321. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  7322. GYRO:remove()
  7323. ATTACK = false
  7324. Rooted = false
  7325. end
  7326. end
  7327. end
  7328. -------- how to make smite work
  7329. function SpawnSmite(POS)
  7330. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7331. local EMITPOS = HITPOS
  7332. if HITFLOOR ~= nil then
  7333. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7334. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7335. EMITPOS = HITPOS
  7336. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7337. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7338. EMITPOS = HITPOS
  7339. end
  7340. end
  7341. if HITFLOOR ~= nil then
  7342. ApplyAoE(EMITPOS,10)
  7343. 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})
  7344. 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})
  7345. 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})
  7346. for i = 1, 5 do
  7347. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7348. 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})
  7349. end
  7350. end
  7351. end
  7352.  
  7353. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7354. coroutine.resume(coroutine.create(function()
  7355. local METEOR = IT("Model",Effects)
  7356. METEOR.Name = "Meteorite"
  7357. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7358. METEOR.PrimaryPart = CENTER
  7359. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7360. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7361. for i = 1, 15 do
  7362. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  7363. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7364. end
  7365. if ISDEBREE ~= true then
  7366. 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))))
  7367. else
  7368. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7369. end
  7370. local IMPACT = false
  7371. CreateSound(463593339, CENTER, 10, 0.6)
  7372. if SIZE >= 3.5 then
  7373. for i = 1, MRANDOM(3,7) do
  7374. 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)
  7375. end
  7376. end
  7377. for i = 1, 200 do
  7378. Swait()
  7379. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7380. if HITFLOOR == nil then
  7381. local ORI = CENTER.Orientation
  7382. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7383. else
  7384. if HITFLOOR.Anchored == true then
  7385. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7386. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7387. end
  7388. IMPACT = true
  7389. break
  7390. end
  7391. end
  7392. if IMPACT == true then
  7393. 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})
  7394. 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})
  7395. 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})
  7396. ApplyAoE(CENTER.Position,30*SIZE)
  7397. end
  7398. METEOR:remove()
  7399. end))
  7400. end
  7401. function Meteor_Shower()
  7402. ATTACK = true
  7403. Rooted = false
  7404. CreateSound(1368573150, RightArm, 3, 0.8)
  7405. CreateSound(649634100, Torso, 10, 0.8)
  7406. for i=0, 1.2, 0.1 / Animation_Speed do
  7407. Swait()
  7408. 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})
  7409. 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)
  7410. 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)
  7411. end
  7412. local POS = Mouse.Hit.p
  7413. CreateSound(463593339, Effects, 3, 1)
  7414. coroutine.resume(coroutine.create(function()
  7415. for i = 1, 35 do
  7416. wait(MRANDOM(5,150)/100)
  7417. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  7418. end
  7419. end))
  7420. ATTACK = false
  7421. Rooted = false
  7422. end
  7423.  
  7424. ------ LOL
  7425. function TimesUp()
  7426. CLOCKTARGET = nil
  7427. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7428. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7429. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7430. if TORSO then
  7431. ATTACK = true
  7432. Rooted = false
  7433. coroutine.resume(coroutine.create(function()
  7434. repeat
  7435. Swait()
  7436. 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)
  7437. 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)
  7438. 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)
  7439. 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)
  7440. 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)
  7441. 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)
  7442. until ATTACK == false
  7443. end))
  7444. if Effects:FindFirstChild("NeonDoll") then
  7445. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  7446. end
  7447. wait(0.5)
  7448. local FAKECHARACTER = IT("Model",Effects)
  7449. FAKECHARACTER.Name = "NeonDoll"
  7450. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.3,0.3,0.15),false)
  7451. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  7452. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7453. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,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 ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7457. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), 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 HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.15,0.15),false)
  7461. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  7462. CreateSound(201858045, TORS, 5, 0.4, false)
  7463. for i = 1, 150 do
  7464. Swait()
  7465. CLOCKSPEED = 1
  7466. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7467. if c.ClassName == "Part" then
  7468. c.Transparency = c.Transparency - 0.5/150
  7469. end
  7470. end
  7471. end
  7472. CLOCKTARGET = HUM
  7473. coroutine.resume(coroutine.create(function()
  7474. repeat Swait() CLOCKSPEED = 30 until CLOCKTARGET == nil
  7475. for i = 1, 25 do
  7476. Swait()
  7477. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7478. if c.ClassName == "Part" then
  7479. c.Transparency = c.Transparency + 0.5/25
  7480. end
  7481. end
  7482. end
  7483. CLOCKSPEED = 6
  7484. FAKECHARACTER:remove()
  7485. end))
  7486. wait(0.5)
  7487. ATTACK = false
  7488. Rooted = false
  7489. end
  7490. end
  7491. end
  7492.  
  7493. function ChainPunch()
  7494. ATTACK = true
  7495. Rooted = false
  7496. local GYRO = IT("BodyGyro",RootPart)
  7497. GYRO.D = 25
  7498. GYRO.P = 2000
  7499. GYRO.MaxTorque = VT(0,40000,0)
  7500. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7501. repeat
  7502. Swait()
  7503. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7504. 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)
  7505. 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)
  7506. 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)
  7507. 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)
  7508. 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)
  7509. 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)
  7510. until HOLD == true
  7511. local POS = Mouse.Hit.p
  7512. local CHAINS = false
  7513. local CHAINLINKS = {}
  7514. local A = IT("Attachment",RightArm)
  7515. A.Position = VT(1,-1,0)*SIZE
  7516. A.Orientation = VT(-90, -89.982, 0)
  7517. local B = IT("Attachment",RightArm)
  7518. B.Position = VT(-1,-1,0)*SIZE
  7519. B.Orientation = VT(-90, 89.988, 0)
  7520. local C = IT("Attachment",RightArm)
  7521. C.Position = VT(0.5,-1.3,0)*SIZE
  7522. C.Orientation = VT(-90, -89.982, 0)
  7523. local D = IT("Attachment",RightArm)
  7524. D.Position = VT(-0.5,-1.3,0)*SIZE
  7525. D.Orientation = VT(-90, 89.988, 0)
  7526. local LIGHT = IT("Attachment",RightArm)
  7527. LIGHT.Position = VT(0,-1,0)*SIZE
  7528. local LIGHT2 = IT("PointLight",LIGHT)
  7529. LIGHT2.Range = 7
  7530. LIGHT2.Brightness = 5
  7531. LIGHT2.Color = SKILLTEXTCOLOR
  7532. for i = 1, 2 do
  7533. local TWIST = -2
  7534. local START = A
  7535. local END = B
  7536. if i == 1 then
  7537. START = B
  7538. END = A
  7539. end
  7540. local ChainLink = IT("Beam",Torso)
  7541. ChainLink.Texture = "rbxassetid://73042633"
  7542. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7543. ChainLink.TextureSpeed = 1
  7544. ChainLink.Width0 = 1
  7545. ChainLink.Width1 = 1
  7546. ChainLink.TextureLength = 2.5
  7547. ChainLink.Attachment0 = START
  7548. ChainLink.Attachment1 = END
  7549. ChainLink.CurveSize0 = TWIST
  7550. ChainLink.CurveSize1 = TWIST
  7551. --ChainLink.FaceCamera = true
  7552. ChainLink.Segments = 45
  7553. ChainLink.Transparency = NumberSequence.new(1)
  7554. table.insert(CHAINLINKS,ChainLink)
  7555. end
  7556. for i = 1, 2 do
  7557. local TWIST = -1
  7558. local START = C
  7559. local END = D
  7560. if i == 1 then
  7561. START = D
  7562. END = C
  7563. end
  7564. local ChainLink = IT("Beam",Torso)
  7565. ChainLink.Texture = "rbxassetid://73042633"
  7566. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7567. ChainLink.TextureSpeed = 1
  7568. ChainLink.Width0 = 1
  7569. ChainLink.Width1 = 1
  7570. ChainLink.TextureLength = 5
  7571. ChainLink.Attachment0 = START
  7572. ChainLink.Attachment1 = END
  7573. ChainLink.CurveSize0 = TWIST
  7574. ChainLink.CurveSize1 = TWIST
  7575. --ChainLink.FaceCamera = true
  7576. ChainLink.Segments = 25
  7577. ChainLink.LightEmission = 0.5
  7578. ChainLink.Transparency = NumberSequence.new(1)
  7579. table.insert(CHAINLINKS,ChainLink)
  7580. end
  7581. coroutine.resume(coroutine.create(function()
  7582. repeat
  7583. Swait()
  7584. 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)
  7585. 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)
  7586. 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)
  7587. 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)
  7588. 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)
  7589. 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)
  7590. until CHAINS == true
  7591. repeat
  7592. Swait()
  7593. 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)
  7594. 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)
  7595. 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)
  7596. 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)
  7597. 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)
  7598. 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)
  7599. until ATTACK == false
  7600. for e = 1, 15 do
  7601. Swait()
  7602. for i = 1, #CHAINLINKS do
  7603. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  7604. end
  7605. end
  7606. A:remove()
  7607. B:remove()
  7608. C:remove()
  7609. D:remove()
  7610. end))
  7611. CreateSound(233856115, RightArm, 5, 1.2, false)
  7612. for e = 1, 15 do
  7613. Swait()
  7614. for i = 1, #CHAINLINKS do
  7615. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  7616. end
  7617. end
  7618. CHAINS = true
  7619. Rooted = true
  7620. wait(0.25)
  7621. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  7622. FIST.Color = C3(1, 215/255, 1)
  7623. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  7624. local LIGHT3 = IT("PointLight",FIST)
  7625. LIGHT3.Range = 7
  7626. LIGHT3.Brightness = 5
  7627. LIGHT3.Color = SKILLTEXTCOLOR
  7628. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  7629. local FISTA = IT("Attachment",FIST)
  7630. FISTA.Position = VT(0.062, 0.977, 0)
  7631. local ChainLink = IT("Beam",Torso)
  7632. ChainLink.Texture = "rbxassetid://73042633"
  7633. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7634. ChainLink.TextureSpeed = 0
  7635. ChainLink.Width0 = 3
  7636. ChainLink.Width1 = 3
  7637. ChainLink.TextureLength = 12
  7638. ChainLink.Attachment0 = LIGHT
  7639. ChainLink.Attachment1 = FISTA
  7640. ChainLink.FaceCamera = true
  7641. ChainLink.Segments = 45
  7642. ChainLink.LightEmission = 0.5
  7643. ChainLink.Transparency = NumberSequence.new(0.25)
  7644. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  7645. for i = 1, 85 do
  7646. Swait()
  7647. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  7648. ChainLink.TextureLength = 12+(i*2)
  7649. ApplyAoE(FIST.Position,10,15,25,100,false)
  7650. 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})
  7651. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  7652. if HITFLOOR ~= nil then
  7653. HITFLOOR:BreakJoints()
  7654. coroutine.resume(coroutine.create(function()
  7655. for i = 1, 15 do
  7656. Swait()
  7657. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  7658. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  7659. 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})
  7660. end
  7661. end))
  7662. break
  7663. end
  7664. end
  7665. coroutine.resume(coroutine.create(function()
  7666. for i = 1, 50 do
  7667. Swait()
  7668. FIST.Transparency = FIST.Transparency + 0.5/50
  7669. LIGHT3.Range = LIGHT3.Range - 7/50
  7670. end
  7671. FIST:remove()
  7672. end))
  7673. LIGHT:remove()
  7674. GYRO:remove()
  7675. ATTACK = false
  7676. Rooted = false
  7677. end
  7678.  
  7679. function WarpMeteor()
  7680. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  7681. if DIST > 180 then
  7682. DIST = 180
  7683. end
  7684. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  7685. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  7686. if HITFLOOR then
  7687. local POS = HITPOS
  7688. ATTACK = true
  7689. Rooted = true
  7690. local WARPED = false
  7691. local SMASHED = false
  7692. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  7693. coroutine.resume(coroutine.create(function()
  7694. repeat
  7695. Swait()
  7696. 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)
  7697. 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)
  7698. 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)
  7699. 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)
  7700. 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)
  7701. 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)
  7702. until WARPED == true
  7703. repeat
  7704. Swait()
  7705. 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)
  7706. 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)
  7707. 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)
  7708. 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)
  7709. 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)
  7710. 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)
  7711. until SMASHED == true
  7712. repeat
  7713. Swait()
  7714. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  7715. 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)
  7716. 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)
  7717. 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)
  7718. 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)
  7719. 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)
  7720. until ATTACK == false
  7721. end))
  7722. VALUE1 = true
  7723. CreateSound(233856115, Torso, 5, 1.6, false)
  7724. for i = 1, 25 do
  7725. Swait()
  7726. for _, c in pairs(Character:GetChildren()) do
  7727. if c.ClassName == "Part" then
  7728. c.Transparency = c.Transparency + 1/25
  7729. end
  7730. end
  7731. for _, c in pairs(Weapon:GetChildren()) do
  7732. if c.ClassName == "Part" then
  7733. c.Transparency = c.Transparency + 1/25
  7734. end
  7735. end
  7736. end
  7737. UNANCHOR = false
  7738. RootPart.Anchored = true
  7739. RootPart.Velocity = VT(0,0,0)
  7740. local ROOTPOS = RootPart.Position
  7741. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  7742. WARPED = true
  7743. for i = 1, 25 do
  7744. Swait()
  7745. for _, c in pairs(Character:GetChildren()) do
  7746. if c.ClassName == "Part" then
  7747. c.Transparency = c.Transparency - 1/25
  7748. end
  7749. end
  7750. for _, c in pairs(Weapon:GetChildren()) do
  7751. if c.ClassName == "Part" then
  7752. c.Transparency = c.Transparency - 1/25
  7753. end
  7754. end
  7755. end
  7756. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  7757. SHELL.CFrame = RootPart.CFrame
  7758. MakeForm(SHELL,"Ball")
  7759. CreateSound(402981977, SHELL, 5, 1.6, false)
  7760. for i = 1, 10 do
  7761. Swait()
  7762. SHELL.Transparency = SHELL.Transparency - 1/10
  7763. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  7764. end
  7765. for i = 1, math.ceil(75/2) do
  7766. Swait()
  7767. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  7768. SHELL.CFrame = CF(RootPart.Position)
  7769. 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})
  7770. end
  7771. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  7772. SHELL.CFrame = CF(RootPart.Position)
  7773. 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})
  7774. 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})
  7775. 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})
  7776. for i = 1, 5 do
  7777. 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})
  7778. end
  7779. SHELL:remove()
  7780. ApplyAoE(RootPart.Position,75,35,75,175,false)
  7781. SMASHED = true
  7782. wait(1)
  7783. VALUE1 = false
  7784. UNANCHOR = true
  7785. ATTACK = false
  7786. Rooted = false
  7787. end
  7788. end
  7789.  
  7790. function PandorasBox()
  7791. 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)
  7792. if HITFLOOR ~= nil then
  7793. ATTACK = true
  7794. Rooted = true
  7795. local RINGSPIN = true
  7796. local CONSTRUCTING = true
  7797. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  7798. RING.Color = C3(0,0,0)
  7799. MakeForm(RING,"Cyl")
  7800. RING.CFrame = CF(HITPOS)
  7801. CreateSound(402981977, RING, 5, 1.2, false)
  7802. coroutine.resume(coroutine.create(function()
  7803. repeat
  7804. Swait()
  7805. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7806. 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)
  7807. 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)
  7808. 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)
  7809. 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)
  7810. 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)
  7811. 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)
  7812. until CONSTRUCTING == false
  7813. repeat
  7814. Swait()
  7815. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7816. until RINGSPIN == false
  7817. for i = 1, 25 do
  7818. Swait()
  7819. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7820. RING.Size = RING.Size - VT(0.15,0,0.15)
  7821. --DECAL.Transparency = DECAL.Transparency + 1/25
  7822. RING.Transparency = RING.Transparency + 1/25
  7823. end
  7824. RING:remove()
  7825. end))
  7826. for i = 1, 15 do
  7827. Swait()
  7828. RING.Size = RING.Size + VT(0.75,0,0.75)
  7829. RING.Transparency = RING.Transparency - 1/15
  7830. end
  7831. local BOXSPIN = true
  7832. local PANDORASBOX = IT("Model",Effects)
  7833. PANDORASBOX.Name = "Pandora's Box"
  7834. local BOX = IT("Model",PANDORASBOX)
  7835. BOX.Name = "Body"
  7836. local LID = IT("Model",PANDORASBOX)
  7837. LID.Name = "Lid"
  7838. --BUILDING THE BOX--
  7839. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  7840. BASE.Color = C3(0,0,0)
  7841. PANDORASBOX.PrimaryPart = BASE
  7842. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  7843. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7844. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  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(2.1,0.2,0.2))
  7852. WOOD.CFrame = BASE.CFrame*CF(0,0.9,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(0.2,0.2,2.1))
  7856. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  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(2.1,0.2,0.2))
  7860. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  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(0.2,0.2,2.1))
  7864. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  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, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7868. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  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(0.1,1.9,2.1))
  7872. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  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(2.1,0.1,2.1))
  7876. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  7877. -------------
  7878. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7879. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  7880. LID.PrimaryPart = LIDPART
  7881. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7882. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  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(0.2,0.2,2.1))
  7886. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  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 DECAL = IT("Decal",LIDPART)
  7890. DECAL.Face = "Top"
  7891. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  7892. DECAL.Color3 = C3(0,0,0)
  7893. --BUILDING THE BOX--
  7894. coroutine.resume(coroutine.create(function()
  7895. repeat
  7896. Swait()
  7897. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  7898. until BOXSPIN == false
  7899. end))
  7900. for i = 1, 25 do
  7901. Swait()
  7902. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  7903. end
  7904. wait(0.5)
  7905. BOXSPIN = false
  7906. CONSTRUCTING = false
  7907. coroutine.resume(coroutine.create(function()
  7908. 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})
  7909. --[[for i = 1, 45 do
  7910. Swait()
  7911. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  7912. end-
  7913. LID:remove()]]--
  7914. for _, c in pairs(LID:GetChildren()) do
  7915. if c.ClassName == "Part" then
  7916. c.Anchored = false
  7917. c.CanCollide = true
  7918. if c ~= LIDPART then
  7919. weldBetween(LIDPART,c)
  7920. end
  7921. end
  7922. end
  7923. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  7924. Debris:AddItem(LID,15)
  7925. wait(0.5)
  7926. local RANDOMEFFECT = MRANDOM(1,4)
  7927. if RANDOMEFFECT == 1 then
  7928. for i = 1, 45 do
  7929. wait((2-(i/15))/15)
  7930. 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})
  7931. end
  7932. wait(1)
  7933. 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})
  7934. 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})
  7935. 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})
  7936. for i = 1, 5 do
  7937. 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})
  7938. end
  7939. ApplyAoE(BASE.Position,50,1,200,375,false)
  7940. ApplyAoE(BASE.Position,250,35,75,175,false)
  7941. elseif RANDOMEFFECT == 2 then
  7942. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  7943. FIELD.CFrame = BASE.CFrame
  7944. MakeForm(FIELD,"Ball")
  7945. for i = 1, 50 do
  7946. Swait()
  7947. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  7948. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  7949. end
  7950. wait(0.2)
  7951. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  7952. coroutine.resume(coroutine.create(function()
  7953. for i = 1, 75 do
  7954. Swait()
  7955. LOOP.Volume = LOOP.Volume + 10/75
  7956. LOOP.Parent = FIELD
  7957. local CHILDREN = workspace:GetDescendants()
  7958. for index, CHILD in pairs(CHILDREN) do
  7959. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7960. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7961. if HUM then
  7962. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7963. if TORSO then
  7964. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7965. HUM.Health = HUM.Health - 0.1
  7966. TORSO.Velocity = VT(0,5,0)
  7967. HUM.PlatformStand = true
  7968. if TORSO.RotVelocity.Magnitude < 15 then
  7969. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7970. end
  7971. end
  7972. end
  7973. end
  7974. end
  7975. end
  7976. FIELD.Size = FIELD.Size + VT(3,3,3)
  7977. FIELD.Transparency = FIELD.Transparency + 0.8/75
  7978. end
  7979. for i = 1, 500 do
  7980. Swait()
  7981. LOOP.Parent = FIELD
  7982. local CHILDREN = workspace:GetDescendants()
  7983. for index, CHILD in pairs(CHILDREN) do
  7984. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7985. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7986. if HUM then
  7987. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7988. if TORSO then
  7989. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7990. TORSO.Velocity = VT(0,5,0)
  7991. HUM.Health = HUM.Health - 0.1
  7992. HUM.PlatformStand = true
  7993. if TORSO.RotVelocity.Magnitude < 15 then
  7994. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7995. end
  7996. end
  7997. end
  7998. end
  7999. end
  8000. end
  8001. end
  8002. for i = 1, 25 do
  8003. Swait()
  8004. LOOP.Volume = LOOP.Volume + 10/25
  8005. LOOP.Parent = FIELD
  8006. local CHILDREN = workspace:GetDescendants()
  8007. for index, CHILD in pairs(CHILDREN) do
  8008. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8009. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8010. if HUM then
  8011. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8012. if TORSO then
  8013. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  8014. TORSO.Velocity = VT(0,5,0)
  8015. HUM.Health = HUM.Health - 0.1
  8016. HUM.PlatformStand = false
  8017. if TORSO.RotVelocity.Magnitude < 15 then
  8018. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  8019. end
  8020. end
  8021. end
  8022. end
  8023. end
  8024. end
  8025. FIELD.Size = FIELD.Size - VT(3,3,3)
  8026. FIELD.Transparency = FIELD.Transparency + 0.2/25
  8027. end
  8028. FIELD:remove()
  8029. end))
  8030. elseif RANDOMEFFECT == 3 then
  8031. for i = 1, 10 do
  8032. wait(0.15)
  8033. 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})
  8034. coroutine.resume(coroutine.create(function()
  8035. local MINION = CLONE:Clone()
  8036. MINION.Parent = Effects
  8037. MINION.Name = "Shadow"
  8038. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  8039. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  8040. for _, c in pairs(MINION:GetChildren()) do
  8041. if c.ClassName == "Part" then
  8042. c.Material = "Neon"
  8043. c.Color = C3(0,0,0)
  8044. c.Transparency = 0.25
  8045. if c.Name == "Head" then
  8046. c:ClearAllChildren()
  8047. local MSH = IT("BlockMesh",c)
  8048. MSH.Scale = VT(0.5,1,1)
  8049. end
  8050. end
  8051. end
  8052. local TORSO = MINION.Torso
  8053. local HUMAN = MINION.Humanoid
  8054. HUMAN.WalkSpeed = 20
  8055. HUMAN.MaxHealth = math.huge
  8056. HUMAN.Health = math.huge
  8057. HUMAN.DisplayDistanceType = "None"
  8058. HUMAN.Died:connect(function()
  8059. MINION:remove()
  8060. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  8061. end)
  8062. wait(1)
  8063. local findNearestTorso = function(POS)
  8064. local list = game.Workspace:GetDescendants()
  8065. local torso = nil
  8066. local dist = 500
  8067. local temp = nil
  8068. local human = nil
  8069. local temp2 = nil
  8070. for x = 1, #list do
  8071. temp2 = list[x]
  8072. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  8073. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  8074. human = temp2:findFirstChildOfClass("Humanoid")
  8075. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  8076. if (temp.Position - POS).magnitude < dist then
  8077. torso = temp
  8078. dist = (temp.Position - POS).magnitude
  8079. end
  8080. end
  8081. end
  8082. end
  8083. return torso, dist
  8084. end
  8085. for i = 1, 40 do
  8086. if HUMAN.Health == 0 then
  8087. break
  8088. end
  8089. wait(0.3)
  8090. local target,dist= findNearestTorso(TORSO.Position)
  8091. if target then
  8092. HUMAN:MoveTo(target.Position)
  8093. if dist < 25 then
  8094. CreateSound(348663022, TORSO, 10, 1, true)
  8095. wait(2)
  8096. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  8097. --ANIM:Play()
  8098. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  8099. ApplyAoE(TORSO.Position,10,0,0,85,true)
  8100. 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})
  8101. for i = 1, 5 do
  8102. 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})
  8103. end
  8104. break
  8105. end
  8106. end
  8107. end
  8108. MINION:remove()
  8109. end))
  8110. end
  8111. elseif RANDOMEFFECT == 4 then
  8112. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  8113. FIELD.Color = C3(0,0,0)
  8114. FIELD.CFrame = BASE.CFrame
  8115. MakeForm(FIELD,"Ball")
  8116. FIELD.CanCollide = true
  8117. for i = 1, 50 do
  8118. Swait()
  8119. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  8120. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  8121. end
  8122. wait(0.2)
  8123. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  8124. coroutine.resume(coroutine.create(function()
  8125. local E = 0
  8126. for i = 1, 75 do
  8127. E = E + 1
  8128. Swait()
  8129. if E >= 35 then
  8130. E = 0
  8131. 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})
  8132. end
  8133. LOOP.Volume = LOOP.Volume + 10/75
  8134. LOOP.Parent = FIELD
  8135. local CHILDREN = workspace:GetDescendants()
  8136. for index, CHILD in pairs(CHILDREN) do
  8137. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8138. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8139. if HUM then
  8140. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8141. if TORSO then
  8142. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8143. for _, c in pairs(CHILD:GetChildren()) do
  8144. if c:IsA("BasePart") then
  8145. local bv = Instance.new("BodyVelocity")
  8146. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8147. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8148. bv.Parent = c
  8149. Debris:AddItem(bv,0.05)
  8150. end
  8151. end
  8152. HUM.Health = HUM.Health - 0.3
  8153. end
  8154. end
  8155. end
  8156. end
  8157. end
  8158. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  8159. end
  8160. for i = 1, 180 do
  8161. E = E + 1
  8162. Swait()
  8163. if E >= 35 then
  8164. E = 0
  8165. 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})
  8166. end
  8167. LOOP.Parent = FIELD
  8168. local CHILDREN = workspace:GetDescendants()
  8169. for index, CHILD in pairs(CHILDREN) do
  8170. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8171. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8172. if HUM then
  8173. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8174. if TORSO then
  8175. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8176. for _, c in pairs(CHILD:GetChildren()) do
  8177. if c:IsA("BasePart") then
  8178. local bv = Instance.new("BodyVelocity")
  8179. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8180. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8181. bv.Parent = c
  8182. Debris:AddItem(bv,0.05)
  8183. end
  8184. end
  8185. HUM.Health = HUM.Health - 0.3
  8186. end
  8187. end
  8188. end
  8189. end
  8190. end
  8191. end
  8192. ApplyAoE(FIELD.Position,40,15,20,375,false)
  8193. 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})
  8194. for i = 1, 5 do
  8195. 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})
  8196. end
  8197. FIELD:remove()
  8198. end))
  8199. elseif RANDOMEFFECT == 5 then
  8200. end
  8201. wait(0.5)
  8202. for i = 1, 25 do
  8203. Swait()
  8204. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  8205. end
  8206. PANDORASBOX:remove()
  8207. RINGSPIN = false
  8208. end))
  8209. ATTACK = false
  8210. Rooted = false
  8211. end
  8212. end
  8213.  
  8214. function Taunt()
  8215. ATTACK = true
  8216. local LAUGH = nil
  8217. coroutine.resume(coroutine.create(function()
  8218. repeat
  8219. Swait()
  8220. 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)
  8221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8222. 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)
  8223. 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)
  8224. 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)
  8225. 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)
  8226. until LAUGH ~= nil
  8227. repeat
  8228. Swait()
  8229. LAUGH.Parent = Head
  8230. 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)
  8231. 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)
  8232. 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)
  8233. 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)
  8234. 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)
  8235. 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)
  8236. until LAUGH.Playing == false
  8237. ATTACK = false
  8238. end))
  8239. wait(0.1)
  8240. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  8241. end
  8242. function SpawnTrail(FROM,TO,BIG)
  8243. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  8244. MakeForm(TRAIL,"Cyl")
  8245. local DIST = (FROM - TO).Magnitude
  8246. if BIG == true then
  8247. TRAIL.Size = VT(0.5,DIST,0.5)
  8248. else
  8249. TRAIL.Size = VT(0.25,DIST,0.25)
  8250. end
  8251. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  8252. coroutine.resume(coroutine.create(function()
  8253. for i = 1, 5 do
  8254. Swait()
  8255. TRAIL.Transparency = TRAIL.Transparency + 0.1
  8256. end
  8257. TRAIL:remove()
  8258. end))
  8259. end
  8260. local A = IT("Attachment",RightBarrel)
  8261. A.Position = VT(0,-2.5,0)
  8262. local B = IT("Attachment",RightBarrel)
  8263. B.Position = VT(0,2.5,0)
  8264. local Trail = IT("Trail",RightBarrel)
  8265. Trail.Attachment0 = A
  8266. Trail.Attachment1 = B
  8267. Trail.Lifetime = 0.2
  8268. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  8269. Trail.Transparency = NumberSequence.new(0, 1)
  8270. Trail.Enabled = false
  8271. function Execute()
  8272. ATTACK = true
  8273. Rooted = false
  8274. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  8275. Part.Color = C3(0,0,0)
  8276. MakeForm(Part,"Wedge")
  8277. Part.CanCollide = true
  8278. 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))
  8279. for i=0, 0.1, 0.1 / Animation_Speed do
  8280. Swait()
  8281. 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)
  8282. 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)
  8283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8285. 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)
  8286. 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)
  8287. end
  8288. Trail.Enabled = true
  8289. CreateSound(541909867, Barrel, 7, 1, false)
  8290. local TOCH = Part.Touched:Connect(function(hit)
  8291. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  8292. Kill(hit.Parent)
  8293. end
  8294. end)
  8295. for i=0, 0.35, 0.1 / Animation_Speed do
  8296. Swait()
  8297. 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)
  8298. 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)
  8299. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8300. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8301. 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)
  8302. 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)
  8303. end
  8304. TOCH:disconnect()
  8305. Trail.Enabled = false
  8306. for i=0, 0.35, 0.1 / Animation_Speed do
  8307. Swait()
  8308. 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)
  8309. 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)
  8310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8312. 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)
  8313. 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)
  8314. end
  8315. Part:remove()
  8316. ATTACK = false
  8317. Rooted = false
  8318. end
  8319.  
  8320. function Final_Limit()
  8321. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8322. if HITFLOOR ~= nil then
  8323. do
  8324. local HITBODIES = {}
  8325. ATTACK = true
  8326. Rooted = true
  8327. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  8328. ABSOLUTE.Color = C3(0, 0, 0)
  8329. MakeForm(ABSOLUTE, "Ball")
  8330. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  8331. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  8332. for i = 0, 4, 0.1 / Animation_Speed do
  8333. Swait()
  8334. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  8335. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  8336. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  8337. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  8338. MakeForm(CHARGE, "Ball")
  8339. CHARGE.Color = C3(0, 0, 0)
  8340. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  8341. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  8342. 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)
  8343. 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)
  8344. 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)
  8345. 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)
  8346. 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)
  8347. 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)
  8348. end
  8349. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, "Really black", "BatWings", VT(2, 2, 2))
  8350. WING.Color = C3(0, 0, 0)
  8351. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8352. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  8353. for i = 1, 15 do
  8354. Swait()
  8355. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8356. WING.Transparency = WING.Transparency - 0.06666666666666667
  8357. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  8358. 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)
  8359. 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)
  8360. 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)
  8361. 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)
  8362. 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)
  8363. 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)
  8364. end
  8365. for i = 1, 15 do
  8366. Swait()
  8367. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8368. WING.Transparency = WING.Transparency - 0.06666666666666667
  8369. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  8370. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  8371. 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)
  8372. 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)
  8373. 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)
  8374. 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)
  8375. 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)
  8376. 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)
  8377. end
  8378. coroutine.resume(coroutine.create(function()
  8379. local LOOP = 0
  8380. local ech = 0
  8381. for i = 1, 250 do
  8382. LOOP = LOOP + 1
  8383. Swait()
  8384. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  8385. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8386. 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)
  8387. if LOOP == 25 then
  8388. LOOP = 0
  8389. ech = ech + 1
  8390. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  8391. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  8392. for i = 1, 5 do
  8393. 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))
  8394. 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))
  8395. end
  8396. end
  8397. end
  8398. for i = 1, 10 do
  8399. Swait()
  8400. WING.Transparency = WING.Transparency + 0.1
  8401. end
  8402. WING:remove()
  8403. for i = 1, 10 do
  8404. Swait()
  8405. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  8406. end
  8407. ABSOLUTE:remove()
  8408. end))
  8409. ATTACK = false
  8410. Rooted = false
  8411. end
  8412. end
  8413. end
  8414.  
  8415. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  8416. local CHILDREN = workspace:GetDescendants()
  8417. for index, CHILD in pairs(CHILDREN) do
  8418. if CHILD.ClassName == "Model" and CHILD ~= Character then
  8419. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8420. if HUM then
  8421. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8422. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  8423. if EBANISH == true then
  8424. Banish(CHILD)
  8425. else
  8426. local DMG = MRANDOM(MINDMG, MAXDMG)
  8427. ApplyDamage(HUM, DMG, TORSO)
  8428. end
  8429. if FLING > 0 then
  8430. for _, c in pairs(CHILD:GetChildren()) do
  8431. if c:IsA("BasePart") then
  8432. local bv = Instance.new("BodyVelocity")
  8433. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8434. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  8435. bv.Parent = c
  8436. Debris:AddItem(bv, 0.05)
  8437. end
  8438. end
  8439. end
  8440. end
  8441. end
  8442. end
  8443. end
  8444. end
  8445.  
  8446. function Eon_Fire()
  8447. ATTACK = true
  8448. Rooted = true
  8449. local GYRO = IT("BodyGyro", RootPart)
  8450. GYRO.D = 15
  8451. GYRO.P = 2000
  8452. GYRO.MaxTorque = VT(0, 4000000, 0)
  8453. CreateSound("341301115", Head, 5, 1.1)
  8454. CreateSound("93724183", Head, 6, 1)
  8455. for i = 1, 200 do
  8456. Swait()
  8457. WACKYEFFECT({
  8458. Time = MRANDOM(5, 15),
  8459. EffectType = "Round Slash",
  8460. Size = VT(0, 0, 0),
  8461. Size2 = VT(0.12, 0, 0.12),
  8462. Transparency = 0.5,
  8463. Transparency2 = 1,
  8464. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8465. MoveToPos = nil,
  8466. RotationX = MRANDOM(-50, 50) / 50,
  8467. RotationY = MRANDOM(-50, 50) / 10,
  8468. RotationZ = MRANDOM(-50, 50) / 50,
  8469. Material = "Neon",
  8470. Color = color,
  8471. SoundID = nil,
  8472. SoundPitch = nil,
  8473. SoundVolume = nil
  8474. })
  8475. WACKYEFFECT({
  8476. Time = MRANDOM(5, 15),
  8477. EffectType = "Round Slash",
  8478. Size = VT(0, 0, 0),
  8479. Size2 = VT(0.1, 0, 0.1),
  8480. Transparency = 0.5,
  8481. Transparency2 = 1,
  8482. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8483. MoveToPos = nil,
  8484. RotationX = MRANDOM(-50, 50) / 50,
  8485. RotationY = MRANDOM(-50, 50) / 10,
  8486. RotationZ = MRANDOM(-50, 50) / 50,
  8487. Material = "Neon",
  8488. Color = color,
  8489. SoundID = nil,
  8490. SoundPitch = nil,
  8491. SoundVolume = nil
  8492. })
  8493. WACKYEFFECT({
  8494. Time = MRANDOM(5, 15),
  8495. EffectType = "Round Slash",
  8496. Size = VT(0, 0, 0),
  8497. Size2 = VT(0.16, 0, 0.16),
  8498. Transparency = 0.5,
  8499. Transparency2 = 1,
  8500. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8501. MoveToPos = nil,
  8502. RotationX = MRANDOM(-50, 50) / 50,
  8503. RotationY = MRANDOM(-50, 50) / 10,
  8504. RotationZ = MRANDOM(-50, 50) / 50,
  8505. Material = "Neon",
  8506. Color = color,
  8507. SoundID = nil,
  8508. SoundPitch = nil,
  8509. SoundVolume = nil
  8510. })
  8511. WACKYEFFECT({
  8512. Time = 5,
  8513. EffectType = "Sphere",
  8514. Size = VT(i, i, i) / 150,
  8515. Size2 = VT(0, 0, 0),
  8516. Transparency = 0.5,
  8517. Transparency2 = 1,
  8518. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8519. MoveToPos = nil,
  8520. RotationX = 0,
  8521. RotationY = 0,
  8522. RotationZ = 0,
  8523. Material = "Neon",
  8524. Color = color,
  8525. SoundID = nil,
  8526. SoundPitch = nil,
  8527. SoundVolume = nil
  8528. })
  8529. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8530. 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)
  8531. 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)
  8532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8534. 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)
  8535. 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)
  8536. end
  8537. GYRO:remove()
  8538. for i = 0, 0.3, 0.1 / Animation_Speed do
  8539. Swait()
  8540. WACKYEFFECT({
  8541. Time = 25,
  8542. EffectType = "Sphere",
  8543. Size = VT(200, 200, 200) / 150,
  8544. Size2 = VT(0, 0, 0),
  8545. Transparency = 0.5,
  8546. Transparency2 = 1,
  8547. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8548. MoveToPos = nil,
  8549. RotationX = 0,
  8550. RotationY = 0,
  8551. RotationZ = 0,
  8552. Material = "Neon",
  8553. Color = color,
  8554. SoundID = nil,
  8555. SoundPitch = nil,
  8556. SoundVolume = nil
  8557. })
  8558. 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)
  8559. 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)
  8560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8562. 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)
  8563. 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)
  8564. end
  8565. coroutine.resume(coroutine.create(function()
  8566. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  8567. MakeForm(FIREBALL, "Ball")
  8568. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8569. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8570. for i = 1, 500 do
  8571. Swait()
  8572. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8573. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8574. if HITFLOOR ~= nil then
  8575. break
  8576. end
  8577. end
  8578. CreateSound(325132788, Effects, 8, 1, false)
  8579. for i = 1, 120 do
  8580. Swait()
  8581. WACKYEFFECT({
  8582. Time = 85,
  8583. EffectType = "Sphere",
  8584. Size = FIREBALL.Size,
  8585. Size2 = VT(0, 1000, 0),
  8586. Transparency = 0.5,
  8587. Transparency2 = 1,
  8588. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8589. MoveToPos = nil,
  8590. RotationX = MRANDOM(-50, 50) / 10,
  8591. RotationY = MRANDOM(-50, 50) / 10,
  8592. RotationZ = MRANDOM(-50, 50) / 10,
  8593. Material = "Neon",
  8594. Color = color,
  8595. SoundID = nil,
  8596. SoundPitch = nil,
  8597. SoundVolume = nil
  8598. })
  8599. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  8600. end
  8601. Swait(5)
  8602. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  8603. for i = 1, 10 do
  8604. WACKYEFFECT({
  8605. Time = 85 + 5 * i,
  8606. EffectType = "Slash",
  8607. Size = VT(3, 0, 3),
  8608. Size2 = VT(12, 0, 12),
  8609. Transparency = 0.5,
  8610. Transparency2 = 1,
  8611. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8612. MoveToPos = nil,
  8613. RotationX = MRANDOM(-50, 50) / 50,
  8614. RotationY = MRANDOM(-50, 50) / 10,
  8615. RotationZ = MRANDOM(-50, 50) / 50,
  8616. Material = "Neon",
  8617. Color = C3(1, 1, 1),
  8618. SoundID = nil,
  8619. SoundPitch = nil,
  8620. SoundVolume = nil
  8621. })
  8622. WACKYEFFECT({
  8623. Time = 185 + 5 * i,
  8624. EffectType = "Swirl",
  8625. Size = VT(15, 15, 15),
  8626. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  8627. Transparency = 0.5,
  8628. Transparency2 = 1,
  8629. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8630. MoveToPos = nil,
  8631. RotationX = MRANDOM(-50, 50) / 50,
  8632. RotationY = MRANDOM(-50, 50) / 10,
  8633. RotationZ = MRANDOM(-50, 50) / 50,
  8634. Material = "Neon",
  8635. Color = C3(1, 0.5, 0.5),
  8636. SoundID = nil,
  8637. SoundPitch = nil,
  8638. SoundVolume = nil
  8639. })
  8640. WACKYEFFECT({
  8641. Time = 285 + 5 * i,
  8642. EffectType = "Round Slash",
  8643. Size = VT(3, 0, 3),
  8644. Size2 = VT(12, 0, 12),
  8645. Transparency = 0.5,
  8646. Transparency2 = 1,
  8647. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8648. MoveToPos = nil,
  8649. RotationX = MRANDOM(-50, 50) / 50,
  8650. RotationY = MRANDOM(-50, 50) / 10,
  8651. RotationZ = MRANDOM(-50, 50) / 50,
  8652. Material = "Neon",
  8653. Color = color,
  8654. SoundID = nil,
  8655. SoundPitch = nil,
  8656. SoundVolume = nil
  8657. })
  8658. WACKYEFFECT({
  8659. Time = 285 + 5 * i,
  8660. EffectType = "Sphere",
  8661. Size = VT(650, 650, 650),
  8662. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  8663. Transparency = 0.5,
  8664. Transparency2 = 1,
  8665. CFrame = FIREBALL.CFrame,
  8666. MoveToPos = nil,
  8667. RotationX = 0,
  8668. RotationY = 0,
  8669. RotationZ = 0,
  8670. Material = "Neon",
  8671. Color = color,
  8672. SoundID = nil,
  8673. SoundPitch = 0,
  8674. SoundVolume = 0
  8675. })
  8676. end
  8677. wait(1)
  8678. WACKYEFFECT({
  8679. Time = 75,
  8680. EffectType = "Sphere",
  8681. Size = VT(350, 350, 350),
  8682. Size2 = VT(4500, 4500, 4500),
  8683. Transparency = 0.8,
  8684. Transparency2 = 1,
  8685. CFrame = FIREBALL.CFrame,
  8686. MoveToPos = nil,
  8687. RotationX = 0,
  8688. RotationY = 0,
  8689. RotationZ = 0,
  8690. Material = "Neon",
  8691. Color = C3(1, 1, 1),
  8692. SoundID = nil,
  8693. SoundPitch = 0,
  8694. SoundVolume = 0
  8695. })
  8696. for i = 1, 15 do
  8697. Swait()
  8698. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  8699. WACKYEFFECT({
  8700. Time = 85,
  8701. EffectType = "Sphere",
  8702. Size = VT(75, 75, 75),
  8703. Size2 = VT(0, 2500, 0),
  8704. Transparency = 0.5,
  8705. Transparency2 = 1,
  8706. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8707. MoveToPos = nil,
  8708. RotationX = MRANDOM(-50, 50) / 10,
  8709. RotationY = MRANDOM(-50, 50) / 10,
  8710. RotationZ = MRANDOM(-50, 50) / 10,
  8711. Material = "Neon",
  8712. Color = color,
  8713. SoundID = nil,
  8714. SoundPitch = nil,
  8715. SoundVolume = nil
  8716. })
  8717. end
  8718. FIREBALL:remove()
  8719. end))
  8720. WACKYEFFECT({
  8721. Time = 25,
  8722. EffectType = "Ring",
  8723. Size = VT(0, 0, 0),
  8724. Size2 = VT(3.75, 3.75, 0),
  8725. Transparency = 0.7,
  8726. Transparency2 = 1,
  8727. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8728. MoveToPos = nil,
  8729. RotationX = 0,
  8730. RotationY = 0,
  8731. RotationZ = 0,
  8732. Material = "Neon",
  8733. Color = color,
  8734. SoundID = nil,
  8735. SoundPitch = nil,
  8736. SoundVolume = nil
  8737. })
  8738. WACKYEFFECT({
  8739. Time = 50,
  8740. EffectType = "Ring",
  8741. Size = VT(0, 0, 0),
  8742. Size2 = VT(15, 15, 0),
  8743. Transparency = 0.7,
  8744. Transparency2 = 1,
  8745. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8746. MoveToPos = nil,
  8747. RotationX = 0,
  8748. RotationY = 0,
  8749. RotationZ = 0,
  8750. Material = "Neon",
  8751. Color = color,
  8752. SoundID = nil,
  8753. SoundPitch = nil,
  8754. SoundVolume = nil
  8755. })
  8756. for i = 0, 0.3, 0.1 / Animation_Speed do
  8757. Swait()
  8758. 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)
  8759. 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)
  8760. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8762. 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)
  8763. 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)
  8764. end
  8765. ATTACK = false
  8766. Rooted = false
  8767. end
  8768.  
  8769. function UEon_Fire()
  8770. ATTACK = true
  8771. Rooted = true
  8772. local GYRO = IT("BodyGyro", RootPart)
  8773. GYRO.D = 15
  8774. GYRO.P = 2000
  8775. GYRO.MaxTorque = VT(0, 4000000, 0)
  8776. CreateSound("341301115", Head, 5, 1.1)
  8777. CreateSound("93724183", Head, 6, 1)
  8778. for i = 1, 200 do
  8779. Swait()
  8780. WACKYEFFECT({
  8781. Time = MRANDOM(5, 15),
  8782. EffectType = "Round Slash",
  8783. Size = VT(0, 0, 0),
  8784. Size2 = VT(80.12, 0, 80.12),
  8785. Transparency = 0.5,
  8786. Transparency2 = 0,
  8787. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8788. MoveToPos = nil,
  8789. RotationX = MRANDOM(-50, 50) / 50,
  8790. RotationY = MRANDOM(-50, 50) / 10,
  8791. RotationZ = MRANDOM(-50, 50) / 50,
  8792. Material = "Neon",
  8793. Color = color,
  8794. SoundID = nil,
  8795. SoundPitch = nil,
  8796. SoundVolume = nil
  8797. })
  8798. WACKYEFFECT({
  8799. Time = MRANDOM(5, 15),
  8800. EffectType = "Round Slash",
  8801. Size = VT(0, 0, 0),
  8802. Size2 = VT(80.1, 0, 80.1),
  8803. Transparency = 0.5,
  8804. Transparency2 = 1,
  8805. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8806. MoveToPos = nil,
  8807. RotationX = MRANDOM(-150, 150) / 150,
  8808. RotationY = MRANDOM(-150, 150) / 110,
  8809. RotationZ = MRANDOM(-150, 150) / 150,
  8810. Material = "Neon",
  8811. Color = color,
  8812. SoundID = nil,
  8813. SoundPitch = nil,
  8814. SoundVolume = nil
  8815. })
  8816. WACKYEFFECT({
  8817. Time = MRANDOM(5, 15),
  8818. EffectType = "Round Slash",
  8819. Size = VT(0, 0, 0),
  8820. Size2 = VT(80.16, 0, 80.16),
  8821. Transparency = 0.5,
  8822. Transparency2 = 1,
  8823. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8824. MoveToPos = nil,
  8825. RotationX = MRANDOM(-150, 150) / 150,
  8826. RotationY = MRANDOM(-150, 150) / 110,
  8827. RotationZ = MRANDOM(-150, 150) / 150,
  8828. Material = "Neon",
  8829. Color = color,
  8830. SoundID = nil,
  8831. SoundPitch = nil,
  8832. SoundVolume = nil
  8833. })
  8834. WACKYEFFECT({
  8835. Time = 5,
  8836. EffectType = "Sphere",
  8837. Size = VT(i, i, i) / 150,
  8838. Size2 = VT(0, 0, 0),
  8839. Transparency = 0.5,
  8840. Transparency2 = 0,
  8841. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8842. MoveToPos = nil,
  8843. RotationX = 0,
  8844. RotationY = 0,
  8845. RotationZ = 0,
  8846. Material = "Neon",
  8847. Color = color,
  8848. SoundID = nil,
  8849. SoundPitch = nil,
  8850. SoundVolume = nil
  8851. })
  8852. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8853. 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)
  8854. 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)
  8855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8857. 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)
  8858. 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)
  8859. end
  8860. GYRO:remove()
  8861. for i = 0, 0.3, 0.1 / Animation_Speed do
  8862. Swait()
  8863. WACKYEFFECT({
  8864. Time = 25,
  8865. EffectType = "Sphere",
  8866. Size = VT(111200, 111200, 111200) / 11150,
  8867. Size2 = VT(0, 0, 0),
  8868. Transparency = 0.5,
  8869. Transparency2 = 1,
  8870. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8871. MoveToPos = nil,
  8872. RotationX = 0,
  8873. RotationY = 0,
  8874. RotationZ = 0,
  8875. Material = "Neon",
  8876. Color = color,
  8877. SoundID = nil,
  8878. SoundPitch = nil,
  8879. SoundVolume = nil
  8880. })
  8881. 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)
  8882. 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)
  8883. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8884. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8885. 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)
  8886. 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)
  8887. end
  8888. coroutine.resume(coroutine.create(function()
  8889. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(10, 10, 10))
  8890. MakeForm(FIREBALL, "Ball")
  8891. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8892. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8893. for i = 1, 500 do
  8894. Swait()
  8895. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8896. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8897. if HITFLOOR ~= nil then
  8898. break
  8899. end
  8900. end
  8901. CreateSound(325132788, Effects, 8, 1, false)
  8902. for i = 1, 120 do
  8903. Swait()
  8904. WACKYEFFECT({
  8905. Time = 85,
  8906. EffectType = "Sphere",
  8907. Size = FIREBALL.Size,
  8908. Size2 = VT(0, 1000000, 0),
  8909. Transparency = 0.5,
  8910. Transparency2 = 0,
  8911. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8912. MoveToPos = nil,
  8913. RotationX = MRANDOM(-150, 150) / 110,
  8914. RotationY = MRANDOM(-150, 150) / 110,
  8915. RotationZ = MRANDOM(-150, 150) / 110,
  8916. Material = "Neon",
  8917. Color = color,
  8918. SoundID = nil,
  8919. SoundPitch = nil,
  8920. SoundVolume = nil
  8921. })
  8922. FIREBALL.Size = FIREBALL.Size - VT(100000, 100000, 100000) / 12000000
  8923. end
  8924. Swait(5)
  8925. ApplyAoE5(FIREBALL.Position, 43500000, 6500000, 6500000, 60000000, true)
  8926. for i = 1, 10 do
  8927. WACKYEFFECT({
  8928. Time = 85 + 5 * i,
  8929. EffectType = "Slash",
  8930. Size = VT(113, 0, 113),
  8931. Size2 = VT(1200000, 0, 1200000),
  8932. Transparency = 0.5,
  8933. Transparency2 = 0,
  8934. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8935. MoveToPos = nil,
  8936. RotationX = MRANDOM(-150, 150) / 150,
  8937. RotationY = MRANDOM(-150, 150) / 110,
  8938. RotationZ = MRANDOM(-150, 150) / 150,
  8939. Material = "Neon",
  8940. Color = C3(1, 1, 1),
  8941. SoundID = nil,
  8942. SoundPitch = nil,
  8943. SoundVolume = nil
  8944. })
  8945. WACKYEFFECT({
  8946. Time = 185 + 5 * i,
  8947. EffectType = "Swirl",
  8948. Size = VT(1000005, 1500000, 1500000),
  8949. Size2 = VT(70000000, 70000000, 70000000) + VT(1500000, 1500000, 1500000) * i,
  8950. Transparency = 0.5,
  8951. Transparency2 = 1,
  8952. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8953. MoveToPos = nil,
  8954. RotationX = MRANDOM(-50, 50) / 50,
  8955. RotationY = MRANDOM(-50, 50) / 10,
  8956. RotationZ = MRANDOM(-50, 50) / 50,
  8957. Material = "Neon",
  8958. Color = C3(1, 0.5, 0.5),
  8959. SoundID = nil,
  8960. SoundPitch = nil,
  8961. SoundVolume = nil
  8962. })
  8963. WACKYEFFECT({
  8964. Time = 285 + 5 * i,
  8965. EffectType = "Round Slash",
  8966. Size = VT(300000, 0, 300000),
  8967. Size2 = VT(1200000, 0, 1200000),
  8968. Transparency = 0.5,
  8969. Transparency2 = 1,
  8970. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8971. MoveToPos = nil,
  8972. RotationX = MRANDOM(-50, 50) / 50,
  8973. RotationY = MRANDOM(-50, 50) / 10,
  8974. RotationZ = MRANDOM(-50, 50) / 50,
  8975. Material = "Neon",
  8976. Color = color,
  8977. SoundID = nil,
  8978. SoundPitch = nil,
  8979. SoundVolume = nil
  8980. })
  8981. WACKYEFFECT({
  8982. Time = 285 + 5 * i,
  8983. EffectType = "Sphere",
  8984. Size = VT(6500000, 6500000, 6500000),
  8985. Size2 = VT(7500000, 7500000, 7500000) + VT(1500000, 1500000, 1500000) * i,
  8986. Transparency = 0.5,
  8987. Transparency2 = 1,
  8988. CFrame = FIREBALL.CFrame,
  8989. MoveToPos = nil,
  8990. RotationX = 0,
  8991. RotationY = 0,
  8992. RotationZ = 0,
  8993. Material = "Neon",
  8994. Color = color,
  8995. SoundID = nil,
  8996. SoundPitch = 0,
  8997. SoundVolume = 0
  8998. })
  8999. end
  9000. wait(1)
  9001. WACKYEFFECT({
  9002. Time = 75,
  9003. EffectType = "Sphere",
  9004. Size = VT(35000000, 35000000, 35000000),
  9005. Size2 = VT(450000000, 450000000, 450000000),
  9006. Transparency = 0.8,
  9007. Transparency2 = 1,
  9008. CFrame = FIREBALL.CFrame,
  9009. MoveToPos = nil,
  9010. RotationX = 0,
  9011. RotationY = 0,
  9012. RotationZ = 0,
  9013. Material = "Neon",
  9014. Color = C3(1, 1, 1),
  9015. SoundID = nil,
  9016. SoundPitch = 0,
  9017. SoundVolume = 0
  9018. })
  9019. for i = 1, 15 do
  9020. Swait()
  9021. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  9022. WACKYEFFECT({
  9023. Time = 85,
  9024. EffectType = "Sphere",
  9025. Size = VT(7500000, 7500000, 7500000),
  9026. Size2 = VT(0, 250000000, 0),
  9027. Transparency = 0.5,
  9028. Transparency2 = 1,
  9029. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  9030. MoveToPos = nil,
  9031. RotationX = MRANDOM(-50, 50) / 10,
  9032. RotationY = MRANDOM(-50, 50) / 10,
  9033. RotationZ = MRANDOM(-50, 50) / 10,
  9034. Material = "Neon",
  9035. Color = color,
  9036. SoundID = nil,
  9037. SoundPitch = nil,
  9038. SoundVolume = nil
  9039. })
  9040. end
  9041. FIREBALL:remove()
  9042. end))
  9043. WACKYEFFECT({
  9044. Time = 25,
  9045. EffectType = "Ring",
  9046. Size = VT(0, 0, 0),
  9047. Size2 = VT(3.7555, 3.7555, 0),
  9048. Transparency = 0.7,
  9049. Transparency2 = 1,
  9050. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9051. MoveToPos = nil,
  9052. RotationX = 0,
  9053. RotationY = 0,
  9054. RotationZ = 0,
  9055. Material = "Neon",
  9056. Color = color,
  9057. SoundID = nil,
  9058. SoundPitch = nil,
  9059. SoundVolume = nil
  9060. })
  9061. WACKYEFFECT({
  9062. Time = 50,
  9063. EffectType = "Ring",
  9064. Size = VT(0, 0, 0),
  9065. Size2 = VT(1500000, 1500000, 0),
  9066. Transparency = 0.7,
  9067. Transparency2 = 1,
  9068. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9069. MoveToPos = nil,
  9070. RotationX = 0,
  9071. RotationY = 0,
  9072. RotationZ = 0,
  9073. Material = "Neon",
  9074. Color = color,
  9075. SoundID = nil,
  9076. SoundPitch = nil,
  9077. SoundVolume = nil
  9078. })
  9079. for i = 0, 0.3, 0.1 / Animation_Speed do
  9080. Swait()
  9081. 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)
  9082. 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)
  9083. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9084. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9085. 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)
  9086. 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)
  9087. end
  9088. ATTACK = false
  9089. Rooted = false
  9090. end
  9091. 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))
  9092. MakeForm(Eye,"Ball")
  9093.  
  9094. function AttackTemplate()
  9095. ATTACK = true
  9096. Rooted = false
  9097. for i=0, 1, 0.1 / Animation_Speed do
  9098. Swait()
  9099. 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)
  9100. 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)
  9101. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9102. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9103. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9104. 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)
  9105. 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)
  9106. end
  9107. ATTACK = false
  9108. Rooted = false
  9109. end
  9110.  
  9111. function VoidWarp()
  9112. ATTACK = true
  9113. Rooted = false
  9114. for i=0, 0.2, 0.1 / Animation_Speed do
  9115. Swait()
  9116. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9117. 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)
  9118. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9119. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9120. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9121. 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)
  9122. 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)
  9123. end
  9124. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  9125. CreateSound("1208650519", Torso, 10, 2.5)
  9126. local GUI,GUI2 = CreateGUICircle(Torso)
  9127. for i = 1, 50 do
  9128. Swait()
  9129. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9130. GUI2.Rotation = GUI2.Rotation + i/10
  9131. end
  9132. CastWarpOutlines(Character)
  9133. local POS = Torso.Position
  9134. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  9135. Swait()
  9136. CreateSound("1177785010", Torso, 10, 1)
  9137. coroutine.resume(coroutine.create(function()
  9138. for i = 1, 50 do
  9139. Swait()
  9140. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  9141. GUI2.Rotation = GUI2.Rotation - i/10
  9142. end
  9143. end))
  9144. ATTACK = false
  9145. Rooted = false
  9146. end
  9147.  
  9148. local asd = Instance.new("ParticleEmitter")
  9149. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  9150. asd.LightEmission = .1
  9151. asd.Size = NumberSequence.new(0.2)
  9152. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  9153. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  9154. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  9155. asd.Transparency = bbb
  9156. asd.Size = aaa
  9157. asd.ZOffset = .9
  9158. asd.Acceleration = Vector3.new(0, -15, 0)
  9159. asd.LockedToPart = false
  9160. asd.EmissionDirection = "Back"
  9161. asd.Lifetime = NumberRange.new(1, 2)
  9162. asd.Rotation = NumberRange.new(-100, 100)
  9163. asd.RotSpeed = NumberRange.new(-100, 100)
  9164. asd.Speed = NumberRange.new(25,35)
  9165. asd.Enabled = false
  9166. asd.VelocitySpread = 5
  9167.  
  9168. function getbloody(victim,amount)
  9169. local PART = IT("Part",Effects)
  9170. PART.Transparency = 1
  9171. PART.Size = victim.Size
  9172. PART.Anchored = true
  9173. PART.CanCollide = false
  9174. PART.CFrame = CF(victim.Position,Torso.Position)
  9175. local HITPLAYERSOUNDS = {"356551938","264486467"}
  9176. Debris:AddItem(PART,5)
  9177. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  9178. local prtcl = asd:Clone()
  9179. prtcl.Parent = PART
  9180. prtcl:Emit(amount*10)
  9181. end
  9182.  
  9183. function impale(chain,hit)
  9184. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  9185. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  9186. if humanoid.Health ~= 0 then
  9187. hit.Parent:BreakJoints()
  9188. getbloody(hit,0)
  9189. local prtcl = asd:Clone()
  9190. prtcl.Parent = chain
  9191. prtcl.Enabled = true
  9192. prtcl.Speed = NumberRange.new(0)
  9193. prtcl.Size = NumberSequence.new(0.2)
  9194. end
  9195. end
  9196. end
  9197.  
  9198. function clerp(a, b, t)
  9199. return a:lerp(b, t)
  9200. end
  9201.  
  9202. function newBezier(startpos, pos2, pos3, endpos, t)
  9203. local A = clerp(startpos, pos2, t)
  9204. local B = clerp(pos2, pos3, t)
  9205. local C = clerp(pos3, endpos, t)
  9206. local lerp1 = clerp(A, B, t)
  9207. local lerp2 = clerp(B, C, t)
  9208. local cubic = clerp(lerp1, lerp2, t)
  9209. return cubic
  9210. end
  9211.  
  9212. function VoidChain()
  9213. ATTACK = true
  9214. Rooted = false
  9215. for i=0, 2, 0.1 / Animation_Speed do
  9216. turnto(Mouse.Hit.p)
  9217. Swait()
  9218. 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)
  9219. 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)
  9220. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9221. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  9222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  9223. 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)
  9224. 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)
  9225. end
  9226. CreateSound("1208650519", RightArm, 10, 2)
  9227. local RING = CreateMagicCircle()
  9228. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  9229. for i = 1, 5 do
  9230. turnto(Mouse.Hit.p)
  9231. Swait()
  9232. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9233. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9234. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9235. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  9236. RING.Size = RING.Size + VT(1,0,1)
  9237. end
  9238. coroutine.resume(coroutine.create(function()
  9239. local POS = Mouse.Hit.p
  9240. local A = IT("Attachment",RING)
  9241. for i = 1, 15 do
  9242. Swait(MRANDOM(0,5))
  9243. coroutine.resume(coroutine.create(function()
  9244. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9245. --print("Chain start")
  9246. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9247. Front.CanCollide = true
  9248. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  9249. local B = IT("Attachment",Front)
  9250. local ChainLink = IT("Beam",RING)
  9251. ChainLink.Texture = "rbxassetid://1262544869"
  9252. ChainLink.TextureSpeed = 0
  9253. ChainLink.FaceCamera = true
  9254. ChainLink.Width0 = 3
  9255. ChainLink.Attachment0 = A
  9256. ChainLink.Attachment1 = B
  9257. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9258. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9259. ChainLink.TextureMode = "Static"
  9260. local bv = Instance.new("BodyVelocity")
  9261. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9262. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9263. bv.Parent = Front
  9264. bv.Name = "MOVE"
  9265. --print("Chain made")
  9266. coroutine.resume(coroutine.create(function()
  9267. Swait(50)
  9268. bv:remove()
  9269. local POS = Front.Position
  9270. Front.CanCollide = false
  9271. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9272. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9273. for i = 0, 1, 0.07 do
  9274. Swait()
  9275. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9276. end
  9277. Front:remove()
  9278. ChainLink:remove()
  9279. end))
  9280. local harm = Front.Touched:Connect(function(hit)
  9281. impale(Front,hit)
  9282. end)
  9283. end))
  9284. end
  9285. Swait(60)
  9286. for i = 1, 5 do
  9287. Swait()
  9288. RING.Size = RING.Size - VT(1,0,1)
  9289. end
  9290. RING:remove()
  9291. end))
  9292. ATTACK = false
  9293. Rooted = false
  9294. end
  9295.  
  9296. function VortexLeash()
  9297. ATTACK = true
  9298. Rooted = true
  9299. for i=0, 1, 0.1 / Animation_Speed do
  9300. Swait()
  9301. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9303. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9304. 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)
  9305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  9306. 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)
  9307. 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)
  9308. end
  9309. local RING = CreateMagicCircle()
  9310. CreateSound("1208650519", RING, 10, 1.5)
  9311. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  9312. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  9313. for i = 1, 75 do
  9314. Swait()
  9315. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9316. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9317. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9318. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  9319. RING.Size = RING.Size + VT(1,0,1)
  9320. end
  9321. coroutine.resume(coroutine.create(function()
  9322. for i = 1, 450 do
  9323. Swait(2)
  9324. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  9325. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9326. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9327. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  9328. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  9329. local A = IT("Attachment",RING)
  9330. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  9331. coroutine.resume(coroutine.create(function()
  9332. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9333. --print("Chain start")
  9334. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9335. Front.CanCollide = false
  9336. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  9337. local B = IT("Attachment",Front)
  9338. local ChainLink = IT("Beam",RING)
  9339. ChainLink.Texture = "rbxassetid://1262544869"
  9340. ChainLink.TextureSpeed = 0
  9341. ChainLink.FaceCamera = true
  9342. ChainLink.Width0 = 3
  9343. ChainLink.Attachment0 = A
  9344. ChainLink.Attachment1 = B
  9345. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9346. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9347. ChainLink.TextureMode = "Static"
  9348. local bv = Instance.new("BodyVelocity")
  9349. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9350. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9351. bv.Parent = Front
  9352. bv.Name = "MOVE"
  9353. --print("Chain made")
  9354. coroutine.resume(coroutine.create(function()
  9355. Swait(50)
  9356. bv:remove()
  9357. local POS = Front.Position
  9358. Front.CanCollide = false
  9359. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9360. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9361. for i = 0, 1, 0.07 do
  9362. Swait()
  9363. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9364. end
  9365. Front:remove()
  9366. ChainLink:remove()
  9367. end))
  9368. local harm = Front.Touched:Connect(function(hit)
  9369. impale(Front,hit)
  9370. end)
  9371. end))
  9372. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  9373. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  9374. end
  9375. Swait(65)
  9376. for i = 1, 75 do
  9377. Swait()
  9378. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  9379. RING.Size = RING.Size - VT(1,0,1)
  9380. end
  9381. RING:remove()
  9382. end))
  9383. ATTACK = false
  9384. Rooted = false
  9385. end
  9386.  
  9387. function VortexBarrier()
  9388. ATTACK = true
  9389. Rooted = true
  9390. chatfunc("PRISON...",15)
  9391. for i=0, 2, 0.1 / Animation_Speed do
  9392. Swait()
  9393. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9394. 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)
  9395. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9398. 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)
  9399. 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)
  9400. end
  9401. for i=0, 0.5, 0.1 / Animation_Speed do
  9402. Swait()
  9403. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9404. 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)
  9405. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9406. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9407. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9408. 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)
  9409. 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)
  9410. end
  9411. chatfunc("BARRIER!!!",2)
  9412. CreateSound("1208650519", Effects, 10, 1)
  9413. local GUI,GUI2 = CreateGUICircle(Torso)
  9414. local GUI3,GUI4 = CreateGUICircle(Torso)
  9415. for i = 1, 200 do
  9416. Swait()
  9417. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9418. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9419. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9420. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9421. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9422. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9423. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9424. GUI2.Rotation = GUI2.Rotation + i/10
  9425. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  9426. GUI4.Rotation = GUI4.Rotation - i/10
  9427. end
  9428. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  9429. Swait(25)
  9430. for i = 1, 100 do
  9431. Swait()
  9432. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  9433. GUI2.Rotation = GUI2.Rotation - i/5
  9434. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  9435. GUI4.Rotation = GUI4.Rotation + i/5
  9436. end
  9437. GUI:remove()
  9438. GUI3:remove()
  9439. ATTACK = false
  9440. Rooted = false
  9441. end
  9442.  
  9443. function ApplyKill(POSITION,RANGE,BRUTAL)
  9444. local CHILDREN = workspace:GetDescendants()
  9445. for index, CHILD in pairs(CHILDREN) do
  9446. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9447. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9448. if HUM then
  9449. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9450. if TORSO then
  9451. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  9452. if BRUTAL == true then
  9453. Banish(CHILD)
  9454. else
  9455. CHILD:BreakJoints()
  9456. end
  9457. end
  9458. end
  9459. end
  9460. end
  9461. end
  9462. end
  9463.  
  9464.  
  9465. function RedStar()
  9466. ATTACK = true
  9467. Rooted = true
  9468. local SPOTS = {}
  9469. for i = 1, 15 do
  9470. Swait()
  9471. 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)
  9472. 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)
  9473. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9474. 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)
  9475. end
  9476. 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})
  9477. for i=0, 0.5, 0.1 / Animation_Speed do
  9478. Swait()
  9479. 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)
  9480. 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)
  9481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9482. 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)
  9483. end
  9484. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9485. table.insert(SPOTS,HITPOS)
  9486. CreateSound(145080998, Hole, 2, 1, false)
  9487. 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})
  9488. coroutine.resume(coroutine.create(function()
  9489. local POS = Mouse.Hit.p
  9490. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9491. MakeForm(RAY,"Cyl")
  9492. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9493. MakeForm(SPHERE,"Ball")
  9494. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  9495. MakeForm(SHIELD,"Ball")
  9496. SHIELD.CFrame = CF(POS)
  9497. RAY.CFrame = CF(POS)
  9498. SPHERE.CFrame = CF(POS)
  9499. CreateSound(440145570, SPHERE, 10, 0.8, false)
  9500. CreateSound(415700134, SPHERE, 10, 0.8, false)
  9501. for i = 1, 200 do
  9502. Swait()
  9503. 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})
  9504. 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})
  9505. 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})
  9506. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  9507. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  9508. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  9509. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  9510. end
  9511. for i = 1, 45 do
  9512. Swait()
  9513. RAY.Transparency = RAY.Transparency + 1/45
  9514. SPHERE.Transparency = RAY.Transparency
  9515. SHIELD.Transparency = SPHERE.Transparency + 1/45
  9516. end
  9517. RAY:remove()
  9518. SHIELD:remove()
  9519. SPHERE:remove()
  9520. end))
  9521. ATTACK = false
  9522. Rooted = false
  9523. end
  9524.  
  9525.  
  9526.  
  9527. function lightning()
  9528. ATTACK = true
  9529. Rooted = true
  9530. local SPOTS = {}
  9531. local BULLETS = 0
  9532. repeat
  9533. BULLETS = BULLETS + 1
  9534. for i = 1, 15 do
  9535. Swait()
  9536. 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)
  9537. 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)
  9538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9539. 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)
  9540. end
  9541. until KEYHOLD == false
  9542. for i = 1, BULLETS do
  9543. for i=0, 0.5, 0.1 / Animation_Speed do
  9544. Swait()
  9545. 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)
  9546. 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)
  9547. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9548. 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)
  9549. end
  9550. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9551. table.insert(SPOTS,HITPOS)
  9552.  
  9553. for i=0, 0.35, 0.1 / Animation_Speed do
  9554. Swait()
  9555.  
  9556. 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)
  9557. 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)
  9558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9559. 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)
  9560. end
  9561. end
  9562. coroutine.resume(coroutine.create(function()
  9563. for i = 1, #SPOTS do
  9564. wait(0.1)
  9565. coroutine.resume(coroutine.create(function()
  9566. local SPOT = SPOTS[i]
  9567. 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})
  9568. local POSITION = BOLT.Pos
  9569. ApplyAoE2(POSITION,75/2,0,0,350,true)
  9570. 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})
  9571. 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})
  9572. 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})
  9573. end))
  9574. end
  9575. end))
  9576. ATTACK = false
  9577. Rooted = false
  9578. end
  9579.  
  9580. function Shot()
  9581. ATTACK = true
  9582. Rooted = false
  9583. Weapon.Parent = Character
  9584. 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})
  9585. for i=0, 0.4, 0.1 / Animation_Speed do
  9586. Swait()
  9587. turnto(Mouse.Hit.p)
  9588. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  9589. 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)
  9590. 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)
  9591. 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)
  9592. 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)
  9593. 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)
  9594. end
  9595. repeat
  9596. for i=0, 0.2, 0.1 / Animation_Speed do
  9597. Swait()
  9598. turnto(Mouse.Hit.p)
  9599. 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)
  9600. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  9601. 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)
  9602. 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)
  9603. 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)
  9604. end
  9605. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  9606. SpawnTrail(Hole.Position,POS)
  9607. if HIT ~= nil then
  9608. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  9609. Banish(HIT.Parent)
  9610. end
  9611. end
  9612. 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})
  9613. 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})
  9614. 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})
  9615. 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})
  9616. for i=0, 0.3, 0.1 / Animation_Speed do
  9617. Swait()
  9618. 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)
  9619. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  9620. 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)
  9621. 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)
  9622. 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)
  9623. end
  9624. until KEYHOLD == false
  9625. Weapon.Parent = Character
  9626. 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})
  9627. 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})
  9628. ATTACK = false
  9629. Rooted = false
  9630. end
  9631.  
  9632. function Lunar_Blast()
  9633. local HITBODIES = {}
  9634. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
  9635. 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)
  9636. CENTER.CFrame = CF(ECH)
  9637. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
  9638. RAY.Color = C3(0.05,0.05,0.15)
  9639. MakeForm(RAY,"Cyl")
  9640. RAY.CFrame = CF(ECH)
  9641. for i = 1, 75 do
  9642. Swait()
  9643. RAY.Transparency = RAY.Transparency - 1/75
  9644. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  9645. 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))
  9646. end
  9647. killnearest(ECH,25,25)
  9648. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  9649. for i = 1, 25 do
  9650. 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))
  9651. end
  9652. CreateSound("168586621", CENTER, 10, 0.8)
  9653. RAY:remove()
  9654. Debris:AddItem(CENTER,5)
  9655. end
  9656.  
  9657. function shakes(power,length)
  9658. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  9659. local var = script.Shaker:Clone()
  9660. var.Parent = v.PlayerGui
  9661. local pw = var.Shakeval
  9662. local lgth = var.MultLength
  9663. pw.Value = power
  9664. lgth.Value = length
  9665. var.Disabled = false
  9666. end
  9667. end
  9668.  
  9669. function SuperStomp()
  9670. ATTACK = true
  9671. Rooted = true
  9672. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  9673. coroutine.resume(coroutine.create(function()
  9674. Swait(65)
  9675. shakes(1,1)
  9676. CreateSound(262562442,RightLeg,60,1,false)
  9677. CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
  9678. 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})
  9679. 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})
  9680. ApplyAoE(HITPOS,35,35,50,75,false)
  9681. end))
  9682. CreateSound(163619849,RightLeg,10,1,false)
  9683. for i=0, 2, 0.1 / Animation_Speed do
  9684. 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})
  9685. Swait()
  9686. 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)
  9687. 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)
  9688. 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)
  9689. 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)
  9690. 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)
  9691. 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)
  9692. end
  9693. for i=0, 1, 0.1 / Animation_Speed do
  9694. Swait()
  9695. 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)
  9696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  9697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9699. 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)
  9700. 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)
  9701. end
  9702. ATTACK = false
  9703. Rooted = false
  9704. end
  9705.  
  9706.  
  9707. function Bullet_Rain()
  9708. ATTACK = true
  9709. Rooted = true
  9710. Weapon.Parent = Character
  9711. 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})
  9712. for i=0, 0.6, 0.1 / Animation_Speed do
  9713. Swait()
  9714. 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)
  9715. 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)
  9716. 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)
  9717. 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)
  9718. 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)
  9719. end
  9720. local DONE = false
  9721. local GATE = nil
  9722. local GATESPIN = true
  9723. coroutine.resume(coroutine.create(function()
  9724. repeat
  9725. Swait()
  9726. if GATE ~= nil then
  9727. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  9728. end
  9729. until GATESPIN == false
  9730. end))
  9731. coroutine.resume(coroutine.create(function()
  9732. repeat
  9733. Swait()
  9734. 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)
  9735. 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)
  9736. 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)
  9737. 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)
  9738. 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)
  9739. until DONE == true
  9740. Swait(10)
  9741. for i = 1, 75 do
  9742. Swait(1.5)
  9743. local FIRED = false
  9744. local CHILDREN = workspace:GetDescendants()
  9745. for index, CHILD in pairs(CHILDREN) do
  9746. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9747. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9748. if HUM then
  9749. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9750. if TORSO then
  9751. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  9752. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  9753. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  9754. 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})
  9755. 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})
  9756. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9757. ApplyAoE(CFRAME.p,3,0.25,1,2,false)
  9758. FIRED = true
  9759. break
  9760. end
  9761. end
  9762. end
  9763. end
  9764. end
  9765. if FIRED == false then
  9766. 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)))
  9767. 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})
  9768. 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})
  9769. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9770. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  9771. if HITBOD ~= nil then
  9772. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  9773. ApplyAoE(HITBOD,3,0.25,1,0,false)
  9774. end
  9775. end
  9776. end
  9777. end
  9778. for i = 1, 45 do
  9779. Swait()
  9780. GATE.Size = GATE.Size - VT(3,0,3)
  9781. end
  9782. GATESPIN = false
  9783. GATE:remove()
  9784. end))
  9785. Swait(5)
  9786. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  9787. GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
  9788. local DECAL = IT("Decal",GATE)
  9789. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  9790. DECAL.Face = "Top"
  9791. GATE.CFrame = CF(HITPOS)
  9792. CreateSound(160772554, GATE, 7, 1.3, false)
  9793. for i = 1, 45 do
  9794. Swait()
  9795. GATE.Size = GATE.Size + VT(3,0,3)
  9796. end
  9797. CreateSound(145080998, Hole, 7, 1, false)
  9798. 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})
  9799. 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})
  9800. 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})
  9801. ATTACK = false
  9802. Rooted = false
  9803. DONE = true
  9804. end
  9805.  
  9806.  
  9807. function Needle()
  9808. ATTACK = true
  9809. Rooted = true
  9810. local GYRO = IT("BodyGyro",RootPart)
  9811. GYRO.D = 2
  9812. GYRO.P = 2000
  9813. GYRO.MaxTorque = VT(0,4000000,0)
  9814. local NEEDGYRO = true
  9815. coroutine.resume(coroutine.create(function()
  9816. repeat
  9817. Swait()
  9818. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9819. until NEEDGYRO == false
  9820. GYRO:Remove()
  9821. end))
  9822. for i=0, 0.3, 0.1 / Animation_Speed do
  9823. Swait()
  9824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9828. 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)
  9829. 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)
  9830. end
  9831. for i=0, 1, 0.1 / Animation_Speed do
  9832. Swait()
  9833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9837. 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)
  9838. 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)
  9839. end
  9840. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  9841. 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})
  9842. NEEDGYRO = false
  9843. if HIT then
  9844. local NEEDLE = IT("Model",Effects)
  9845. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  9846. MakeForm(BASE,"Cyl")
  9847. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  9848. weldBetween(BASE,HIT)
  9849. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  9850. MakeForm(FLUID,"Cyl")
  9851. FLUID.CFrame = BASE.CFrame
  9852. weldBetween(BASE,FLUID)
  9853. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  9854. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  9855. weldBetween(BASE,PART)
  9856. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  9857. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  9858. weldBetween(BASE,PART)
  9859. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  9860. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  9861. weldBetween(BASE,PART)
  9862. Debris:AddItem(NEEDLE,7)
  9863. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  9864. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  9865. coroutine.resume(coroutine.create(function()
  9866. for i = 1, 500 do
  9867. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  9868. if HUMAN.Health == 0 then
  9869. break
  9870. end
  9871. Swait(2)
  9872. end
  9873. if HUMAN.Health == 0 then
  9874. local CHILD = HUMAN.Parent
  9875. if CHILD:FindFirstChild("Torso") then
  9876. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  9877. Ragdoll(CHILD,Torso,true)
  9878. elseif CHILD:FindFirstChild("UpperTorso") then
  9879. R15Ragdoll(CHILD,true)
  9880. end
  9881. end
  9882. end))
  9883. end
  9884. end
  9885. for i=0, 1, 0.1 / Animation_Speed do
  9886. Swait()
  9887. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9891. 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)
  9892. 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)
  9893. end
  9894. ATTACK = false
  9895. Rooted = false
  9896. end
  9897.  
  9898. function Buzzsaw()
  9899. ATTACK = true
  9900. Rooted = false
  9901. local ARMSPEED = 0.1
  9902. local TARGET = nil
  9903. local ROOT = nil
  9904. local HUMAN = nil
  9905. local DIST = 4
  9906. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  9907. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  9908. local BLADE = true
  9909. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  9910. coroutine.resume(coroutine.create(function()
  9911. repeat
  9912. Swait()
  9913. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  9914. until BLADE == false
  9915. SAWBLADE:remove()
  9916. end))
  9917. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  9918. for i=0, 1, 0.1 / Animation_Speed do
  9919. Swait()
  9920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9924. 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)
  9925. 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)
  9926. end
  9927. for i=0, 2, 0.1 / Animation_Speed do
  9928. Swait()
  9929. local CHILDREN = workspace:GetDescendants()
  9930. for index, CHILD in pairs(CHILDREN) do
  9931. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9932. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9933. if HUM then
  9934. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9935. if TORSO and HUM.Health > 0 then
  9936. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  9937. DIST = (TORSO.Position - RightArm.Position).Magnitude
  9938. ROOT = TORSO
  9939. HUMAN = HUM
  9940. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9941. end
  9942. end
  9943. end
  9944. end
  9945. end
  9946. if ROOT then
  9947. break
  9948. end
  9949. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9950. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9951. 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)
  9952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9953. 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)
  9954. 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)
  9955. end
  9956. if ROOT then
  9957. ARMSPEED = 0.03
  9958. Rooted = true
  9959. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  9960. repeat
  9961. HUMAN.Health = HUMAN.Health - 0.5
  9962. Swait()
  9963. ROOT.Anchored = true
  9964. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9965. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9966. 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)
  9967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9968. 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)
  9969. 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)
  9970. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  9971. ROOT.Anchored = false
  9972. if HUMAN.Health == 0 then
  9973. if ROOT.Name ~= "Torso" then
  9974. ROOT:remove()
  9975. end
  9976. if TARGET.Name == "Torso" then
  9977. Ragdoll(HUMAN.Parent,Torso,true)
  9978. elseif TARGET.Name == "UpperTorso" then
  9979. R15Ragdoll(HUMAN.Parent,true)
  9980. end
  9981. end
  9982. end
  9983. BLADE = false
  9984. ATTACK = false
  9985. Rooted = false
  9986. end
  9987.  
  9988. --//=================================\\
  9989. --|| ASSIGN THINGS TO KEYS
  9990. --\\=================================//
  9991.  
  9992. function MouseDown(Mouse)
  9993. if ATTACK == false then
  9994. Execute()
  9995. end
  9996. end
  9997.  
  9998.  
  9999. function KeyDown(Key)
  10000. KEYHOLD = true
  10001. if Key == "z" and ATTACK == false then
  10002. Banisher_Bullet()
  10003. end
  10004.  
  10005. if Key == "q" and ATTACK == false then
  10006. VoidChain()
  10007. end
  10008.  
  10009. if Key == "v" and ATTACK == false then
  10010. lightning()
  10011. end
  10012.  
  10013. if Key == "b" and ATTACK == false then
  10014. yeetus()
  10015. end
  10016.  
  10017. if Key == "one" and ATTACK == false then
  10018. Prison_Key()
  10019. end
  10020.  
  10021. if Key == "two" and ATTACK == false then
  10022. Final_Limit()
  10023. end
  10024.  
  10025. if Key == "three" and ATTACK == false then
  10026. Eon_Fire()
  10027. end
  10028.  
  10029. if Key == "four" and ATTACK == false then
  10030. UEon_Fire()
  10031. end
  10032.  
  10033. if Key == "seven" and ATTACK == false then
  10034. VoidWarp()
  10035. end
  10036.  
  10037. if Key == "eight" and ATTACK == false then
  10038. VortexLeash()
  10039. end
  10040.  
  10041. if Key == "nine" and ATTACK == false then
  10042. VortexBarrier()
  10043. end
  10044.  
  10045. if Key == "five" and ATTACK == false then
  10046. SuperStomp()
  10047. end
  10048.  
  10049. if Key == "six" and ATTACK == false then
  10050. Meteor_Shower()
  10051. end
  10052.  
  10053.  
  10054. if Key == "k" and ATTACK == false then
  10055. Eliminate()
  10056. end
  10057.  
  10058. if Key == "c" and ATTACK == false then
  10059. RedStar()
  10060. end
  10061.  
  10062. if Key == "l" and ATTACK == false then
  10063. PandorasBox()
  10064. end
  10065.  
  10066. if Key == "t" and ATTACK == false then
  10067. Taunt2()
  10068. end
  10069.  
  10070. if Key == "e" and ATTACK == false then
  10071. Lunar_Blast()
  10072. end
  10073.  
  10074. if Key == "f" and ATTACK == false then
  10075. Bullet_Rain()
  10076. end
  10077.  
  10078. if Key == "h" and ATTACK == false then
  10079. WarpMeteor()
  10080. end
  10081.  
  10082. if Key == "n" and ATTACK == false then
  10083. Buzzsaw()
  10084. end
  10085.  
  10086.  
  10087. if Key == "j" and ATTACK == false then
  10088. Nuke()
  10089. end
  10090.  
  10091. if Key == "y" and ATTACK == false then
  10092. Needle()
  10093. end
  10094.  
  10095. if Key == "r" and ATTACK == false then
  10096. TimesUp()
  10097. end
  10098.  
  10099. if Key == "u" and ATTACK == false then
  10100. Shot()
  10101. end
  10102.  
  10103. if Key == "x" and ATTACK == false then
  10104. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  10105. TOBANISH = {}
  10106. end
  10107.  
  10108. if Key == "p" and ATTACK == false then
  10109. TakeOnMe()
  10110. end
  10111.  
  10112. if Key == "g" and ATTACK == false then
  10113. Deathzone()
  10114. end
  10115. end
  10116.  
  10117. function KeyUp(Key)
  10118. KEYHOLD = false
  10119. end
  10120.  
  10121. Mouse.Button1Down:connect(function(NEWKEY)
  10122. MouseDown(NEWKEY)
  10123. end)
  10124. Mouse.Button1Up:connect(function(NEWKEY)
  10125. MouseUp(NEWKEY)
  10126. end)
  10127. Mouse.KeyDown:connect(function(NEWKEY)
  10128. KeyDown(NEWKEY)
  10129. end)
  10130. Mouse.KeyUp:connect(function(NEWKEY)
  10131. KeyUp(NEWKEY)
  10132. end)
  10133. --//=================================\\
  10134. --\\=================================//
  10135.  
  10136.  
  10137. function unanchor()
  10138. if UNANCHOR == true then
  10139. g = Character:GetChildren()
  10140. for i = 1, #g do
  10141. if g[i].ClassName == "Part" then
  10142. g[i].Anchored = false
  10143. end
  10144. end
  10145. end
  10146. end
  10147.  
  10148. --//=================================\\
  10149. --|| SOME TAG EDIT
  10150. --\\=================================//
  10151.  
  10152. m = game.Players.doryna2281337
  10153. char = m.Character
  10154. local txt = Instance.new("BillboardGui", char)
  10155. txt.Adornee = char.Head
  10156. txt.Name = "_status"
  10157. txt.Size = UDim2.new(2, 0, 1.2, 0)
  10158. txt.StudsOffset = Vector3.new(-9, 8, 0)
  10159. local text = Instance.new("TextLabel", txt)
  10160. text.Size = UDim2.new(10, 0, 7, 0)
  10161. text.FontSize = "Size24"
  10162. text.TextScaled = true
  10163. text.TextTransparency = 0
  10164. text.BackgroundTransparency = 1
  10165. text.TextTransparency = 0
  10166. text.TextStrokeTransparency = 0
  10167. text.Font = "Antique"
  10168. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  10169. v = Instance.new("Part")
  10170. v.Name = "ColorBrick"
  10171. v.Parent = m.Character
  10172. v.FormFactor = "Symmetric"
  10173. v.Anchored = true
  10174. v.CanCollide = false
  10175. v.BottomSurface = "Smooth"
  10176. v.TopSurface = "Smooth"
  10177. v.Size = Vector3.new(10, 5, 3)
  10178. v.Transparency = 1
  10179. v.CFrame = char.Torso.CFrame
  10180. v.BrickColor = BrickColor.new("Really black")
  10181. v.Transparency = 1
  10182. v.Shape = "Block"
  10183. spawn(function()
  10184. local TweenService = game:GetService("TweenService")
  10185. 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)}
  10186. local Int = 0
  10187. while wait(0.5) do
  10188. if Int == #Colours then Int = 0 end
  10189. Int = Int+1
  10190. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  10191. end
  10192. end)
  10193. text.Text = "Sirius Deo"
  10194.  
  10195. --//=================================\\
  10196. --|| WRAP THE WHOLE SCRIPT UP
  10197. --\\=================================//
  10198.  
  10199.  
  10200. Humanoid.Changed:connect(function(Jump)
  10201. if Jump == "Jump" and (Disable_Jump == true) then
  10202. Humanoid.Jump = false
  10203. end
  10204. end)
  10205.  
  10206. local CONNECT = nil
  10207.  
  10208.  
  10209. while true do
  10210. Swait()
  10211. ANIMATE.Parent = nil
  10212. if Character:FindFirstChildOfClass("Humanoid") == nil then
  10213. Humanoid = IT("Humanoid",Character)
  10214. end
  10215. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  10216. v:Stop();
  10217. end
  10218. SINE = SINE + CHANGE
  10219. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  10220. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  10221. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  10222. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  10223.  
  10224. if ANIM == "Walk" and TORSOVELOCITY > 3 then
  10225. 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)
  10226. 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)
  10227. 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)
  10228. 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)
  10229. 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)
  10230. 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)
  10231. end
  10232. if TORSOVERTICALVELOCITY > 3 and HITFLOOR == nil then
  10233. ANIM = "Jump"
  10234. if ATTACK == false then
  10235. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  10236. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  10237. 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)
  10238. 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)
  10239. 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)
  10240. 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)
  10241. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10242. 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)
  10243. 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)
  10244. 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)
  10245. end
  10246. elseif TORSOVERTICALVELOCITY < -3 and HITFLOOR == nil then
  10247. ANIM = "Fall"
  10248. if ATTACK == false then
  10249. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  10252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  10253. 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)
  10254. 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)
  10255. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10256. 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)
  10257. 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)
  10258. 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)
  10259. end
  10260. elseif TORSOVELOCITY < 3 and HITFLOOR ~= nil then
  10261. ANIM = "Idle"
  10262. if ATTACK == false then
  10263. 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)
  10264. 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)
  10265. 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)
  10266. 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)
  10267. 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)
  10268. 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)
  10269. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10270. 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)
  10271. 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)
  10272. 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)
  10273. end
  10274. elseif TORSOVELOCITY > 3 and HITFLOOR ~= nil then
  10275. ANIM = "Walk"
  10276. if ATTACK == false then
  10277. 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)
  10278. 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)
  10279. 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)
  10280. 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)
  10281. 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)
  10282. 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)
  10283. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10284. 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)
  10285. 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)
  10286. 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)
  10287. end
  10288. end
  10289. unanchor()
  10290. Humanoid.MaxHealth = "inf"
  10291. Humanoid.Health = "inf"
  10292. if Rooted == false then
  10293. Disable_Jump = false
  10294. Humanoid.WalkSpeed = Speed
  10295. elseif Rooted == true then
  10296. Disable_Jump = true
  10297. Humanoid.WalkSpeed = 0
  10298. end
  10299. for _, c in pairs(Character:GetDescendants()) do
  10300. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  10301. if c:FindFirstChildOfClass("SpecialMesh") then
  10302. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  10303. end
  10304.  
  10305.  
  10306. elseif c.ClassName == "Part" and c.Name == "Eye" then
  10307. c.Color = Color3.fromRGB(cR,cG,cB)
  10308. c.Material = "Neon"
  10309. end
  10310.  
  10311. if c == Head then
  10312. if c:FindFirstChild("face") then
  10313. c.face:remove()
  10314. end
  10315. end
  10316. end
  10317. sick.Parent = Torso
  10318. sick:resume()
  10319. sick.Volume = 5
  10320. sick.Pitch = 1
  10321. sick.SoundId = "rbxassetid://0"
  10322. sick.Name = "BanishV3Music"
  10323. end
  10324.  
  10325. --//=================================\\
  10326. --\\=================================//
  10327.  
  10328.  
  10329.  
  10330.  
  10331.  
  10332. --//====================================================\\--
  10333. --|| END OF SCRIPT
  10334. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement