Advertisement
Guest User

xm

a guest
May 20th, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 470.30 KB | None | 0 0
  1. wait(0.2)
  2.  
  3. Player = game:GetService("Players").LocalPlayer
  4. PlayerGui = Player.PlayerGui
  5. Cam = workspace.CurrentCamera
  6. Backpack = Player.Backpack
  7. Character = Player.Character
  8. Humanoid = Character.Humanoid
  9. Mouse = Player:GetMouse()
  10. RootPart = Character["HumanoidRootPart"]
  11. Torso = Character["Torso"]
  12. Head = Character["Head"]
  13. RightArm = Character["Right Arm"]
  14. LeftArm = Character["Left Arm"]
  15. RightLeg = Character["Right Leg"]
  16. LeftLeg = Character["Left Leg"]
  17. RootJoint = RootPart["RootJoint"]
  18. Neck = Torso["Neck"]
  19. RightShoulder = Torso["Right Shoulder"]
  20. LeftShoulder = Torso["Left Shoulder"]
  21. RightHip = Torso["Right Hip"]
  22. LeftHip = Torso["Left Hip"]
  23. local TIME = 0
  24. local sick = Instance.new("Sound",Torso)
  25.  
  26. IT = Instance.new
  27. CF = CFrame.new
  28. VT = Vector3.new
  29. RAD = math.rad
  30. C3 = Color3.new
  31. UD2 = UDim2.new
  32. BRICKC = BrickColor.new
  33. ANGLES = CFrame.Angles
  34. EULER = CFrame.fromEulerAnglesXYZ
  35. COS = math.cos
  36. ACOS = math.acos
  37. SIN = math.sin
  38. ASIN = math.asin
  39. ABS = math.abs
  40. MRANDOM = math.random
  41. FLOOR = math.floor
  42. local RWINGS = {}
  43. local LWINGS = {}
  44. local GunPoint
  45. Player_Size = 1.3
  46.  
  47. -- Thingy To Make Song Work
  48.  
  49. p = game.Players.LocalPlayer
  50. char = p.Character
  51.  
  52. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  53. local s = Instance.new("Sound",char)
  54. s.Name = "BGMusic"
  55. s.SoundId = "rbxassetid://1219596009"
  56. s.Pitch = 1
  57. s.Volume = 40
  58. s.Looped = true
  59. s.archivable = false
  60. s.Parent = char.Head
  61. wait(0.1)
  62. s:play()
  63.  
  64. -- Rest of Script
  65. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This KillerzTH_1596 created the looped song thing that is in here anyways.
  66.  
  67. local sine = 0
  68.  
  69. function clerp(a,b,t)
  70. local qa = {QuaternionFromCFrame(a)}
  71. local qb = {QuaternionFromCFrame(b)}
  72. local ax, ay, az = a.x, a.y, a.z
  73. local bx, by, bz = b.x, b.y, b.z
  74. local _t = 1-t
  75. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  76. end
  77.  
  78.  
  79.  
  80. --//=================================\\
  81. --|| PARTICLES N MODELS N STUFF
  82. --\\=================================//
  83.  
  84. local handle = Instance.new("Part")
  85. handle.Parent = Character
  86. handle.Size = Vector3.new(1,1,1)
  87. handle.Archivable = true
  88. handle.Transparency = 0.99
  89. handle.BrickColor = BrickColor.new("White")
  90. handle.Material = "Neon"
  91. local handlmesh = Instance.new("BlockMesh",handle)
  92. handlmesh.Scale = Vector3.new(1,1,1)
  93. local handleweld = Instance.new("Weld")
  94. handleweld.Parent = handle
  95. handleweld.Part0 = Torso
  96. handleweld.Part1 = handle
  97. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  98. local par = Instance.new("Part")
  99. par.Parent = Character
  100. par.Size = Vector3.new(0.2,0.2,0.2)
  101. par.Archivable = true
  102. par.Transparency = 0
  103. par.BrickColor = BrickColor.new("Really black")
  104. par.Material = "Metal"
  105. local parmesh = Instance.new("SpecialMesh",par)
  106. parmesh.MeshType = "FileMesh"
  107. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  108. parmesh.Scale = Vector3.new(5,5,5)
  109. local weld12 = Instance.new("Weld")
  110. weld12.Parent = par
  111. weld12.Part0 = handle
  112. weld12.Part1 = par
  113. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  114. local par2 = Instance.new("Part")
  115. par2.Parent = Character
  116. par2.Size = Vector3.new(0.2,0.2,0.2)
  117. par2.Archivable = true
  118. par2.Transparency = 0
  119. par2.BrickColor = BrickColor.new("Deep orange")
  120. par2.Material = "Metal"
  121. local parmesh2 = Instance.new("SpecialMesh",par2)
  122. parmesh2.MeshType = "FileMesh"
  123. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  124. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  125. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  126. parmesh2.TextureId = "rbxassetid://269748808"
  127. local weld13 = Instance.new("Weld")
  128. weld13.Parent = par2
  129. weld13.Part0 = handle
  130. weld13.Part1 = par2
  131. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  132. local par3 = Instance.new("Part")
  133. par3.Parent = Character
  134. par3.Size = Vector3.new(0.2,0.2,0.2)
  135. par3.Archivable = true
  136. par3.Transparency = 0
  137. par3.BrickColor = BrickColor.new("Deep orange")
  138. par3.Material = "Metal"
  139. local parmesh3 = Instance.new("SpecialMesh",par3)
  140. parmesh3.MeshType = "FileMesh"
  141. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  142. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  143. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  144. parmesh3.TextureId = "rbxassetid://269748808"
  145. local weld14 = Instance.new("Weld")
  146. weld14.Parent = par3
  147. weld14.Part0 = handle
  148. weld14.Part1 = par3
  149. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  150. local par4 = Instance.new("Part")
  151. par4.Parent = Character
  152. par4.Size = Vector3.new(0.2,0.2,0.2)
  153. par4.Archivable = true
  154. par4.Transparency = 0
  155. par4.BrickColor = BrickColor.new("Deep orange")
  156. par4.Material = "Metal"
  157. local parmesh4 = Instance.new("SpecialMesh",par4)
  158. parmesh4.MeshType = "FileMesh"
  159. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  160. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  161. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  162. parmesh4.TextureId = "rbxassetid://269748808"
  163. local weld15 = Instance.new("Weld")
  164. weld15.Parent = par4
  165. weld15.Part0 = handle
  166. weld15.Part1 = par4
  167. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  168. local par4a = Instance.new("Part")
  169. par4a.Parent = Character
  170. par4a.Size = Vector3.new(0.2,0.2,0.2)
  171. par4a.Archivable = true
  172. par4a.Transparency = 0
  173. par4a.BrickColor = BrickColor.new("Deep orange")
  174. par4a.Material = "Metal"
  175. local parmesh4a = Instance.new("SpecialMesh",par4a)
  176. parmesh4a.MeshType = "FileMesh"
  177. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  178. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  179. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  180. parmesh4a.TextureId = "rbxassetid://269748808"
  181. local weld15a = Instance.new("Weld")
  182. weld15a.Parent = par4a
  183. weld15a.Part0 = par4
  184. weld15a.Part1 = par4a
  185. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  186. local par4b = Instance.new("Part")
  187. par4b.Parent = Character
  188. par4b.Size = Vector3.new(0.2,0.2,0.2)
  189. par4b.Archivable = true
  190. par4b.Transparency = 0
  191. par4b.BrickColor = BrickColor.new("Deep orange")
  192. par4b.Material = "Metal"
  193. local parmesh4b = Instance.new("SpecialMesh",par4b)
  194. parmesh4b.MeshType = "FileMesh"
  195. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  196. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  197. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  198. parmesh4b.TextureId = "rbxassetid://269748808"
  199. local weld15b = Instance.new("Weld")
  200. weld15b.Parent = par4b
  201. weld15b.Part0 = par4
  202. weld15b.Part1 = par4b
  203. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  204. local par5 = Instance.new("Part")
  205. par5.Parent = Character
  206. par5.Size = Vector3.new(0.2,0.2,0.2)
  207. par5.Archivable = true
  208. par5.Transparency = 0
  209. par5.BrickColor = BrickColor.new("Deep orange")
  210. par5.Material = "Metal"
  211. local parmesh5 = Instance.new("SpecialMesh",par5)
  212. parmesh5.MeshType = "FileMesh"
  213. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  214. parmesh5.Scale = Vector3.new(1,1,0.75)
  215. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  216. parmesh5.TextureId = "rbxassetid://269748808"
  217. local weld16 = Instance.new("Weld")
  218. weld16.Parent = par5
  219. weld16.Part0 = handle
  220. weld16.Part1 = par5
  221. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  222. local par5a = Instance.new("Part")
  223. par5a.Parent = Character
  224. par5a.Size = Vector3.new(0.2,0.2,0.2)
  225. par5a.Archivable = true
  226. par5a.Transparency = 0
  227. par5a.BrickColor = BrickColor.new("Deep orange")
  228. par5a.Material = "Metal"
  229. local parmesh5a = Instance.new("SpecialMesh",par5a)
  230. parmesh5a.MeshType = "FileMesh"
  231. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  232. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  233. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  234. parmesh5a.TextureId = "rbxassetid://269748808"
  235. local weld16a = Instance.new("Weld")
  236. weld16a.Parent = par5a
  237. weld16a.Part0 = par5
  238. weld16a.Part1 = par5a
  239. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  240. local par5b = Instance.new("Part")
  241. par5b.Parent = Character
  242. par5b.Size = Vector3.new(0.2,0.2,0.2)
  243. par5b.Archivable = true
  244. par5b.Transparency = 0
  245. par5b.BrickColor = BrickColor.new("Deep orange")
  246. par5b.Material = "Metal"
  247. local parmesh5b = Instance.new("SpecialMesh",par5b)
  248. parmesh5b.MeshType = "FileMesh"
  249. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  250. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  251. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  252. parmesh5b.TextureId = "rbxassetid://269748808"
  253. local weld16b = Instance.new("Weld")
  254. weld16b.Parent = par5b
  255. weld16b.Part0 = par5
  256. weld16b.Part1 = par5b
  257. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  258. local par6 = Instance.new("Part")
  259. par6.Parent = Character
  260. par6.Size = Vector3.new(0.2,0.2,0.2)
  261. par6.Archivable = true
  262. par6.Transparency = 0
  263. par6.BrickColor = BrickColor.new("Deep orange")
  264. par6.Material = "Metal"
  265. local parmesh6 = Instance.new("SpecialMesh",par6)
  266. parmesh6.MeshType = "FileMesh"
  267. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  268. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  269. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  270. parmesh6.TextureId = "rbxassetid://269748808"
  271. local weld17 = Instance.new("Weld")
  272. weld17.Parent = par6
  273. weld17.Part0 = handle
  274. weld17.Part1 = par6
  275. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  276. local par6a = Instance.new("Part")
  277. par6a.Parent = Character
  278. par6a.Size = Vector3.new(0.2,0.2,0.2)
  279. par6a.Archivable = true
  280. par6a.Transparency = 0
  281. par6a.BrickColor = BrickColor.new("Deep orange")
  282. par6a.Material = "Metal"
  283. local parmesh6a = Instance.new("SpecialMesh",par6a)
  284. parmesh6a.MeshType = "FileMesh"
  285. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  286. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  287. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  288. parmesh6a.TextureId = "rbxassetid://269748808"
  289. local weld17a = Instance.new("Weld")
  290. weld17a.Parent = par6a
  291. weld17a.Part0 = par6
  292. weld17a.Part1 = par6a
  293. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  294. local par6b = Instance.new("Part")
  295. par6b.Parent = Character
  296. par6b.Size = Vector3.new(0.2,0.2,0.2)
  297. par6b.Archivable = true
  298. par6b.Transparency = 0
  299. par6b.BrickColor = BrickColor.new("Deep orange")
  300. par6b.Material = "Metal"
  301. local parmesh6b = Instance.new("SpecialMesh",par6b)
  302. parmesh6b.MeshType = "FileMesh"
  303. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  304. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  305. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  306. parmesh6b.TextureId = "rbxassetid://269748808"
  307. local weld17b = Instance.new("Weld")
  308. weld17b.Parent = par6b
  309. weld17b.Part0 = par6
  310. weld17b.Part1 = par6b
  311. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  312. local par7 = Instance.new("Part")
  313. par7.Parent = Character
  314. par7.Size = Vector3.new(0.2,0.2,0.2)
  315. par7.Archivable = true
  316. par7.Transparency = 0
  317. par7.BrickColor = BrickColor.new("Persimmon")
  318. par7.Material = "Metal"
  319. local parmesh7 = Instance.new("SpecialMesh",par7)
  320. parmesh7.MeshType = "FileMesh"
  321. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  322. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  323. local weld18 = Instance.new("Weld")
  324. weld18.Parent = par7
  325. weld18.Part0 = handle
  326. weld18.Part1 = par7
  327. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  328. local par8 = Instance.new("Part")
  329. par8.Parent = Character
  330. par8.Size = Vector3.new(0.2,0.2,0.2)
  331. par8.Archivable = true
  332. par8.Transparency = 0
  333. par8.BrickColor = BrickColor.new("Really black")
  334. par8.Material = "Metal"
  335. local parmesh8 = Instance.new("SpecialMesh",par8)
  336. parmesh8.MeshType = "FileMesh"
  337. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  338. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  339. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  340. parmesh8.TextureId = "rbxassetid://269748808"
  341. local weld19 = Instance.new("Weld")
  342. weld19.Parent = par8
  343. weld19.Part0 = handle
  344. weld19.Part1 = par8
  345. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  346. ----- lol
  347. handle.CanCollide = false
  348. par.CanCollide = false
  349. par2.CanCollide = false
  350. par3.CanCollide = false
  351. par4.CanCollide = false
  352. par4a.CanCollide = false
  353. par4b.CanCollide = false
  354. par5.CanCollide = false
  355. par5a.CanCollide = false
  356. par5b.CanCollide = false
  357. par6.CanCollide = false
  358. par6a.CanCollide = false
  359. par6b.CanCollide = false
  360. par7.CanCollide = false
  361. par8.CanCollide = false
  362. ----
  363.  
  364. --//=================================\\
  365. --|| USEFUL VALUES
  366. --\\=================================//
  367.  
  368. Animation_Speed = 1.5
  369. local FORCERESET = false
  370. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  371. local Speed = 50
  372. local SIZE = 1
  373. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  374. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  375. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  376. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  377. local DAMAGEMULTIPLIER = 1
  378. local ANIM = "Idle"
  379. local ATTACK = false
  380. local EQUIPPED = false
  381. local HOLD = false
  382. local COMBO = 1
  383. local Rooted = false
  384. local SINE = 0
  385. local KEYHOLD = false
  386. local CHANGE = 2 / Animation_Speed
  387. local WALKINGANIM = false
  388. local VALUE1 = false
  389. local VALUE2 = false
  390. local ROBLOXIDLEANIMATION = IT("Animation")
  391. local Glove = IT("Model")
  392. Glove.Name = "Glove"
  393. local Effects = IT("Folder", Glove)
  394. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  395. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  396. --ROBLOXIDLEANIMATION.Parent = Humanoid
  397. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  398. WEAPONGUI.Name = "BanishV3Gui"
  399. local Weapon = IT("Model")
  400. Weapon.Name = "Adds"
  401. local Effects = IT("Folder", Weapon)
  402. Effects.Name = "Effects"
  403. local ANIMATOR = Humanoid.Animator
  404. local ANIMATE = Character:FindFirstChild("Animate")
  405. local UNANCHOR = true
  406. local TOBANISH = {}
  407. local EYES = {}
  408. script.Parent = PlayerGui
  409. local FADERS = true
  410. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  411. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  412. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  413. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  414.  
  415. function StatLabel(CFRAME, TEXT, COLOR)
  416. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  417. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  418. local BODYGYRO = IT("BodyGyro", STATPART)
  419. game:GetService("Debris"):AddItem(STATPART ,5)
  420. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  421. BILLBOARDGUI.Adornee = STATPART
  422. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  423. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  424. BILLBOARDGUI.AlwaysOnTop = false
  425. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  426. TEXTLABEL.BackgroundTransparency = 1
  427. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  428. TEXTLABEL.Text = TEXT
  429. TEXTLABEL.Font = SKILLFONT
  430. TEXTLABEL.FontSize="Size42"
  431. TEXTLABEL.TextColor3 = COLOR
  432. TEXTLABEL.TextStrokeTransparency = 0
  433. TEXTLABEL.TextScaled = true
  434. TEXTLABEL.TextWrapped = true
  435. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  436. for i = 1, 50 do
  437. Swait()
  438. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  439. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  440. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  441. end
  442. THEPART.Parent = nil
  443. end),STATPART, TEXTLABEL)
  444. end
  445.  
  446. --//=================================\\
  447. --\\=================================//
  448.  
  449. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  450. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  451. end
  452.  
  453. function PositiveAngle(NUMBER)
  454. if NUMBER >= 0 then
  455. NUMBER = 0
  456. end
  457. return NUMBER
  458. end
  459.  
  460. function NegativeAngle(NUMBER)
  461. if NUMBER <= 0 then
  462. NUMBER = 0
  463. end
  464. return NUMBER
  465. end
  466.  
  467. function Swait(NUMBER)
  468. if NUMBER == 0 or NUMBER == nil then
  469. ArtificialHB.Event:wait()
  470. else
  471. for i = 1, NUMBER do
  472. ArtificialHB.Event:wait()
  473. end
  474. end
  475. end
  476.  
  477. function QuaternionFromCFrame(cf)
  478. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  479. local trace = m00 + m11 + m22
  480. if trace > 0 then
  481. local s = math.sqrt(1 + trace)
  482. local recip = 0.5 / s
  483. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  484. else
  485. local i = 0
  486. if m11 > m00 then
  487. i = 1
  488. end
  489. if m22 > (i == 0 and m00 or m11) then
  490. i = 2
  491. end
  492. if i == 0 then
  493. local s = math.sqrt(m00 - m11 - m22 + 1)
  494. local recip = 0.5 / s
  495. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  496. elseif i == 1 then
  497. local s = math.sqrt(m11 - m22 - m00 + 1)
  498. local recip = 0.5 / s
  499. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  500. elseif i == 2 then
  501. local s = math.sqrt(m22 - m00 - m11 + 1)
  502. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  503. end
  504. end
  505. end
  506.  
  507. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  508. local xs, ys, zs = x + x, y + y, z + z
  509. local wx, wy, wz = w * xs, w * ys, w * zs
  510. local xx = x * xs
  511. local xy = x * ys
  512. local xz = x * zs
  513. local yy = y * ys
  514. local yz = y * zs
  515. local zz = z * zs
  516. 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))
  517. end
  518.  
  519. function QuaternionSlerp(a, b, t)
  520. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  521. local startInterp, finishInterp;
  522. if cosTheta >= 0.0001 then
  523. if (1 - cosTheta) > 0.0001 then
  524. local theta = ACOS(cosTheta)
  525. local invSinTheta = 1 / SIN(theta)
  526. startInterp = SIN((1 - t) * theta) * invSinTheta
  527. finishInterp = SIN(t * theta) * invSinTheta
  528. else
  529. startInterp = 1 - t
  530. finishInterp = t
  531. end
  532. else
  533. if (1 + cosTheta) > 0.0001 then
  534. local theta = ACOS(-cosTheta)
  535. local invSinTheta = 1 / SIN(theta)
  536. startInterp = SIN((t - 1) * theta) * invSinTheta
  537. finishInterp = SIN(t * theta) * invSinTheta
  538. else
  539. startInterp = t - 1
  540. finishInterp = t
  541. end
  542. end
  543. 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
  544. end
  545.  
  546. function Clerp(a, b, t)
  547. local qa = {QuaternionFromCFrame(a)}
  548. local qb = {QuaternionFromCFrame(b)}
  549. local ax, ay, az = a.x, a.y, a.z
  550. local bx, by, bz = b.x, b.y, b.z
  551. local _t = 1 - t
  552. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  553. end
  554.  
  555. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  556. local frame = IT("Frame")
  557. frame.BackgroundTransparency = TRANSPARENCY
  558. frame.BorderSizePixel = BORDERSIZEPIXEL
  559. frame.Position = POSITION
  560. frame.Size = SIZE
  561. frame.BackgroundColor3 = COLOR
  562. frame.BorderColor3 = BORDERCOLOR
  563. frame.Name = NAME
  564. frame.Parent = PARENT
  565. return frame
  566. end
  567.  
  568. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  569. local label = IT("TextLabel")
  570. label.BackgroundTransparency = 1
  571. label.Size = UD2(1, 0, 1, 0)
  572. label.Position = UD2(0, 0, 0, 0)
  573. label.TextColor3 = TEXTCOLOR
  574. label.TextStrokeTransparency = STROKETRANSPARENCY
  575. label.TextTransparency = TRANSPARENCY
  576. label.FontSize = TEXTFONTSIZE
  577. label.Font = TEXTFONT
  578. label.BorderSizePixel = BORDERSIZEPIXEL
  579. label.TextScaled = false
  580. label.Text = TEXT
  581. label.Name = NAME
  582. label.Parent = PARENT
  583. return label
  584. end
  585.  
  586. function NoOutlines(PART)
  587. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  588. end
  589.  
  590.  
  591. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  592. local NEWWELD = IT(TYPE)
  593. NEWWELD.Part0 = PART0
  594. NEWWELD.Part1 = PART1
  595. NEWWELD.C0 = C0
  596. NEWWELD.C1 = C1
  597. NEWWELD.Parent = PARENT
  598. return NEWWELD
  599. end
  600.  
  601. local sound = IT("Sound",nil)
  602.  
  603. function CreateSound(ID, PARENT, VOLUME, PITCH)
  604. local NEWSOUND = nil
  605. coroutine.resume(coroutine.create(function()
  606. NEWSOUND = sound:Clone()
  607. NEWSOUND.Parent = PARENT
  608. NEWSOUND.Volume = VOLUME
  609. NEWSOUND.Pitch = PITCH
  610. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  611. Swait()
  612. NEWSOUND:play()
  613. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  614. end))
  615. return NEWSOUND
  616. end
  617.  
  618. function CFrameFromTopBack(at, top, back)
  619. local right = top:Cross(back)
  620. 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)
  621. end
  622.  
  623. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  624. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  625. local mesh = IT("SpecialMesh",wave)
  626. mesh.MeshType = "FileMesh"
  627. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  628. mesh.Scale = SIZE
  629. mesh.Offset = VT(0,0,-SIZE.X/8)
  630. wave.CFrame = CFRAME
  631. coroutine.resume(coroutine.create(function(PART)
  632. for i = 1, WAIT do
  633. Swait()
  634. mesh.Scale = mesh.Scale + GROW
  635. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  636. if DOESROT == true then
  637. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  638. end
  639. wave.Transparency = wave.Transparency + (0.5/WAIT)
  640. if wave.Transparency > 0.99 then
  641. wave:remove()
  642. end
  643. end
  644. end))
  645. end
  646.  
  647. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  648. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  649. local mesh = IT("SpecialMesh",wave)
  650. mesh.MeshType = "FileMesh"
  651. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  652. mesh.Scale = SIZE
  653. mesh.Offset = VT(0,0,-SIZE.X/8)
  654. wave.CFrame = CFRAME
  655. coroutine.resume(coroutine.create(function(PART)
  656. for i = 1, WAIT do
  657. Swait()
  658. mesh.Scale = mesh.Scale + GROW
  659. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  660. if DOESROT == true then
  661. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  662. end
  663. wave.Transparency = wave.Transparency + (0.5/WAIT)
  664. if wave.Transparency > 0.99 then
  665. wave:remove()
  666. end
  667. end
  668. end))
  669. end
  670.  
  671. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  672. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  673. local mesh = IT("SpecialMesh",wave)
  674. mesh.MeshType = "FileMesh"
  675. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  676. mesh.Scale = SIZE
  677. mesh.Offset = VT(0,0,-SIZE.X/8)
  678. wave.CFrame = CFRAME
  679. coroutine.resume(coroutine.create(function(PART)
  680. for i = 1, WAIT do
  681. Swait()
  682. mesh.Scale = mesh.Scale + GROW
  683. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  684. if DOESROT == true then
  685. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  686. end
  687. wave.Transparency = wave.Transparency + (0.5/WAIT)
  688. if wave.Transparency > 0.99 then
  689. wave:remove()
  690. end
  691. end
  692. end))
  693. end
  694.  
  695. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  696. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  697. local mesh = IT("SpecialMesh",wave)
  698. mesh.MeshType = "FileMesh"
  699. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  700. mesh.Scale = SIZE
  701. mesh.Offset = VT(0,0,-SIZE.X/8)
  702. wave.CFrame = CFRAME
  703. coroutine.resume(coroutine.create(function(PART)
  704. for i = 1, WAIT do
  705. Swait()
  706. mesh.Scale = mesh.Scale + GROW
  707. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  708. if DOESROT == true then
  709. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  710. end
  711. wave.Transparency = wave.Transparency + (0.5/WAIT)
  712. if wave.Transparency > 0.99 then
  713. wave:remove()
  714. end
  715. end
  716. end))
  717. end
  718.  
  719. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  720. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  721. local mesh = IT("SpecialMesh",wave)
  722. mesh.MeshType = "FileMesh"
  723. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  724. mesh.Scale = SIZE
  725. wave.CFrame = CFRAME
  726. coroutine.resume(coroutine.create(function(PART)
  727. for i = 1, WAIT do
  728. Swait()
  729. mesh.Scale = mesh.Scale + GROW
  730. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  731. if DOESROT == true then
  732. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  733. end
  734. wave.Transparency = wave.Transparency + (0.5/WAIT)
  735. if wave.Transparency > 0.99 then
  736. wave:remove()
  737. end
  738. end
  739. end))
  740. end
  741.  
  742. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  743. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  744. local mesh = IT("SpecialMesh",wave)
  745. mesh.MeshType = "FileMesh"
  746. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  747. mesh.Scale = SIZE
  748. wave.CFrame = CFRAME
  749. coroutine.resume(coroutine.create(function(PART)
  750. for i = 1, WAIT do
  751. Swait()
  752. mesh.Scale = mesh.Scale + GROW
  753. if DOESROT == true then
  754. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  755. end
  756. wave.Transparency = wave.Transparency + (0.5/WAIT)
  757. if wave.Transparency > 0.99 then
  758. wave:remove()
  759. end
  760. end
  761. end))
  762. end
  763.  
  764. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  765. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  766. local mesh = IT("SpecialMesh",wave)
  767. mesh.MeshType = "FileMesh"
  768. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  769. mesh.Scale = SIZE
  770. mesh.Offset = VT(0,0,0)
  771. wave.CFrame = CFRAME
  772. coroutine.resume(coroutine.create(function(PART)
  773. for i = 1, WAIT do
  774. Swait()
  775. mesh.Scale = mesh.Scale + GROW
  776. if DOESROT == true then
  777. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  778. end
  779. wave.Transparency = wave.Transparency + (0.5/WAIT)
  780. if wave.Transparency > 0.99 then
  781. wave:remove()
  782. end
  783. end
  784. end))
  785. end
  786.  
  787. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  788. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  789. local mesh = IT("SpecialMesh",wave)
  790. mesh.MeshType = "Sphere"
  791. mesh.Scale = SIZE
  792. mesh.Offset = VT(0,0,0)
  793. wave.CFrame = CFRAME
  794. coroutine.resume(coroutine.create(function(PART)
  795. for i = 1, WAIT do
  796. Swait()
  797. mesh.Scale = mesh.Scale + GROW
  798. wave.Transparency = wave.Transparency + (1/WAIT)
  799. if wave.Transparency > 0.99 then
  800. wave:remove()
  801. end
  802. end
  803. end))
  804. end
  805.  
  806. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  807. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  808. local mesh = IT("BlockMesh",wave)
  809. wave.CFrame = CFRAME
  810. coroutine.resume(coroutine.create(function(PART)
  811. for i = 1, WAIT do
  812. Swait()
  813. mesh.Scale = mesh.Scale + GROW
  814. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  815. wave.Transparency = wave.Transparency + (1/WAIT)
  816. if wave.Transparency > 0.99 then
  817. wave:remove()
  818. end
  819. end
  820. end))
  821. end
  822.  
  823. function MakeForm(PART,TYPE)
  824. if TYPE == "Cyl" then
  825. local MSH = IT("CylinderMesh",PART)
  826. elseif TYPE == "Ball" then
  827. local MSH = IT("SpecialMesh",PART)
  828. MSH.MeshType = "Sphere"
  829. elseif TYPE == "Wedge" then
  830. local MSH = IT("SpecialMesh",PART)
  831. MSH.MeshType = "Wedge"
  832. elseif TYPE == "Head" then
  833. local MSH = IT("SpecialMesh",PART)
  834. MSH.Scale = VT(1.25,1.25,1.25)
  835. end
  836. end
  837.  
  838. function CheckTableForString(Table, String)
  839. for i, v in pairs(Table) do
  840. if string.find(string.lower(String), string.lower(v)) then
  841. return true
  842. end
  843. end
  844. return false
  845. end
  846.  
  847. function CheckIntangible(Hit)
  848. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  849. if Hit and Hit.Parent then
  850. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  851. return true
  852. end
  853. end
  854. return false
  855. end
  856.  
  857. Debris = game:GetService("Debris")
  858.  
  859. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  860. local Direction = CFrame.new(StartPos, Vec).lookVector
  861. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  862. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  863. if RayHit and CheckIntangible(RayHit) then
  864. if DelayIfHit then
  865. wait()
  866. end
  867. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  868. end
  869. return RayHit, RayPos, RayNormal
  870. end
  871.  
  872. function CreateMagicCircle()
  873. local sinkhole = IT("Part")
  874. sinkhole.Size = VT(0,0,0)
  875. sinkhole.Parent = Effects
  876. sinkhole.Material = "Neon"
  877. sinkhole.Color = C3(0,0,0)
  878. sinkhole.Anchored = true
  879. sinkhole.CanCollide = false
  880. sinkhole.Transparency = 1
  881. local decal = IT("Decal",sinkhole)
  882. decal.Face = "Top"
  883. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  884. local decal2 = IT("Decal",sinkhole)
  885. decal2.Face = "Bottom"
  886. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  887. return sinkhole
  888. end
  889.  
  890. function CreateGUICircle(TARGET)
  891. local GUI = Instance.new("BillboardGui",Character)
  892. GUI.Size = UDim2.new(0,0,0,0)
  893. GUI.Adornee = TARGET
  894. local GUI2 = IT("ImageLabel",GUI)
  895. GUI2.BackgroundTransparency = 1
  896. GUI2.BorderSizePixel = 0
  897. GUI2.Size = UDim2.new(1,0,1,0)
  898. GUI2.SizeConstraint = "RelativeYY"
  899. GUI.AlwaysOnTop = true
  900. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  901. return GUI,GUI2
  902. end
  903.  
  904. function CastWarpOutlines(TARGET)
  905. coroutine.resume(coroutine.create(function()
  906. local T = TARGET:GetChildren()
  907. for i = 1, # T do
  908. local child = T[i]
  909. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  910. local clone = child:Clone()
  911. clone.Parent = Effects
  912. clone.Anchored = true
  913. clone.CanCollide = false
  914. clone:ClearAllChildren()
  915. clone.CFrame = child.CFrame
  916. if clone.Name == "Head" then
  917. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  918. end
  919. if clone.ClassName == "MeshPart" then
  920. clone.TextureID = ""
  921. end
  922. clone.BrickColor = BRICKC"Black"
  923. clone.Material = "Neon"
  924. coroutine.resume(coroutine.create(function()
  925. for i = 1, 200 do
  926. Swait()
  927. clone.Transparency = clone.Transparency + 0.005
  928. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  929. end
  930. clone:remove()
  931. end))
  932. end
  933. end
  934. end))
  935. end
  936.  
  937. function turnto(position)
  938. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  939. end
  940.  
  941. --//=================================\\
  942. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  943. --\\=================================//
  944.  
  945. ArtificialHB = Instance.new("BindableEvent", script)
  946. ArtificialHB.Name = "ArtificialHB"
  947.  
  948. script:WaitForChild("ArtificialHB")
  949.  
  950. frame = Frame_Speed
  951. tf = 0
  952. allowframeloss = false
  953. tossremainder = false
  954. lastframe = tick()
  955. script.ArtificialHB:Fire()
  956.  
  957. game:GetService("RunService").Heartbeat:connect(function(s, p)
  958. tf = tf + s
  959. if tf >= frame then
  960. if allowframeloss then
  961. script.ArtificialHB:Fire()
  962. lastframe = tick()
  963. else
  964. for i = 1, math.floor(tf / frame) do
  965. script.ArtificialHB:Fire()
  966. end
  967. lastframe = tick()
  968. end
  969. if tossremainder then
  970. tf = 0
  971. else
  972. tf = tf - frame * math.floor(tf / frame)
  973. end
  974. end
  975. end)
  976.  
  977. --//=================================\\
  978. --\\=================================//
  979. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  980. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  981. end
  982.  
  983. function PositiveAngle(NUMBER)
  984. if NUMBER >= 0 then
  985. NUMBER = 0
  986. end
  987. return NUMBER
  988. end
  989.  
  990. function NegativeAngle(NUMBER)
  991. if NUMBER <= 0 then
  992. NUMBER = 0
  993. end
  994. return NUMBER
  995. end
  996.  
  997. function Swait(NUMBER)
  998. if NUMBER == 0 or NUMBER == nil then
  999. ArtificialHB.Event:wait()
  1000. else
  1001. for i = 1, NUMBER do
  1002. ArtificialHB.Event:wait()
  1003. end
  1004. end
  1005. end
  1006.  
  1007. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1008. local NEWMESH = IT(MESH)
  1009. if MESH == "SpecialMesh" then
  1010. NEWMESH.MeshType = MESHTYPE
  1011. if MESHID ~= "nil" and MESHID ~= "" then
  1012. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1013. end
  1014. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1015. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1016. end
  1017. end
  1018. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1019. NEWMESH.Scale = SCALE
  1020. NEWMESH.Parent = PARENT
  1021. return NEWMESH
  1022. end
  1023.  
  1024. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1025. local NEWPART = IT("Part")
  1026. NEWPART.formFactor = FORMFACTOR
  1027. NEWPART.Reflectance = REFLECTANCE
  1028. NEWPART.Transparency = TRANSPARENCY
  1029. NEWPART.CanCollide = false
  1030. NEWPART.Locked = true
  1031. NEWPART.Anchored = true
  1032. if ANCHOR == false then
  1033. NEWPART.Anchored = false
  1034. end
  1035. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1036. NEWPART.Name = NAME
  1037. NEWPART.Size = SIZE
  1038. NEWPART.Position = Torso.Position
  1039. NEWPART.Material = MATERIAL
  1040. NEWPART:BreakJoints()
  1041. NEWPART.Parent = PARENT
  1042. return NEWPART
  1043. end
  1044.  
  1045. local function weldBetween(a, b)
  1046. local weldd = Instance.new("ManualWeld")
  1047. weldd.Part0 = a
  1048. weldd.Part1 = b
  1049. weldd.C0 = CFrame.new()
  1050. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1051. weldd.Parent = a
  1052. return weldd
  1053. end
  1054.  
  1055.  
  1056. function QuaternionFromCFrame(cf)
  1057. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1058. local trace = m00 + m11 + m22
  1059. if trace > 0 then
  1060. local s = math.sqrt(1 + trace)
  1061. local recip = 0.5 / s
  1062. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1063. else
  1064. local i = 0
  1065. if m11 > m00 then
  1066. i = 1
  1067. end
  1068. if m22 > (i == 0 and m00 or m11) then
  1069. i = 2
  1070. end
  1071. if i == 0 then
  1072. local s = math.sqrt(m00 - m11 - m22 + 1)
  1073. local recip = 0.5 / s
  1074. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1075. elseif i == 1 then
  1076. local s = math.sqrt(m11 - m22 - m00 + 1)
  1077. local recip = 0.5 / s
  1078. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1079. elseif i == 2 then
  1080. local s = math.sqrt(m22 - m00 - m11 + 1)
  1081. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1082. end
  1083. end
  1084. end
  1085.  
  1086. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1087. local xs, ys, zs = x + x, y + y, z + z
  1088. local wx, wy, wz = w * xs, w * ys, w * zs
  1089. local xx = x * xs
  1090. local xy = x * ys
  1091. local xz = x * zs
  1092. local yy = y * ys
  1093. local yz = y * zs
  1094. local zz = z * zs
  1095. 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))
  1096. end
  1097.  
  1098. function QuaternionSlerp(a, b, t)
  1099. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1100. local startInterp, finishInterp;
  1101. if cosTheta >= 0.0001 then
  1102. if (1 - cosTheta) > 0.0001 then
  1103. local theta = ACOS(cosTheta)
  1104. local invSinTheta = 1 / SIN(theta)
  1105. startInterp = SIN((1 - t) * theta) * invSinTheta
  1106. finishInterp = SIN(t * theta) * invSinTheta
  1107. else
  1108. startInterp = 1 - t
  1109. finishInterp = t
  1110. end
  1111. else
  1112. if (1 + cosTheta) > 0.0001 then
  1113. local theta = ACOS(-cosTheta)
  1114. local invSinTheta = 1 / SIN(theta)
  1115. startInterp = SIN((t - 1) * theta) * invSinTheta
  1116. finishInterp = SIN(t * theta) * invSinTheta
  1117. else
  1118. startInterp = t - 1
  1119. finishInterp = t
  1120. end
  1121. end
  1122. 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
  1123. end
  1124.  
  1125. function Clerp(a, b, t)
  1126. local qa = {QuaternionFromCFrame(a)}
  1127. local qb = {QuaternionFromCFrame(b)}
  1128. local ax, ay, az = a.x, a.y, a.z
  1129. local bx, by, bz = b.x, b.y, b.z
  1130. local _t = 1 - t
  1131. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1132. end
  1133.  
  1134. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1135. local frame = IT("Frame")
  1136. frame.BackgroundTransparency = TRANSPARENCY
  1137. frame.BorderSizePixel = BORDERSIZEPIXEL
  1138. frame.Position = POSITION
  1139. frame.Size = SIZE
  1140. frame.BackgroundColor3 = COLOR
  1141. frame.BorderColor3 = BORDERCOLOR
  1142. frame.Name = NAME
  1143. frame.Parent = PARENT
  1144. return frame
  1145. end
  1146.  
  1147. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1148. local label = IT("TextLabel")
  1149. label.BackgroundTransparency = 1
  1150. label.Size = UD2(1, 0, 1, 0)
  1151. label.Position = UD2(0, 0, 0, 0)
  1152. label.TextColor3 = TEXTCOLOR
  1153. label.TextStrokeTransparency = STROKETRANSPARENCY
  1154. label.TextTransparency = TRANSPARENCY
  1155. label.FontSize = TEXTFONTSIZE
  1156. label.Font = TEXTFONT
  1157. label.BorderSizePixel = BORDERSIZEPIXEL
  1158. label.TextScaled = false
  1159. label.Text = TEXT
  1160. label.Name = NAME
  1161. label.Parent = PARENT
  1162. return label
  1163. end
  1164.  
  1165. function NoOutlines(PART)
  1166. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1167. end
  1168.  
  1169. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1170. local NEWWELD = IT(TYPE)
  1171. NEWWELD.Part0 = PART0
  1172. NEWWELD.Part1 = PART1
  1173. NEWWELD.C0 = C0
  1174. NEWWELD.C1 = C1
  1175. NEWWELD.Parent = PARENT
  1176. return NEWWELD
  1177. end
  1178.  
  1179.  
  1180. Player = game:GetService("Players").LocalPlayer
  1181. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  1182. Cam = workspace.CurrentCamera
  1183. Backpack = Player:FindFirstChildOfClass("Backpack")
  1184. Character = Player.Character
  1185. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1186.  
  1187. function chatfunc(text)
  1188. local chat = coroutine.wrap(function()
  1189. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1190. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1191. end
  1192. local naeeym2 = Instance.new("BillboardGui",Character)
  1193. naeeym2.Size = UDim2.new(0,100,0,40)
  1194. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1195. naeeym2.Adornee = Character.Head
  1196. naeeym2.Name = "TalkingBillBoard"
  1197. local tecks3 = Instance.new("TextLabel",naeeym2)
  1198. tecks3.BackgroundTransparency = 1
  1199. tecks3.BorderSizePixel = 0
  1200. tecks3.Text = ""
  1201. tecks3.Font = "SciFi"
  1202. tecks3.TextSize = 30
  1203. tecks3.TextStrokeTransparency = 0
  1204. tecks3.TextColor3 = Color3.new(3.15,0,0)
  1205. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1206. tecks3.Size = UDim2.new(1,0,0.5,0)
  1207. for i = 1,string.len(text),1 do
  1208. tecks3.Text = string.sub(text,1,i)
  1209. wait(0.01)
  1210. end
  1211. wait(3)
  1212. for i = 1, 80 do
  1213. Swait()
  1214. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1215. tecks3.Rotation = tecks3.Rotation + .8
  1216. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  1217. tecks3.TextTransparency = tecks3.TextTransparency + .03
  1218. end
  1219. end)
  1220. chat()
  1221. end
  1222.  
  1223.  
  1224. function CFrameFromTopBack(at, top, back)
  1225. local right = top:Cross(back)
  1226. 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)
  1227. end
  1228.  
  1229. --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})
  1230. local cR=255
  1231. local cG=0
  1232. local cB=0
  1233. local flg5=1 local omgidk=1
  1234. local add=10.5
  1235. game:GetService('RunService').Heartbeat:connect(function()
  1236. if omgidk>10000 then omgidk=0 end
  1237. omgidk=omgidk+1
  1238. if cR>=255 then flg5=1 end
  1239. if cG>=255 then flg5=2 end
  1240. if cB>=255 then flg5=3 end
  1241. if flg5==1 then cR=cR-add cG=cG+add end
  1242. if flg5==2 then cG=cG-add cB=cB+add end
  1243. if flg5==3 then cB=cB-add cR=cR+add end
  1244. color=Color3.fromRGB(cR,cG,cB)
  1245. function WACKYEFFECT(Table)
  1246. local TYPE = (Table.EffectType or "Sphere")
  1247. local SIZE = (Table.Size or VT(6,6,6))
  1248. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1249. local TRANSPARENCY = (Table.Transparency or 0)
  1250. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1251. local CFRAME = (Table.CFrame or Torso.CFrame)
  1252. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1253. local ROTATION1 = (Table.RotationX or 0)
  1254. local ROTATION2 = (Table.RotationY or 0)
  1255. local ROTATION3 = (Table.RotationZ or 0)
  1256. local MATERIAL = "Neon"
  1257. local COLOR = color
  1258. local TIME = (Table.Time or 45)
  1259. local SOUNDID = (Table.SoundID or nil)
  1260. local SOUNDPITCH = (Table.SoundPitch or nil)
  1261. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1262. coroutine.resume(coroutine.create(function()
  1263. local PLAYSSOUND = false
  1264. local SOUND = nil
  1265. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1266. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1267. PLAYSSOUND = true
  1268. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1269. end
  1270. EFFECT.Color = color
  1271. local MSH = nil
  1272. if TYPE == "Sphere" then
  1273. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1274. elseif TYPE == "Block" then
  1275. MSH = IT("BlockMesh",EFFECT)
  1276. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1277. elseif TYPE == "Wave" then
  1278. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1279. elseif TYPE == "Ring" then
  1280. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1281. elseif TYPE == "Slash" then
  1282. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1283. elseif TYPE == "Round Slash" then
  1284. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1285. elseif TYPE == "Swirl" then
  1286. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1287. elseif TYPE == "Skull" then
  1288. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1289. elseif TYPE == "Crystal" then
  1290. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1291. end
  1292. if MSH ~= nil then
  1293. local MOVESPEED = nil
  1294. if MOVEDIRECTION ~= nil then
  1295. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1296. end
  1297. local GROWTH = SIZE - ENDSIZE
  1298. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1299. if TYPE == "Block" then
  1300. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1301. else
  1302. EFFECT.CFrame = CFRAME
  1303. end
  1304. for LOOP = 1, TIME+1 do
  1305. Swait()
  1306. MSH.Scale = MSH.Scale - GROWTH/TIME
  1307. if TYPE == "Wave" then
  1308. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1309. end
  1310. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1311. if TYPE == "Block" then
  1312. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1313. else
  1314. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1315. end
  1316. if MOVEDIRECTION ~= nil then
  1317. local ORI = EFFECT.Orientation
  1318. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1319. EFFECT.Orientation = ORI
  1320. end
  1321. end
  1322. if PLAYSSOUND == false then
  1323. EFFECT:remove()
  1324. else
  1325. SOUND.Stopped:Connect(function()
  1326. EFFECT:remove()
  1327. end)
  1328. end
  1329. else
  1330. if PLAYSSOUND == false then
  1331. EFFECT:remove()
  1332. else
  1333. repeat Swait() until SOUND.Playing == false
  1334. EFFECT:remove()
  1335. end
  1336. end
  1337. end))
  1338. end
  1339. end)
  1340. function MakeForm(PART,TYPE)
  1341. if TYPE == "Cyl" then
  1342. local MSH = IT("CylinderMesh",PART)
  1343. elseif TYPE == "Ball" then
  1344. local MSH = IT("SpecialMesh",PART)
  1345. MSH.MeshType = "Sphere"
  1346. elseif TYPE == "Wedge" then
  1347. local MSH = IT("SpecialMesh",PART)
  1348. MSH.MeshType = "Wedge"
  1349. end
  1350. end
  1351. function SpawnTrail(FROM,TO,BIG)
  1352. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1353. MakeForm(TRAIL,"Cyl")
  1354. local cR=255
  1355. local cG=0
  1356. local cB=0
  1357. local flg5=1 local omgidk=1
  1358. local add=10.5
  1359. game:GetService('RunService').Heartbeat:connect(function()
  1360. if omgidk>10000 then omgidk=0 end
  1361. omgidk=omgidk+1
  1362. if cR>=255 then flg5=1 end
  1363. if cG>=255 then flg5=2 end
  1364. if cB>=255 then flg5=3 end
  1365. if flg5==1 then cR=cR-add cG=cG+add end
  1366. if flg5==2 then cG=cG-add cB=cB+add end
  1367. if flg5==3 then cB=cB-add cR=cR+add end
  1368. color=Color3.fromRGB(cR,cG,cB)
  1369. TRAIL.Color = color
  1370. end)
  1371. local DIST = (FROM - TO).Magnitude
  1372. if BIG == true then
  1373. TRAIL.Size = VT(5,DIST,5)
  1374. else
  1375. TRAIL.Size = VT(5,DIST,5)
  1376. end
  1377. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1378. coroutine.resume(coroutine.create(function()
  1379. for i = 1, 55 do
  1380. Swait()
  1381. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1382. end
  1383. TRAIL:remove()
  1384. end))
  1385. end
  1386.  
  1387. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1388. local DIRECTION = CF(StartPos,EndPos).lookVector
  1389. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1390. end
  1391.  
  1392. function turnto(position)
  1393. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1394. end
  1395.  
  1396.  
  1397. --//=================================\\
  1398. --|| SOME FUNCTIONS
  1399. --\\=================================//
  1400.  
  1401. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1402. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1403. end
  1404.  
  1405. function PositiveAngle(NUMBER)
  1406. if NUMBER >= 0 then
  1407. NUMBER = 0
  1408. end
  1409. return NUMBER
  1410. end
  1411.  
  1412. function NegativeAngle(NUMBER)
  1413. if NUMBER <= 0 then
  1414. NUMBER = 0
  1415. end
  1416. return NUMBER
  1417. end
  1418.  
  1419. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1420. if FLOOR ~= nil then
  1421. coroutine.resume(coroutine.create(function()
  1422. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1423. PART.CFrame = CF(POSITION)
  1424. for i = 1, 45 do
  1425. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1426. RingPiece.Material = FLOOR.Material
  1427. RingPiece.Color = FLOOR.Color
  1428. 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)))
  1429. Debris:AddItem(RingPiece, SWAIT)
  1430. end
  1431. PART:remove()
  1432. end))
  1433. end
  1434. end
  1435. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1436. if FLOOR ~= nil then
  1437. for i = 1, AMOUNT do
  1438. do
  1439. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1440. DEBREE.Material = FLOOR.Material
  1441. DEBREE.Color = FLOOR.Color
  1442. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1443. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1444. coroutine.resume(coroutine.create(function()
  1445. Swait(15)
  1446. DEBREE.Parent = workspace
  1447. DEBREE.CanCollide = true
  1448. Debris:AddItem(DEBREE, SWAIT)
  1449. end))
  1450. end
  1451. end
  1452. end
  1453. end
  1454.  
  1455. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1456. if FLOOR ~= nil then
  1457. for i = 1, AMOUNT do
  1458. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1459. DEBREE.Material = FLOOR.Material
  1460. DEBREE.Color = FLOOR.Color
  1461. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1462. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1463. coroutine.resume(coroutine.create(function()
  1464. Swait(15)
  1465. DEBREE.Parent = workspace
  1466. DEBREE.CanCollide = true
  1467. Debris:AddItem(DEBREE,SWAIT)
  1468. end))
  1469. end
  1470. end
  1471. end
  1472.  
  1473. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1474. if FLOOR ~= nil then
  1475. coroutine.resume(coroutine.create(function()
  1476. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  1477. PART.CFrame = CF(POSITION)
  1478. for i = 1, 45 do
  1479. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  1480. RingPiece.Material = FLOOR.Material
  1481. RingPiece.Color = FLOOR.Color
  1482. 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)))
  1483. Debris:AddItem(RingPiece,SWAIT)
  1484. end
  1485. PART:remove()
  1486. end))
  1487. end
  1488. end
  1489.  
  1490. local DECAL = IT("Decal")
  1491. function MakeRing()
  1492. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1493. local MSH = IT("BlockMesh", RING)
  1494. local TOP = DECAL:Clone()
  1495. local BOTTOM = DECAL:Clone()
  1496. TOP.Parent = RING
  1497. BOTTOM.Parent = RING
  1498. TOP.Face = "Top"
  1499. BOTTOM.Face = "Bottom"
  1500. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1501. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1502. local function REMOVE()
  1503. coroutine.resume(coroutine.create(function()
  1504. local SIZE = MSH.Scale.X
  1505. for i = 1, 35 do
  1506. Swait()
  1507. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1508. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1509. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1510. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1511. end
  1512. RING:remove()
  1513. end))
  1514. end
  1515. return RING, MSH, REMOVE
  1516. end
  1517.  
  1518. function killnearest(position, range, maxstrength)
  1519. for i, v in ipairs(workspace:GetChildren()) do
  1520. do
  1521. local body = v:GetChildren()
  1522. for part = 1, #body do
  1523. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1524. if v.ClassName == "Model" then
  1525. v:BreakJoints()
  1526. end
  1527. local bv = Instance.new("BodyVelocity")
  1528. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1529. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1530. bv.Parent = body[part]
  1531. Debris:AddItem(bv, 0.2)
  1532. body[part].Parent = Effects
  1533. body[part].Material = "Neon"
  1534. body[part].Color = C3(0, 0, 0)
  1535. body[part].CanCollide = true
  1536. coroutine.resume(coroutine.create(function()
  1537. wait(5)
  1538. if body[part].Parent == Effects then
  1539. body[part]:remove()
  1540. end
  1541. end))
  1542. end
  1543. end
  1544. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1545. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1546. end
  1547. end
  1548. end
  1549. end
  1550.  
  1551. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1552. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1553. wave.Color = COLOR
  1554. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  1555. wave.CFrame = CFRAME
  1556. coroutine.resume(coroutine.create(function(PART)
  1557. for i = 1, WAIT do
  1558. Swait()
  1559. mesh.Scale = mesh.Scale + GROW
  1560. if DOESROT == true then
  1561. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1562. end
  1563. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1564. if wave.Transparency > 0.99 then
  1565. wave:remove()
  1566. end
  1567. end
  1568. end))
  1569. end
  1570.  
  1571. function MakeForm(PART, TYPE)
  1572. if TYPE == "Cyl" then
  1573. local MSH = IT("CylinderMesh", PART)
  1574. elseif TYPE == "Ball" then
  1575. local MSH = IT("SpecialMesh", PART)
  1576. MSH.MeshType = "Sphere"
  1577. elseif TYPE == "Wedge" then
  1578. local MSH = IT("SpecialMesh", PART)
  1579. MSH.MeshType = "Wedge"
  1580. end
  1581. end
  1582.  
  1583. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1584. local NEWPART = IT("Part")
  1585. NEWPART.formFactor = FORMFACTOR
  1586. NEWPART.Reflectance = REFLECTANCE
  1587. NEWPART.Transparency = TRANSPARENCY
  1588. NEWPART.CanCollide = false
  1589. NEWPART.Locked = true
  1590. NEWPART.Anchored = true
  1591. if ANCHOR == false then
  1592. NEWPART.Anchored = false
  1593. end
  1594. NEWPART.Name = NAME
  1595. NEWPART.Size = SIZE
  1596. NEWPART.Position = Torso.Position
  1597. NEWPART.Material = MATERIAL
  1598. NEWPART:BreakJoints()
  1599. NEWPART.Parent = PARENT
  1600. return NEWPART
  1601. end
  1602.  
  1603. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1604. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1605. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1606. wave.CFrame = CFRAME
  1607. coroutine.resume(coroutine.create(function(PART)
  1608. for i = 1, WAIT do
  1609. Swait()
  1610. mesh.Scale = mesh.Scale + GROW
  1611. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1612. if DOESROT == true then
  1613. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1614. end
  1615. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1616. if wave.Transparency > 0.99 then
  1617. wave:remove()
  1618. end
  1619. end
  1620. end))
  1621. end
  1622.  
  1623. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1624. for _, c in pairs(PARENT:GetChildren()) do
  1625. if c.ClassName == "Model" then
  1626. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1627. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1628. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1629. if DIST > (TORSO.Position - FROM).Magnitude then
  1630. table.insert(TABLE, c)
  1631. end
  1632. AddChildrenToTable(FROM, c, DIST, TABLE)
  1633. elseif c.ClassName == "Folder" then
  1634. AddChildrenToTable(FROM, c, DIST, TABLE)
  1635. end
  1636. end
  1637. end
  1638. end
  1639.  
  1640. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1641. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1642. local mesh
  1643. if KIND == "Base" then
  1644. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1645. elseif KIND == "Thin" then
  1646. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1647. elseif KIND == "Round" then
  1648. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1649. end
  1650. wave.CFrame = CFRAME
  1651. coroutine.resume(coroutine.create(function(PART)
  1652. for i = 1, WAIT do
  1653. Swait()
  1654. mesh.Scale = mesh.Scale + GROW / 10
  1655. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1656. if wave.Transparency > 0.99 then
  1657. wave:remove()
  1658. end
  1659. end
  1660. end))
  1661. end
  1662.  
  1663. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1664. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1665. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1666. wave.CFrame = CFRAME
  1667. coroutine.resume(coroutine.create(function(PART)
  1668. for i = 1, WAIT do
  1669. Swait()
  1670. mesh.Scale = mesh.Scale + GROW
  1671. wave.Transparency = wave.Transparency + 1 / WAIT
  1672. if wave.Transparency > 0.99 then
  1673. wave:remove()
  1674. end
  1675. end
  1676. end))
  1677. end
  1678.  
  1679. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1680. local TORSO = Torso
  1681. local HUM = Humanoid
  1682. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1683. coroutine.wrap(function()
  1684. VT = Vector3.new
  1685. MRANDOM = math.random
  1686. local A = TIME
  1687. local B = INTENSITY
  1688. local C = true
  1689. local HUMANOID = Humanoid
  1690. local TIMER = A or 35
  1691. local SHAKE = B or 5
  1692. local FADE = C or true
  1693. if HUMANOID then
  1694. local FADER = SHAKE / TIMER
  1695. for i = 1, TIMER do
  1696. wait()
  1697. 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)
  1698. end
  1699. HUMANOID.CameraOffset = VT(0, 0, 0)
  1700. end
  1701.  
  1702. end)()
  1703. end
  1704. end
  1705.  
  1706. function Effect(data)
  1707. local FX = data.Effect or 'ResizeAndFade'
  1708. local Parent = data.Parent or Effects
  1709. local Color = data.Color or C3.N(0,0,0)
  1710. local Size = data.Size or V3.N(1,1,1)
  1711. local MoveDir = data.MoveDirection or nil
  1712. local MeshData = data.Mesh or nil
  1713. local SndData = data.Sound or nil
  1714. local Frames = data.Frames or 45
  1715. local Manual = data.Manual or nil
  1716. local Material = data.Material or nil
  1717. local CFra = data.CFrame or Torso.CFrame
  1718. local Settings = data.FXSettings or {}
  1719. local Snd,Prt,Msh;
  1720. local Shape = data.Shape or Enum.PartType.Block
  1721. coroutine.resume(coroutine.create(function()
  1722. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1723. Prt = Manual
  1724. else
  1725. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1726. Prt.Shape = Shape
  1727. end
  1728. if(typeof(MeshData) == 'table')then
  1729. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1730. elseif(typeof(MeshData) == 'Instance')then
  1731. Msh = MeshData:Clone()
  1732. Msh.Parent = Prt
  1733. elseif(Shape == Enum.PartType.Block)then
  1734. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1735. end
  1736. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1737. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1738. end
  1739. if(Snd)then
  1740. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1741. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1742. end
  1743. local MoveSpeed = nil;
  1744. if(MoveDir)then
  1745. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1746. end
  1747. local Inc = M.RNG()-M.RNG()
  1748. local Thingie = 0
  1749. local Thingie2 = M.RNG(50,100)/100
  1750. if(FX ~= 'Arc')then
  1751. for i = 1, Frames do
  1752. if(swait and typeof(swait) == 'function')then
  1753. swait()
  1754. else
  1755. wait()
  1756. end
  1757. if(FX == 'ResizeAndFade')then
  1758. if(not Settings.EndSize)then
  1759. Settings.EndSize = V3.N(0,0,0)
  1760. end
  1761. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  1762. if(Settings.EndIsIncrement)then
  1763. Prt.Size = Prt.Size + Settings.EndSize
  1764. else
  1765. Prt.Size = Prt.Size - grow/Frames
  1766. end
  1767. Prt.Transparency = (i/Frames)
  1768. elseif(FX == 'Fade')then
  1769. Prt.Transparency = (i/Frames)
  1770. end
  1771.  
  1772. if(Settings.RandomizeCFrame)then
  1773. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1774. end
  1775. if(MoveDir and MoveSpeed)then
  1776. local Orientation = Prt.Orientation
  1777. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1778. Prt.Orientation = Orientation
  1779. end
  1780. end
  1781. Prt:destroy()
  1782. else
  1783. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1784. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1785. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1786. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1787. assert(start ~= nil,"You need to specify a start point!")
  1788. assert(endP ~= nil,"You need to specify an end point!")
  1789. for i = 0, 1, Settings.Speed or 0.01 do
  1790. if(swait and typeof(swait) == 'function')then
  1791. swait()
  1792. else
  1793. wait()
  1794. end
  1795. if(Settings.Home)then
  1796. endP = Settings.Home.CFrame
  1797. end
  1798. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1799. end
  1800. if(Settings.RemoveOnGoal)then
  1801. Prt:destroy()
  1802. end
  1803. end
  1804. end))
  1805. return Prt,Msh,Snd
  1806. end
  1807.  
  1808. function RightWing()
  1809. for i = 1, 2 do
  1810. local PART
  1811. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1812. 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))
  1813. table.insert(RWINGS, WingWeld)
  1814. PART = Wing
  1815. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1816. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  1817. PART = Wing
  1818. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1819. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1820. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1821. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1822. PART = Wing
  1823. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1824. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1825. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1826. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1827. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1828. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1829. PART = Wing
  1830. table.insert(RWINGS, WingWeld)
  1831. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1832. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1833. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1834. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1835. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1836. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1837. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1838. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  1839. PART = Wing
  1840. table.insert(RWINGS, WingWeld)
  1841. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1842. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1843. PART = Wing
  1844. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1845. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  1846. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1847. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1848. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1849. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  1850. PART = Wing
  1851. table.insert(RWINGS, WingWeld)
  1852. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1853. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1854. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1855. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1856. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1857. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1858. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1859. table.insert(EYES, Wing1)
  1860. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  1861. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1862. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1863. PART = Wing
  1864. table.insert(RWINGS, WingWeld)
  1865. end
  1866. BODY = {}
  1867. for _, c in pairs(Character:GetDescendants()) do
  1868. if c:IsA("BasePart") then
  1869. table.insert(BODY, {
  1870. c,
  1871. c.Parent,
  1872. c.Material,
  1873. c.Color
  1874. })
  1875. elseif c:IsA("JointInstance") then
  1876. table.insert(BODY, {
  1877. c,
  1878. c.Parent,
  1879. nil,
  1880. nil
  1881. })
  1882. end
  1883. end
  1884. end
  1885. function LeftWing()
  1886. for i = 1, 2 do
  1887. local PART
  1888. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1889. 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))
  1890. table.insert(LWINGS, WingWeld)
  1891. PART = Wing
  1892. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1893. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  1894. PART = Wing
  1895. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1896. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1897. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1898. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1899. PART = Wing
  1900. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1901. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1902. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1903. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1904. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1905. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1906. PART = Wing
  1907. table.insert(LWINGS, WingWeld)
  1908. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1909. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1910. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1911. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1912. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1913. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1914. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1915. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  1916. PART = Wing
  1917. table.insert(LWINGS, WingWeld)
  1918. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1919. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1920. PART = Wing
  1921. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1922. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  1923. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1924. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1925. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1926. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  1927. PART = Wing
  1928. table.insert(LWINGS, WingWeld)
  1929. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1930. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1931. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1932. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1933. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1934. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1935. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1936. table.insert(EYES, Wing1)
  1937. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  1938. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1939. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1940. PART = Wing
  1941. table.insert(LWINGS, WingWeld)
  1942. end
  1943. BODY = {}
  1944. for _, c in pairs(Character:GetDescendants()) do
  1945. if c:IsA("BasePart") then
  1946. table.insert(BODY, {
  1947. c,
  1948. c.Parent,
  1949. c.Material,
  1950. c.Color
  1951. })
  1952. elseif c:IsA("JointInstance") then
  1953. table.insert(BODY, {
  1954. c,
  1955. c.Parent,
  1956. nil,
  1957. nil
  1958. })
  1959. end
  1960. end
  1961. end
  1962.  
  1963. function Swait(NUMBER)
  1964. if NUMBER == 0 or NUMBER == nil then
  1965. ArtificialHB.Event:wait()
  1966. else
  1967. for i = 1, NUMBER do
  1968. ArtificialHB.Event:wait()
  1969. end
  1970. end
  1971. end
  1972.  
  1973. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1974. local NEWMESH = IT(MESH)
  1975. if MESH == "SpecialMesh" then
  1976. NEWMESH.MeshType = MESHTYPE
  1977. if MESHID ~= "nil" and MESHID ~= "" then
  1978. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1979. end
  1980. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1981. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1982. end
  1983. end
  1984. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1985. NEWMESH.Scale = SCALE
  1986. NEWMESH.Parent = PARENT
  1987. return NEWMESH
  1988. end
  1989.  
  1990. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1991. local NEWPART = IT("Part")
  1992. NEWPART.formFactor = FORMFACTOR
  1993. NEWPART.Reflectance = REFLECTANCE
  1994. NEWPART.Transparency = TRANSPARENCY
  1995. NEWPART.CanCollide = false
  1996. NEWPART.Locked = true
  1997. NEWPART.Anchored = true
  1998. if ANCHOR == false then
  1999. NEWPART.Anchored = false
  2000. end
  2001. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2002. NEWPART.Name = NAME
  2003. NEWPART.Size = SIZE
  2004. NEWPART.Position = Torso.Position
  2005. NEWPART.Material = MATERIAL
  2006. NEWPART:BreakJoints()
  2007. NEWPART.Parent = PARENT
  2008. return NEWPART
  2009. end
  2010.  
  2011. local function weldBetween(a, b)
  2012. local weldd = Instance.new("ManualWeld")
  2013. weldd.Part0 = a
  2014. weldd.Part1 = b
  2015. weldd.C0 = CFrame.new()
  2016. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2017. weldd.Parent = a
  2018. return weldd
  2019. end
  2020.  
  2021.  
  2022. function QuaternionFromCFrame(cf)
  2023. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2024. local trace = m00 + m11 + m22
  2025. if trace > 0 then
  2026. local s = math.sqrt(1 + trace)
  2027. local recip = 0.5 / s
  2028. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2029. else
  2030. local i = 0
  2031. if m11 > m00 then
  2032. i = 1
  2033. end
  2034. if m22 > (i == 0 and m00 or m11) then
  2035. i = 2
  2036. end
  2037. if i == 0 then
  2038. local s = math.sqrt(m00 - m11 - m22 + 1)
  2039. local recip = 0.5 / s
  2040. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2041. elseif i == 1 then
  2042. local s = math.sqrt(m11 - m22 - m00 + 1)
  2043. local recip = 0.5 / s
  2044. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2045. elseif i == 2 then
  2046. local s = math.sqrt(m22 - m00 - m11 + 1)
  2047. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2048. end
  2049. end
  2050. end
  2051.  
  2052. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2053. local xs, ys, zs = x + x, y + y, z + z
  2054. local wx, wy, wz = w * xs, w * ys, w * zs
  2055. local xx = x * xs
  2056. local xy = x * ys
  2057. local xz = x * zs
  2058. local yy = y * ys
  2059. local yz = y * zs
  2060. local zz = z * zs
  2061. 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))
  2062. end
  2063.  
  2064. function QuaternionSlerp(a, b, t)
  2065. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2066. local startInterp, finishInterp;
  2067. if cosTheta >= 0.0001 then
  2068. if (1 - cosTheta) > 0.0001 then
  2069. local theta = ACOS(cosTheta)
  2070. local invSinTheta = 1 / SIN(theta)
  2071. startInterp = SIN((1 - t) * theta) * invSinTheta
  2072. finishInterp = SIN(t * theta) * invSinTheta
  2073. else
  2074. startInterp = 1 - t
  2075. finishInterp = t
  2076. end
  2077. else
  2078. if (1 + cosTheta) > 0.0001 then
  2079. local theta = ACOS(-cosTheta)
  2080. local invSinTheta = 1 / SIN(theta)
  2081. startInterp = SIN((t - 1) * theta) * invSinTheta
  2082. finishInterp = SIN(t * theta) * invSinTheta
  2083. else
  2084. startInterp = t - 1
  2085. finishInterp = t
  2086. end
  2087. end
  2088. 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
  2089. end
  2090.  
  2091. function Clerp(a, b, t)
  2092. local qa = {QuaternionFromCFrame(a)}
  2093. local qb = {QuaternionFromCFrame(b)}
  2094. local ax, ay, az = a.x, a.y, a.z
  2095. local bx, by, bz = b.x, b.y, b.z
  2096. local _t = 1 - t
  2097. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2098. end
  2099.  
  2100. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2101. local frame = IT("Frame")
  2102. frame.BackgroundTransparency = TRANSPARENCY
  2103. frame.BorderSizePixel = BORDERSIZEPIXEL
  2104. frame.Position = POSITION
  2105. frame.Size = SIZE
  2106. frame.BackgroundColor3 = COLOR
  2107. frame.BorderColor3 = BORDERCOLOR
  2108. frame.Name = NAME
  2109. frame.Parent = PARENT
  2110. return frame
  2111. end
  2112.  
  2113. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2114. local label = IT("TextLabel")
  2115. label.BackgroundTransparency = 1
  2116. label.Size = UD2(1, 0, 1, 0)
  2117. label.Position = UD2(0, 0, 0, 0)
  2118. label.TextColor3 = TEXTCOLOR
  2119. label.TextStrokeTransparency = STROKETRANSPARENCY
  2120. label.TextTransparency = TRANSPARENCY
  2121. label.FontSize = TEXTFONTSIZE
  2122. label.Font = TEXTFONT
  2123. label.BorderSizePixel = BORDERSIZEPIXEL
  2124. label.TextScaled = false
  2125. label.Text = TEXT
  2126. label.Name = NAME
  2127. label.Parent = PARENT
  2128. return label
  2129. end
  2130.  
  2131. function NoOutlines(PART)
  2132. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2133. end
  2134.  
  2135. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2136. local NEWWELD = IT(TYPE)
  2137. NEWWELD.Part0 = PART0
  2138. NEWWELD.Part1 = PART1
  2139. NEWWELD.C0 = C0
  2140. NEWWELD.C1 = C1
  2141. NEWWELD.Parent = PARENT
  2142. return NEWWELD
  2143. end
  2144.  
  2145. local S = IT("Sound")
  2146. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2147. local NEWSOUND = nil
  2148. coroutine.resume(coroutine.create(function()
  2149. NEWSOUND = S:Clone()
  2150. NEWSOUND.Parent = PARENT
  2151. NEWSOUND.Volume = VOLUME
  2152. NEWSOUND.Pitch = PITCH
  2153. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2154. NEWSOUND:play()
  2155. if DOESLOOP == true then
  2156. NEWSOUND.Looped = true
  2157. else
  2158. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2159. NEWSOUND:remove()
  2160. end
  2161. end))
  2162. return NEWSOUND
  2163. end
  2164.  
  2165. function CFrameFromTopBack(at, top, back)
  2166. local right = top:Cross(back)
  2167. 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)
  2168. end
  2169.  
  2170. --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})
  2171. function Lightning(Table)
  2172. local Color = Table.Color or C3(1,1,1)
  2173. local StartPos = Table.Start or Torso.Position
  2174. local EndPos = Table.End or Mouse.Hit.p
  2175. local SegmentLength = Table.SegmentL or 2
  2176. local Thickness = Table.Thickness or 0.1
  2177. local Dissapear = Table.DoesFade or false
  2178. local Parent = Table.Ignore or Character
  2179. local MaxDist = Table.MaxDist or 400
  2180. local Branches = Table.Branches or false
  2181. local Thicken = Table.Thicken or false
  2182. local FadeTime = Table.FadeTime or 15
  2183. local FadeIn = Table.FadeIn or false
  2184. local Material = Table.Material or "Neon"
  2185. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  2186. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  2187. local LIGHTNINGMODEL = IT("Model",Effects)
  2188. LIGHTNINGMODEL.Name = "Lightning"
  2189. local LastBolt = nil
  2190. for E = 1, DISTANCE do
  2191. local ExtraSize = 0
  2192. if Thicken == true then
  2193. ExtraSize = (DISTANCE-E)/15
  2194. end
  2195. local TRANSPARENCY = 0
  2196. if FadeIn == true then
  2197. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  2198. if TRANSPARENCY < 0 then
  2199. TRANSPARENCY = 0
  2200. end
  2201. end
  2202. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  2203. PART.Color = Color
  2204. MakeForm(PART,"Cyl")
  2205. if LastBolt == nil then
  2206. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  2207. else
  2208. 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)
  2209. end
  2210. LastBolt = PART
  2211. if Branches == true and E < (DISTANCE-5) then
  2212. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  2213. if CHOICE == 1 then
  2214. local LASTBRANCH = nil
  2215. for i = 1, MRANDOM(2,5) do
  2216. local ExtraSize2 = 0
  2217. if Thicken == true then
  2218. ExtraSize = ((DISTANCE-E)/25)/i
  2219. end
  2220. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  2221. PART.Color = Color
  2222. MakeForm(PART,"Cyl")
  2223. if LASTBRANCH == nil then
  2224. 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)
  2225. else
  2226. 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)
  2227. end
  2228. LASTBRANCH = PART
  2229. end
  2230. end
  2231. end
  2232. end
  2233. if Dissapear == true then
  2234. coroutine.resume(coroutine.create(function()
  2235. for i = 1, FadeTime do
  2236. Swait()
  2237. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  2238. if c.ClassName == "Part" then
  2239. c.Transparency = c.Transparency + (i/FadeTime)/10
  2240. end
  2241. end
  2242. end
  2243. LIGHTNINGMODEL:remove()
  2244. end))
  2245. elseif Dissapear == false then
  2246. Debris:AddItem(LIGHTNINGMODEL,0.1)
  2247. end
  2248. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  2249. end
  2250.  
  2251. -- Rainbow Stuff --
  2252. local cR=255
  2253. local cG=0
  2254. local cB=0
  2255. local flg5=1 local omgidk=1
  2256. local add=10.5
  2257. game:GetService('RunService').Heartbeat:connect(function()
  2258. if omgidk>10000 then omgidk=0 end
  2259. omgidk=omgidk+1
  2260. if cR>=255 then flg5=1 end
  2261. if cG>=255 then flg5=2 end
  2262. if cB>=255 then flg5=3 end
  2263. if flg5==1 then cR=cR-add cG=cG+add end
  2264. if flg5==2 then cG=cG-add cB=cB+add end
  2265. if flg5==3 then cB=cB-add cR=cR+add end
  2266. end)
  2267. color=Color3.fromRGB(cR,cG,cB)
  2268.  
  2269. function WACKYEFFECT(Table)
  2270. local TYPE = (Table.EffectType or "Sphere")
  2271. local SIZE = (Table.Size or VT(6,6,6))
  2272. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  2273. local TRANSPARENCY = (Table.Transparency or 0)
  2274. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2275. local CFRAME = (Table.CFrame or Torso.CFrame)
  2276. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2277. local ROTATION1 = (Table.RotationX or 0)
  2278. local ROTATION2 = (Table.RotationY or 0)
  2279. local ROTATION3 = (Table.RotationZ or 0)
  2280. local MATERIAL = (Table.Material or "Neon")
  2281. local COLOR = (Table.Color or C3(1,1,1))
  2282. local TIME = (Table.Time or 45)
  2283. local SOUNDID = (Table.SoundID or nil)
  2284. local SOUNDPITCH = (Table.SoundPitch or nil)
  2285. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2286. coroutine.resume(coroutine.create(function()
  2287. local PLAYSSOUND = false
  2288. local SOUND = nil
  2289. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2290. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2291. PLAYSSOUND = true
  2292. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2293. end
  2294. EFFECT.Color = COLOR
  2295. local MSH = nil
  2296. if TYPE == "Sphere" then
  2297. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2298. elseif TYPE == "Block" then
  2299. MSH = IT("BlockMesh",EFFECT)
  2300. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2301. elseif TYPE == "Wave" then
  2302. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2303. elseif TYPE == "Ring" then
  2304. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2305. elseif TYPE == "Slash" then
  2306. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2307. elseif TYPE == "Round Slash" then
  2308. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2309. elseif TYPE == "Swirl" then
  2310. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2311. elseif TYPE == "Skull" then
  2312. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2313. elseif TYPE == "Crystal" then
  2314. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2315. end
  2316. if MSH ~= nil then
  2317. local MOVESPEED = nil
  2318. if MOVEDIRECTION ~= nil then
  2319. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2320. end
  2321. local GROWTH = SIZE - ENDSIZE
  2322. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2323. if TYPE == "Block" then
  2324. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2325. else
  2326. EFFECT.CFrame = CFRAME
  2327. end
  2328. for LOOP = 1, TIME+1 do
  2329. Swait()
  2330. MSH.Scale = MSH.Scale - GROWTH/TIME
  2331. if TYPE == "Wave" then
  2332. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2333. end
  2334. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2335. if TYPE == "Block" then
  2336. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2337. else
  2338. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2339. end
  2340. if MOVEDIRECTION ~= nil then
  2341. local ORI = EFFECT.Orientation
  2342. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2343. EFFECT.Orientation = ORI
  2344. end
  2345. end
  2346. if PLAYSSOUND == false then
  2347. EFFECT:remove()
  2348. else
  2349. repeat Swait() until SOUND.Playing == false
  2350. EFFECT:remove()
  2351. end
  2352. else
  2353. if PLAYSSOUND == false then
  2354. EFFECT:remove()
  2355. else
  2356. repeat Swait() until SOUND.Playing == false
  2357. EFFECT:remove()
  2358. end
  2359. end
  2360. end))
  2361. end
  2362.  
  2363. function MakeForm(PART,TYPE)
  2364. if TYPE == "Cyl" then
  2365. local MSH = IT("CylinderMesh",PART)
  2366. elseif TYPE == "Ball" then
  2367. local MSH = IT("SpecialMesh",PART)
  2368. MSH.MeshType = "Sphere"
  2369. elseif TYPE == "Wedge" then
  2370. local MSH = IT("SpecialMesh",PART)
  2371. MSH.MeshType = "Wedge"
  2372. end
  2373. end
  2374. function SpawnTrail(FROM,TO,BIG)
  2375. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2376. MakeForm(TRAIL,"Cyl")
  2377. local cR=255
  2378. local cG=0
  2379. local cB=0
  2380. local flg5=1 local omgidk=1
  2381. local add=10.5
  2382. game:GetService('RunService').Heartbeat:connect(function()
  2383. if omgidk>10000 then omgidk=0 end
  2384. omgidk=omgidk+1
  2385. if cR>=255 then flg5=1 end
  2386. if cG>=255 then flg5=2 end
  2387. if cB>=255 then flg5=3 end
  2388. if flg5==1 then cR=cR-add cG=cG+add end
  2389. if flg5==2 then cG=cG-add cB=cB+add end
  2390. if flg5==3 then cB=cB-add cR=cR+add end
  2391. color=Color3.fromRGB(cR,cG,cB)
  2392. TRAIL.Color = color
  2393. end)
  2394. local DIST = (FROM - TO).Magnitude
  2395. if BIG == true then
  2396. TRAIL.Size = VT(5,DIST,5)
  2397. else
  2398. TRAIL.Size = VT(5,DIST,5)
  2399. end
  2400. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2401. coroutine.resume(coroutine.create(function()
  2402. for i = 1, 55 do
  2403. Swait()
  2404. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2405. end
  2406. TRAIL:remove()
  2407. end))
  2408. end
  2409.  
  2410. Debris = game:GetService("Debris")
  2411.  
  2412. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2413. local DIRECTION = CF(StartPos,EndPos).lookVector
  2414. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2415. end
  2416.  
  2417. function turnto(position)
  2418. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2419. end
  2420.  
  2421. --//=================================\\
  2422. --|| WEAPON CREATION
  2423. --\\=================================//
  2424. 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))
  2425.  
  2426.  
  2427.  
  2428. for i = 1, 35 do
  2429. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2430. FACE.Color = C3(0,0,0)
  2431. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2432. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2433. end
  2434.  
  2435. local CLOCKLOOP = 1
  2436. local CLOCKTARGET = nil
  2437. local CLOCKSPEED = 5
  2438.  
  2439. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2440. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2441. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2442. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2443. MakeForm(PRT,"Cyl")
  2444. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2445. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2446. MakeForm(PRT,"Cyl")
  2447. PRT.Color = C3(159/255, 111/255, 183/255)
  2448. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2449. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2450. MakeForm(RING,"Cyl")
  2451. RING.Color = C3(0,0,0)
  2452. for i = 1, 12 do
  2453. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  2454. PRT.Color = C3(0,0,0)
  2455. local MSH = IT("BlockMesh",PRT)
  2456. MSH.Scale = VT(0.6,1,1)
  2457. 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))
  2458. end
  2459. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2460. PRT.Color = C3(0,0,0)
  2461. local MSH = IT("BlockMesh",PRT)
  2462. MSH.Scale = VT(0.4,1,1)
  2463. 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))
  2464. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2465. PRT.Color = C3(0,0,0)
  2466. local MSH = IT("BlockMesh",PRT)
  2467. MSH.Scale = VT(0.4,1,1)
  2468. 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))
  2469. coroutine.resume(coroutine.create(function()
  2470. while true do
  2471. Swait()
  2472. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2473. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2474. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2475. if CLOCKLOOP <= -150 then
  2476. if VALUE1 == false then
  2477. CLOCKLOOP = 0
  2478. 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})
  2479. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2480. ApplyAoE(HITPOS,10,15,45,75,false)
  2481. 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})
  2482. 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})
  2483. if CLOCKTARGET ~= nil then
  2484. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2485. if CLOCKTARGET.Torso ~= nil then
  2486. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2487. end
  2488. if CLOCKTARGET.Health == 0 then
  2489. CLOCKTARGET = nil
  2490. end
  2491. end
  2492. end
  2493. end
  2494. end
  2495. end))
  2496.  
  2497.  
  2498. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hats", VT(2,0.2,2),false)
  2499. MakeForm(HAT1,"Cyl")
  2500. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2501. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(2.01,0.15,2.01),false)
  2502. BELT.Color = C3(1,1,1)
  2503. MakeForm(BELT,"Cyl")
  2504. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2505. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hata", VT(1.3,2.2,1.3),false)
  2506. MakeForm(HAT2,"Cyl")
  2507. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2508. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.2,1.31),false)
  2509. BELT.Color = C3(1,1,1)
  2510. MakeForm(BELT,"Cyl")
  2511. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2512. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gem", VT(0.25,0.25,0.1),false)
  2513. MakeForm(GEM,"Ball")
  2514. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2515. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gems", VT(0.25,0.25,0.1),false)
  2516. MakeForm(GEM,"Ball")
  2517. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2518. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gee", VT(0.1,0.25,0.25),false)
  2519. MakeForm(GEM,"Ball")
  2520. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2521. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gema", VT(0.1,0.25,0.25),false)
  2522. MakeForm(GEM,"Ball")
  2523. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2524. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2525. BELT.Color = C3(1,1,1)
  2526. MakeForm(BELT,"Cyl")
  2527. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2528. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2529. BELT.Color = C3(1,1,1)
  2530. MakeForm(BELT,"Cyl")
  2531. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2532. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2533. BELT.Color = C3(1,1,1)
  2534. MakeForm(BELT,"Cyl")
  2535. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2536. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2537. BELT.Color = C3(1,1,1)
  2538. MakeForm(BELT,"Cyl")
  2539. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2540. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hatsss", VT(1.3,0.5,1.3),false)
  2541. MakeForm(BELT,"Ball")
  2542. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2543. Humanoid.DisplayDistanceType = "None"
  2544.  
  2545. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2546. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2547. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2548. MakeForm(Part,"Wedge")
  2549. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2550. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2551. MakeForm(Part,"Wedge")
  2552. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2553. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2554. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2555. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2556. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2557. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2558. MakeForm(Part,"Cyl")
  2559. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2560. for i = 1, 8 do
  2561. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2562. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2563. end
  2564. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2565. MakeForm(Part,"Cyl")
  2566. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2567. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2568. MakeForm(Part,"Ball")
  2569. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2570. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2571. MakeForm(Part,"Wedge")
  2572. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2573. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2574. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2575. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2576. MakeForm(Part,"Cyl")
  2577. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2578. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2579. MakeForm(Part,"Cyl")
  2580. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2581. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2582. MakeForm(Part,"Cyl")
  2583. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2584. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2585. MakeForm(Part,"Wedge")
  2586. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2587. local LASTPART = Handle
  2588. for i = 1, 10 do
  2589. if LASTPART == Handle then
  2590. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2591. LASTPART = Part
  2592. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2593. else
  2594. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false)
  2595. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2596. LASTPART = Part
  2597. end
  2598. end
  2599.  
  2600. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2601. MakeForm(Barrel,"Cyl")
  2602. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2603. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2604. MakeForm(Part,"Cyl")
  2605. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2606. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2607. MakeForm(Part,"Wedge")
  2608. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2609. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2610. MakeForm(Hole,"Cyl")
  2611. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2612. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2613. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2614. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2615. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2616. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2617. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2618. coroutine.resume(coroutine.create(function()
  2619. while wait() do
  2620. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2621. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2622. end
  2623. end))
  2624.  
  2625. local cR=255
  2626. local cG=0
  2627. local cB=0
  2628. local flg5=1 local omgidk=1
  2629. local add=10.5
  2630. game:GetService('RunService').Heartbeat:connect(function()
  2631. if omgidk>10000 then omgidk=0 end
  2632. omgidk=omgidk+1
  2633. if cR>=255 then flg5=1 end
  2634. if cG>=255 then flg5=2 end
  2635. if cB>=255 then flg5=3 end
  2636. if flg5==1 then cR=cR-add cG=cG+add end
  2637. if flg5==2 then cG=cG-add cB=cB+add end
  2638. if flg5==3 then cB=cB-add cR=cR+add end
  2639. color=Color3.fromRGB(cR,cG,cB)
  2640. for _, c in pairs(Weapon:GetDescendants()) do
  2641. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2642. c.Material = "Glass"
  2643. c.Color = C3(0,0,0)
  2644. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2645. c.Color = color
  2646. c.Material = "Neon"
  2647. end
  2648. end
  2649. end)
  2650. Weapon.Parent = Character
  2651. for _, c in pairs(Weapon:GetChildren()) do
  2652. if c.ClassName == "Part" then
  2653. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2654. end
  2655. end
  2656.  
  2657.  
  2658.  
  2659.  
  2660. if Character:FindFirstChildOfClass("Accessory") then
  2661. Character:FindFirstChildOfClass("Accessory"):remove()
  2662. elseif Character:FindFirstChildOfClass("Hat") then
  2663. Character:FindFirstChildOfClass("Hat"):remove()
  2664. end
  2665. if Head:FindFirstChild("face") then
  2666. Head.face.Texture = "rbxassetid://403870689"
  2667. if Character:FindFirstChildOfClass("Accessory") then
  2668. Character:FindFirstChildOfClass("Accessory"):remove()
  2669. elseif Character:FindFirstChildOfClass("Hat") then
  2670. Character:FindFirstChildOfClass("Hat"):remove()
  2671. end
  2672. if Character:FindFirstChildOfClass("Accessory") then
  2673. Character:FindFirstChildOfClass("Accessory"):remove()
  2674. elseif Character:FindFirstChildOfClass("Hat") then
  2675. Character:FindFirstChildOfClass("Hat"):remove()
  2676. end
  2677. if Character:FindFirstChildOfClass("Accessory") then
  2678. Character:FindFirstChildOfClass("Accessory"):remove()
  2679. elseif Character:FindFirstChildOfClass("Hat") then
  2680. Character:FindFirstChildOfClass("Hat"):remove()
  2681. end
  2682. if Character:FindFirstChildOfClass("Accessory") then
  2683. Character:FindFirstChildOfClass("Accessory"):remove()
  2684. elseif Character:FindFirstChildOfClass("Hat") then
  2685. Character:FindFirstChildOfClass("Hat"):remove()
  2686. end
  2687. if Character:FindFirstChildOfClass("Accessory") then
  2688. Character:FindFirstChildOfClass("Accessory"):remove()
  2689. elseif Character:FindFirstChildOfClass("Hat") then
  2690. Character:FindFirstChildOfClass("Hat"):remove()
  2691. end
  2692. end
  2693.  
  2694. local Particle = IT("ParticleEmitter",nil)
  2695. Particle.Enabled = false
  2696. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2697. Particle.LightEmission = 0.5
  2698. Particle.Rate = 150
  2699. Particle.ZOffset = 0.2
  2700. Particle.Rotation = NumberRange.new(-180, 180)
  2701. Particle.RotSpeed = NumberRange.new(-180, 180)
  2702. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2703. 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))
  2704.  
  2705. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2706. function ParticleEmitter(Table)
  2707. local PRTCL = Particle:Clone()
  2708. local Speed = Table.Speed or 5
  2709. local Drag = Table.Drag or 0
  2710. local Size1 = Table.Size1 or 1
  2711. local Size2 = Table.Size2 or 5
  2712. local Lifetime1 = Table.Lifetime1 or 1
  2713. local Lifetime2 = Table.Lifetime2 or 1.5
  2714. local Parent = Table.Parent or Torso
  2715. local Emit = Table.Emit or 100
  2716. local Offset = Table.Offset or 360
  2717. local Acel = Table.Acel or VT(0,0,0)
  2718. local Enabled = Table.Enabled or false
  2719. PRTCL.Parent = Parent
  2720. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2721. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2722. PRTCL.Speed = NumberRange.new(Speed)
  2723. PRTCL.VelocitySpread = Offset
  2724. PRTCL.Drag = Drag
  2725. PRTCL.Acceleration = Acel
  2726. if Enabled == false then
  2727. PRTCL:Emit(Emit)
  2728. Debris:AddItem(PRTCL,Lifetime2)
  2729. else
  2730. PRTCL.Enabled = true
  2731. end
  2732. return PRTCL
  2733. end
  2734.  
  2735. function ParticleEmitter(Table)
  2736. local PRTCL = Particle:Clone()
  2737. local Speed = Table.Speed or 5
  2738. local Drag = Table.Drag or 0
  2739. local Size1 = Table.Size1 or 1
  2740. local Size2 = Table.Size2 or 5
  2741. local Lifetime1 = Table.Lifetime1 or 1
  2742. local Lifetime2 = Table.Lifetime2 or 1.5
  2743. local Parent = Table.Parent or Torso
  2744. local Emit = Table.Emit or 100
  2745. local Offset = Table.Offset or 360
  2746. local Acel = Table.Acel or VT(0,0,0)
  2747. local Enabled = Table.Enabled or false
  2748. PRTCL.Parent = Parent
  2749. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2750. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2751. PRTCL.Speed = NumberRange.new(Speed)
  2752. PRTCL.VelocitySpread = Offset
  2753. PRTCL.Drag = Drag
  2754. PRTCL.Acceleration = Acel
  2755. if Enabled == false then
  2756. PRTCL:Emit(Emit)
  2757. Debris:AddItem(PRTCL,Lifetime2)
  2758. else
  2759. PRTCL.Enabled = true
  2760. end
  2761. return PRTCL
  2762. end
  2763.  
  2764. function swait(num)
  2765. if num == 0 or num == nil then
  2766. ArtificialHB.Event:wait()
  2767. else
  2768. for i = 0, num do
  2769. ArtificialHB.Event:wait()
  2770. end
  2771. end
  2772. end
  2773.  
  2774. local DECAL = IT("Decal")
  2775. function MagicRingg()
  2776. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  2777. local MESH = IT("BlockMesh",RING)
  2778. local BOTTOMTEXTURE = DECAL:Clone()
  2779. BOTTOMTEXTURE.Parent = RING
  2780. BOTTOMTEXTURE.Face = "Bottom"
  2781. BOTTOMTEXTURE.Name = "BottomTexture"
  2782. local TOPTEXTURE = DECAL:Clone()
  2783. TOPTEXTURE.Parent = RING
  2784. TOPTEXTURE.Face = "Top"
  2785. TOPTEXTURE.Name = "TopTexture"
  2786. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2787. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2788. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  2789. TOPTEXTURE.Color3 = C3(0,0,0)
  2790. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  2791. end
  2792.  
  2793. function chatfunc(text)
  2794. local chat = coroutine.wrap(function()
  2795. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2796. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2797. end
  2798. local Bill = Instance.new("BillboardGui",Character)
  2799. Bill.Size = UDim2.new(0,100,0,40)
  2800. Bill.StudsOffset = Vector3.new(0,2,0)
  2801. Bill.Adornee = Character.Head
  2802. Bill.Name = "TalkingBillBoard"
  2803. local Hehe = Instance.new("TextLabel",Bill)
  2804. Hehe.BackgroundTransparency = 1
  2805. Hehe.BorderSizePixel = 0
  2806. Hehe.Text = ""
  2807. Hehe.Font = "Cartoon"
  2808. Hehe.TextSize = 40
  2809. Hehe.TextStrokeTransparency = 0
  2810. Hehe.Size = UDim2.new(1,0,0.5,0)
  2811. coroutine.resume(coroutine.create(function()
  2812. while Hehe ~= nil do
  2813. Swait()
  2814. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  2815. Hehe.Rotation = math.random(-5,5)
  2816. Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB)
  2817. Hehe.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB)
  2818. end
  2819. end))
  2820. for i = 1,string.len(text),1 do
  2821. Swait()
  2822. Hehe.Text = string.sub(text,1,i)
  2823. end
  2824. Swait(90)--Re[math.random(1, 93)]
  2825. for i = 0, 1, .025 do
  2826. Swait()
  2827. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2828. Hehe.TextStrokeTransparency = i
  2829. Hehe.TextTransparency = i
  2830. end
  2831. Bill:Destroy()
  2832. end)
  2833. chat()
  2834. end
  2835.  
  2836. function onChatted(msg)
  2837. chatfunc(msg)
  2838. end
  2839.  
  2840. Player.Chatted:connect(onChatted)
  2841.  
  2842. local BODY = {}
  2843. for _, c in pairs(Character:GetDescendants()) do
  2844. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2845. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2846. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2847. end
  2848. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2849. elseif c:IsA("JointInstance") then
  2850. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2851. end
  2852. end
  2853.  
  2854. function refit()
  2855. Character.Parent = workspace
  2856. for e = 1, #BODY do
  2857. if BODY[e] ~= nil then
  2858. local STUFF = BODY[e]
  2859. local PART = STUFF[1]
  2860. local PARENT = STUFF[2]
  2861. local MATERIAL = STUFF[3]
  2862. local COLOR = STUFF[4]
  2863. local TRANSPARENCY = STUFF[5]
  2864. --local SIZE = STUFF[6]
  2865. local NAME = STUFF[7]
  2866. if PART.ClassName == "Part" and PART ~= RootPart then
  2867. PART.Material = MATERIAL
  2868. PART.Transparency = TRANSPARENCY
  2869. PART.Name = NAME
  2870. end
  2871. if PART.Parent ~= PARENT then
  2872. Humanoid:remove()
  2873. PART.Parent = PARENT
  2874. Humanoid = IT("Humanoid",Character)
  2875. end
  2876. end
  2877. end
  2878. end
  2879.  
  2880. Humanoid.Died:connect(function()
  2881. refit()
  2882. end)
  2883.  
  2884. function printbye(Name)
  2885. 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, "}
  2886. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2887. end
  2888.  
  2889. workspace.ChildAdded:connect(function(instance)
  2890. for BANISH = 1, #TOBANISH do
  2891. if TOBANISH[BANISH] ~= nil then
  2892. if instance.Name == TOBANISH[BANISH] then
  2893. coroutine.resume(coroutine.create(function()
  2894. printbye(instance.Name)
  2895. instance:ClearAllChildren()
  2896. Debris:AddItem(instance,0.0005)
  2897. end))
  2898. end
  2899. end
  2900. end
  2901. end)
  2902.  
  2903. function Shatter(Part)
  2904. if Part.Transparency < 1 then
  2905. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  2906. Debris:AddItem(SOUNDPART,5)
  2907. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2908. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2909. local SIZESET = SIZE/4
  2910. local XOffset = Part.Size.X*1.5/SIZESET
  2911. local YOffset = Part.Size.Y*1.5/SIZESET
  2912. local ZOffset = Part.Size.Z*1.5/SIZESET
  2913. for x = 1, math.ceil(XOffset) do
  2914. for y = 1, math.ceil(YOffset) do
  2915. for z = 1, math.ceil(ZOffset) do
  2916. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2917. SHARD.CanCollide = true
  2918. 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))
  2919. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2920. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  2921. for _, c in pairs(Part:GetChildren()) do
  2922. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  2923. c:Clone().Parent = SHARD
  2924. end
  2925. end
  2926. end
  2927. end
  2928. end
  2929. end
  2930. Part:remove()
  2931. end
  2932. --//=================================\\
  2933. --|| DAMAGING
  2934. --\\=================================//
  2935.  
  2936. function recurse(root,callback,i)
  2937. i= i or 0
  2938. for _,v in pairs(root:GetChildren()) do
  2939. i = i + 1
  2940. callback(i,v)
  2941.  
  2942. if #v:GetChildren() > 0 then
  2943. i = recurse(v,callback,i)
  2944. end
  2945. end
  2946.  
  2947. return i
  2948. end
  2949.  
  2950. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2951. attachmentName = attachmentName.."RigAttachment"
  2952. local constraint = Instance.new(className.."Constraint")
  2953. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2954. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2955. constraint.Name = "RagdollConstraint"..part1.Name
  2956.  
  2957. for _,propertyData in next,properties or {} do
  2958. constraint[propertyData[1]] = propertyData[2]
  2959. end
  2960.  
  2961. constraint.Parent = character
  2962. end
  2963.  
  2964. function getAttachment0(character, attachmentName)
  2965. for _,child in next,character:GetChildren() do
  2966. local attachment = child:FindFirstChild(attachmentName)
  2967. if attachment then
  2968. return attachment
  2969. end
  2970. end
  2971. end
  2972.  
  2973. function ArtificialHitbox(Part)
  2974. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2975. HITBOX.CanCollide = true
  2976. HITBOX.CFrame = Part.CFrame
  2977. weldBetween(Part,HITBOX)
  2978. end
  2979.  
  2980. function R15Ragdoll(character,KeepArms)
  2981. character:BreakJoints()
  2982. coroutine.resume(coroutine.create(function()
  2983. recurse(character, function(_,v)
  2984. if v:IsA("Attachment") then
  2985. v.Axis = Vector3.new(0, 1, 0)
  2986. v.SecondaryAxis = Vector3.new(0, 0, 1)
  2987. v.Rotation = Vector3.new(0, 0, 0)
  2988. end
  2989. end)
  2990. for _,child in next,character:GetChildren() do
  2991. if child:IsA("Accoutrement") then
  2992. for _,part in next,child:GetChildren() do
  2993. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  2994. local attachment1 = part:FindFirstChildOfClass("Attachment")
  2995. local attachment0 = getAttachment0(character,attachment1.Name)
  2996. if attachment0 and attachment1 then
  2997. local constraint = Instance.new("HingeConstraint")
  2998. constraint.Attachment0 = attachment0
  2999. constraint.Attachment1 = attachment1
  3000. constraint.LimitsEnabled = true
  3001. constraint.UpperAngle = 0
  3002. constraint.LowerAngle = 0
  3003. constraint.Parent = character
  3004. end
  3005. ArtificialHitbox(part)
  3006. elseif part.Name == "HumanoidRootPart" then
  3007. part:remove()
  3008. end
  3009. end
  3010. end
  3011. end
  3012.  
  3013. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3014. {"LimitsEnabled",true};
  3015. {"UpperAngle",5};
  3016. })
  3017. if character:FindFirstChild("Head") then
  3018. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  3019. {"LimitsEnabled",true};
  3020. {"UpperAngle",15};
  3021. })
  3022. end
  3023.  
  3024. local handProperties = {
  3025. {"LimitsEnabled", true};
  3026. {"UpperAngle",0};
  3027. {"LowerAngle",0};
  3028. }
  3029. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3030. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3031.  
  3032. local shinProperties = {
  3033. {"LimitsEnabled", true};
  3034. {"UpperAngle", 0};
  3035. {"LowerAngle", -75};
  3036. }
  3037. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3038. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3039.  
  3040. local footProperties = {
  3041. {"LimitsEnabled", true};
  3042. {"UpperAngle", 15};
  3043. {"LowerAngle", -45};
  3044. }
  3045. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3046. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3047. if KeepArms == true then
  3048. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  3049. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3050. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  3051. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3052. end
  3053. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3054. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3055. Debris:AddItem(character,5)
  3056. end))
  3057. end
  3058.  
  3059. function Ragdoll(Character2,CharTorso,KeepArms)
  3060. coroutine.resume(coroutine.create(function()
  3061. Character2:BreakJoints()
  3062. local hum = Character2:findFirstChild("Humanoid")
  3063. hum:remove()
  3064. local function Scan(ch)
  3065. local e
  3066. for e = 1,#ch do
  3067. Scan(ch[e]:GetChildren())
  3068. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3069. ch[e]:remove()
  3070. end
  3071. end
  3072. end
  3073. local NEWHUM = IT("Humanoid")
  3074. NEWHUM.Name = "Corpse"
  3075. NEWHUM.Health = 0
  3076. NEWHUM.MaxHealth = 0
  3077. NEWHUM.PlatformStand = true
  3078. NEWHUM.Parent = Character2
  3079. NEWHUM.DisplayDistanceType = "None"
  3080.  
  3081. local ch = Character2:GetChildren()
  3082. local i
  3083. for i = 1,#ch do
  3084. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3085. ch[i]:remove()
  3086. end
  3087. end
  3088.  
  3089. local Torso2 = Character2.Torso
  3090. local movevector = Vector3.new()
  3091.  
  3092. if Torso2 then
  3093. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  3094. local Head = Character2:FindFirstChild("Head")
  3095. if Head then
  3096. local Neck = Instance.new("Weld")
  3097. Neck.Name = "Neck"
  3098. Neck.Part0 = Torso2
  3099. Neck.Part1 = Head
  3100. Neck.C0 = CFrame.new(0, 1.5, 0)
  3101. Neck.C1 = CFrame.new()
  3102. Neck.Parent = Torso2
  3103.  
  3104. end
  3105. local Limb = Character2:FindFirstChild("Right Arm")
  3106. if Limb and KeepArms == true then
  3107.  
  3108. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3109. local Joint = Instance.new("Glue")
  3110. Joint.Name = "RightShoulder"
  3111. Joint.Part0 = Torso2
  3112. Joint.Part1 = Limb
  3113. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3114. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3115. Joint.Parent = Torso2
  3116.  
  3117. local B = Instance.new("Part")
  3118. B.TopSurface = 0
  3119. B.BottomSurface = 0
  3120. B.formFactor = "Symmetric"
  3121. B.Size = Vector3.new(1, 1, 1)
  3122. B.Transparency = 1
  3123. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3124. B.Parent = Character2
  3125. local W = Instance.new("Weld")
  3126. W.Part0 = Limb
  3127. W.Part1 = B
  3128. W.C0 = CFrame.new(0, -0.5, 0)
  3129. W.Parent = Limb
  3130.  
  3131. end
  3132. local Limb = Character2:FindFirstChild("Left Arm")
  3133. if Limb and KeepArms == true then
  3134.  
  3135. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3136. local Joint = Instance.new("Glue")
  3137. Joint.Name = "LeftShoulder"
  3138. Joint.Part0 = Torso2
  3139. Joint.Part1 = Limb
  3140. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3141. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3142. Joint.Parent = Torso2
  3143.  
  3144. local B = Instance.new("Part")
  3145. B.TopSurface = 0
  3146. B.BottomSurface = 0
  3147. B.formFactor = "Symmetric"
  3148. B.Size = Vector3.new(1, 1, 1)
  3149. B.Transparency = 1
  3150. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3151. B.Parent = Character2
  3152. local W = Instance.new("Weld")
  3153. W.Part0 = Limb
  3154. W.Part1 = B
  3155. W.C0 = CFrame.new(0, -0.5, 0)
  3156. W.Parent = Limb
  3157.  
  3158. end
  3159. local Limb = Character2:FindFirstChild("Right Leg")
  3160. if Limb then
  3161.  
  3162. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3163. local Joint = Instance.new("Glue")
  3164. Joint.Name = "RightHip"
  3165. Joint.Part0 = Torso2
  3166. Joint.Part1 = Limb
  3167. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3168. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3169. Joint.Parent = Torso2
  3170.  
  3171. local B = Instance.new("Part")
  3172. B.TopSurface = 0
  3173. B.BottomSurface = 0
  3174. B.formFactor = "Symmetric"
  3175. B.Size = Vector3.new(1, 1, 1)
  3176. B.Transparency = 1
  3177. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3178. B.Parent = Character2
  3179. local W = Instance.new("Weld")
  3180. W.Part0 = Limb
  3181. W.Part1 = B
  3182. W.C0 = CFrame.new(0, -0.5, 0)
  3183. W.Parent = Limb
  3184.  
  3185. end
  3186. local Limb = Character2:FindFirstChild("Left Leg")
  3187. if Limb then
  3188.  
  3189. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3190. local Joint = Instance.new("Glue")
  3191. Joint.Name = "LeftHip"
  3192. Joint.Part0 = Torso2
  3193. Joint.Part1 = Limb
  3194. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3195. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3196. Joint.Parent = Torso2
  3197.  
  3198. local B = Instance.new("Part")
  3199. B.TopSurface = 0
  3200. B.BottomSurface = 0
  3201. B.formFactor = "Symmetric"
  3202. B.Size = Vector3.new(1, 1, 1)
  3203. B.Transparency = 1
  3204. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3205. B.Parent = Character2
  3206. local W = Instance.new("Weld")
  3207. W.Part0 = Limb
  3208. W.Part1 = B
  3209. W.C0 = CFrame.new(0, -0.5, 0)
  3210. W.Parent = Limb
  3211.  
  3212. end
  3213. --[
  3214. local Bar = Instance.new("Part")
  3215. Bar.TopSurface = 0
  3216. Bar.BottomSurface = 0
  3217. Bar.formFactor = "Symmetric"
  3218. Bar.Size = Vector3.new(1, 1, 1)
  3219. Bar.Transparency = 1
  3220. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3221. Bar.Parent = Character2
  3222. local Weld = Instance.new("Weld")
  3223. Weld.Part0 = Torso2
  3224. Weld.Part1 = Bar
  3225. Weld.C0 = CFrame.new(0, 0.5, 0)
  3226. Weld.Parent = Torso2
  3227. --]]
  3228. end
  3229. Character2.Parent = workspace
  3230. Debris:AddItem(Character2,5)
  3231.  
  3232. return Character2,Torso2
  3233. end))
  3234. end
  3235. function killnearest(position,range,maxstrength,direction)
  3236. for i,v in ipairs(workspace:GetChildren()) do
  3237. local body = v:GetChildren()
  3238. for part = 1, #body do
  3239. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3240. if(body[part].Position - position).Magnitude < range then
  3241. if v.ClassName == "Model" then
  3242. --v:BreakJoints()
  3243. end
  3244. local POS = position
  3245. coroutine.resume(coroutine.create(function()
  3246. body[part].Anchored = true
  3247. body[part].Parent = Effects
  3248. body[part].CanCollide = true
  3249. local SIZE = body[part].Size
  3250. body[part].Material = "Neon"
  3251. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  3252. for i = 1, 75 do
  3253. Swait()
  3254. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3255. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3256. end
  3257. coroutine.resume(coroutine.create(function()
  3258. while true do
  3259. Swait()
  3260. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3261. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3262. end
  3263. end))
  3264. body[part].Anchored = false
  3265. body[part].Velocity = direction.lookVector*maxstrength
  3266. end))
  3267. end
  3268. end
  3269. end
  3270. if v.ClassName == "Part" then
  3271. if v.Anchored == false and (v.Position - position).Magnitude < range then
  3272. local POS = position
  3273. coroutine.resume(coroutine.create(function()
  3274. v.Anchored = true
  3275. v.Parent = Effects
  3276. local SIZE = v.Size
  3277. v.Material = "Neon"
  3278. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  3279. for i = 1, 75 do
  3280. Swait()
  3281. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3282. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3283. end
  3284. coroutine.resume(coroutine.create(function()
  3285. while true do
  3286. Swait()
  3287. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3288. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3289. end
  3290. end))
  3291. v.Anchored = false
  3292. v.Velocity = direction.lookVector*maxstrength
  3293. end))
  3294. end
  3295. end
  3296. end
  3297. end
  3298.  
  3299. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3300. local TORSO = Torso
  3301. local HUM = Humanoid
  3302. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3303. coroutine.wrap(function()
  3304. VT = Vector3.new
  3305. MRANDOM = math.random
  3306. local A = TIME
  3307. local B = INTENSITY
  3308. local C = true
  3309. local HUMANOID = Humanoid
  3310. local TIMER = A or 35
  3311. local SHAKE = B or 5
  3312. local FADE = C or true
  3313. if HUMANOID then
  3314. local FADER = SHAKE / TIMER
  3315. for i = 1, TIMER do
  3316. wait()
  3317. 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)
  3318. end
  3319. HUMANOID.CameraOffset = VT(0, 0, 0)
  3320. end
  3321.  
  3322. end)()
  3323. end
  3324. end
  3325.  
  3326. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  3327. local dmg = math.random(10000,100000)
  3328. for i,v in ipairs(workspace:GetChildren()) do
  3329. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3330. local body = v:GetChildren()
  3331. for part = 1, #body do
  3332. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3333. if(body[part].Position - position).Magnitude < radius then
  3334. if v.ClassName == "Model" then
  3335. if v:FindFirstChildOfClass("Humanoid") then
  3336. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  3337. local bv = Instance.new("BodyVelocity")
  3338. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3339. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  3340. bv.Parent = body[part]
  3341. Debris:AddItem(bv,0.2)
  3342. end
  3343. end
  3344. end
  3345. end
  3346. end
  3347. end
  3348. if v:FindFirstChild("HitBy"..Player.Name) then
  3349. v:FindFirstChild("HitBy"..Player.Name):remove()
  3350. end
  3351. end
  3352. end
  3353.  
  3354. function CameraEnshaking(Length, Intensity)
  3355. coroutine.resume(coroutine.create(function()
  3356. local intensity = 1 * Intensity
  3357. local rotM = 0.01 * Intensity
  3358. for i = 0, Length, 0.1 do
  3359. Swait()
  3360. intensity = intensity - 0.05 * Intensity / Length
  3361. rotM = rotM - 5.0E-4 * Intensity / Length
  3362. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3363. 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)
  3364. end
  3365. hum.CameraOffset = Vector3.new(0, 0, 0)
  3366. end))
  3367. end
  3368.  
  3369. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3370. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3371. defence.Name = ("HitBy"..Player.Name)
  3372. game:GetService("Debris"):AddItem(defence, 0.001)
  3373. Damage = Damage * DAMAGEMULTIPLIER
  3374. if Humanoid.Health ~= 0 then
  3375. local CritChance = MRANDOM(1,100)
  3376. if Damage > Humanoid.Health then
  3377. Damage = math.ceil(Humanoid.Health)
  3378. if Damage == 0 then
  3379. Damage = 0.1
  3380. end
  3381. end
  3382. Humanoid.Health = Humanoid.Health - Damage
  3383. end
  3384. end
  3385.  
  3386. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3387. local CHILDREN = workspace:GetDescendants()
  3388. for index, CHILD in pairs(CHILDREN) do
  3389. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3390. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3391. if HUM then
  3392. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3393. if TORSO then
  3394. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3395. if INSTAKILL == true then
  3396. CHILD:BreakJoints()
  3397. else
  3398. local DMG = MRANDOM(MINDMG,MAXDMG)
  3399. ApplyDamage(HUM,DMG,TORSO)
  3400. end
  3401. if FLING > 0 then
  3402. for _, c in pairs(CHILD:GetChildren()) do
  3403. if c:IsA("BasePart") then
  3404. local bv = Instance.new("BodyVelocity")
  3405. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3406. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3407. bv.Parent = c
  3408. Debris:AddItem(bv,0.05)
  3409. end
  3410. end
  3411. end
  3412. end
  3413. end
  3414. end
  3415. end
  3416. end
  3417. end
  3418.  
  3419.  
  3420.  
  3421. function MagicSphere2(size,waitt,cframe,color)
  3422. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  3423. local mesh = IT("SpecialMesh",wave)
  3424. mesh.MeshType = "Sphere"
  3425. mesh.Scale = VT(size,size,size)
  3426. mesh.Offset = VT(0,0,0)
  3427. wave.CFrame = cframe
  3428. coroutine.resume(coroutine.create(function(PART)
  3429. for i = 1, waitt do
  3430. Swait()
  3431. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  3432. wave.Transparency = wave.Transparency - (1/waitt)
  3433. end
  3434. wave:remove()
  3435. end))
  3436. end
  3437.  
  3438. function MagicSphere(size,waitt,cframe,color)
  3439. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  3440. local mesh = IT("SpecialMesh",wave)
  3441. mesh.MeshType = "Sphere"
  3442. mesh.Scale = VT(size,size,size)
  3443. mesh.Offset = VT(0,0,0)
  3444. wave.CFrame = cframe
  3445. coroutine.resume(coroutine.create(function(PART)
  3446. for i = 1, waitt do
  3447. Swait()
  3448. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  3449. wave.Transparency = wave.Transparency + (1/waitt)
  3450. if wave.Transparency > 0.99 then
  3451. wave:remove()
  3452. end
  3453. end
  3454. end))
  3455. end
  3456.  
  3457. local asd = Instance.new("ParticleEmitter")
  3458. asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
  3459. asd.LightEmission = .1
  3460. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3461. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3462. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3463. asd.Transparency = bbb
  3464. asd.Size = aaa
  3465. asd.ZOffset = .9
  3466. asd.Acceleration = Vector3.new(0, -15, 0)
  3467. asd.LockedToPart = false
  3468. asd.EmissionDirection = "Back"
  3469. asd.Lifetime = NumberRange.new(1, 2)
  3470. asd.Rotation = NumberRange.new(-100, 100)
  3471. asd.RotSpeed = NumberRange.new(-100, 100)
  3472. asd.Speed = NumberRange.new(10)
  3473. asd.Enabled = false
  3474. asd.VelocitySpread = 999
  3475.  
  3476. function getbloody(victim,amount)
  3477. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3478. PART.CFrame = victim.CFrame
  3479. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3480. Debris:AddItem(PART,5)
  3481. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3482. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3483. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3484. local prtcl = asd:Clone()
  3485. prtcl.Parent = PART
  3486. prtcl:Emit(amount*10)
  3487. end
  3488.  
  3489. function Kill(Char)
  3490. local NewCharacter = IT("Model",Effects)
  3491. NewCharacter.Name = "Ow im ded ;-;"
  3492. for _, c in pairs(Char:GetDescendants()) do
  3493. if c:IsA("BasePart") and c.Transparency == 0 then
  3494. if c.Parent == Char then
  3495. getbloody(c,5)
  3496. end
  3497. c:BreakJoints()
  3498. c.Material = "Glass"
  3499. c.Color = C3(0.5,0.5,0)
  3500. c.CanCollide = true
  3501. c.Transparency = 0.3
  3502. if c:FindFirstChildOfClass("SpecialMesh") then
  3503. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3504. end
  3505. if c.Name == "Head" then
  3506. c:ClearAllChildren()
  3507. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3508. end
  3509. if c.ClassName == "MeshPart" then
  3510. c.TextureID = ""
  3511. end
  3512. if c:FindFirstChildOfClass("BodyPosition") then
  3513. c:FindFirstChildOfClass("BodyPosition"):remove()
  3514. end
  3515. if c:FindFirstChildOfClass("ParticleEmitter") then
  3516. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3517. end
  3518. c.Parent = NewCharacter
  3519. c.Name = "DeadPart"
  3520. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3521. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3522. end
  3523. end
  3524. Char:remove()
  3525. Debris:AddItem(NewCharacter,5)
  3526. end
  3527.  
  3528. function ApplyDamage(Humanoid,Damage)
  3529. Damage = Damage * DAMAGEMULTIPLIER
  3530. if Humanoid.Health ~= 0 then
  3531. Humanoid.Health = Humanoid.Health - Damage
  3532. end
  3533. end
  3534.  
  3535. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  3536. local CHILDREN = workspace:GetDescendants()
  3537. for index, CHILD in pairs(CHILDREN) do
  3538. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3539. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3540. if HUM then
  3541. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3542. if TORSO then
  3543. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3544. if INSTAKILL == true then
  3545. CHILD:BreakJoints()
  3546. if OPTION ~= nil then
  3547. Kill(CHILD,OPTION)
  3548. end
  3549. else
  3550. local DMG = MRANDOM(MINDMG,MAXDMG)
  3551. ApplyDamage(HUM,DMG)
  3552. end
  3553. if FLING ~= 0 then
  3554. for _, c in pairs(CHILD:GetChildren()) do
  3555. if c:IsA("BasePart") then
  3556. local bv = Instance.new("BodyVelocity")
  3557. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3558. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3559. bv.Parent = c
  3560. Debris:AddItem(bv,0.05)
  3561. end
  3562. end
  3563. end
  3564. end
  3565. end
  3566. end
  3567. end
  3568. end
  3569. end
  3570.  
  3571. function Kill(Victim,Fire)
  3572. coroutine.resume(coroutine.create(function()
  3573. local NIL = script.TotalNil:Clone()
  3574. NIL.Parent = Victim
  3575. NIL.Disabled = false
  3576. if Fire ~= true then
  3577. Victim:BreakJoints()
  3578. for _, c in pairs(Victim:GetChildren()) do
  3579. if c:IsA("BasePart") then
  3580. c.Anchored = true
  3581. end
  3582. end
  3583. for _, c in pairs(Victim:GetChildren()) do
  3584. if c:IsA("BasePart") then
  3585. Shatter(c)
  3586. end
  3587. end
  3588. else
  3589. Victim:BreakJoints()
  3590. local FIRES = {}
  3591. for _, e in pairs(Victim:GetDescendants()) do
  3592. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  3593. e.Transparency = 1
  3594. e:ClearAllChildren()
  3595. local FIRE = script.HellFire:Clone()
  3596. FIRE.Parent = e
  3597. FIRE.Enabled = true
  3598. table.insert(FIRES,FIRE)
  3599. elseif e.ClassName == "Decal" then
  3600. e:remove()
  3601. end
  3602. end
  3603. for i = 1, 50 do
  3604. Victim:BreakJoints()
  3605. wait()
  3606. end
  3607. for i = 1, #FIRES do
  3608. FIRES[i].Enabled = false
  3609. end
  3610. wait(1.1)
  3611. Victim:remove()
  3612. end
  3613. end))
  3614. end
  3615. function Banish(Foe)
  3616. if Foe then
  3617. coroutine.resume(coroutine.create(function()
  3618. --if game.Players:FindFirstChild(Foe.Name) then
  3619. table.insert(TOBANISH,Foe.Name)
  3620. printbye(Foe.Name)
  3621. --end
  3622. Foe.Archivable = true
  3623. local CLONE = Foe:Clone()
  3624. Foe:Destroy()
  3625. CLONE.Parent = Effects
  3626. CLONE:BreakJoints()
  3627. local MATERIALS = {"Glass","Neon"}
  3628. for _, c in pairs(CLONE:GetDescendants()) do
  3629. if c:IsA("BasePart") then
  3630. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3631. CreateSound(340722848, c, 10, 1, false)
  3632. end
  3633. c.Anchored = true
  3634. c.Transparency = c.Transparency + 0.2
  3635. c.Material = MATERIALS[MRANDOM(1,2)]
  3636. c.Color = C3(0,255,0)
  3637. if c.ClassName == "MeshPart" then
  3638. c.TextureID = ""
  3639. end
  3640. if c:FindFirstChildOfClass("SpecialMesh") then
  3641. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3642. end
  3643. if c:FindFirstChildOfClass("Decal") then
  3644. c:FindFirstChildOfClass("Decal"):remove()
  3645. end
  3646. c.Name = "Banished"
  3647. c.CanCollide = false
  3648. else
  3649. c:remove()
  3650. end
  3651. end
  3652. local A = false
  3653. for i = 1, 35 do
  3654. if A == false then
  3655. A = true
  3656. elseif A == true then
  3657. A = false
  3658. end
  3659. for _, c in pairs(CLONE:GetDescendants()) do
  3660. if c:IsA("BasePart") then
  3661. c.Anchored = true
  3662. c.Material = MATERIALS[MRANDOM(1,2)]
  3663. c.Transparency = c.Transparency + 0.8/35
  3664. if A == false then
  3665. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3666. elseif A == true then
  3667. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3668. end
  3669. end
  3670. end
  3671. Swait()
  3672. end
  3673. CLONE:remove()
  3674. end))
  3675. end
  3676. end
  3677.  
  3678. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3679. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3680. defence.Name = ("HitBy"..Player.Name)
  3681. game:GetService("Debris"):AddItem(defence, 0.001)
  3682. Damage = Damage * DAMAGEMULTIPLIER
  3683. if Humanoid.Health ~= 0 then
  3684. local CritChance = MRANDOM(1,100)
  3685. if Damage > Humanoid.Health then
  3686. Damage = math.ceil(Humanoid.Health)
  3687. if Damage == 0 then
  3688. Damage = 0.1
  3689. end
  3690. end
  3691. Humanoid.Health = Humanoid.Health - Damage
  3692. end
  3693. end
  3694. ---------------------I think it pandora thing
  3695. function ApplyAoE12(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3696. local CHILDREN = workspace:GetDescendants()
  3697. for index, CHILD in pairs(CHILDREN) do
  3698. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3699. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3700. if HUM then
  3701. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3702. if TORSO then
  3703. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3704. if INSTAKILL == true then
  3705. CHILD:BreakJoints()
  3706. else
  3707. local DMG = MRANDOM(MINDMG,MAXDMG)
  3708. ApplyDamage(HUM,DMG,TORSO)
  3709. end
  3710. if FLING > 0 then
  3711. for _, c in pairs(CHILD:GetChildren()) do
  3712. if c:IsA("BasePart") then
  3713. local bv = Instance.new("BodyVelocity")
  3714. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3715. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3716. bv.Parent = c
  3717. Debris:AddItem(bv,0.05)
  3718. end
  3719. end
  3720. end
  3721. end
  3722. end
  3723. end
  3724. end
  3725. end
  3726. end
  3727.  
  3728. -----------------
  3729. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3730. local CHILDREN = workspace:GetDescendants()
  3731. for index, CHILD in pairs(CHILDREN) do
  3732. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3733. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3734. if HUM then
  3735. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3736. if TORSO then
  3737. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3738. if ISBANISH == true then
  3739. Banish(CHILD)
  3740. else
  3741. if ISBANISH == "Gravity" then
  3742. HUM.PlatformStand = true
  3743. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3744. local grav = Instance.new("BodyPosition",TORSO)
  3745. grav.D = 15
  3746. grav.P = 20000
  3747. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3748. grav.position = TORSO.Position
  3749. grav.Name = "V3BanishForce"..Player.Name
  3750. else
  3751. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3752. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3753. end
  3754. else
  3755. HUM.PlatformStand = false
  3756. end
  3757. end
  3758. elseif ISBANISH == "Gravity" then
  3759. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3760. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3761. HUM.PlatformStand = false
  3762. end
  3763. end
  3764. end
  3765. end
  3766. end
  3767. end
  3768. end
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774. -----------------------------
  3775.  
  3776. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  3777. local CHILDREN = workspace:GetDescendants()
  3778. for index, CHILD in pairs(CHILDREN) do
  3779. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3780. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3781. if HUM then
  3782. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3783. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3784. if IZBANISH == true then
  3785. Banish(CHILD)
  3786. else
  3787. local DMG = MRANDOM(MINDMG, MAXDMG)
  3788. ApplyDamage(HUM, DMG, TORSO)
  3789. end
  3790. if FLING > 0 then
  3791. for _, c in pairs(CHILD:GetChildren()) do
  3792. if c:IsA("BasePart") then
  3793. local bv = Instance.new("BodyVelocity")
  3794. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3795. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3796. bv.Parent = c
  3797. Debris:AddItem(bv, 0.05)
  3798. end
  3799. end
  3800. end
  3801. end
  3802. end
  3803. end
  3804. end
  3805. end
  3806.  
  3807. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  3808. local svch = Character2
  3809. Character2:BreakJoints()
  3810. local hum = Character2:findFirstChild("Humanoid")
  3811. local q = Character2:GetChildren()
  3812. local CLONE = IT("Model", Effects)
  3813. for i = 1, #q do
  3814. if q[i].ClassName == "Accessory" and Headless == true then
  3815. q[i]:remove()
  3816. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  3817. q[i].Parent = CLONE
  3818. elseif q[i].ClassName ~= "Humanoid" then
  3819. q[i]:remove()
  3820. end
  3821. end
  3822. local chrclone = CLONE
  3823. local ch = chrclone:GetChildren()
  3824. local i
  3825. for i = 1, #ch do
  3826. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3827. ch[i]:remove()
  3828. end
  3829. end
  3830. local function Scan(ch)
  3831. local e
  3832. for e = 1, #ch do
  3833. Scan(ch[e]:GetChildren())
  3834. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3835. ch[e]:remove()
  3836. end
  3837. end
  3838. end
  3839. Character2:remove()
  3840. local NEWHUM = IT("Humanoid")
  3841. NEWHUM.Name = "Corpse"
  3842. NEWHUM.Health = 0
  3843. NEWHUM.MaxHealth = 0
  3844. NEWHUM.PlatformStand = true
  3845. NEWHUM.Parent = CLONE
  3846. NEWHUM.DisplayDistanceType = "None"
  3847. Scan(chrclone:GetChildren())
  3848. local ch = Character2:GetChildren()
  3849. local i
  3850. for i = 1, #ch do
  3851. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3852. ch[i]:remove()
  3853. end
  3854. end
  3855. local ch = Character2:GetChildren()
  3856. local i
  3857. for i = 1, #ch do
  3858. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3859. ch[i]:remove()
  3860. end
  3861. end
  3862. Character2 = chrclone
  3863. local Torso2 = Character2.Torso
  3864. local movevector = Vector3.new()
  3865. if Torso2 then
  3866. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  3867. local Head = Character2:FindFirstChild("Head")
  3868. if Head then
  3869. local Neck = Instance.new("Weld")
  3870. Neck.Name = "Neck"
  3871. Neck.Part0 = Torso2
  3872. Neck.Part1 = Head
  3873. Neck.C0 = CFrame.new(0, 1.5, 0)
  3874. Neck.C1 = CFrame.new()
  3875. Neck.Parent = Torso2
  3876. if Headless == true then
  3877. Head.Transparency = 1
  3878. Head:ClearAllChildren()
  3879. end
  3880. end
  3881. local Limb = Character2:FindFirstChild("Right Arm")
  3882. if Limb then
  3883. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3884. local Joint = Instance.new("Glue")
  3885. Joint.Name = "RightShoulder"
  3886. Joint.Part0 = Torso2
  3887. Joint.Part1 = Limb
  3888. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3889. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3890. Joint.Parent = Torso2
  3891. local B = Instance.new("Part")
  3892. B.TopSurface = 0
  3893. B.BottomSurface = 0
  3894. B.formFactor = "Symmetric"
  3895. B.Size = Vector3.new(1, 1, 1)
  3896. B.Transparency = 1
  3897. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3898. B.Parent = Character2
  3899. local W = Instance.new("Weld")
  3900. W.Part0 = Limb
  3901. W.Part1 = B
  3902. W.C0 = CFrame.new(0, -0.5, 0)
  3903. W.Parent = Limb
  3904. end
  3905. local Limb = Character2:FindFirstChild("Left Arm")
  3906. if Limb then
  3907. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3908. local Joint = Instance.new("Glue")
  3909. Joint.Name = "LeftShoulder"
  3910. Joint.Part0 = Torso2
  3911. Joint.Part1 = Limb
  3912. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3913. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3914. Joint.Parent = Torso2
  3915. local B = Instance.new("Part")
  3916. B.TopSurface = 0
  3917. B.BottomSurface = 0
  3918. B.formFactor = "Symmetric"
  3919. B.Size = Vector3.new(1, 1, 1)
  3920. B.Transparency = 1
  3921. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3922. B.Parent = Character2
  3923. local W = Instance.new("Weld")
  3924. W.Part0 = Limb
  3925. W.Part1 = B
  3926. W.C0 = CFrame.new(0, -0.5, 0)
  3927. W.Parent = Limb
  3928. end
  3929. local Limb = Character2:FindFirstChild("Right Leg")
  3930. if Limb then
  3931. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3932. local Joint = Instance.new("Glue")
  3933. Joint.Name = "RightHip"
  3934. Joint.Part0 = Torso2
  3935. Joint.Part1 = Limb
  3936. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3937. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3938. Joint.Parent = Torso2
  3939. local B = Instance.new("Part")
  3940. B.TopSurface = 0
  3941. B.BottomSurface = 0
  3942. B.formFactor = "Symmetric"
  3943. B.Size = Vector3.new(1, 1, 1)
  3944. B.Transparency = 1
  3945. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3946. B.Parent = Character2
  3947. local W = Instance.new("Weld")
  3948. W.Part0 = Limb
  3949. W.Part1 = B
  3950. W.C0 = CFrame.new(0, -0.5, 0)
  3951. W.Parent = Limb
  3952. end
  3953. local Limb = Character2:FindFirstChild("Left Leg")
  3954. if Limb then
  3955. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3956. local Joint = Instance.new("Glue")
  3957. Joint.Name = "LeftHip"
  3958. Joint.Part0 = Torso2
  3959. Joint.Part1 = Limb
  3960. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3961. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3962. Joint.Parent = Torso2
  3963. local B = Instance.new("Part")
  3964. B.TopSurface = 0
  3965. B.BottomSurface = 0
  3966. B.formFactor = "Symmetric"
  3967. B.Size = Vector3.new(1, 1, 1)
  3968. B.Transparency = 1
  3969. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3970. B.Parent = Character2
  3971. local W = Instance.new("Weld")
  3972. W.Part0 = Limb
  3973. W.Part1 = B
  3974. W.C0 = CFrame.new(0, -0.5, 0)
  3975. W.Parent = Limb
  3976. end
  3977. local Bar = Instance.new("Part")
  3978. Bar.TopSurface = 0
  3979. Bar.BottomSurface = 0
  3980. Bar.formFactor = "Symmetric"
  3981. Bar.Size = Vector3.new(1, 1, 1)
  3982. Bar.Transparency = 1
  3983. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3984. Bar.Parent = Character2
  3985. local Weld = Instance.new("Weld")
  3986. Weld.Part0 = Torso2
  3987. Weld.Part1 = Bar
  3988. Weld.C0 = CFrame.new(0, 0.5, 0)
  3989. Weld.Parent = Torso2
  3990. end
  3991. Character2.Parent = Weapon
  3992. if movevector ~= Vector3.new() then
  3993. for i = 1, 10 do
  3994. Torso2.Velocity = movevector * Velocity
  3995. end
  3996. end
  3997. Character2.Name = "Corpse"
  3998. return Character2, Torso2
  3999. end
  4000.  
  4001. 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."}
  4002.  
  4003. DeathTaunt = {"You Will Know Pain."}
  4004.  
  4005.  
  4006.  
  4007.  
  4008. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4009. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4010. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4011. local BODYGYRO = IT("BodyGyro", STATPART)
  4012. local BODYPOSITION = IT("BodyPosition", STATPART)
  4013. BODYPOSITION.P = 2000
  4014. BODYPOSITION.D = 100
  4015. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4016. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4017. game:GetService("Debris"):AddItem(STATPART ,5)
  4018. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4019. BILLBOARDGUI.Adornee = STATPART
  4020. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4021. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4022. BILLBOARDGUI.AlwaysOnTop = false
  4023. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4024. TEXTLABEL.BackgroundTransparency = 1
  4025. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4026. TEXTLABEL.Text = TEXT
  4027. TEXTLABEL.Font = "SciFi"
  4028. TEXTLABEL.FontSize="Size42"
  4029. TEXTLABEL.TextColor3 = COLOR
  4030. TEXTLABEL.TextStrokeTransparency = 1
  4031. TEXTLABEL.TextScaled = true
  4032. TEXTLABEL.TextWrapped = true
  4033. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4034. if LABELTYPE == "Normal" then
  4035. for i = 1, 20 do
  4036. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4037. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4038. end
  4039. elseif LABELTYPE == "Debuff" then
  4040. for i = 1, 20 do
  4041. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4042. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4043. end
  4044. elseif LABELTYPE == "Shock" then
  4045. local ORIGIN = STATPART.Position
  4046. for i = 1, 20 do
  4047. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4048. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4049. end
  4050. end
  4051. THEPART.Parent = nil
  4052. end),STATPART, BODYPOSITION, TEXTLABEL)
  4053. end
  4054.  
  4055. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  4056. local dmg = math.random(min,max)
  4057. for i,v in ipairs(workspace:GetChildren()) do
  4058. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4059. local body = v:GetChildren()
  4060. for part = 1, #body do
  4061. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4062. if(body[part].Position - position).Magnitude < radius then
  4063. if v.ClassName == "Model" then
  4064. if v:FindFirstChildOfClass("Humanoid") then
  4065. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  4066. if HUMAN.Health ~= 0 then
  4067. if HasChain == true then
  4068. local defence = Instance.new("BoolValue",v)
  4069. defence.Name = ("HitBy"..Player.Name)
  4070. game:GetService("Debris"):AddItem(defence, 1)
  4071. coroutine.resume(coroutine.create(function()
  4072. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4073. if TORSO then
  4074. --print("Found "..v.Name.."'s Torso")
  4075. local PART = IT("Part",Effects)
  4076. PART.Anchored = true
  4077. PART.CanCollide = false
  4078. PART.Transparency = 1
  4079. PART.CFrame = CF(position)
  4080. Debris:AddItem(PART,15)
  4081. local A = IT("Attachment",PART)
  4082. --TORSO.Anchored = true
  4083. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  4084. --print("Chain start")
  4085. Front.CFrame = CF(position)
  4086. Front.CanCollide = true
  4087. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  4088. local B = IT("Attachment",Front)
  4089. local ChainLink = IT("Beam",Effects)
  4090. ChainLink.Texture = "rbxassetid://1262544869"
  4091. ChainLink.TextureSpeed = 0
  4092. ChainLink.FaceCamera = true
  4093. ChainLink.Width0 = 3
  4094. ChainLink.Attachment0 = A
  4095. ChainLink.Attachment1 = B
  4096. ChainLink.TextureMode = "Static"
  4097. local bv = Instance.new("BodyVelocity")
  4098. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4099. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  4100. bv.Parent = Front
  4101. bv.Name = "MOVE"
  4102. --print("Chain made")
  4103. coroutine.resume(coroutine.create(function()
  4104. Swait(30)
  4105. bv:remove()
  4106. local POS = Front.Position
  4107. Front.CanCollide = false
  4108. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  4109. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  4110. for i = 0, 1, 0.07 do
  4111. Swait()
  4112. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  4113. end
  4114. Front:remove()
  4115. ChainLink:remove()
  4116. end))
  4117. local harm = Front.Touched:Connect(function(hit)
  4118. impale(Front,hit)
  4119. end)
  4120. end
  4121. end))
  4122. elseif DoesWarp == true then
  4123. local defence = Instance.new("BoolValue",v)
  4124. defence.Name = ("HitBy"..Player.Name)
  4125. game:GetService("Debris"):AddItem(defence, 0.001)
  4126. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4127. Warp(TORSO,Instakill)
  4128. else
  4129. if CanBeDodgedByJumping == true then
  4130. if body[part].Position.Y < position.Y+5 then
  4131. if math.random(1,100) < critrate+1 then
  4132. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4133. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4134. else
  4135. HUMAN.Health = HUMAN.Health - dmg
  4136. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4137. end
  4138. local defence = Instance.new("BoolValue",v)
  4139. defence.Name = ("HitBy"..Player.Name)
  4140. game:GetService("Debris"):AddItem(defence, 0.01)
  4141. end
  4142. else
  4143. if beserk == true then
  4144. HUMAN.Health = 0
  4145. end
  4146. if math.random(1,100) < critrate+1 then
  4147. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4148. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4149. else
  4150. HUMAN.Health = HUMAN.Health - dmg
  4151. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4152. end
  4153. local defence = Instance.new("BoolValue",v)
  4154. defence.Name = ("HitBy"..Player.Name)
  4155. game:GetService("Debris"):AddItem(defence, 0.01)
  4156. end
  4157. end
  4158. end
  4159. end
  4160. end
  4161. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4162. end
  4163. end
  4164. end
  4165. if v.ClassName == "Part" then
  4166. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  4167. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4168. end
  4169. end
  4170. end
  4171. end
  4172. end
  4173.  
  4174. function Warp(Victim,WarpToVoid)
  4175. print("Warping "..Victim.Name.."...")
  4176. Victim.Anchored = true
  4177. coroutine.resume(coroutine.create(function()
  4178. local GUI,GUI2 = CreateGUICircle(Victim)
  4179. CreateSound("1208650519", Victim, 10, 1)
  4180. for i = 1, 100 do
  4181. Swait()
  4182. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  4183. GUI2.Rotation = GUI2.Rotation + 4
  4184. end
  4185. CastWarpOutlines(Victim.Parent)
  4186. if WarpToVoid == false then
  4187. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  4188. CreateSound("1177785010", Victim, 10, 1)
  4189. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  4190. if HUMANOID ~= nil then
  4191. local dmg = MRANDOM(75,95)
  4192. HUMANOID.Health = HUMANOID.Health - dmg
  4193. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  4194. end
  4195. for i = 1, 50 do
  4196. Swait()
  4197. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4198. GUI2.Rotation = GUI2.Rotation - 8
  4199. end
  4200. Victim.Anchored = false
  4201. GUI:remove()
  4202. elseif WarpToVoid == true then
  4203. CastWarpOutlines(Victim.Parent)
  4204. q = Victim.Parent:GetChildren()
  4205. for i = 1, #q do
  4206. if q[i] ~= Victim then
  4207. q[i]:remove()
  4208. end
  4209. end
  4210. CreateSound("1177785010", Victim, 10, 1)
  4211. Victim.Transparency = 1
  4212. for i = 1, 50 do
  4213. Swait()
  4214. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4215. GUI2.Rotation = GUI2.Rotation - 8
  4216. end
  4217. Victim.Parent:remove()
  4218. end
  4219. end))
  4220. end
  4221.  
  4222. function killnearest(position,range,maxstrength)
  4223. for i,v in ipairs(workspace:GetChildren()) do
  4224. local body = v:GetChildren()
  4225. for part = 1, #body do
  4226. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4227. if(body[part].Position - position).Magnitude < range then
  4228. if v.ClassName == "Model" then
  4229. v:BreakJoints()
  4230. end
  4231. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4232. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4233. end
  4234. end
  4235. end
  4236. if v.ClassName == "Part" then
  4237. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4238. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  4239. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4240. end
  4241. end
  4242. end
  4243. end
  4244.  
  4245.  
  4246. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4247. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4248. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4249. local BODYGYRO = IT("BodyGyro", STATPART)
  4250. local BODYPOSITION = IT("BodyPosition", STATPART)
  4251. BODYPOSITION.P = 2000
  4252. BODYPOSITION.D = 100
  4253. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4254. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4255. game:GetService("Debris"):AddItem(STATPART ,5)
  4256. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4257. BILLBOARDGUI.Adornee = STATPART
  4258. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4259. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4260. BILLBOARDGUI.AlwaysOnTop = false
  4261. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4262. TEXTLABEL.BackgroundTransparency = 1
  4263. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4264. TEXTLABEL.Text = TEXT
  4265. TEXTLABEL.Font = "SciFi"
  4266. TEXTLABEL.FontSize="Size42"
  4267. TEXTLABEL.TextColor3 = COLOR
  4268. TEXTLABEL.TextStrokeTransparency = 1
  4269. TEXTLABEL.TextScaled = true
  4270. TEXTLABEL.TextWrapped = true
  4271. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4272. if LABELTYPE == "Normal" then
  4273. for i = 1, 20 do
  4274. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4275. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4276. end
  4277. elseif LABELTYPE == "Debuff" then
  4278. for i = 1, 20 do
  4279. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4280. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4281. end
  4282. elseif LABELTYPE == "Shock" then
  4283. local ORIGIN = STATPART.Position
  4284. for i = 1, 20 do
  4285. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4286. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4287. end
  4288. end
  4289. THEPART.Parent = nil
  4290. end),STATPART, BODYPOSITION, TEXTLABEL)
  4291. end
  4292.  
  4293.  
  4294. --//=================================\\
  4295. --|| ATTACK FUNCTIONS AND STUFF
  4296. --\\=================================//
  4297. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  4298.  
  4299. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4300. MakeForm(RightHole,"Cyl")
  4301.  
  4302. function getbloody(victim,amount)
  4303. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4304. PART.CFrame = victim.CFrame
  4305. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4306. Debris:AddItem(PART,5)
  4307. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4308. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4309. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4310. local prtcl = asd:Clone()
  4311. prtcl.Parent = PART
  4312. prtcl:Emit(amount*10)
  4313. end
  4314.  
  4315. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  4316.  
  4317. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  4318. if DoesCourontine == false then
  4319. local Direction = CF(Part.Position, ToLocation)
  4320. local Distance = (Part.Position - ToLocation).magnitude
  4321. for i = 1, AmountOfTime do
  4322. Swait()
  4323. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4324. Direction = Part.CFrame
  4325. end
  4326. Part:remove()
  4327. elseif DoesCourontine == true then
  4328. coroutine.resume(coroutine.create(function()
  4329. local Direction = CF(Part.Position, ToLocation)
  4330. local Distance = (Part.Position - ToLocation).magnitude
  4331. for i = 1, AmountOfTime do
  4332. Swait()
  4333. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4334. Direction = Part.CFrame
  4335. end
  4336. Part:remove()
  4337. end))
  4338. end
  4339. end
  4340.  
  4341. function Imperfect_Command()
  4342. ATTACK = true
  4343. Rooted = true
  4344. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4345. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4346. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4347. if TORSO then
  4348. local GYRO = IT("BodyGyro", RootPart)
  4349. GYRO.D = 750
  4350. GYRO.P = 2000
  4351. GYRO.MaxTorque = VT(0, 40000, 0)
  4352. CreateSound("907330103", Torso, 10, 1)
  4353. for i = 0, 1.6, 0.1 / Animation_Speed do
  4354. Swait()
  4355. WACKYEFFECT({
  4356. Time = 5,
  4357. EffectType = "Round Slash",
  4358. Size = VT(0, 0, 0),
  4359. Size2 = VT(0.01, 0, 0.01),
  4360. Transparency = 0.5,
  4361. Transparency2 = 1,
  4362. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4363. MoveToPos = nil,
  4364. RotationX = MRANDOM(-50, 50) / 10,
  4365. RotationY = MRANDOM(-50, 50) / 10,
  4366. RotationZ = MRANDOM(-50, 50) / 10,
  4367. Material = "Neon",
  4368. Color = C3(1, 0, 0),
  4369. SoundID = nil,
  4370. SoundPitch = nil,
  4371. SoundVolume = nil
  4372. })
  4373. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4374. 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)
  4375. 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)
  4376. 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)
  4377. 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)
  4378. if ANIM == "Idle" then
  4379. 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)
  4380. 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)
  4381. elseif ANIM == "Walk" then
  4382. 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)
  4383. 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)
  4384. elseif ANIM == "Jump" or ANIM == "Fall" then
  4385. 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)
  4386. 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)
  4387. end
  4388. end
  4389. GYRO:remove()
  4390. for i = 1, 15 do
  4391. WACKYEFFECT({
  4392. Time = MRANDOM(15, 85),
  4393. EffectType = "Round Slash",
  4394. Size = VT(0, 0, 0),
  4395. Size2 = VT(0.3, 0, 0.3),
  4396. Transparency = 0.5,
  4397. Transparency2 = 1,
  4398. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4399. MoveToPos = nil,
  4400. RotationX = MRANDOM(-50, 50) / 10,
  4401. RotationY = MRANDOM(-50, 50) / 10,
  4402. RotationZ = MRANDOM(-50, 50) / 10,
  4403. Material = "Neon",
  4404. Color = C3(1, 0, 0),
  4405. SoundID = nil,
  4406. SoundPitch = nil,
  4407. SoundVolume = nil
  4408. })
  4409. end
  4410. local bv = Instance.new("BodyVelocity")
  4411. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4412. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  4413. bv.Parent = TORSO
  4414. Debris:AddItem(bv, 0.05)
  4415. CreateSound("1222405264", TORSO, 10, 1)
  4416. Banish(HUM.Parent)
  4417. for i = 0, 0.5, 0.1 / Animation_Speed do
  4418. Swait()
  4419. WACKYEFFECT({
  4420. Time = 5,
  4421. EffectType = "Round Slash",
  4422. Size = VT(0, 0, 0),
  4423. Size2 = VT(0.01, 0, 0.01),
  4424. Transparency = 0.5,
  4425. Transparency2 = 1,
  4426. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4427. MoveToPos = nil,
  4428. RotationX = MRANDOM(-50, 50) / 10,
  4429. RotationY = MRANDOM(-50, 50) / 10,
  4430. RotationZ = MRANDOM(-50, 50) / 10,
  4431. Material = "Neon",
  4432. Color = C3(1, 0, 0),
  4433. SoundID = nil,
  4434. SoundPitch = nil,
  4435. SoundVolume = nil
  4436. })
  4437. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4438. 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)
  4439. 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)
  4440. 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)
  4441. 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)
  4442. if ANIM == "Idle" then
  4443. 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)
  4444. 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)
  4445. elseif ANIM == "Walk" then
  4446. 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)
  4447. 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)
  4448. elseif ANIM == "Jump" or ANIM == "Fall" then
  4449. 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)
  4450. 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)
  4451. end
  4452. end
  4453. end
  4454. end
  4455. ATTACK = false
  4456. Rooted = false
  4457. end
  4458.  
  4459.  
  4460. function Fire_At_Will()
  4461. ATTACK = true
  4462. Rooted = false
  4463. local GYRO = IT("BodyGyro", RootPart)
  4464. GYRO.D = 750
  4465. GYRO.P = 2000
  4466. GYRO.MaxTorque = VT(0, 40000, 0)
  4467. for i = 0, 0.2, 0.1 / Animation_Speed do
  4468. Swait()
  4469. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4470. 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)
  4471. 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)
  4472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4474. if ANIM == "Idle" then
  4475. 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)
  4476. 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)
  4477. elseif ANIM == "Walk" then
  4478. 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)
  4479. 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)
  4480. elseif ANIM == "Jump" or ANIM == "Fall" then
  4481. 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)
  4482. 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)
  4483. end
  4484. end
  4485. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Sphere", VT(1, 1, 1), false)
  4486. MakeForm(BOMB, "Ball")
  4487. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  4488. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  4489. for i = 0, 1.5, 0.1 / Animation_Speed do
  4490. Swait()
  4491. if MRANDOM(1, 2) == 1 then
  4492. for E = 1, #EYES do
  4493. if EYES[E] ~= nil then
  4494. local EY = EYES[E]
  4495. local LIGHTNING = Zap({
  4496. StartPosition = EY.Position,
  4497. TargetPosition = BOMB.Position,
  4498. Character = Character,
  4499. Color = "Really red",
  4500. Individual = false,
  4501. MaxRange = 7,
  4502. SegmentLength = 1,
  4503. Offset = 0.3,
  4504. SIZE = 0.05
  4505. })
  4506. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  4507. end
  4508. end
  4509. end
  4510. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  4511. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4512. 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)
  4513. 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)
  4514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4516. if ANIM == "Idle" then
  4517. 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)
  4518. 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)
  4519. elseif ANIM == "Walk" then
  4520. 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)
  4521. 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)
  4522. elseif ANIM == "Jump" or ANIM == "Fall" then
  4523. 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)
  4524. 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)
  4525. end
  4526. end
  4527. WACKYEFFECT({
  4528. Time = 25,
  4529. EffectType = "Ring",
  4530. Size = VT(0, 0, 0),
  4531. Size2 = VT(3.75, 3.75, 0),
  4532. Transparency = 0.7,
  4533. Transparency2 = 1,
  4534. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4535. MoveToPos = nil,
  4536. RotationX = 0,
  4537. RotationY = 0,
  4538. RotationZ = 0,
  4539. Material = "Neon",
  4540. Color = BOMB.Color,
  4541. SoundID = nil,
  4542. SoundPitch = nil,
  4543. SoundVolume = nil
  4544. })
  4545. WACKYEFFECT({
  4546. Time = 50,
  4547. EffectType = "Ring",
  4548. Size = VT(0, 0, 0),
  4549. Size2 = VT(15, 15, 0),
  4550. Transparency = 0.7,
  4551. Transparency2 = 1,
  4552. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4553. MoveToPos = nil,
  4554. RotationX = 0,
  4555. RotationY = 0,
  4556. RotationZ = 0,
  4557. Material = "Neon",
  4558. Color = BOMB.Color,
  4559. SoundID = nil,
  4560. SoundPitch = nil,
  4561. SoundVolume = nil
  4562. })
  4563. BOMB.Anchored = true
  4564. WELD:remove()
  4565. GYRO:remove()
  4566. coroutine.resume(coroutine.create(function()
  4567. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  4568. for i = 1, 500 do
  4569. Swait()
  4570. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  4571. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  4572. if HITFLOOR ~= nil then
  4573. break
  4574. end
  4575. end
  4576. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  4577. for i = 1, 3 do
  4578. WACKYEFFECT({
  4579. Time = 35,
  4580. EffectType = "Swirl",
  4581. Size = VT(0, 0, 0),
  4582. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  4583. Transparency = 0,
  4584. Transparency2 = 1,
  4585. CFrame = BOMB.CFrame,
  4586. MoveToPos = nil,
  4587. RotationX = 0,
  4588. RotationY = 5 * i,
  4589. RotationZ = 0,
  4590. Material = "Neon",
  4591. Color = BOMB.Color,
  4592. SoundID = nil,
  4593. SoundPitch = nil,
  4594. SoundVolume = nil
  4595. })
  4596. end
  4597. for i = 1, 5 do
  4598. WACKYEFFECT({
  4599. Time = 75,
  4600. EffectType = "Sphere",
  4601. Size = BOMB.Mesh.Scale,
  4602. Size2 = VT(25, 25, 25) * i,
  4603. Transparency = 0.5,
  4604. Transparency2 = 1,
  4605. CFrame = BOMB.CFrame,
  4606. MoveToPos = nil,
  4607. RotationX = 0,
  4608. RotationY = 0,
  4609. RotationZ = 0,
  4610. Material = "Neon",
  4611. Color = BOMB.Color,
  4612. SoundID = 1222405264,
  4613. SoundPitch = 1,
  4614. SoundVolume = 10
  4615. })
  4616. end
  4617. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  4618. if HITFLOOR then
  4619. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  4620. end
  4621. BOMB.Transparency = 1
  4622. for i = 1, 35 do
  4623. Swait()
  4624. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  4625. end
  4626. BOMB:remove()
  4627. end))
  4628. ATTACK = false
  4629. Rooted = false
  4630. end
  4631.  
  4632. function Burning_Hopes()
  4633. ATTACK = true
  4634. Rooted = true
  4635. local AIMPOS = Mouse.Hit.p
  4636. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  4637. coroutine.resume(coroutine.create(function()
  4638. local RAYS = {}
  4639. for i = 1, 4 do
  4640. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
  4641. MakeForm(RAY,"Cyl")
  4642. RAY.Mesh.Scale = VT(1,1.1,1)
  4643. table.insert(RAYS,RAY)
  4644. end
  4645. CreateSound(348663022, Effects, 2, 1.2, false)
  4646. for i = 1, 100 do
  4647. Swait()
  4648. for e = 1, #RAYS do
  4649. if RAYS[e] ~= nil then
  4650. local RAY = RAYS[e]
  4651. 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)
  4652. RAY.Transparency = RAY.Transparency - 0.01
  4653. end
  4654. end
  4655. end
  4656. for i = 1, 20 do
  4657. Swait()
  4658. for e = 1, #RAYS do
  4659. if RAYS[e] ~= nil then
  4660. local RAY = RAYS[e]
  4661. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  4662. end
  4663. end
  4664. end
  4665. wait(0.3)
  4666. for i = 1, 16 do
  4667. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  4668. SpawnTrail(POS+VT(0,200,0),POS)
  4669. end
  4670. for i = 1, 4 do
  4671. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  4672. end
  4673.  
  4674. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  4675. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  4676. CreateSound(130972023, Effects, 2, 1, false)
  4677. local POS = Mouse.Hit.p
  4678. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
  4679. MakeForm(RAY,"Cyl")
  4680. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
  4681. MakeForm(SPHERE,"Ball")
  4682. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  4683. MakeForm(SHIELD,"Ball")
  4684. SHIELD.CFrame = CF(AIMPOS)
  4685. RAY.CFrame = CF(AIMPOS)
  4686. SPHERE.CFrame = CF(AIMPOS)
  4687. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4688. CreateSound(415700134, SPHERE, 10, 0.8, false)
  4689. for i = 1, 200 do
  4690. Swait()
  4691. 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})
  4692. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  4693. RAY.Size = RAY.Size + VT(0,0,0)
  4694. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4695. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4696. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4697. end
  4698. for i = 1, 45 do
  4699. Swait()
  4700. RAY.Transparency = RAY.Transparency + 1/45
  4701. SPHERE.Transparency = RAY.Transparency
  4702. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4703. end
  4704. RAY:remove()
  4705. SHIELD:remove()
  4706. SPHERE:remove()
  4707. end))
  4708. ATTACK = false
  4709. Rooted = false
  4710. end
  4711.  
  4712. function OP()
  4713. ATTACK = true
  4714. Rooted = false
  4715. for i = 0, 1, 0.1 / Animation_Speed do
  4716. Swait()
  4717. 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)
  4718. 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)
  4719. 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)
  4720. 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)
  4721. 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)
  4722. 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)
  4723. end
  4724. Rooted = true
  4725. local GYRO = IT("BodyGyro", RootPart)
  4726. GYRO.D = 100
  4727. GYRO.P = 2000
  4728. GYRO.MaxTorque = VT(0, 4000000, 0)
  4729. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4730. for i = 1, 15 do
  4731. for i = 1, 15 do
  4732. Swait()
  4733. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4734. 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)
  4735. 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)
  4736. 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)
  4737. 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)
  4738. 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)
  4739. 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)
  4740. end
  4741. coroutine.resume(coroutine.create(function()
  4742. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  4743. CreateSound("814168787", EYE, 10, 1)
  4744. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  4745. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  4746. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4747. local ATTACKI = false
  4748. local TORS
  4749. for i = 1, 10 do
  4750. Swait()
  4751. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  4752. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4753. end
  4754. for i = 1, 100 do
  4755. Swait()
  4756. for _, c in pairs(workspace:GetChildren()) do
  4757. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  4758. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  4759. if 0 < HUMANOID.Health then
  4760. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  4761. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  4762. ATTACKI = true
  4763. TORS = TORSO
  4764. end
  4765. end
  4766. end
  4767. end
  4768. if ATTACKI == true then
  4769. break
  4770. end
  4771. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  4772. end
  4773. if ATTACKI == false then
  4774. for i = 1, 10 do
  4775. Swait()
  4776. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4777. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4778. end
  4779. else
  4780. if TORS ~= nil then
  4781. CreateSound("213603013", EYE, 10, 2)
  4782. local DIST = (TORS.Position - EYE.Position).Magnitude
  4783. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4784. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  4785. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4786. EYE.CFrame = CF(EYE.Position, TORS.Position)
  4787. TORS.Parent:BreakJoints()
  4788. Swait(35)
  4789. end
  4790. for i = 1, 10 do
  4791. Swait()
  4792. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4793. end
  4794. end
  4795. EYE:remove()
  4796. end))
  4797. end
  4798. GYRO:remove()
  4799. ATTACK = false
  4800. Rooted = false
  4801. end
  4802.  
  4803. function Absoluteum()
  4804. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  4805. if HITFLOOR ~= nil then
  4806. do
  4807. local HITBODIES = {}
  4808. ATTACK = true
  4809. Rooted = true
  4810. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  4811. MakeForm(ABSOLUTE, "Ball")
  4812. CreateSound("416200578", RootPart, 10, 1)
  4813. for i = 0, 8, 0.1 / Animation_Speed do
  4814. Swait()
  4815. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  4816. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  4817. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  4818. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  4819. MakeForm(CHARGE, "Ball")
  4820. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  4821. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  4822. 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)
  4823. 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)
  4824. 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)
  4825. 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)
  4826. 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)
  4827. 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)
  4828. end
  4829. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  4830. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  4831. for i = 1, 45 do
  4832. Swait()
  4833. 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)
  4834. 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)
  4835. 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)
  4836. 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)
  4837. 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)
  4838. 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)
  4839. end
  4840. coroutine.resume(coroutine.create(function()
  4841. local IMPACT = false
  4842. local BULLET = ABSOLUTE
  4843. MakeForm(BULLET, "Ball")
  4844. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  4845. for i = 1, 500 do
  4846. Swait()
  4847. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  4848. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  4849. 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)
  4850. if HIT ~= nil then
  4851. IMPACT = true
  4852. break
  4853. end
  4854. end
  4855. if IMPACT == false then
  4856. for i = 1, 40 do
  4857. Swait()
  4858. BULLET.Size = BULLET.Size * 0.9
  4859. end
  4860. BULLET:remove()
  4861. else
  4862. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  4863. for i = 1, 175 do
  4864. Swait()
  4865. BULLET.Size = BULLET.Size * 0.99
  4866. 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)
  4867. end
  4868. CreateSound("438666001", BULLET, 10, 3)
  4869. Swait(35)
  4870. BULLET.Transparency = 1
  4871. for i = 1, 20 do
  4872. for e = 1, 5 do
  4873. 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)
  4874. 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)
  4875. end
  4876. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  4877. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  4878. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  4879. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  4880. Swait(5)
  4881. for e = 1, #HITBODIES do
  4882. if HITBODIES[e] ~= nil then
  4883. local BOD = HITBODIES[e]
  4884. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4885. if TORS then
  4886. BOD:BreakJoints()
  4887. for _, c in pairs(BOD:GetChildren()) do
  4888. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  4889. local bv = Instance.new("BodyVelocity")
  4890. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4891. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  4892. bv.Parent = c
  4893. Debris:AddItem(bv, 0.2)
  4894. end
  4895. end
  4896. end
  4897. end
  4898. end
  4899. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
  4900. end
  4901. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  4902. Debris:AddItem(BULLET, 10)
  4903. end
  4904. end))
  4905. ATTACK = false
  4906. Rooted = false
  4907. end
  4908. end
  4909. end
  4910.  
  4911. function Nuke()
  4912. ATTACK = true
  4913. Rooted = true
  4914. local CHARGE = false
  4915. local BLASTS = {468991944, 468991990}
  4916. coroutine.resume(coroutine.create(function()
  4917. repeat
  4918. Swait()
  4919. 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)
  4920. 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)
  4921. 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)
  4922. 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)
  4923. 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)
  4924. 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)
  4925. until CHARGE == true
  4926. for i = 0, 0.4, 0.1 / Animation_Speed do
  4927. Swait()
  4928. WACKYEFFECT({
  4929. Time = 15,
  4930. EffectType = "Sphere",
  4931. Size = VT(60, 60, 60),
  4932. Size2 = VT(0, 0, 0),
  4933. Transparency = 1,
  4934. Transparency2 = 0.7,
  4935. CFrame = CF(RootPart.Position),
  4936. MoveToPos = nil,
  4937. RotationX = 0,
  4938. RotationY = 0,
  4939. RotationZ = 0,
  4940. Material = "Neon",
  4941. Color = C3(1, 1, 1),
  4942. SoundID = nil,
  4943. SoundPitch = nil,
  4944. SoundVolume = nil
  4945. })
  4946. 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)
  4947. 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)
  4948. 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)
  4949. 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)
  4950. 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)
  4951. 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)
  4952. end
  4953. coroutine.resume(coroutine.create(function()
  4954. local POS = RootPart.Position
  4955. wait(0.2)
  4956. for i = 1, 5 do
  4957. WACKYEFFECT({
  4958. Time = 65,
  4959. EffectType = "Sphere",
  4960. Size = VT(2, 2, 2),
  4961. Size2 = VT(0, 0, 500),
  4962. Transparency = 1,
  4963. Transparency2 = 0,
  4964. CFrame = CF(POS),
  4965. MoveToPos = nil,
  4966. RotationX = MRANDOM(-2, 2),
  4967. RotationY = MRANDOM(-12, 12),
  4968. RotationZ = MRANDOM(-2, 2),
  4969. Material = "Neon",
  4970. Color = C3(1, 1, 1),
  4971. SoundID = nil,
  4972. SoundPitch = nil,
  4973. SoundVolume = nil
  4974. })
  4975. end
  4976. wait(1)
  4977. SHAKECAM(POS, 9999999999, 25, 25)
  4978. ApplyAoE(POS, 450, true)
  4979. WACKYEFFECT({
  4980. Time = 85,
  4981. EffectType = "Sphere",
  4982. Size = VT(120, 120, 120),
  4983. Size2 = VT(350, 350, 350),
  4984. Transparency = 0,
  4985. Transparency2 = 1,
  4986. CFrame = CF(POS),
  4987. MoveToPos = nil,
  4988. RotationX = 0,
  4989. RotationY = 0,
  4990. RotationZ = 0,
  4991. Material = "Neon",
  4992. Color = C3(1, 1, 1),
  4993. SoundID = nil,
  4994. SoundPitch = 1,
  4995. SoundVolume = 10
  4996. })
  4997. for i = 1, 20 do
  4998. WACKYEFFECT({
  4999. Time = 85,
  5000. EffectType = "Sphere",
  5001. Size = VT(120, 120, 120),
  5002. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5003. Transparency = 0.8,
  5004. Transparency2 = 1,
  5005. CFrame = CF(POS),
  5006. MoveToPos = nil,
  5007. RotationX = 0,
  5008. RotationY = 0,
  5009. RotationZ = 0,
  5010. Material = "Neon",
  5011. Color = C3(1, 1, 1),
  5012. SoundID = nil,
  5013. SoundPitch = 1,
  5014. SoundVolume = 10
  5015. })
  5016. WACKYEFFECT({
  5017. Time = 100,
  5018. EffectType = "Wave",
  5019. Size = VT(25, 2, 25),
  5020. Size2 = VT(400, 0, 400) * 1.2,
  5021. Transparency = 0,
  5022. Transparency2 = 1,
  5023. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5024. MoveToPos = nil,
  5025. RotationX = 0,
  5026. RotationY = 0,
  5027. RotationZ = 0,
  5028. Material = "Neon",
  5029. Color = C3(1, 1, 1),
  5030. SoundID = nil,
  5031. SoundPitch = nil,
  5032. SoundVolume = nil
  5033. })
  5034. end
  5035. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5036. for i = 1, 5 do
  5037. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5038. WACKYEFFECT({
  5039. Time = 120,
  5040. EffectType = "Wave",
  5041. Size = VT(150, 2, 150),
  5042. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5043. Transparency = 0,
  5044. Transparency2 = 1,
  5045. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5046. MoveToPos = nil,
  5047. RotationX = 0,
  5048. RotationY = 0,
  5049. RotationZ = 0,
  5050. Material = "Neon",
  5051. Color = C3(1, 1, 1),
  5052. SoundID = nil,
  5053. SoundPitch = nil,
  5054. SoundVolume = nil
  5055. })
  5056. end
  5057. end))
  5058. for i = 0, 1, 0.1 / Animation_Speed do
  5059. Swait()
  5060. 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)
  5061. 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)
  5062. 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)
  5063. 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)
  5064. 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)
  5065. 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)
  5066. end
  5067. ATTACK = false
  5068. Rooted = false
  5069. end))
  5070. for i = 1, 30 do
  5071. wait(0.01)
  5072. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5073. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5074. if HITFLOOR then
  5075. ApplyAoE(HITPOS, 65, true)
  5076. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5077. WACKYEFFECT({
  5078. Time = 25,
  5079. EffectType = "Sphere",
  5080. Size = VT(22, 22, 22),
  5081. Size2 = VT(85, 85, 85),
  5082. Transparency = 0,
  5083. Transparency2 = 1,
  5084. CFrame = CF(HITPOS),
  5085. MoveToPos = nil,
  5086. RotationX = 0,
  5087. RotationY = 0,
  5088. RotationZ = 0,
  5089. Material = "Neon",
  5090. Color = C3(1, 1, 1),
  5091. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5092. SoundPitch = MRANDOM(9, 12) / 10,
  5093. SoundVolume = 10
  5094. })
  5095. for e = 1, 3 do
  5096. WACKYEFFECT({
  5097. EffectType = "Wave",
  5098. Size = VT(25, 0, 25),
  5099. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5100. Transparency = 0,
  5101. Transparency2 = 1,
  5102. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5103. MoveToPos = nil,
  5104. RotationX = 0,
  5105. RotationY = 3,
  5106. RotationZ = 0,
  5107. Material = "Neon",
  5108. Color = C3(1, 1, 1),
  5109. SoundID = nil,
  5110. SoundPitch = nil,
  5111. SoundVolume = nil
  5112. })
  5113. WACKYEFFECT({
  5114. Time = 35,
  5115. EffectType = "Sphere",
  5116. Size = VT(22, 45, 22),
  5117. Size2 = VT(25, 45 + e * 75, 25),
  5118. Transparency = 0,
  5119. Transparency2 = 1,
  5120. CFrame = CF(HITPOS) * TURN,
  5121. MoveToPos = nil,
  5122. RotationX = 0,
  5123. RotationY = 0,
  5124. RotationZ = 0,
  5125. Material = "Neon",
  5126. Color = C3(1, 1, 1),
  5127. SoundID = nil,
  5128. SoundPitch = MRANDOM(9, 12) / 10,
  5129. SoundVolume = 10
  5130. })
  5131. end
  5132. end
  5133. end
  5134. CHARGE = true
  5135. end
  5136.  
  5137. function SpectralBanishing()
  5138. ATTACK = true
  5139. Rooted = false
  5140. chatfunc("If you desire to be a ghost...", 20)
  5141. for i = 0, 5, 0.1 / Animation_Speed do
  5142. Swait()
  5143. 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)
  5144. 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)
  5145. 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)
  5146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5147. 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)
  5148. 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)
  5149. end
  5150. chatfunc("Then move on to the afterlife!", 6)
  5151. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  5152. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  5153. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  5154. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  5155. local distance = (GunPoint.Position - Way).magnitude
  5156. for i = 1, 5 do
  5157. local laser = Instance.new("Part", Effects)
  5158. laser.Transparency = 0
  5159. laser.CanCollide = false
  5160. laser.Anchored = true
  5161. laser.Color = C3(1, 0, 0)
  5162. laser.Material = "Neon"
  5163. laser.formFactor = Enum.FormFactor.Custom
  5164. laser.Size = Vector3.new(0.15, 0.15, distance)
  5165. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  5166. table.insert(Effects2, {
  5167. laser,
  5168. "Disappear",
  5169. 0.1,
  5170. 1,
  5171. 1,
  5172. 1,
  5173. 2
  5174. })
  5175. end
  5176. coroutine.resume(coroutine.create(function()
  5177. Swait(15)
  5178. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  5179. for i = 1, 25 do
  5180. Swait()
  5181. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  5182. end
  5183. local GAME = game.Players:GetChildren()
  5184. for PLAYER = 1, #GAME do
  5185. do
  5186. local PLAY = GAME[PLAYER]
  5187. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  5188. PLAY.Character.Parent = nil
  5189. coroutine.resume(coroutine.create(function()
  5190. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  5191. PLAY.Character.Parent = workspace
  5192. local Value = IT("BoolValue", Delete)
  5193. Value.Name = PLAY.Name
  5194. end
  5195. end))
  5196. end
  5197. end
  5198. end
  5199. for i = 1, 25 do
  5200. Swait()
  5201. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  5202. end
  5203. end))
  5204. for i = 0, 2, 0.1 / Animation_Speed do
  5205. Swait()
  5206. 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)
  5207. 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)
  5208. 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)
  5209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5210. 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)
  5211. 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)
  5212. end
  5213. ATTACK = false
  5214. Rooted = false
  5215. end
  5216.  
  5217. function Madness()
  5218. ATTACK = true
  5219. Rooted = false
  5220. local GYRO = IT("BodyGyro",RootPart)
  5221. GYRO.D = 750
  5222. GYRO.P = 20000
  5223. GYRO.MaxTorque = VT(0,40000000,0)
  5224. local LOCKED = true
  5225. local SHOT = false
  5226. coroutine.resume(coroutine.create(function()
  5227. for i=0, 1, 0.1 / Animation_Speed do
  5228. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5229. Swait()
  5230. 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)
  5231. 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)
  5232. 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)
  5233. 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)
  5234. end
  5235. LOCKED = false
  5236. SHOT = true
  5237. repeat
  5238. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5239. Swait()
  5240. 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)
  5241. 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)
  5242. 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)
  5243. 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)
  5244. until HOLD == false and SHOT == false
  5245. for i=0, 0.3, 0.1 / Animation_Speed do
  5246. Swait()
  5247. 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)
  5248. 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)
  5249. 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)
  5250. 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)
  5251. end
  5252. GYRO:remove()
  5253. ATTACK = false
  5254. Rooted = false
  5255. end))
  5256. repeat wait() until LOCKED == false
  5257. repeat
  5258. SHOT = true
  5259. wait(0.2)
  5260. SHOT = false
  5261. 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})
  5262. local HIT = BULLET.Hit
  5263. local HITPOS = BULLET.End
  5264. if HIT then
  5265. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  5266. Banish(HIT.Parent)
  5267. end
  5268. end
  5269. 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})
  5270. 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})
  5271. 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})
  5272. 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})
  5273. 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})
  5274. 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})
  5275. 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})
  5276. 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})
  5277. 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})
  5278. until HOLD == false
  5279. end
  5280.  
  5281. function EMOTE()
  5282. ATTACK = true
  5283. Rooted = false
  5284. local LOOP = 0
  5285. for i=0, 0.1, 0.1 / Animation_Speed do
  5286. Swait()
  5287. 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)
  5288. 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)
  5289. 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)
  5290. 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)
  5291. end
  5292. for i=0, 3, 0.1 / Animation_Speed do
  5293. Swait()
  5294. LOOP = LOOP + 1
  5295. 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)
  5296. 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)
  5297. 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)
  5298. 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)
  5299. end
  5300. for i=0, 0.1, 0.1 / Animation_Speed do
  5301. Swait()
  5302. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  5304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5306. end
  5307. ATTACK = false
  5308. Rooted = false
  5309. end
  5310.  
  5311. function Kill(Char)
  5312. local NewCharacter = IT("Model",Effects)
  5313. NewCharacter.Name = "Ow im ded ;-;"
  5314. for _, c in pairs(Char:GetDescendants()) do
  5315. if c:IsA("BasePart") and c.Transparency == 0 then
  5316. if c.Parent == Char then
  5317. getbloody(c,5)
  5318. end
  5319. c:BreakJoints()
  5320. c.Material = "Glass"
  5321. c.Color = C3(0.5,0,0)
  5322. c.CanCollide = true
  5323. c.Transparency = 0.3
  5324. if c:FindFirstChildOfClass("SpecialMesh") then
  5325. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  5326. end
  5327. if c.Name == "Head" then
  5328. c:ClearAllChildren()
  5329. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  5330. end
  5331. if c.ClassName == "MeshPart" then
  5332. c.TextureID = ""
  5333. end
  5334. if c:FindFirstChildOfClass("BodyPosition") then
  5335. c:FindFirstChildOfClass("BodyPosition"):remove()
  5336. end
  5337. if c:FindFirstChildOfClass("ParticleEmitter") then
  5338. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  5339. end
  5340. c.Parent = NewCharacter
  5341. c.Name = "DeadPart"
  5342. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  5343. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  5344. end
  5345. end
  5346. Char:remove()
  5347. Debris:AddItem(NewCharacter,5)
  5348. end
  5349.  
  5350. function Taunt()
  5351. ATTACK = true
  5352. Rooted = true
  5353. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  5354. repeat
  5355. Swait()
  5356. TAUNT.Parent = Torso
  5357. TAUNT.Playing = true
  5358. 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)
  5359. 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)
  5360. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5361. 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)
  5362. 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)
  5363. 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)
  5364. until TAUNT.TimePosition >= 1.25
  5365. for i=0, 1.6, 0.1 / Animation_Speed do
  5366. Swait()
  5367. TAUNT.Parent = Torso
  5368. 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)
  5369. 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)
  5370. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5371. 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)
  5372. 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)
  5373. 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)
  5374. end
  5375. ATTACK = false
  5376. Rooted = false
  5377. end
  5378.  
  5379. function oofBeam()
  5380. ATTACK = true
  5381. Rooted = false
  5382. VALUE2 = true
  5383. local GYRO = IT("BodyGyro", RootPart)
  5384. GYRO.D = 20
  5385. GYRO.P = 4000
  5386. GYRO.MaxTorque = VT(0, 40000, 0)
  5387. local POS = RootPart.Position + VT(0, 25, 0)
  5388. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  5389. 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)
  5390. 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)
  5391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5393. 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)
  5394. 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)
  5395. coroutine.resume(coroutine.create(function()
  5396. local E = 0
  5397. repeat
  5398. E = E + 5
  5399. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  5400. Swait()
  5401. 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)
  5402. 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)
  5403. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5404. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5405. 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)
  5406. 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)
  5407. until ATTACK == false
  5408. GYRO:remove()
  5409. end))
  5410. for i = 1, 50 do
  5411. Swait()
  5412. end
  5413. for i = 1, 25 do
  5414. Swait()
  5415. WACKYEFFECT({
  5416. Time = 15,
  5417. EffectType = "Skull",
  5418. Size = VT(4, 4, 4),
  5419. Size2 = VT(0, 0, 0),
  5420. Transparency = 1,
  5421. Transparency2 = 0,
  5422. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  5423. MoveToPos = Eon.Position,
  5424. RotationX = 0,
  5425. RotationY = 0,
  5426. RotationZ = 0,
  5427. Material = "Neon",
  5428. Color = C3(1, 0, 0),
  5429. SoundID = nil,
  5430. SoundPitch = nil,
  5431. SoundVolume = nil
  5432. })
  5433. end
  5434. local LOOP = 0
  5435. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  5436. MakeForm(BEAMO, "Ball")
  5437. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  5438. MakeForm(BEAM, "Cyl")
  5439. repeat
  5440. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  5441. if DISTANCE < 2000 then
  5442. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  5443. BEAMO.CFrame = CF(Eon.Position)
  5444. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  5445. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  5446. ApplyAoE(Mouse.Hit.p, 14,true,false)
  5447. WACKYEFFECT({
  5448. Time = 35,
  5449. EffectType = "Sphere",
  5450. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  5451. Size2 = VT(5, 75, 5),
  5452. Transparency = 0,
  5453. Transparency2 = 1,
  5454. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5455. MoveToPos = nil,
  5456. RotationX = 0,
  5457. RotationY = 0,
  5458. RotationZ = 0,
  5459. Material = "Neon",
  5460. Color = C3(1, 0, 0),
  5461. SoundID = nil,
  5462. SoundPitch = MRANDOM(9, 12) / 10,
  5463. SoundVolume = 10
  5464. })
  5465. 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})
  5466. Swait()
  5467. LOOP = LOOP + 1
  5468. end
  5469. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  5470. coroutine.resume(coroutine.create(function()
  5471. for i = 1, 15 do
  5472. Swait()
  5473. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  5474. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  5475. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  5476. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  5477. end
  5478. BEAM:remove()
  5479. BEAMO:remove()
  5480. end))
  5481. ATTACK = false
  5482. Rooted = false
  5483. VALUE2 = false
  5484. end
  5485.  
  5486. function TakeOnMe()
  5487. Speed = 5
  5488. local MEME = CreateSound(0, Effects, 2, 1, false)
  5489. ATTACK = true
  5490. Rooted = false
  5491. local DANCE = true
  5492. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  5493. if NEWKEY == "p" then
  5494. DANCE = false
  5495. end
  5496. end)
  5497. PLAYSONG = false
  5498. while true do
  5499. for i = 1, 15 do
  5500. Swait()
  5501. MEME.Parent = Effects
  5502. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5503. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5504. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5505. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5506. 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)
  5507. 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)
  5508. end
  5509. if DANCE == false then
  5510. break
  5511. end
  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(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5519. 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)
  5520. 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)
  5521. end
  5522. end
  5523. PLAYSONG = true
  5524. KEY:Disconnect()
  5525. MEME:remove()
  5526. Speed = 25
  5527. ATTACK = false
  5528. Rooted = false
  5529. end
  5530.  
  5531.  
  5532. function Execute()
  5533. ATTACK = true
  5534. Rooted = false
  5535. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  5536. Part.Color = C3(0,0,0)
  5537. MakeForm(Part,"Wedge")
  5538. Part.CanCollide = true
  5539. 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))
  5540. for i=0, 1, 0.1 / Animation_Speed do
  5541. Swait()
  5542. 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)
  5543. 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)
  5544. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5545. 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)
  5546. 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)
  5547. 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)
  5548. end
  5549. CreateSound(541909867, RightBarrel, 7, 1, false)
  5550. local TOCH = Part.Touched:Connect(function(hit)
  5551. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5552. Banish(hit.Parent)
  5553. end
  5554. end)
  5555. for i=0, 0.35, 0.1 / Animation_Speed do
  5556. Swait()
  5557. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  5558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  5559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5561. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5562. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5563. end
  5564. TOCH:disconnect()
  5565. for i=0, 0.35, 0.1 / Animation_Speed do
  5566. Swait()
  5567. 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)
  5568. 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)
  5569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5570. 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)
  5571. 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)
  5572. 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)
  5573. end
  5574. Part:remove()
  5575. ATTACK = false
  5576. Rooted = false
  5577. end
  5578. function Banisher_Burn()
  5579. ATTACK = true
  5580. Rooted = true
  5581. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  5582. for i=0, 1, 0.1 / Animation_Speed do
  5583. Swait()
  5584. 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)
  5585. 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)
  5586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5588. 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)
  5589. 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)
  5590. end
  5591. coroutine.resume(coroutine.create(function()
  5592. local POS = Mouse.Hit.p
  5593. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  5594. MakeForm(RAY,"Cyl")
  5595. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  5596. MakeForm(SPHERE,"Ball")
  5597. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  5598. MakeForm(SHIELD,"Ball")
  5599. SHIELD.CFrame = CF(POS)
  5600. RAY.CFrame = CF(POS)
  5601. SPHERE.CFrame = CF(POS)
  5602. CreateSound(440145570, SPHERE, 10, 0.8, false)
  5603. CreateSound(415700134, SPHERE, 10, 0.8, false)
  5604. for i = 1, 200 do
  5605. Swait()
  5606. 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})
  5607. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  5608. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  5609. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  5610. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  5611. end
  5612. for i = 1, 45 do
  5613. Swait()
  5614. RAY.Transparency = RAY.Transparency + 1/45
  5615. SPHERE.Transparency = RAY.Transparency
  5616. SHIELD.Transparency = SPHERE.Transparency + 1/45
  5617. end
  5618. RAY:remove()
  5619. SHIELD:remove()
  5620. SPHERE:remove()
  5621. end))
  5622. for i=0, 1, 0.1 / Animation_Speed do
  5623. Swait()
  5624. 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)
  5625. 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)
  5626. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5627. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5628. 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)
  5629. 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)
  5630. end
  5631. ATTACK = false
  5632. Rooted = false
  5633. end
  5634. function Teleport()
  5635. ATTACK = true
  5636. Rooted = false
  5637. for i=0, 0.5, 0.1 / Animation_Speed do
  5638. Swait()
  5639. 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)
  5640. 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)
  5641. end
  5642. for e = 1, #BODY do
  5643. if BODY[e] ~= nil then
  5644. local STUFF = BODY[e]
  5645. local PART = STUFF[1]
  5646. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  5647. local PRT = PART:Clone()
  5648. PRT.Anchored = true
  5649. PRT.CanCollide = false
  5650. PRT.Material = "Neon"
  5651. PRT.Color = C3(255,100,255)
  5652. PRT.Name = "WarpEffect"
  5653. PRT.Parent = Effects
  5654. PRT.CFrame = PART.CFrame
  5655. PRT:BreakJoints()
  5656. if PRT:FindFirstChildOfClass("Sound") then
  5657. PRT:FindFirstChildOfClass("Sound"):remove()
  5658. end
  5659. if PRT:FindFirstChildOfClass("Decal") then
  5660. PRT:FindFirstChildOfClass("Decal"):remove()
  5661. end
  5662. coroutine.resume(coroutine.create(function()
  5663. for i = 1, 100 do
  5664. Swait()
  5665. PRT.Transparency = PRT.Transparency + 1/100
  5666. end
  5667. PRT:remove()
  5668. end))
  5669. end
  5670. end
  5671. end
  5672. CreateSound(217767125, Torso, 10, 1)
  5673. local POS = RootPart.Orientation
  5674. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  5675. RootPart.Orientation = POS
  5676. RootJoint.Parent = RootPart
  5677. for i=0, 0.5, 0.1 / Animation_Speed do
  5678. Swait()
  5679. 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)
  5680. 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)
  5681. end
  5682. for i=0, 0.1, 0.1 / Animation_Speed do
  5683. Swait()
  5684. 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)
  5685. end
  5686. ATTACK = false
  5687. Rooted = false
  5688. end
  5689. function BanishmentBeam()
  5690. ATTACK = true
  5691. Rooted = false
  5692. local GYRO = IT("BodyGyro",RootPart)
  5693. GYRO.D = 100
  5694. GYRO.P = 2000
  5695. GYRO.MaxTorque = VT(0,4000000,0)
  5696. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5697. CreateSound("93724183", RightArm, 5, 1, false)
  5698. for i=1, 35 do
  5699. Swait()
  5700. 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})
  5701. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5702. 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)
  5703. 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)
  5704. 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)
  5705. 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)
  5706. 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)
  5707. 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)
  5708. end
  5709. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  5710. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  5711. local TOCH = BEAM.Touched:Connect(function(hit)
  5712. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  5713. Kill(hit)
  5714. end
  5715. end)
  5716. local I = 0
  5717. repeat
  5718. Swait()
  5719. I = I + 1
  5720. if I <= 10 then
  5721. BEAM.Transparency = BEAM.Transparency - 0.1
  5722. end
  5723. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  5724. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  5725. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  5726. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  5727. BEAM.Size = VT(2,2,DISTANCE)
  5728. 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})
  5729. 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})
  5730. 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})
  5731. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5732. 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)
  5733. 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)
  5734. 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)
  5735. 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)
  5736. 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)
  5737. 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)
  5738. if ENDHIT ~= nil then
  5739. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  5740. Banish(ENDHIT)
  5741. end
  5742. end
  5743. until LOOP.Playing == false
  5744. GYRO:remove()
  5745. BEAM:remove()
  5746. ATTACK = false
  5747. Rooted = false
  5748. end
  5749. function Bat_Wave()
  5750. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  5751. if HITFLOOR ~= nil then
  5752. ATTACK = true
  5753. Rooted = true
  5754. do
  5755. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  5756. BAT.Color = C3(0, 0, 0)
  5757. MakeForm(BAT, "Ball")
  5758. CreateSound("1177785010", BAT, 10, 1)
  5759. for i = 1, 25 do
  5760. Swait()
  5761. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5762. BAT.Transparency = BAT.Transparency - 0.04
  5763. 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)
  5764. 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)
  5765. 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)
  5766. 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)
  5767. 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)
  5768. 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)
  5769. end
  5770. local GYRO = IT("BodyGyro", RootPart)
  5771. GYRO.D = 100
  5772. GYRO.P = 2000
  5773. GYRO.MaxTorque = VT(0, 4000000, 0)
  5774. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5775. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  5776. WING.Color = C3(1, 0, 0)
  5777. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5778. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  5779. for i = 1, 15 do
  5780. Swait()
  5781. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5782. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5783. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5784. WING.Transparency = WING.Transparency - 0.06666666666666667
  5785. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  5786. 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)
  5787. 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)
  5788. 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)
  5789. 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)
  5790. 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)
  5791. 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)
  5792. end
  5793. coroutine.resume(coroutine.create(function()
  5794. local LOOP = 0
  5795. for i = 1, 70 do
  5796. LOOP = LOOP + 1
  5797. Swait()
  5798. if i < 18 then
  5799. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  5800. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  5801. end
  5802. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  5803. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5804. if LOOP == 15 then
  5805. LOOP = 0
  5806. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  5807. CreateSound("201858087", BAT, 10, 1)
  5808. 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))
  5809. end
  5810. end
  5811. killnearest(BAT.Position, 35, 250)
  5812. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  5813. 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))
  5814. CreateSound("178452217", BAT, 10, 1)
  5815. WING:remove()
  5816. BAT.Transparency = 1
  5817. Debris:AddItem(BAT, 5)
  5818. end))
  5819. GYRO:remove()
  5820. ATTACK = false
  5821. Rooted = false
  5822. end
  5823. end
  5824. end
  5825. function Deathzone()
  5826. ATTACK = true
  5827. Rooted = true
  5828. for i=0, 1, 0.1 / Animation_Speed do
  5829. Swait()
  5830. 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)
  5831. 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)
  5832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5834. 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)
  5835. 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)
  5836. end
  5837. local DONE = false
  5838. local GATE = nil
  5839. local GATESPIN = true
  5840. coroutine.resume(coroutine.create(function()
  5841. repeat
  5842. Swait()
  5843. if GATE ~= nil then
  5844. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  5845. end
  5846. until GATESPIN == false
  5847. end))
  5848. coroutine.resume(coroutine.create(function()
  5849. repeat
  5850. Swait()
  5851. 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)
  5852. 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)
  5853. 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)
  5854. 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)
  5855. 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)
  5856. 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)
  5857. until DONE == true
  5858. Swait(50)
  5859. for i = 1, 35 do
  5860. Swait(4)
  5861. local FIRED = false
  5862. local CHILDREN = workspace:GetDescendants()
  5863. for index, CHILD in pairs(CHILDREN) do
  5864. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5865. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5866. if HUM then
  5867. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5868. if TORSO then
  5869. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5870. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5871. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5872. 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})
  5873. 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})
  5874. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5875. Banish(CHILD)
  5876. FIRED = true
  5877. break
  5878. end
  5879. end
  5880. end
  5881. end
  5882. end
  5883. if FIRED == false then
  5884. 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)))
  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. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5889. if HITBOD ~= nil then
  5890. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5891. Kill(HITBOD.Parent)
  5892. end
  5893. end
  5894. end
  5895. end
  5896. for i = 1, 45 do
  5897. Swait()
  5898. GATE.Size = GATE.Size - VT(3,0,3)
  5899. end
  5900. GATESPIN = false
  5901. GATE:remove()
  5902. end))
  5903. Swait(15)
  5904. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5905. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  5906. local DECAL = IT("Decal",GATE)
  5907. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  5908. DECAL.Face = "Top"
  5909. GATE.CFrame = CF(HITPOS)
  5910. CreateSound(160772554, GATE, 7, 1.3, false)
  5911. for i = 1, 45 do
  5912. Swait()
  5913. GATE.Size = GATE.Size + VT(18,0,18)
  5914. end
  5915. CreateSound(213603013, RightHole, 7, 1, false)
  5916. 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})
  5917. ATTACK = false
  5918. Rooted = false
  5919. DONE = true
  5920. end
  5921.  
  5922. function Banisher_Bullet()
  5923. ATTACK = true
  5924. Rooted = false
  5925. for i=0, 0.05, 0.1 / Animation_Speed do
  5926. Swait()
  5927. turnto(Mouse.Hit.p)
  5928. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5929. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5930. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5931. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5932. 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)
  5933. 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)
  5934. chatfunc("BE GONE FROM HERE")
  5935. end
  5936. repeat
  5937. for i=0, 0.05, 0.1 / Animation_Speed do
  5938. Swait()
  5939. turnto(Mouse.Hit.p)
  5940. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5941. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5942. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5943. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5944. 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)
  5945. 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)
  5946. end
  5947. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  5948. SpawnTrail(Hole.Position,POS)
  5949. if HIT ~= nil then
  5950. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  5951. Banish(HIT.Parent)
  5952. end
  5953. end
  5954. 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})
  5955. 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})
  5956. 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})
  5957. 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})
  5958. for i=0, 0.05, 0.1 / Animation_Speed do
  5959. Swait()
  5960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  5962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5964. 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)
  5965. 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)
  5966. end
  5967. until KEYHOLD == false
  5968. ATTACK = false
  5969. Rooted = false
  5970. end
  5971.  
  5972.  
  5973. function Perfect_Command()
  5974. ATTACK = true
  5975. Rooted = true
  5976. chatfunc("Weaklings...")
  5977. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5978. CreateSound("1368605755", Effects, 10, 1)
  5979. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5980. killnearest2(Torso.Position, 9999, 0, 0, 0, true)
  5981. ATTACK = false
  5982. Rooted = false
  5983. end
  5984.  
  5985. function killnearest2(position,range,maxstrength)
  5986. for i,v in ipairs(workspace:GetChildren()) do
  5987. if v.ClassName == "Model" then
  5988. local body = v:GetChildren()
  5989. for part = 1, #body do
  5990. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  5991. if(body[part].Position - position).Magnitude < range then
  5992. if v.ClassName == "Model" then
  5993. v:BreakJoints()
  5994. end
  5995. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  5996. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  5997. end
  5998. end
  5999. end
  6000. end
  6001. end
  6002. end
  6003.  
  6004. function killnearest(position,range,maxstrength,direction)
  6005. for i,v in ipairs(workspace:GetChildren()) do
  6006. local body = v:GetChildren()
  6007. for part = 1, #body do
  6008. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6009. if(body[part].Position - position).Magnitude < range then
  6010. if v.ClassName == "Model" then
  6011. --v:BreakJoints()
  6012. end
  6013. local POS = position
  6014. coroutine.resume(coroutine.create(function()
  6015. body[part].Anchored = true
  6016. body[part].Parent = Effects
  6017. body[part].CanCollide = true
  6018. local SIZE = body[part].Size
  6019. body[part].Material = "Neon"
  6020. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  6021. for i = 1, 75 do
  6022. Swait()
  6023. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6024. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6025. end
  6026. coroutine.resume(coroutine.create(function()
  6027. while true do
  6028. Swait()
  6029. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6030. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6031. end
  6032. end))
  6033. body[part].Anchored = false
  6034. body[part].Velocity = direction.lookVector*maxstrength
  6035. end))
  6036. end
  6037. end
  6038. end
  6039. if v.ClassName == "Part" then
  6040. if v.Anchored == false and (v.Position - position).Magnitude < range then
  6041. local POS = position
  6042. coroutine.resume(coroutine.create(function()
  6043. v.Anchored = true
  6044. v.Parent = Effects
  6045. local SIZE = v.Size
  6046. v.Material = "Neon"
  6047. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  6048. for i = 1, 75 do
  6049. Swait()
  6050. v.Color = Color3.fromRGB(cR,cG,cB)
  6051. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6052. end
  6053. coroutine.resume(coroutine.create(function()
  6054. while true do
  6055. Swait()
  6056. v.Color = Color3.fromRGB(cR,cG,cB)
  6057. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6058. end
  6059. end))
  6060. v.Anchored = false
  6061. v.Velocity = direction.lookVector*maxstrength
  6062. end))
  6063. end
  6064. end
  6065. end
  6066. end
  6067. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  6068. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6069. local mesh = IT("SpecialMesh",wave)
  6070. mesh.MeshType = "FileMesh"
  6071. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  6072. mesh.Scale = SIZE
  6073. mesh.Offset = VT(0,0,0)
  6074. wave.CFrame = CFRAME
  6075. coroutine.resume(coroutine.create(function(PART)
  6076. for i = 1, WAIT do
  6077. Swait()
  6078. mesh.Scale = mesh.Scale + GROW
  6079. if DOESROT == true then
  6080. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6081. end
  6082. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6083. if wave.Transparency > 0.99 then
  6084. wave:remove()
  6085. end
  6086. end
  6087. end))
  6088. end
  6089.  
  6090. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  6091. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6092. local mesh = IT("SpecialMesh",wave)
  6093. mesh.MeshType = "Sphere"
  6094. mesh.Scale = SIZE
  6095. mesh.Offset = VT(0,0,0)
  6096. wave.CFrame = CFRAME
  6097. coroutine.resume(coroutine.create(function(PART)
  6098. for i = 1, WAIT do
  6099. Swait()
  6100. mesh.Scale = mesh.Scale + GROW
  6101. wave.Transparency = wave.Transparency + (1/WAIT)
  6102. if wave.Transparency > 0.99 then
  6103. wave:remove()
  6104. end
  6105. end
  6106. end))
  6107. end
  6108. function Eliminate()
  6109. chatfunc("Come here!")
  6110. ATTACK = true
  6111. Rooted = false
  6112. local HASGRABBED = false
  6113. local WELD = nil
  6114. local TORS = nil
  6115. local hitting = RightArm.Touched:Connect(function(hit)
  6116. if hit.Parent:FindFirstChild("Humanoid") then
  6117. if hit.Parent.Humanoid.Health ~= 0 then
  6118. UNANCHOR = false
  6119. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6120. TORS.Anchored = true
  6121. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  6122. WELD = weldBetween(RightArm,TORS)
  6123. HASGRABBED = true
  6124. chatfunc("Time to die.")
  6125. Rooted = true
  6126. end
  6127. end
  6128. end)
  6129. for i=0, 1, 0.1 / Animation_Speed do
  6130. Swait()
  6131. if HASGRABBED == true then
  6132. break
  6133. end
  6134. 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)
  6135. 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)
  6136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  6139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  6140. end
  6141. hitting:disconnect()
  6142. if HASGRABBED == true then
  6143. TORS.Anchored = false
  6144. RootPart.Anchored = true
  6145. for i=0, 2, 0.1 / Animation_Speed do
  6146. Swait()
  6147. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6151. 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)
  6152. 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)
  6153. end
  6154. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
  6155. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
  6156. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  6157. SOUNDPART.CFrame = RootPart.CFrame
  6158. Debris:AddItem(SOUNDPART,5)
  6159. CreateSound("260411131", SOUNDPART, 2, 1)
  6160. for i = 1, 15 do
  6161. Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  6162. end
  6163. for i=0, 2, 0.1 / Animation_Speed do
  6164. Swait()
  6165. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6169. 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)
  6170. 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)
  6171. end
  6172. for i=0, 0.25, 0.1 / Animation_Speed do
  6173. Swait()
  6174. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  6175. 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)
  6176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  6177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  6178. 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)
  6179. 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)
  6180. end
  6181. if HITFLOOR ~= nil then
  6182. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
  6183. end
  6184. CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
  6185. WELD:remove()
  6186. for i = 1, 25 do
  6187. Swait()
  6188. killnearest(RootPart.Position,45,100,Torso.CFrame)
  6189. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
  6190. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
  6191. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
  6192. 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)
  6193. 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)
  6194. end
  6195. end
  6196. UNANCHOR = true
  6197. ATTACK = false
  6198. Rooted = false
  6199. end
  6200. function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
  6201. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  6202. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  6203. wave.CFrame = CFRAME
  6204. coroutine.resume(coroutine.create(function(PART)
  6205. for i = 1, WAIT do
  6206. Swait()
  6207. mesh.Scale = mesh.Scale * GROW
  6208. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6209. if wave.Transparency > 0.99 then
  6210. wave:remove()
  6211. end
  6212. end
  6213. end))
  6214. end
  6215.  
  6216. function BlackBlast()
  6217. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6218. ATTACK = true
  6219. Rooted = true
  6220. local GYRO = IT("BodyGyro",RootPart)
  6221. GYRO.D = 25
  6222. GYRO.P = 20000
  6223. GYRO.MaxTorque = VT(0,4000000,0)
  6224. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6225. CreateSound(429459101,Torso,5,1.5,false)
  6226. local GYROING = true
  6227. coroutine.resume(coroutine.create(function()
  6228. repeat
  6229. Swait()
  6230. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6231. until GYROING == false
  6232. GYRO:Remove()
  6233. end))
  6234. for i=0, 1, 0.1 / Animation_Speed do
  6235. Swait()
  6236. 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)
  6237. 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)
  6238. 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)
  6239. 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)
  6240. 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)
  6241. 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)
  6242. end
  6243. for i = 1, 13 do
  6244. 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})
  6245. end
  6246. CreateSound(1368637781,Torso,5,1.5,false)
  6247. 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})
  6248. for index, CHILD in pairs(Character:GetChildren()) do
  6249. if CHILD:IsA("BasePart") then
  6250. CHILD.Transparency = CHILD.Transparency + 1
  6251. elseif CHILD:IsA("Accessory") then
  6252. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6253. end
  6254. end
  6255. GYROING = false
  6256. coroutine.resume(coroutine.create(function()
  6257. coroutine.resume(coroutine.create(function()
  6258. for i=1, 25 do
  6259. Swait()
  6260. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  6261. end
  6262. end))
  6263. repeat
  6264. Swait()
  6265. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  6266. 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)
  6267. 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)
  6268. 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)
  6269. 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)
  6270. 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)
  6271. 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)
  6272. until ATTACK == false
  6273. end))
  6274. coroutine.resume(coroutine.create(function()
  6275. local BULLETCFRAME = RootPart.CFrame
  6276. local EXPLODED = false
  6277. coroutine.resume(coroutine.create(function()
  6278. repeat
  6279. Swait()
  6280. 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})
  6281. 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})
  6282. until EXPLODED == true
  6283. end))
  6284. for i=1, 50 do
  6285. Swait()
  6286. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  6287. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  6288. if RAY then
  6289. ApplyAoEl(BULLETCFRAME.p,25,12,54,350,false)
  6290. 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})
  6291. break
  6292. end
  6293. end
  6294. wait(0.5)
  6295. 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})
  6296. 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})
  6297. for E = 1, 3 do
  6298. for i = 1, 5 do
  6299. 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})
  6300. end
  6301. end
  6302. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  6303. EXPLODED = true
  6304. for i = 1, 15 do
  6305. Swait()
  6306. 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})
  6307. end
  6308. end))
  6309. wait(0.5)
  6310. for index, CHILD in pairs(Character:GetChildren()) do
  6311. if CHILD:IsA("BasePart") then
  6312. CHILD.Transparency = CHILD.Transparency - 1
  6313. elseif CHILD:IsA("Accessory") then
  6314. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6315. end
  6316. end
  6317. ATTACK = false
  6318. Rooted = false
  6319. end
  6320. end
  6321. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  6322. coroutine.resume(coroutine.create(function()
  6323. local FADE = IT("Model",Effects)
  6324. if PARENT ~= nil then
  6325. FADE.Parent = PARENT
  6326. end
  6327. FADE.Name = "FadingEffect"
  6328. for _, c in pairs(Character:GetChildren()) do
  6329. if c.ClassName == "Part" then
  6330. c.CanCollide = false
  6331. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  6332. FADER.CFrame = c.CFrame
  6333. FADER.Color = COLOR
  6334. if FADER.Name == "Head" then
  6335. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  6336. elseif FADER.Name == "HumanoidRootPart" then
  6337. FADE.PrimaryPart = FADER
  6338. FADER.Transparency = 1
  6339. end
  6340. end
  6341. end
  6342. local TRANS = 0.25/TIMER
  6343. local DIST = nil
  6344. if MOVEDIRECTION ~= nil then
  6345. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  6346. end
  6347. for i = 1, TIMER do
  6348. Swait()
  6349. for _, c in pairs(FADE:GetChildren()) do
  6350. if c.ClassName == "Part" then
  6351. c.Transparency = c.Transparency + TRANS
  6352. end
  6353. end
  6354. if MOVEDIRECTION ~= nil then
  6355. local ORI = FADE.PrimaryPart.Orientation
  6356. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  6357. end
  6358. end
  6359. FADE:remove()
  6360. end))
  6361. end
  6362. function R_RANDOM(CFRAME,DIST)
  6363. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  6364. end
  6365.  
  6366. function ApplyAoEl(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6367. for index, CHILD in pairs(workspace:GetDescendants()) do
  6368. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6369. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6370. if HUM then
  6371. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6372. if TORSO then
  6373. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6374. if INSTAKILL == true then
  6375. CHILD:BreakJoints()
  6376. else
  6377. local DMG = MRANDOM(MINDMG,MAXDMG)
  6378. ApplyDamagel(HUM,DMG)
  6379. end
  6380. if FLING > 0 then
  6381. for _, c in pairs(CHILD:GetChildren()) do
  6382. if c:IsA("BasePart") then
  6383. local bv = Instance.new("BodyVelocity")
  6384. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6385. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6386. bv.Parent = c
  6387. Debris:AddItem(bv,0.05)
  6388. end
  6389. end
  6390. end
  6391. end
  6392. end
  6393. end
  6394. end
  6395. end
  6396. end
  6397. function ApplyDamagel(Humanoid,Damage)
  6398. Damage = Damage * DAMAGEMULTIPLIER
  6399. if Humanoid.Health < 0 then
  6400. if Humanoid.Health - Damage > 0 then
  6401. Humanoid.Health = Humanoid.Health - Damage
  6402. else
  6403. Humanoid.Parent:BreakJoints()
  6404. end
  6405. else
  6406. Humanoid.Parent:BreakJoints()
  6407. end
  6408. end
  6409. function NightmareFall()
  6410. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  6411. ATTACK = true
  6412. Rooted = true
  6413. EQUIPPED = true
  6414. CreateSound(1466932232,Head,10,1,false)
  6415. for i=0, 2, 0.1 / Animation_Speed do
  6416. Swait()
  6417. 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)
  6418. 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)
  6419. 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)
  6420. 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)
  6421. 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)
  6422. 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)
  6423.  
  6424. end
  6425. for i=0, 2, 0.1 / Animation_Speed do
  6426. Swait()
  6427. 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)
  6428. 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)
  6429. 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)
  6430. 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)
  6431. 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)
  6432. 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)
  6433.  
  6434. end
  6435. local SIZE = 0
  6436. local POS = RootPart.Position+VT(0,150,0)
  6437. local BLOWN = false
  6438. coroutine.resume(coroutine.create(function()
  6439. coroutine.resume(coroutine.create(function()
  6440. repeat
  6441. Swait()
  6442. if SIZE > 0 then
  6443. 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})
  6444. 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})
  6445. end
  6446. until BLOWN == true
  6447. end))
  6448. repeat
  6449. Swait()
  6450. 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)
  6451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6453. 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)
  6454. 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)
  6455. 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)
  6456.  
  6457. until ATTACK == false
  6458. end))
  6459. wait(0.2)
  6460. for i = 1, 15 do
  6461. wait(MRANDOM(2,6)/45)
  6462. coroutine.resume(coroutine.create(function()
  6463. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  6464. local HEIGHT = 45/5
  6465. local DISTANCE = (BLADE.Position - POS).Magnitude
  6466. for i = 1, 45 do
  6467. Swait()
  6468. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  6469. 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})
  6470. end
  6471. SIZE = SIZE + 1
  6472. end))
  6473. end
  6474. wait(2.5)
  6475. BLOWN = true
  6476. 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})
  6477. for E = 1, 5 do
  6478. for i = 1, 5 do
  6479. 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})
  6480. end
  6481. end
  6482. CreateSound(288641686,Effects,5,1,false)
  6483. CreateSound(592877506,Effects,5,1,false)
  6484. local HITS = {}
  6485. for index, CHILD in pairs(workspace:GetDescendants()) do
  6486. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6487. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6488. if HUM then
  6489. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6490. if TORSO then
  6491. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  6492. local PASS = true
  6493. for E = 1, #HITS do
  6494. if HITS[E] == CHILD then
  6495. PASS = false
  6496. end
  6497. end
  6498. if PASS == true then
  6499. table.insert(HITS,CHILD)
  6500. end
  6501. end
  6502. end
  6503. end
  6504. end
  6505. end
  6506. if #HITS > 0 then
  6507. local DONE = false
  6508. local HUMS = {}
  6509. coroutine.resume(coroutine.create(function()
  6510. for E = 1, #HITS do
  6511. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  6512. table.insert(HUMS,HUM)
  6513. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  6514. local grav = Instance.new("BodyPosition",TORSO)
  6515. grav.D = 850
  6516. grav.P = 4000
  6517. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6518. grav.Position = TORSO.Position+VT(0,35,0)
  6519. CreateSound(592877506,TORSO,5,0.5,false)
  6520. if TORSO then
  6521. coroutine.resume(coroutine.create(function()
  6522. local B = IT("Attachment",TORSO)
  6523. local ChainLink = IT("Beam",Torso)
  6524. ChainLink.Texture = "rbxassetid://73042633"
  6525. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  6526. ChainLink.TextureSpeed = -1
  6527. ChainLink.FaceCamera = true
  6528. ChainLink.Width0 = 3
  6529. ChainLink.Width1 = 3
  6530. ChainLink.TextureLength = 3
  6531. ChainLink.Attachment0 = A
  6532. ChainLink.Attachment1 = B
  6533. ChainLink.CurveSize0 = 0
  6534. ChainLink.CurveSize1 = 0
  6535. ChainLink.FaceCamera = true
  6536. ChainLink.TextureMode = "Static"
  6537. ChainLink.Transparency = NumberSequence.new(0)
  6538. repeat
  6539. Swait()
  6540. 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})
  6541. until DONE == true or HUM.Health < 1
  6542. B:Remove()
  6543. ChainLink:Remove()
  6544. grav:Remove()
  6545. if HUM.Health < 1 then
  6546. for E = 1, 2 do
  6547. for i = 1, 3 do
  6548. 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})
  6549. end
  6550. end
  6551. 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})
  6552. for _, c in pairs(HITS[E]:GetChildren()) do
  6553. if c:IsA("BasePart") or c:IsA("Accessory") then
  6554. c:remove()
  6555. end
  6556. end
  6557. local BONES = {
  6558. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  6559. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  6560. }
  6561. local SELECTABLEBONES = {
  6562. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  6563. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  6564. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  6565. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  6566. }
  6567. for i = 1, 9 do
  6568. local CHOSENPIECE = nil
  6569. if i == 1 then
  6570. CHOSENPIECE = BONES.Skull
  6571. elseif i == 2 then
  6572. CHOSENPIECE = BONES.Ribs
  6573. else
  6574. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  6575. end
  6576. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  6577. BONE.CanCollide = true
  6578. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  6579. if CHOSENPIECE.MeshId == 36869983 then
  6580. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  6581. else
  6582. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  6583. end
  6584. end
  6585. end
  6586. end))
  6587. end
  6588. end
  6589. wait(1)
  6590. for i = 1, 250 do
  6591. Swait()
  6592. for E = 1, #HUMS do
  6593. if HUMS[E] then
  6594. if HUMS[E].Health > 0 then
  6595. HUMS[E].Health = HUMS[E].Health - 0.3
  6596. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  6597. 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})
  6598. end
  6599. end
  6600. end
  6601. end
  6602. 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")
  6603. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  6604. coroutine.resume(coroutine.create(function()
  6605. CreateSound(743521450,Cam,5,0.6,false)
  6606. for E = 1, 75 do
  6607. Swait()
  6608. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  6609. end
  6610. wait(4)
  6611. for E = 1, 25 do
  6612. Swait()
  6613. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  6614. end
  6615. SKILLFRAME:Remove()
  6616. end))
  6617. DONE = true
  6618. for i = 1, 50 do
  6619. wait(0.5)
  6620. for i = 1, 3 do
  6621. 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})
  6622. end
  6623. end
  6624. DAMAGEMULTIPLIER = 1
  6625. end))
  6626. wait(0.2)
  6627. end
  6628. wait(0.4)
  6629. EQUIPPED = false
  6630. ATTACK = false
  6631. Rooted = false
  6632. end
  6633. end
  6634.  
  6635. function Supernova()
  6636. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  6637. if HITFLOOR ~= nil then
  6638. local HITBODIES = {}
  6639. ATTACK = true
  6640. Rooted = true
  6641. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  6642. MakeForm(ABSOLUTE,"Ball")
  6643. CreateSound("429459101", ABSOLUTE, 10, 1)
  6644. for i=0, 4, 0.1 / Animation_Speed do
  6645. Swait()
  6646. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  6647. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  6648. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  6649. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  6650. MakeForm(CHARGE,"Ball")
  6651. CHARGE.Color = C3(1,1,1)
  6652. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  6653. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  6654. 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)
  6655. 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)
  6656. 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)
  6657. 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)
  6658. 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)
  6659. 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)
  6660. end
  6661. CreateSound("907330103", Head, 10, 1.2)
  6662. for i = 1, 75 do
  6663. Swait()
  6664. 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)
  6665. 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)
  6666. 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)
  6667. 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)
  6668. 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)
  6669. 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)
  6670. end
  6671. coroutine.resume(coroutine.create(function()
  6672. for i = 1, 13 do
  6673. for e = 1, 8 do
  6674. Swait(1)
  6675. 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))
  6676. CreateSwirl(ABSOLUTE.Size/4,50,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  6677. end
  6678. for i = 1, 5 do
  6679. 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)
  6680. 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))
  6681. end
  6682. CreateSwirl(ABSOLUTE.Size/4,50,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  6683. CreateSwirl(ABSOLUTE.Size/4,75,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  6684. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  6685. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  6686. killnearest(ABSOLUTE.Position,i*18,i)
  6687. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  6688. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  6689. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  6690. end
  6691. ABSOLUTE.Transparency = 1
  6692. Debris:AddItem(ABSOLUTE,10)
  6693. end))
  6694. ATTACK = false
  6695. Rooted = false
  6696. end
  6697. end
  6698. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  6699. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6700. wave.Color = COLOR
  6701. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6702. wave.CFrame = CFRAME
  6703. coroutine.resume(coroutine.create(function(PART)
  6704. for i = 1, WAIT do
  6705. Swait()
  6706. mesh.Scale = mesh.Scale + GROW
  6707. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6708. if DOESROT == true then
  6709. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6710. end
  6711. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6712. if wave.Transparency > 0.99 then
  6713. wave:remove()
  6714. end
  6715. end
  6716. end))
  6717. end
  6718.  
  6719. function Melee()
  6720. ATTACK = true
  6721. BLADE.CanCollide = true
  6722. Rooted = false
  6723. EQUIPPED = true
  6724. local HIT = function()
  6725. local HITS = {}
  6726. local TOUCH = BLADE.Touched:Connect(function(hit)
  6727. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  6728. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  6729. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6730. if TORSO and HUM.Health > 0 then
  6731. local PASS = true
  6732. for i = 1, #HITS do
  6733. if HITS[i] == hit.Parent then
  6734. PASS = false
  6735. end
  6736. end
  6737. table.insert(HITS,hit.Parent)
  6738. if PASS == true then
  6739. ApplyDamage0(HUM,MRANDOM(15,25))
  6740. end
  6741. end
  6742. end
  6743. end)
  6744. return TOUCH
  6745. end
  6746. if COMBO == 1 then
  6747. for i=0, 0.35, 0.1 / Animation_Speed do
  6748. Swait()
  6749. 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)
  6750. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6751. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6752. 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)
  6753. 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)
  6754. 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)
  6755. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6756. end
  6757. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6758. local TOUCHED = HIT()
  6759. for i=0, 0.5, 0.1 / Animation_Speed do
  6760. Swait()
  6761. 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)
  6762. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  6763. 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)
  6764. 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)
  6765. 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)
  6766. 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)
  6767. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6768. end
  6769. TOUCHED:Disconnect()
  6770. COMBO = 2
  6771. elseif COMBO == 2 then
  6772. for i=0, 0.35, 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(0)), 1 / Animation_Speed)
  6775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6776. 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)
  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. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6783. local TOUCHED = HIT()
  6784. for i=0, 0.35, 0.1 / Animation_Speed do
  6785. Swait()
  6786. 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)
  6787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6789. 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)
  6790. 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)
  6791. 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)
  6792. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6793. end
  6794. TOUCHED:Disconnect()
  6795. for i=0, 0.2, 0.1 / Animation_Speed do
  6796. Swait()
  6797. 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)
  6798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6800. 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)
  6801. 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)
  6802. 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)
  6803. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  6804. end
  6805. COMBO = 1
  6806. end
  6807. coroutine.resume(coroutine.create(function()
  6808. for i = 1, 50 do
  6809. Swait()
  6810. if ATTACK == true then
  6811. break
  6812. end
  6813. end
  6814. if ATTACK == false then
  6815. COMBO = 1
  6816. end
  6817. end))
  6818. BLADE.CanCollide = false
  6819. ATTACK = false
  6820. Rooted = false
  6821. EQUIPPED = false
  6822. end
  6823.  
  6824. function ApplyDamage0(Humanoid,Damage)
  6825. Damage = Damage * DAMAGEMULTIPLIER
  6826. if Humanoid.Health < 0 then
  6827. if Humanoid.Health - Damage > 0 then
  6828. Humanoid.Health = Humanoid.Health - Damage
  6829. else
  6830. Humanoid.Parent:BreakJoints()
  6831. end
  6832. else
  6833. Humanoid.Parent:BreakJoints()
  6834. end
  6835. end
  6836. function AbyssalShriek()
  6837. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6838. ATTACK = true
  6839. Rooted = true
  6840. for i=0, 0.2, 0.1 / Animation_Speed do
  6841. Swait()
  6842. 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)
  6843. 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)
  6844. 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)
  6845. 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)
  6846. 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)
  6847. 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)
  6848. end
  6849. coroutine.resume(coroutine.create(function()
  6850. repeat
  6851. Swait()
  6852. 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)
  6853. 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)
  6854. 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)
  6855. 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)
  6856. 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)
  6857. 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)
  6858. until ATTACK == false
  6859. end))
  6860. 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})
  6861. CreateSound(199978176,Head,5,1,false)
  6862. for i = 1, 60 do
  6863. Swait()
  6864. ApplyAoE0(RootPart.Position,17,1,1,0,false)
  6865. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  6866. if HITFLOOR then
  6867. 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})
  6868. end
  6869. local SIZE = VT(1,3,1)
  6870. 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})
  6871. end
  6872. wait(0.2)
  6873. ATTACK = false
  6874. Rooted = false
  6875. end
  6876. end
  6877.  
  6878. function ApplyAoE0(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6879. for index, CHILD in pairs(workspace:GetDescendants()) do
  6880. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6881. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6882. if HUM then
  6883. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6884. if TORSO then
  6885. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6886. if INSTAKILL == true then
  6887. CHILD:BreakJoints()
  6888. else
  6889. local DMG = MRANDOM(MINDMG,MAXDMG)
  6890. ApplyDamage0(HUM,DMG)
  6891. end
  6892. if FLING > 0 then
  6893. for _, c in pairs(CHILD:GetChildren()) do
  6894. if c:IsA("BasePart") then
  6895. local bv = Instance.new("BodyVelocity")
  6896. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6897. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6898. bv.Parent = c
  6899. Debris:AddItem(bv,0.05)
  6900. end
  6901. end
  6902. end
  6903. end
  6904. end
  6905. end
  6906. end
  6907. end
  6908. end
  6909. function AbyssalDash()
  6910. ATTACK = true
  6911. Rooted = true
  6912. UNANCHOR = false
  6913. for i=0, 0.4, 0.1 / Animation_Speed do
  6914. Swait()
  6915. 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)
  6916. 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)
  6917. 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)
  6918. 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)
  6919. 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)
  6920. 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)
  6921. end
  6922. CreateSound(1177785010,Torso,2,1,false)
  6923. CreateSound(971125740,Torso,5,1,false)
  6924. 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})
  6925. for index, CHILD in pairs(Character:GetChildren()) do
  6926. if CHILD:IsA("BasePart") then
  6927. CHILD.Transparency = CHILD.Transparency + 1
  6928. elseif CHILD:IsA("Accessory") then
  6929. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6930. end
  6931. end
  6932. local HITS = {}
  6933. for i=0, 1, 0.1 / Animation_Speed do
  6934. Swait()
  6935. for index, CHILD in pairs(workspace:GetDescendants()) do
  6936. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6937. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6938. if HUM then
  6939. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6940. if TORSO then
  6941. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  6942. local PASS = true
  6943. for E = 1, #HITS do
  6944. if HITS[E] == CHILD then
  6945. PASS = false
  6946. end
  6947. end
  6948. if PASS == true then
  6949. local DMG = MRANDOM(25,45)
  6950. ApplyDamage0(HUM,DMG)
  6951. table.insert(HITS,CHILD)
  6952. end
  6953. end
  6954. end
  6955. end
  6956. end
  6957. end
  6958. 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})
  6959. for i = 1, 2 do
  6960. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  6961. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  6962. 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)
  6963. 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)
  6964. 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)
  6965. 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)
  6966. 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)
  6967. 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)
  6968. end
  6969. end
  6970. for index, CHILD in pairs(Character:GetChildren()) do
  6971. if CHILD:IsA("BasePart") then
  6972. CHILD.Transparency = CHILD.Transparency - 1
  6973. elseif CHILD:IsA("Accessory") then
  6974. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6975. end
  6976. end
  6977. for i=1, 25 do
  6978. Swait()
  6979. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  6980. 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)
  6981. 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)
  6982. 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)
  6983. 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)
  6984. 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)
  6985. 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)
  6986. end
  6987. UNANCHOR = true
  6988. ATTACK = false
  6989. Rooted = false
  6990. end
  6991.  
  6992. function ApplyAoE11(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  6993. local CHILDREN = workspace:GetDescendants()
  6994. for index, CHILD in pairs(CHILDREN) do
  6995. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6996. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6997. if HUM then
  6998. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6999. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  7000. if INSTAKILL == true then
  7001. CHILD:BreakJoints()
  7002. else
  7003. local DMG = MRANDOM(MINDMG, MAXDMG)
  7004. ApplyDamage0(HUM, DMG, TORSO)
  7005. end
  7006. if FLING > 0 then
  7007. for _, c in pairs(CHILD:GetChildren()) do
  7008. if c:IsA("BasePart") then
  7009. local bv = Instance.new("BodyVelocity")
  7010. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  7011. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  7012. bv.Parent = c
  7013. Debris:AddItem(bv, 0.05)
  7014. end
  7015. end
  7016. end
  7017. end
  7018. end
  7019. end
  7020. end
  7021. end
  7022.  
  7023. function Taunt2()
  7024. ATTACK = true
  7025. Rooted = true
  7026. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  7027. repeat
  7028. Swait()
  7029. TAUNT.Parent = Torso
  7030. TAUNT.Playing = true
  7031. 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)
  7032. 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)
  7033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7034. 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)
  7035. 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)
  7036. 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)
  7037. until TAUNT.TimePosition >= 1.25
  7038. for i=0, 1.6, 0.1 / Animation_Speed do
  7039. Swait()
  7040. TAUNT.Parent = Torso
  7041. 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)
  7042. 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)
  7043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7044. 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)
  7045. 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)
  7046. 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)
  7047. end
  7048. ATTACK = false
  7049. Rooted = false
  7050. end
  7051.  
  7052. function yeetus()
  7053. warn("not finished")
  7054. end
  7055.  
  7056. local PLAYMAINANIM = true
  7057.  
  7058. local HATWELD = nil
  7059. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  7060. PLAYMAINANIM = false
  7061. if WhichPose == "Cast1" then
  7062. for i=0, Time, 0.1 / Animation_Speed do
  7063. Swait()
  7064. if Magic == true then
  7065. 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})
  7066. end
  7067. if Gyro ~= nil and Gyro ~= false then
  7068. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7069. end
  7070. 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)
  7071. 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)
  7072. 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)
  7073. 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)
  7074. 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)
  7075. 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)
  7076. end
  7077. elseif WhichPose == "Cast2" then
  7078. for i=0, Time, 0.1 / Animation_Speed do
  7079. Swait()
  7080. if Magic == true then
  7081. 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})
  7082. 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})
  7083. end
  7084. if Gyro ~= nil and Gyro ~= false then
  7085. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7086. end
  7087. 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)
  7088. 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)
  7089. 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)
  7090. 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)
  7091. 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)
  7092. 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)
  7093. end
  7094. elseif WhichPose == "RightArmUp" then
  7095. for i=0, Time, 0.1 / Animation_Speed do
  7096. Swait()
  7097. if Magic == true then
  7098. 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})
  7099. end
  7100. if Gyro ~= nil and Gyro ~= false then
  7101. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7102. end
  7103. 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)
  7104. 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)
  7105. 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)
  7106. 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)
  7107. 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)
  7108. 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)
  7109. end
  7110. elseif WhichPose == "Taunt" then
  7111. for i=0, Time, 0.1 / Animation_Speed do
  7112. Swait()
  7113. 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)
  7114. 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)
  7115. 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)
  7116. 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)
  7117. 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)
  7118. 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)
  7119. end
  7120. HATWELD.Part0 = RightArm
  7121. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  7122. CreateSound(221057812,Torso,10,1,false)
  7123. for i=0, Time*2, 0.1 / Animation_Speed do
  7124. Swait()
  7125. 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)
  7126. 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)
  7127. 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)
  7128. 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)
  7129. 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)
  7130. 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)
  7131. end
  7132. for i=0, Time, 0.1 / Animation_Speed do
  7133. Swait()
  7134. 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)
  7135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  7136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  7137. 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)
  7138. 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)
  7139. 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)
  7140. 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)
  7141. end
  7142. HATWELD.Part0 = Head
  7143. HATWELD.C0 = CF(0,0.35,0)
  7144. elseif WhichPose == "Prepare key" then
  7145. for i=0, Time, 0.1 / Animation_Speed do
  7146. Swait()
  7147. if Gyro ~= nil and Gyro ~= false then
  7148. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7149. end
  7150. 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)
  7151. 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)
  7152. 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)
  7153. 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)
  7154. 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)
  7155. 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)
  7156. end
  7157. elseif WhichPose == "Turn 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(75)), 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(-75)), 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(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * 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. end
  7171. PLAYMAINANIM = true
  7172. end
  7173.  
  7174. function Hat()
  7175. ATTACK = true
  7176. Rooted = false
  7177. Pose("Taunt",0.4,1.2,false)
  7178. ATTACK = false
  7179. Rooted = false
  7180. end
  7181.  
  7182. function Prison_Key()
  7183. chatfunc("Be Locked Away From This Dimension in the of Time Space")
  7184. if Mouse.Target ~= nil then
  7185. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7186. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7187. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7188. local GYRO = IT("BodyGyro",RootPart)
  7189. GYRO.D = 750
  7190. GYRO.P = 20000
  7191. GYRO.MaxTorque = VT(0,40000000,0)
  7192. local grav = Instance.new("BodyPosition",TORSO)
  7193. grav.D = 15
  7194. grav.P = 20000
  7195. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7196. grav.position = TORSO.Position
  7197. local GYRO2 = IT("BodyGyro",TORSO)
  7198. GYRO2.D = 750
  7199. GYRO2.P = 20000
  7200. GYRO2.MaxTorque = VT(0,40000000,0)
  7201. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7202. grav.Name = "Jail"
  7203. local LOCKPARTS = {}
  7204. ATTACK = true
  7205. Rooted = false
  7206. local LOCK = IT("Model",Effects)
  7207. LOCK.Name = "Lock"
  7208. local LOCK2 = IT("Model",LOCK)
  7209. LOCK2.Name = "Metal"
  7210. --CREATE LOCK--
  7211. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  7212. LOCK.PrimaryPart = BASE
  7213. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  7214. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  7215. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  7216. MakeForm(PRT,"Cyl")
  7217. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  7218. PRT.Color = C3(0,0,0)
  7219. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  7220. MakeForm(PRT,"Cyl")
  7221. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  7222. PRT.Color = C3(0,0,0)
  7223. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  7224. for i = 1, 45 do
  7225. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7226. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  7227. end
  7228. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7229. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  7230. LOCK2.PrimaryPart = PRT
  7231. ---------------
  7232. local CHILDREN = LOCK:GetDescendants()
  7233. for index, CHILD in pairs(CHILDREN) do
  7234. if CHILD:IsA("BasePart") then
  7235. CHILD.Transparency = 1
  7236. end
  7237. end
  7238. for i = 1, 75 do
  7239. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  7240. Swait()
  7241. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7242. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7243. local CHILDREN = LOCK:GetDescendants()
  7244. for index, CHILD in pairs(CHILDREN) do
  7245. if CHILD:IsA("BasePart") then
  7246. CHILD.Transparency = CHILD.Transparency - 1/75
  7247. end
  7248. end
  7249. end
  7250. HUM.DisplayDistanceType = "None"
  7251. local KEY = IT("Model",Effects)
  7252. KEY.Name = "Key"
  7253. --CREATE KEY--
  7254. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  7255. KEY.PrimaryPart = KBASE
  7256. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  7257. local WLD = weldBetween(RightArm,KBASE)
  7258. for i = 1, 45 do
  7259. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  7260. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  7261. weldBetween(KBASE,PRT)
  7262. end
  7263. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7264. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  7265. weldBetween(KBASE,PRT)
  7266. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7267. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  7268. weldBetween(KBASE,PRT)
  7269. --------------
  7270. Rooted = true
  7271. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  7272. coroutine.resume(coroutine.create(function()
  7273. for i = 1, 10 do
  7274. Swait()
  7275. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7276. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7277. end
  7278. CreateSound(1149318312,BASE,5,1,false)
  7279. CreateSound(160772554,BASE,3,1,false)
  7280. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  7281. for i = 1, 4 do
  7282. 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})
  7283. end
  7284. 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})
  7285. wait(1)
  7286. TORSO.Parent.Parent = LOCK
  7287. for i = 1, 75 do
  7288. Swait()
  7289. local CHILDREN = KEY:GetDescendants()
  7290. for index, CHILD in pairs(CHILDREN) do
  7291. if CHILD:IsA("BasePart") then
  7292. CHILD.Transparency = i/25
  7293. end
  7294. end
  7295. local CHILDREN = LOCK:GetDescendants()
  7296. for index, CHILD in pairs(CHILDREN) do
  7297. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  7298. CHILD.Transparency = CHILD.Transparency + 1/75
  7299. elseif CHILD.ClassName == "Decal" then
  7300. CHILD.Transparency = CHILD.Transparency + 1/75
  7301. end
  7302. end
  7303. end
  7304. TORSO.Parent:ClearAllChildren()
  7305. KEY:remove()
  7306. LOCK:remove()
  7307. end))
  7308. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  7309. GYRO:remove()
  7310. ATTACK = false
  7311. Rooted = false
  7312. end
  7313. end
  7314. end
  7315. -------- how to make smite work
  7316. function SpawnSmite(POS)
  7317. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7318. local EMITPOS = HITPOS
  7319. if HITFLOOR ~= nil then
  7320. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7321. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7322. EMITPOS = HITPOS
  7323. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7324. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7325. EMITPOS = HITPOS
  7326. end
  7327. end
  7328. if HITFLOOR ~= nil then
  7329. ApplyAoE(EMITPOS,10)
  7330. 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})
  7331. 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})
  7332. 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})
  7333. for i = 1, 5 do
  7334. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7335. 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})
  7336. end
  7337. end
  7338. end
  7339.  
  7340. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7341. coroutine.resume(coroutine.create(function()
  7342. local METEOR = IT("Model",Effects)
  7343. METEOR.Name = "Meteorite"
  7344. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7345. METEOR.PrimaryPart = CENTER
  7346. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7347. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7348. for i = 1, 15 do
  7349. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  7350. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7351. end
  7352. if ISDEBREE ~= true then
  7353. 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))))
  7354. else
  7355. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7356. end
  7357. local IMPACT = false
  7358. CreateSound(463593339, CENTER, 10, 0.6)
  7359. if SIZE >= 3.5 then
  7360. for i = 1, MRANDOM(3,7) do
  7361. 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)
  7362. end
  7363. end
  7364. for i = 1, 200 do
  7365. Swait()
  7366. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7367. if HITFLOOR == nil then
  7368. local ORI = CENTER.Orientation
  7369. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7370. else
  7371. if HITFLOOR.Anchored == true then
  7372. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7373. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7374. end
  7375. IMPACT = true
  7376. break
  7377. end
  7378. end
  7379. if IMPACT == true then
  7380. 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})
  7381. 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})
  7382. 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})
  7383. ApplyAoE(CENTER.Position,30*SIZE)
  7384. end
  7385. METEOR:remove()
  7386. end))
  7387. end
  7388. function Meteor_Shower()
  7389. ATTACK = true
  7390. Rooted = false
  7391. CreateSound(1368573150, RightArm, 3, 0.8)
  7392. CreateSound(649634100, Torso, 10, 0.8)
  7393. for i=0, 1.2, 0.1 / Animation_Speed do
  7394. Swait()
  7395. 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})
  7396. 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)
  7397. 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)
  7398. end
  7399. local POS = Mouse.Hit.p
  7400. CreateSound(463593339, Effects, 3, 1)
  7401. coroutine.resume(coroutine.create(function()
  7402. for i = 1, 35 do
  7403. wait(MRANDOM(5,150)/100)
  7404. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  7405. end
  7406. end))
  7407. ATTACK = false
  7408. Rooted = false
  7409. end
  7410.  
  7411. ------ LOL
  7412. function TimesUp()
  7413. CLOCKTARGET = nil
  7414. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7415. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7416. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7417. if TORSO then
  7418. ATTACK = true
  7419. Rooted = false
  7420. coroutine.resume(coroutine.create(function()
  7421. repeat
  7422. Swait()
  7423. 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)
  7424. 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)
  7425. 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)
  7426. 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)
  7427. 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)
  7428. 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)
  7429. until ATTACK == false
  7430. end))
  7431. if Effects:FindFirstChild("NeonDoll") then
  7432. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  7433. end
  7434. wait(0.5)
  7435. local FAKECHARACTER = IT("Model",Effects)
  7436. FAKECHARACTER.Name = "NeonDoll"
  7437. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.3,0.3,0.15),false)
  7438. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  7439. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7440. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  7441. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7442. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  7443. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7444. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  7445. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7446. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  7447. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.15,0.15),false)
  7448. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  7449. CreateSound(201858045, TORS, 5, 0.4, false)
  7450. for i = 1, 150 do
  7451. Swait()
  7452. CLOCKSPEED = 1
  7453. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7454. if c.ClassName == "Part" then
  7455. c.Transparency = c.Transparency - 0.5/150
  7456. end
  7457. end
  7458. end
  7459. CLOCKTARGET = HUM
  7460. coroutine.resume(coroutine.create(function()
  7461. repeat Swait() CLOCKSPEED = 30 until CLOCKTARGET == nil
  7462. for i = 1, 25 do
  7463. Swait()
  7464. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7465. if c.ClassName == "Part" then
  7466. c.Transparency = c.Transparency + 0.5/25
  7467. end
  7468. end
  7469. end
  7470. CLOCKSPEED = 6
  7471. FAKECHARACTER:remove()
  7472. end))
  7473. wait(0.5)
  7474. ATTACK = false
  7475. Rooted = false
  7476. end
  7477. end
  7478. end
  7479.  
  7480. function ChainPunch()
  7481. ATTACK = true
  7482. Rooted = false
  7483. local GYRO = IT("BodyGyro",RootPart)
  7484. GYRO.D = 25
  7485. GYRO.P = 2000
  7486. GYRO.MaxTorque = VT(0,40000,0)
  7487. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7488. repeat
  7489. Swait()
  7490. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7491. 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)
  7492. 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)
  7493. 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)
  7494. 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)
  7495. 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)
  7496. 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)
  7497. until HOLD == true
  7498. local POS = Mouse.Hit.p
  7499. local CHAINS = false
  7500. local CHAINLINKS = {}
  7501. local A = IT("Attachment",RightArm)
  7502. A.Position = VT(1,-1,0)*SIZE
  7503. A.Orientation = VT(-90, -89.982, 0)
  7504. local B = IT("Attachment",RightArm)
  7505. B.Position = VT(-1,-1,0)*SIZE
  7506. B.Orientation = VT(-90, 89.988, 0)
  7507. local C = IT("Attachment",RightArm)
  7508. C.Position = VT(0.5,-1.3,0)*SIZE
  7509. C.Orientation = VT(-90, -89.982, 0)
  7510. local D = IT("Attachment",RightArm)
  7511. D.Position = VT(-0.5,-1.3,0)*SIZE
  7512. D.Orientation = VT(-90, 89.988, 0)
  7513. local LIGHT = IT("Attachment",RightArm)
  7514. LIGHT.Position = VT(0,-1,0)*SIZE
  7515. local LIGHT2 = IT("PointLight",LIGHT)
  7516. LIGHT2.Range = 7
  7517. LIGHT2.Brightness = 5
  7518. LIGHT2.Color = SKILLTEXTCOLOR
  7519. for i = 1, 2 do
  7520. local TWIST = -2
  7521. local START = A
  7522. local END = B
  7523. if i == 1 then
  7524. START = B
  7525. END = A
  7526. end
  7527. local ChainLink = IT("Beam",Torso)
  7528. ChainLink.Texture = "rbxassetid://73042633"
  7529. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7530. ChainLink.TextureSpeed = 1
  7531. ChainLink.Width0 = 1
  7532. ChainLink.Width1 = 1
  7533. ChainLink.TextureLength = 2.5
  7534. ChainLink.Attachment0 = START
  7535. ChainLink.Attachment1 = END
  7536. ChainLink.CurveSize0 = TWIST
  7537. ChainLink.CurveSize1 = TWIST
  7538. --ChainLink.FaceCamera = true
  7539. ChainLink.Segments = 45
  7540. ChainLink.Transparency = NumberSequence.new(1)
  7541. table.insert(CHAINLINKS,ChainLink)
  7542. end
  7543. for i = 1, 2 do
  7544. local TWIST = -1
  7545. local START = C
  7546. local END = D
  7547. if i == 1 then
  7548. START = D
  7549. END = C
  7550. end
  7551. local ChainLink = IT("Beam",Torso)
  7552. ChainLink.Texture = "rbxassetid://73042633"
  7553. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7554. ChainLink.TextureSpeed = 1
  7555. ChainLink.Width0 = 1
  7556. ChainLink.Width1 = 1
  7557. ChainLink.TextureLength = 5
  7558. ChainLink.Attachment0 = START
  7559. ChainLink.Attachment1 = END
  7560. ChainLink.CurveSize0 = TWIST
  7561. ChainLink.CurveSize1 = TWIST
  7562. --ChainLink.FaceCamera = true
  7563. ChainLink.Segments = 25
  7564. ChainLink.LightEmission = 0.5
  7565. ChainLink.Transparency = NumberSequence.new(1)
  7566. table.insert(CHAINLINKS,ChainLink)
  7567. end
  7568. coroutine.resume(coroutine.create(function()
  7569. repeat
  7570. Swait()
  7571. 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)
  7572. 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)
  7573. 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)
  7574. 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)
  7575. 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)
  7576. 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)
  7577. until CHAINS == true
  7578. repeat
  7579. Swait()
  7580. 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)
  7581. 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)
  7582. 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)
  7583. 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)
  7584. 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)
  7585. 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)
  7586. until ATTACK == false
  7587. for e = 1, 15 do
  7588. Swait()
  7589. for i = 1, #CHAINLINKS do
  7590. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  7591. end
  7592. end
  7593. A:remove()
  7594. B:remove()
  7595. C:remove()
  7596. D:remove()
  7597. end))
  7598. CreateSound(233856115, RightArm, 5, 1.2, false)
  7599. for e = 1, 15 do
  7600. Swait()
  7601. for i = 1, #CHAINLINKS do
  7602. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  7603. end
  7604. end
  7605. CHAINS = true
  7606. Rooted = true
  7607. wait(0.25)
  7608. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  7609. FIST.Color = C3(1, 215/255, 1)
  7610. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  7611. local LIGHT3 = IT("PointLight",FIST)
  7612. LIGHT3.Range = 7
  7613. LIGHT3.Brightness = 5
  7614. LIGHT3.Color = SKILLTEXTCOLOR
  7615. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  7616. local FISTA = IT("Attachment",FIST)
  7617. FISTA.Position = VT(0.062, 0.977, 0)
  7618. local ChainLink = IT("Beam",Torso)
  7619. ChainLink.Texture = "rbxassetid://73042633"
  7620. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7621. ChainLink.TextureSpeed = 0
  7622. ChainLink.Width0 = 3
  7623. ChainLink.Width1 = 3
  7624. ChainLink.TextureLength = 12
  7625. ChainLink.Attachment0 = LIGHT
  7626. ChainLink.Attachment1 = FISTA
  7627. ChainLink.FaceCamera = true
  7628. ChainLink.Segments = 45
  7629. ChainLink.LightEmission = 0.5
  7630. ChainLink.Transparency = NumberSequence.new(0.25)
  7631. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  7632. for i = 1, 85 do
  7633. Swait()
  7634. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  7635. ChainLink.TextureLength = 12+(i*2)
  7636. ApplyAoE(FIST.Position,10,15,25,100,false)
  7637. 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})
  7638. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  7639. if HITFLOOR ~= nil then
  7640. HITFLOOR:BreakJoints()
  7641. coroutine.resume(coroutine.create(function()
  7642. for i = 1, 15 do
  7643. Swait()
  7644. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  7645. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  7646. 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})
  7647. end
  7648. end))
  7649. break
  7650. end
  7651. end
  7652. coroutine.resume(coroutine.create(function()
  7653. for i = 1, 50 do
  7654. Swait()
  7655. FIST.Transparency = FIST.Transparency + 0.5/50
  7656. LIGHT3.Range = LIGHT3.Range - 7/50
  7657. end
  7658. FIST:remove()
  7659. end))
  7660. LIGHT:remove()
  7661. GYRO:remove()
  7662. ATTACK = false
  7663. Rooted = false
  7664. end
  7665.  
  7666. function WarpMeteor()
  7667. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  7668. if DIST > 180 then
  7669. DIST = 180
  7670. end
  7671. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  7672. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  7673. if HITFLOOR then
  7674. local POS = HITPOS
  7675. ATTACK = true
  7676. Rooted = true
  7677. local WARPED = false
  7678. local SMASHED = false
  7679. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  7680. coroutine.resume(coroutine.create(function()
  7681. repeat
  7682. Swait()
  7683. 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)
  7684. 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)
  7685. 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)
  7686. 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)
  7687. 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)
  7688. 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)
  7689. until WARPED == true
  7690. repeat
  7691. Swait()
  7692. 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)
  7693. 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)
  7694. 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)
  7695. 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)
  7696. 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)
  7697. 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)
  7698. until SMASHED == true
  7699. repeat
  7700. Swait()
  7701. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  7702. 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)
  7703. 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)
  7704. 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)
  7705. 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)
  7706. 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)
  7707. until ATTACK == false
  7708. end))
  7709. VALUE1 = true
  7710. CreateSound(233856115, Torso, 5, 1.6, false)
  7711. for i = 1, 25 do
  7712. Swait()
  7713. for _, c in pairs(Character:GetChildren()) do
  7714. if c.ClassName == "Part" then
  7715. c.Transparency = c.Transparency + 1/25
  7716. end
  7717. end
  7718. for _, c in pairs(Weapon:GetChildren()) do
  7719. if c.ClassName == "Part" then
  7720. c.Transparency = c.Transparency + 1/25
  7721. end
  7722. end
  7723. end
  7724. UNANCHOR = false
  7725. RootPart.Anchored = true
  7726. RootPart.Velocity = VT(0,0,0)
  7727. local ROOTPOS = RootPart.Position
  7728. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  7729. WARPED = true
  7730. for i = 1, 25 do
  7731. Swait()
  7732. for _, c in pairs(Character:GetChildren()) do
  7733. if c.ClassName == "Part" then
  7734. c.Transparency = c.Transparency - 1/25
  7735. end
  7736. end
  7737. for _, c in pairs(Weapon:GetChildren()) do
  7738. if c.ClassName == "Part" then
  7739. c.Transparency = c.Transparency - 1/25
  7740. end
  7741. end
  7742. end
  7743. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  7744. SHELL.CFrame = RootPart.CFrame
  7745. MakeForm(SHELL,"Ball")
  7746. CreateSound(402981977, SHELL, 5, 1.6, false)
  7747. for i = 1, 10 do
  7748. Swait()
  7749. SHELL.Transparency = SHELL.Transparency - 1/10
  7750. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  7751. end
  7752. for i = 1, math.ceil(75/2) do
  7753. Swait()
  7754. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  7755. SHELL.CFrame = CF(RootPart.Position)
  7756. 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})
  7757. end
  7758. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  7759. SHELL.CFrame = CF(RootPart.Position)
  7760. 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})
  7761. 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})
  7762. 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})
  7763. for i = 1, 5 do
  7764. 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})
  7765. end
  7766. SHELL:remove()
  7767. ApplyAoE(RootPart.Position,75,35,75,175,false)
  7768. SMASHED = true
  7769. wait(1)
  7770. VALUE1 = false
  7771. UNANCHOR = true
  7772. ATTACK = false
  7773. Rooted = false
  7774. end
  7775. end
  7776.  
  7777. function PandorasBox()
  7778. 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)
  7779. if HITFLOOR ~= nil then
  7780. ATTACK = true
  7781. Rooted = true
  7782. local RINGSPIN = true
  7783. local CONSTRUCTING = true
  7784. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  7785. RING.Color = C3(0,0,0)
  7786. MakeForm(RING,"Cyl")
  7787. RING.CFrame = CF(HITPOS)
  7788. CreateSound(402981977, RING, 5, 1.2, false)
  7789. coroutine.resume(coroutine.create(function()
  7790. repeat
  7791. Swait()
  7792. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7793. 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)
  7794. 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)
  7795. 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)
  7796. 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)
  7797. 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)
  7798. 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)
  7799. until CONSTRUCTING == false
  7800. repeat
  7801. Swait()
  7802. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7803. until RINGSPIN == false
  7804. for i = 1, 25 do
  7805. Swait()
  7806. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7807. RING.Size = RING.Size - VT(0.15,0,0.15)
  7808. --DECAL.Transparency = DECAL.Transparency + 1/25
  7809. RING.Transparency = RING.Transparency + 1/25
  7810. end
  7811. RING:remove()
  7812. end))
  7813. for i = 1, 15 do
  7814. Swait()
  7815. RING.Size = RING.Size + VT(0.75,0,0.75)
  7816. RING.Transparency = RING.Transparency - 1/15
  7817. end
  7818. local BOXSPIN = true
  7819. local PANDORASBOX = IT("Model",Effects)
  7820. PANDORASBOX.Name = "Pandora's Box"
  7821. local BOX = IT("Model",PANDORASBOX)
  7822. BOX.Name = "Body"
  7823. local LID = IT("Model",PANDORASBOX)
  7824. LID.Name = "Lid"
  7825. --BUILDING THE BOX--
  7826. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  7827. BASE.Color = C3(0,0,0)
  7828. PANDORASBOX.PrimaryPart = BASE
  7829. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  7830. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7831. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  7832. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7833. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  7834. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7835. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  7836. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7837. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  7838. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7839. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  7840. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7841. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  7842. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7843. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  7844. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7845. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  7846. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7847. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  7848. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7849. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  7850. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7851. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  7852. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7853. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  7854. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7855. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  7856. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7857. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  7858. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7859. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  7860. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7861. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  7862. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7863. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  7864. -------------
  7865. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7866. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  7867. LID.PrimaryPart = LIDPART
  7868. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7869. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  7870. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7871. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  7872. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7873. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  7874. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7875. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  7876. local DECAL = IT("Decal",LIDPART)
  7877. DECAL.Face = "Top"
  7878. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  7879. DECAL.Color3 = C3(0,0,0)
  7880. --BUILDING THE BOX--
  7881. coroutine.resume(coroutine.create(function()
  7882. repeat
  7883. Swait()
  7884. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  7885. until BOXSPIN == false
  7886. end))
  7887. for i = 1, 25 do
  7888. Swait()
  7889. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  7890. end
  7891. wait(0.5)
  7892. BOXSPIN = false
  7893. CONSTRUCTING = false
  7894. coroutine.resume(coroutine.create(function()
  7895. 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})
  7896. --[[for i = 1, 45 do
  7897. Swait()
  7898. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  7899. end-
  7900. LID:remove()]]--
  7901. for _, c in pairs(LID:GetChildren()) do
  7902. if c.ClassName == "Part" then
  7903. c.Anchored = false
  7904. c.CanCollide = true
  7905. if c ~= LIDPART then
  7906. weldBetween(LIDPART,c)
  7907. end
  7908. end
  7909. end
  7910. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  7911. Debris:AddItem(LID,15)
  7912. wait(0.5)
  7913. local RANDOMEFFECT = MRANDOM(1,4)
  7914. if RANDOMEFFECT == 1 then
  7915. for i = 1, 45 do
  7916. wait((2-(i/15))/15)
  7917. 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})
  7918. end
  7919. wait(1)
  7920. 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})
  7921. 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})
  7922. 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})
  7923. for i = 1, 5 do
  7924. 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})
  7925. end
  7926. ApplyAoE(BASE.Position,50,1,200,375,false)
  7927. ApplyAoE(BASE.Position,250,35,75,175,false)
  7928. elseif RANDOMEFFECT == 2 then
  7929. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  7930. FIELD.CFrame = BASE.CFrame
  7931. MakeForm(FIELD,"Ball")
  7932. for i = 1, 50 do
  7933. Swait()
  7934. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  7935. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  7936. end
  7937. wait(0.2)
  7938. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  7939. coroutine.resume(coroutine.create(function()
  7940. for i = 1, 75 do
  7941. Swait()
  7942. LOOP.Volume = LOOP.Volume + 10/75
  7943. LOOP.Parent = FIELD
  7944. local CHILDREN = workspace:GetDescendants()
  7945. for index, CHILD in pairs(CHILDREN) do
  7946. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7947. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7948. if HUM then
  7949. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7950. if TORSO then
  7951. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7952. HUM.Health = HUM.Health - 0.1
  7953. TORSO.Velocity = VT(0,5,0)
  7954. HUM.PlatformStand = true
  7955. if TORSO.RotVelocity.Magnitude < 15 then
  7956. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7957. end
  7958. end
  7959. end
  7960. end
  7961. end
  7962. end
  7963. FIELD.Size = FIELD.Size + VT(3,3,3)
  7964. FIELD.Transparency = FIELD.Transparency + 0.8/75
  7965. end
  7966. for i = 1, 500 do
  7967. Swait()
  7968. LOOP.Parent = FIELD
  7969. local CHILDREN = workspace:GetDescendants()
  7970. for index, CHILD in pairs(CHILDREN) do
  7971. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7972. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7973. if HUM then
  7974. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7975. if TORSO then
  7976. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7977. TORSO.Velocity = VT(0,5,0)
  7978. HUM.Health = HUM.Health - 0.1
  7979. HUM.PlatformStand = true
  7980. if TORSO.RotVelocity.Magnitude < 15 then
  7981. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7982. end
  7983. end
  7984. end
  7985. end
  7986. end
  7987. end
  7988. end
  7989. for i = 1, 25 do
  7990. Swait()
  7991. LOOP.Volume = LOOP.Volume + 10/25
  7992. LOOP.Parent = FIELD
  7993. local CHILDREN = workspace:GetDescendants()
  7994. for index, CHILD in pairs(CHILDREN) do
  7995. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7996. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7997. if HUM then
  7998. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7999. if TORSO then
  8000. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  8001. TORSO.Velocity = VT(0,5,0)
  8002. HUM.Health = HUM.Health - 0.1
  8003. HUM.PlatformStand = false
  8004. if TORSO.RotVelocity.Magnitude < 15 then
  8005. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  8006. end
  8007. end
  8008. end
  8009. end
  8010. end
  8011. end
  8012. FIELD.Size = FIELD.Size - VT(3,3,3)
  8013. FIELD.Transparency = FIELD.Transparency + 0.2/25
  8014. end
  8015. FIELD:remove()
  8016. end))
  8017. elseif RANDOMEFFECT == 3 then
  8018. for i = 1, 10 do
  8019. wait(0.15)
  8020. 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})
  8021. coroutine.resume(coroutine.create(function()
  8022. local MINION = CLONE:Clone()
  8023. MINION.Parent = Effects
  8024. MINION.Name = "Shadow"
  8025. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  8026. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  8027. for _, c in pairs(MINION:GetChildren()) do
  8028. if c.ClassName == "Part" then
  8029. c.Material = "Neon"
  8030. c.Color = C3(0,0,0)
  8031. c.Transparency = 0.25
  8032. if c.Name == "Head" then
  8033. c:ClearAllChildren()
  8034. local MSH = IT("BlockMesh",c)
  8035. MSH.Scale = VT(0.5,1,1)
  8036. end
  8037. end
  8038. end
  8039. local TORSO = MINION.Torso
  8040. local HUMAN = MINION.Humanoid
  8041. HUMAN.WalkSpeed = 20
  8042. HUMAN.MaxHealth = math.huge
  8043. HUMAN.Health = math.huge
  8044. HUMAN.DisplayDistanceType = "None"
  8045. HUMAN.Died:connect(function()
  8046. MINION:remove()
  8047. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  8048. end)
  8049. wait(1)
  8050. local findNearestTorso = function(POS)
  8051. local list = game.Workspace:GetDescendants()
  8052. local torso = nil
  8053. local dist = 500
  8054. local temp = nil
  8055. local human = nil
  8056. local temp2 = nil
  8057. for x = 1, #list do
  8058. temp2 = list[x]
  8059. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  8060. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  8061. human = temp2:findFirstChildOfClass("Humanoid")
  8062. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  8063. if (temp.Position - POS).magnitude < dist then
  8064. torso = temp
  8065. dist = (temp.Position - POS).magnitude
  8066. end
  8067. end
  8068. end
  8069. end
  8070. return torso, dist
  8071. end
  8072. for i = 1, 40 do
  8073. if HUMAN.Health == 0 then
  8074. break
  8075. end
  8076. wait(0.3)
  8077. local target,dist= findNearestTorso(TORSO.Position)
  8078. if target then
  8079. HUMAN:MoveTo(target.Position)
  8080. if dist < 25 then
  8081. CreateSound(348663022, TORSO, 10, 1, true)
  8082. wait(2)
  8083. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  8084. --ANIM:Play()
  8085. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  8086. ApplyAoE(TORSO.Position,10,0,0,85,true)
  8087. 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})
  8088. for i = 1, 5 do
  8089. 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})
  8090. end
  8091. break
  8092. end
  8093. end
  8094. end
  8095. MINION:remove()
  8096. end))
  8097. end
  8098. elseif RANDOMEFFECT == 4 then
  8099. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  8100. FIELD.Color = C3(0,0,0)
  8101. FIELD.CFrame = BASE.CFrame
  8102. MakeForm(FIELD,"Ball")
  8103. FIELD.CanCollide = true
  8104. for i = 1, 50 do
  8105. Swait()
  8106. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  8107. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  8108. end
  8109. wait(0.2)
  8110. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  8111. coroutine.resume(coroutine.create(function()
  8112. local E = 0
  8113. for i = 1, 75 do
  8114. E = E + 1
  8115. Swait()
  8116. if E >= 35 then
  8117. E = 0
  8118. 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})
  8119. end
  8120. LOOP.Volume = LOOP.Volume + 10/75
  8121. LOOP.Parent = FIELD
  8122. local CHILDREN = workspace:GetDescendants()
  8123. for index, CHILD in pairs(CHILDREN) do
  8124. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8125. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8126. if HUM then
  8127. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8128. if TORSO then
  8129. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8130. for _, c in pairs(CHILD:GetChildren()) do
  8131. if c:IsA("BasePart") then
  8132. local bv = Instance.new("BodyVelocity")
  8133. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8134. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8135. bv.Parent = c
  8136. Debris:AddItem(bv,0.05)
  8137. end
  8138. end
  8139. HUM.Health = HUM.Health - 0.3
  8140. end
  8141. end
  8142. end
  8143. end
  8144. end
  8145. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  8146. end
  8147. for i = 1, 180 do
  8148. E = E + 1
  8149. Swait()
  8150. if E >= 35 then
  8151. E = 0
  8152. 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})
  8153. end
  8154. LOOP.Parent = FIELD
  8155. local CHILDREN = workspace:GetDescendants()
  8156. for index, CHILD in pairs(CHILDREN) do
  8157. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8158. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8159. if HUM then
  8160. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8161. if TORSO then
  8162. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8163. for _, c in pairs(CHILD:GetChildren()) do
  8164. if c:IsA("BasePart") then
  8165. local bv = Instance.new("BodyVelocity")
  8166. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8167. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8168. bv.Parent = c
  8169. Debris:AddItem(bv,0.05)
  8170. end
  8171. end
  8172. HUM.Health = HUM.Health - 0.3
  8173. end
  8174. end
  8175. end
  8176. end
  8177. end
  8178. end
  8179. ApplyAoE(FIELD.Position,40,15,20,375,false)
  8180. 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})
  8181. for i = 1, 5 do
  8182. 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})
  8183. end
  8184. FIELD:remove()
  8185. end))
  8186. elseif RANDOMEFFECT == 5 then
  8187. end
  8188. wait(0.5)
  8189. for i = 1, 25 do
  8190. Swait()
  8191. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  8192. end
  8193. PANDORASBOX:remove()
  8194. RINGSPIN = false
  8195. end))
  8196. ATTACK = false
  8197. Rooted = false
  8198. end
  8199. end
  8200.  
  8201. function Taunt()
  8202. ATTACK = true
  8203. local LAUGH = nil
  8204. coroutine.resume(coroutine.create(function()
  8205. repeat
  8206. Swait()
  8207. 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)
  8208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8209. 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)
  8210. 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)
  8211. 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)
  8212. 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)
  8213. until LAUGH ~= nil
  8214. repeat
  8215. Swait()
  8216. LAUGH.Parent = Head
  8217. 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)
  8218. 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)
  8219. 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)
  8220. 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)
  8221. 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)
  8222. 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)
  8223. until LAUGH.Playing == false
  8224. ATTACK = false
  8225. end))
  8226. wait(0.1)
  8227. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  8228. end
  8229. function SpawnTrail(FROM,TO,BIG)
  8230. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  8231. MakeForm(TRAIL,"Cyl")
  8232. local DIST = (FROM - TO).Magnitude
  8233. if BIG == true then
  8234. TRAIL.Size = VT(0.5,DIST,0.5)
  8235. else
  8236. TRAIL.Size = VT(0.25,DIST,0.25)
  8237. end
  8238. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  8239. coroutine.resume(coroutine.create(function()
  8240. for i = 1, 5 do
  8241. Swait()
  8242. TRAIL.Transparency = TRAIL.Transparency + 0.1
  8243. end
  8244. TRAIL:remove()
  8245. end))
  8246. end
  8247. local A = IT("Attachment",RightBarrel)
  8248. A.Position = VT(0,-2.5,0)
  8249. local B = IT("Attachment",RightBarrel)
  8250. B.Position = VT(0,2.5,0)
  8251. local Trail = IT("Trail",RightBarrel)
  8252. Trail.Attachment0 = A
  8253. Trail.Attachment1 = B
  8254. Trail.Lifetime = 0.2
  8255. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  8256. Trail.Transparency = NumberSequence.new(0, 1)
  8257. Trail.Enabled = false
  8258. function Execute()
  8259. ATTACK = true
  8260. Rooted = false
  8261. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  8262. Part.Color = C3(0,0,0)
  8263. MakeForm(Part,"Wedge")
  8264. Part.CanCollide = true
  8265. 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))
  8266. for i=0, 0.1, 0.1 / Animation_Speed do
  8267. Swait()
  8268. 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)
  8269. 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)
  8270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8272. 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)
  8273. 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)
  8274. end
  8275. Trail.Enabled = true
  8276. CreateSound(541909867, Barrel, 7, 1, false)
  8277. local TOCH = Part.Touched:Connect(function(hit)
  8278. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  8279. Kill(hit.Parent)
  8280. end
  8281. end)
  8282. for i=0, 0.35, 0.1 / Animation_Speed do
  8283. Swait()
  8284. 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)
  8285. 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)
  8286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8288. 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)
  8289. 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)
  8290. end
  8291. TOCH:disconnect()
  8292. Trail.Enabled = false
  8293. for i=0, 0.35, 0.1 / Animation_Speed do
  8294. Swait()
  8295. 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)
  8296. 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)
  8297. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8298. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8299. 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)
  8300. 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)
  8301. end
  8302. Part:remove()
  8303. ATTACK = false
  8304. Rooted = false
  8305. end
  8306.  
  8307. function Final_Limit()
  8308. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8309. if HITFLOOR ~= nil then
  8310. do
  8311. local HITBODIES = {}
  8312. ATTACK = true
  8313. Rooted = true
  8314. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  8315. ABSOLUTE.Color = C3(0, 0, 0)
  8316. MakeForm(ABSOLUTE, "Ball")
  8317. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  8318. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  8319. for i = 0, 4, 0.1 / Animation_Speed do
  8320. Swait()
  8321. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  8322. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  8323. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  8324. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  8325. MakeForm(CHARGE, "Ball")
  8326. CHARGE.Color = C3(0, 0, 0)
  8327. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  8328. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  8329. 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)
  8330. 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)
  8331. 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)
  8332. 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)
  8333. 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)
  8334. 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)
  8335. end
  8336. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, "Really black", "BatWings", VT(2, 2, 2))
  8337. WING.Color = C3(0, 0, 0)
  8338. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8339. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  8340. for i = 1, 15 do
  8341. Swait()
  8342. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8343. WING.Transparency = WING.Transparency - 0.06666666666666667
  8344. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  8345. 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)
  8346. 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)
  8347. 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)
  8348. 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)
  8349. 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)
  8350. 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)
  8351. end
  8352. for i = 1, 15 do
  8353. Swait()
  8354. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8355. WING.Transparency = WING.Transparency - 0.06666666666666667
  8356. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  8357. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  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. coroutine.resume(coroutine.create(function()
  8366. local LOOP = 0
  8367. local ech = 0
  8368. for i = 1, 250 do
  8369. LOOP = LOOP + 1
  8370. Swait()
  8371. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  8372. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8373. 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)
  8374. if LOOP == 25 then
  8375. LOOP = 0
  8376. ech = ech + 1
  8377. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  8378. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  8379. for i = 1, 5 do
  8380. 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))
  8381. 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))
  8382. end
  8383. end
  8384. end
  8385. for i = 1, 10 do
  8386. Swait()
  8387. WING.Transparency = WING.Transparency + 0.1
  8388. end
  8389. WING:remove()
  8390. for i = 1, 10 do
  8391. Swait()
  8392. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  8393. end
  8394. ABSOLUTE:remove()
  8395. end))
  8396. ATTACK = false
  8397. Rooted = false
  8398. end
  8399. end
  8400. end
  8401.  
  8402. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  8403. local CHILDREN = workspace:GetDescendants()
  8404. for index, CHILD in pairs(CHILDREN) do
  8405. if CHILD.ClassName == "Model" and CHILD ~= Character then
  8406. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8407. if HUM then
  8408. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8409. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  8410. if EBANISH == true then
  8411. Banish(CHILD)
  8412. else
  8413. local DMG = MRANDOM(MINDMG, MAXDMG)
  8414. ApplyDamage(HUM, DMG, TORSO)
  8415. end
  8416. if FLING > 0 then
  8417. for _, c in pairs(CHILD:GetChildren()) do
  8418. if c:IsA("BasePart") then
  8419. local bv = Instance.new("BodyVelocity")
  8420. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8421. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  8422. bv.Parent = c
  8423. Debris:AddItem(bv, 0.05)
  8424. end
  8425. end
  8426. end
  8427. end
  8428. end
  8429. end
  8430. end
  8431. end
  8432.  
  8433. function Eon_Fire()
  8434. ATTACK = true
  8435. Rooted = true
  8436. local GYRO = IT("BodyGyro", RootPart)
  8437. GYRO.D = 15
  8438. GYRO.P = 2000
  8439. GYRO.MaxTorque = VT(0, 4000000, 0)
  8440. CreateSound("341301115", Head, 5, 1.1)
  8441. CreateSound("93724183", Head, 6, 1)
  8442. for i = 1, 200 do
  8443. Swait()
  8444. WACKYEFFECT({
  8445. Time = MRANDOM(5, 15),
  8446. EffectType = "Round Slash",
  8447. Size = VT(0, 0, 0),
  8448. Size2 = VT(0.12, 0, 0.12),
  8449. Transparency = 0.5,
  8450. Transparency2 = 1,
  8451. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8452. MoveToPos = nil,
  8453. RotationX = MRANDOM(-50, 50) / 50,
  8454. RotationY = MRANDOM(-50, 50) / 10,
  8455. RotationZ = MRANDOM(-50, 50) / 50,
  8456. Material = "Neon",
  8457. Color = color,
  8458. SoundID = nil,
  8459. SoundPitch = nil,
  8460. SoundVolume = nil
  8461. })
  8462. WACKYEFFECT({
  8463. Time = MRANDOM(5, 15),
  8464. EffectType = "Round Slash",
  8465. Size = VT(0, 0, 0),
  8466. Size2 = VT(0.1, 0, 0.1),
  8467. Transparency = 0.5,
  8468. Transparency2 = 1,
  8469. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8470. MoveToPos = nil,
  8471. RotationX = MRANDOM(-50, 50) / 50,
  8472. RotationY = MRANDOM(-50, 50) / 10,
  8473. RotationZ = MRANDOM(-50, 50) / 50,
  8474. Material = "Neon",
  8475. Color = color,
  8476. SoundID = nil,
  8477. SoundPitch = nil,
  8478. SoundVolume = nil
  8479. })
  8480. WACKYEFFECT({
  8481. Time = MRANDOM(5, 15),
  8482. EffectType = "Round Slash",
  8483. Size = VT(0, 0, 0),
  8484. Size2 = VT(0.16, 0, 0.16),
  8485. Transparency = 0.5,
  8486. Transparency2 = 1,
  8487. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8488. MoveToPos = nil,
  8489. RotationX = MRANDOM(-50, 50) / 50,
  8490. RotationY = MRANDOM(-50, 50) / 10,
  8491. RotationZ = MRANDOM(-50, 50) / 50,
  8492. Material = "Neon",
  8493. Color = color,
  8494. SoundID = nil,
  8495. SoundPitch = nil,
  8496. SoundVolume = nil
  8497. })
  8498. WACKYEFFECT({
  8499. Time = 5,
  8500. EffectType = "Sphere",
  8501. Size = VT(i, i, i) / 150,
  8502. Size2 = VT(0, 0, 0),
  8503. Transparency = 0.5,
  8504. Transparency2 = 1,
  8505. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8506. MoveToPos = nil,
  8507. RotationX = 0,
  8508. RotationY = 0,
  8509. RotationZ = 0,
  8510. Material = "Neon",
  8511. Color = color,
  8512. SoundID = nil,
  8513. SoundPitch = nil,
  8514. SoundVolume = nil
  8515. })
  8516. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8517. 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)
  8518. 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)
  8519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8521. 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)
  8522. 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)
  8523. end
  8524. GYRO:remove()
  8525. for i = 0, 0.3, 0.1 / Animation_Speed do
  8526. Swait()
  8527. WACKYEFFECT({
  8528. Time = 25,
  8529. EffectType = "Sphere",
  8530. Size = VT(200, 200, 200) / 150,
  8531. Size2 = VT(0, 0, 0),
  8532. Transparency = 0.5,
  8533. Transparency2 = 1,
  8534. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8535. MoveToPos = nil,
  8536. RotationX = 0,
  8537. RotationY = 0,
  8538. RotationZ = 0,
  8539. Material = "Neon",
  8540. Color = color,
  8541. SoundID = nil,
  8542. SoundPitch = nil,
  8543. SoundVolume = nil
  8544. })
  8545. 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)
  8546. 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)
  8547. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8548. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8549. 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)
  8550. 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)
  8551. end
  8552. coroutine.resume(coroutine.create(function()
  8553. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  8554. MakeForm(FIREBALL, "Ball")
  8555. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8556. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8557. for i = 1, 500 do
  8558. Swait()
  8559. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8560. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8561. if HITFLOOR ~= nil then
  8562. break
  8563. end
  8564. end
  8565. CreateSound(325132788, Effects, 8, 1, false)
  8566. for i = 1, 120 do
  8567. Swait()
  8568. WACKYEFFECT({
  8569. Time = 85,
  8570. EffectType = "Sphere",
  8571. Size = FIREBALL.Size,
  8572. Size2 = VT(0, 1000, 0),
  8573. Transparency = 0.5,
  8574. Transparency2 = 1,
  8575. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8576. MoveToPos = nil,
  8577. RotationX = MRANDOM(-50, 50) / 10,
  8578. RotationY = MRANDOM(-50, 50) / 10,
  8579. RotationZ = MRANDOM(-50, 50) / 10,
  8580. Material = "Neon",
  8581. Color = color,
  8582. SoundID = nil,
  8583. SoundPitch = nil,
  8584. SoundVolume = nil
  8585. })
  8586. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  8587. end
  8588. Swait(5)
  8589. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  8590. for i = 1, 10 do
  8591. WACKYEFFECT({
  8592. Time = 85 + 5 * i,
  8593. EffectType = "Slash",
  8594. Size = VT(3, 0, 3),
  8595. Size2 = VT(12, 0, 12),
  8596. Transparency = 0.5,
  8597. Transparency2 = 1,
  8598. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8599. MoveToPos = nil,
  8600. RotationX = MRANDOM(-50, 50) / 50,
  8601. RotationY = MRANDOM(-50, 50) / 10,
  8602. RotationZ = MRANDOM(-50, 50) / 50,
  8603. Material = "Neon",
  8604. Color = C3(1, 1, 1),
  8605. SoundID = nil,
  8606. SoundPitch = nil,
  8607. SoundVolume = nil
  8608. })
  8609. WACKYEFFECT({
  8610. Time = 185 + 5 * i,
  8611. EffectType = "Swirl",
  8612. Size = VT(15, 15, 15),
  8613. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  8614. Transparency = 0.5,
  8615. Transparency2 = 1,
  8616. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8617. MoveToPos = nil,
  8618. RotationX = MRANDOM(-50, 50) / 50,
  8619. RotationY = MRANDOM(-50, 50) / 10,
  8620. RotationZ = MRANDOM(-50, 50) / 50,
  8621. Material = "Neon",
  8622. Color = C3(1, 0.5, 0.5),
  8623. SoundID = nil,
  8624. SoundPitch = nil,
  8625. SoundVolume = nil
  8626. })
  8627. WACKYEFFECT({
  8628. Time = 285 + 5 * i,
  8629. EffectType = "Round Slash",
  8630. Size = VT(3, 0, 3),
  8631. Size2 = VT(12, 0, 12),
  8632. Transparency = 0.5,
  8633. Transparency2 = 1,
  8634. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8635. MoveToPos = nil,
  8636. RotationX = MRANDOM(-50, 50) / 50,
  8637. RotationY = MRANDOM(-50, 50) / 10,
  8638. RotationZ = MRANDOM(-50, 50) / 50,
  8639. Material = "Neon",
  8640. Color = color,
  8641. SoundID = nil,
  8642. SoundPitch = nil,
  8643. SoundVolume = nil
  8644. })
  8645. WACKYEFFECT({
  8646. Time = 285 + 5 * i,
  8647. EffectType = "Sphere",
  8648. Size = VT(650, 650, 650),
  8649. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  8650. Transparency = 0.5,
  8651. Transparency2 = 1,
  8652. CFrame = FIREBALL.CFrame,
  8653. MoveToPos = nil,
  8654. RotationX = 0,
  8655. RotationY = 0,
  8656. RotationZ = 0,
  8657. Material = "Neon",
  8658. Color = color,
  8659. SoundID = nil,
  8660. SoundPitch = 0,
  8661. SoundVolume = 0
  8662. })
  8663. end
  8664. wait(1)
  8665. WACKYEFFECT({
  8666. Time = 75,
  8667. EffectType = "Sphere",
  8668. Size = VT(350, 350, 350),
  8669. Size2 = VT(4500, 4500, 4500),
  8670. Transparency = 0.8,
  8671. Transparency2 = 1,
  8672. CFrame = FIREBALL.CFrame,
  8673. MoveToPos = nil,
  8674. RotationX = 0,
  8675. RotationY = 0,
  8676. RotationZ = 0,
  8677. Material = "Neon",
  8678. Color = C3(1, 1, 1),
  8679. SoundID = nil,
  8680. SoundPitch = 0,
  8681. SoundVolume = 0
  8682. })
  8683. for i = 1, 15 do
  8684. Swait()
  8685. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  8686. WACKYEFFECT({
  8687. Time = 85,
  8688. EffectType = "Sphere",
  8689. Size = VT(75, 75, 75),
  8690. Size2 = VT(0, 2500, 0),
  8691. Transparency = 0.5,
  8692. Transparency2 = 1,
  8693. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8694. MoveToPos = nil,
  8695. RotationX = MRANDOM(-50, 50) / 10,
  8696. RotationY = MRANDOM(-50, 50) / 10,
  8697. RotationZ = MRANDOM(-50, 50) / 10,
  8698. Material = "Neon",
  8699. Color = color,
  8700. SoundID = nil,
  8701. SoundPitch = nil,
  8702. SoundVolume = nil
  8703. })
  8704. end
  8705. FIREBALL:remove()
  8706. end))
  8707. WACKYEFFECT({
  8708. Time = 25,
  8709. EffectType = "Ring",
  8710. Size = VT(0, 0, 0),
  8711. Size2 = VT(3.75, 3.75, 0),
  8712. Transparency = 0.7,
  8713. Transparency2 = 1,
  8714. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8715. MoveToPos = nil,
  8716. RotationX = 0,
  8717. RotationY = 0,
  8718. RotationZ = 0,
  8719. Material = "Neon",
  8720. Color = color,
  8721. SoundID = nil,
  8722. SoundPitch = nil,
  8723. SoundVolume = nil
  8724. })
  8725. WACKYEFFECT({
  8726. Time = 50,
  8727. EffectType = "Ring",
  8728. Size = VT(0, 0, 0),
  8729. Size2 = VT(15, 15, 0),
  8730. Transparency = 0.7,
  8731. Transparency2 = 1,
  8732. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8733. MoveToPos = nil,
  8734. RotationX = 0,
  8735. RotationY = 0,
  8736. RotationZ = 0,
  8737. Material = "Neon",
  8738. Color = color,
  8739. SoundID = nil,
  8740. SoundPitch = nil,
  8741. SoundVolume = nil
  8742. })
  8743. for i = 0, 0.3, 0.1 / Animation_Speed do
  8744. Swait()
  8745. 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)
  8746. 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)
  8747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8749. 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)
  8750. 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)
  8751. end
  8752. ATTACK = false
  8753. Rooted = false
  8754. end
  8755.  
  8756. function UEon_Fire()
  8757. ATTACK = true
  8758. Rooted = true
  8759. local GYRO = IT("BodyGyro", RootPart)
  8760. GYRO.D = 15
  8761. GYRO.P = 2000
  8762. GYRO.MaxTorque = VT(0, 4000000, 0)
  8763. CreateSound("341301115", Head, 5, 1.1)
  8764. CreateSound("93724183", Head, 6, 1)
  8765. for i = 1, 200 do
  8766. Swait()
  8767. WACKYEFFECT({
  8768. Time = MRANDOM(5, 15),
  8769. EffectType = "Round Slash",
  8770. Size = VT(0, 0, 0),
  8771. Size2 = VT(80.12, 0, 80.12),
  8772. Transparency = 0.5,
  8773. Transparency2 = 0,
  8774. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8775. MoveToPos = nil,
  8776. RotationX = MRANDOM(-50, 50) / 50,
  8777. RotationY = MRANDOM(-50, 50) / 10,
  8778. RotationZ = MRANDOM(-50, 50) / 50,
  8779. Material = "Neon",
  8780. Color = color,
  8781. SoundID = nil,
  8782. SoundPitch = nil,
  8783. SoundVolume = nil
  8784. })
  8785. WACKYEFFECT({
  8786. Time = MRANDOM(5, 15),
  8787. EffectType = "Round Slash",
  8788. Size = VT(0, 0, 0),
  8789. Size2 = VT(80.1, 0, 80.1),
  8790. Transparency = 0.5,
  8791. Transparency2 = 1,
  8792. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8793. MoveToPos = nil,
  8794. RotationX = MRANDOM(-150, 150) / 150,
  8795. RotationY = MRANDOM(-150, 150) / 110,
  8796. RotationZ = MRANDOM(-150, 150) / 150,
  8797. Material = "Neon",
  8798. Color = color,
  8799. SoundID = nil,
  8800. SoundPitch = nil,
  8801. SoundVolume = nil
  8802. })
  8803. WACKYEFFECT({
  8804. Time = MRANDOM(5, 15),
  8805. EffectType = "Round Slash",
  8806. Size = VT(0, 0, 0),
  8807. Size2 = VT(80.16, 0, 80.16),
  8808. Transparency = 0.5,
  8809. Transparency2 = 1,
  8810. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8811. MoveToPos = nil,
  8812. RotationX = MRANDOM(-150, 150) / 150,
  8813. RotationY = MRANDOM(-150, 150) / 110,
  8814. RotationZ = MRANDOM(-150, 150) / 150,
  8815. Material = "Neon",
  8816. Color = color,
  8817. SoundID = nil,
  8818. SoundPitch = nil,
  8819. SoundVolume = nil
  8820. })
  8821. WACKYEFFECT({
  8822. Time = 5,
  8823. EffectType = "Sphere",
  8824. Size = VT(i, i, i) / 150,
  8825. Size2 = VT(0, 0, 0),
  8826. Transparency = 0.5,
  8827. Transparency2 = 0,
  8828. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8829. MoveToPos = nil,
  8830. RotationX = 0,
  8831. RotationY = 0,
  8832. RotationZ = 0,
  8833. Material = "Neon",
  8834. Color = color,
  8835. SoundID = nil,
  8836. SoundPitch = nil,
  8837. SoundVolume = nil
  8838. })
  8839. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8840. 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)
  8841. 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)
  8842. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8843. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8844. 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)
  8845. 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)
  8846. end
  8847. GYRO:remove()
  8848. for i = 0, 0.3, 0.1 / Animation_Speed do
  8849. Swait()
  8850. WACKYEFFECT({
  8851. Time = 25,
  8852. EffectType = "Sphere",
  8853. Size = VT(111200, 111200, 111200) / 11150,
  8854. Size2 = VT(0, 0, 0),
  8855. Transparency = 0.5,
  8856. Transparency2 = 1,
  8857. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8858. MoveToPos = nil,
  8859. RotationX = 0,
  8860. RotationY = 0,
  8861. RotationZ = 0,
  8862. Material = "Neon",
  8863. Color = color,
  8864. SoundID = nil,
  8865. SoundPitch = nil,
  8866. SoundVolume = nil
  8867. })
  8868. 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)
  8869. 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)
  8870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8872. 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)
  8873. 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)
  8874. end
  8875. coroutine.resume(coroutine.create(function()
  8876. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(10, 10, 10))
  8877. MakeForm(FIREBALL, "Ball")
  8878. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8879. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8880. for i = 1, 500 do
  8881. Swait()
  8882. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8883. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8884. if HITFLOOR ~= nil then
  8885. break
  8886. end
  8887. end
  8888. CreateSound(325132788, Effects, 8, 1, false)
  8889. for i = 1, 120 do
  8890. Swait()
  8891. WACKYEFFECT({
  8892. Time = 85,
  8893. EffectType = "Sphere",
  8894. Size = FIREBALL.Size,
  8895. Size2 = VT(0, 1000000, 0),
  8896. Transparency = 0.5,
  8897. Transparency2 = 0,
  8898. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8899. MoveToPos = nil,
  8900. RotationX = MRANDOM(-150, 150) / 110,
  8901. RotationY = MRANDOM(-150, 150) / 110,
  8902. RotationZ = MRANDOM(-150, 150) / 110,
  8903. Material = "Neon",
  8904. Color = color,
  8905. SoundID = nil,
  8906. SoundPitch = nil,
  8907. SoundVolume = nil
  8908. })
  8909. FIREBALL.Size = FIREBALL.Size - VT(100000, 100000, 100000) / 12000000
  8910. end
  8911. Swait(5)
  8912. ApplyAoE5(FIREBALL.Position, 43500000, 6500000, 6500000, 60000000, true)
  8913. for i = 1, 10 do
  8914. WACKYEFFECT({
  8915. Time = 85 + 5 * i,
  8916. EffectType = "Slash",
  8917. Size = VT(113, 0, 113),
  8918. Size2 = VT(1200000, 0, 1200000),
  8919. Transparency = 0.5,
  8920. Transparency2 = 0,
  8921. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8922. MoveToPos = nil,
  8923. RotationX = MRANDOM(-150, 150) / 150,
  8924. RotationY = MRANDOM(-150, 150) / 110,
  8925. RotationZ = MRANDOM(-150, 150) / 150,
  8926. Material = "Neon",
  8927. Color = C3(1, 1, 1),
  8928. SoundID = nil,
  8929. SoundPitch = nil,
  8930. SoundVolume = nil
  8931. })
  8932. WACKYEFFECT({
  8933. Time = 185 + 5 * i,
  8934. EffectType = "Swirl",
  8935. Size = VT(1000005, 1500000, 1500000),
  8936. Size2 = VT(70000000, 70000000, 70000000) + VT(1500000, 1500000, 1500000) * i,
  8937. Transparency = 0.5,
  8938. Transparency2 = 1,
  8939. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8940. MoveToPos = nil,
  8941. RotationX = MRANDOM(-50, 50) / 50,
  8942. RotationY = MRANDOM(-50, 50) / 10,
  8943. RotationZ = MRANDOM(-50, 50) / 50,
  8944. Material = "Neon",
  8945. Color = C3(1, 0.5, 0.5),
  8946. SoundID = nil,
  8947. SoundPitch = nil,
  8948. SoundVolume = nil
  8949. })
  8950. WACKYEFFECT({
  8951. Time = 285 + 5 * i,
  8952. EffectType = "Round Slash",
  8953. Size = VT(300000, 0, 300000),
  8954. Size2 = VT(1200000, 0, 1200000),
  8955. Transparency = 0.5,
  8956. Transparency2 = 1,
  8957. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8958. MoveToPos = nil,
  8959. RotationX = MRANDOM(-50, 50) / 50,
  8960. RotationY = MRANDOM(-50, 50) / 10,
  8961. RotationZ = MRANDOM(-50, 50) / 50,
  8962. Material = "Neon",
  8963. Color = color,
  8964. SoundID = nil,
  8965. SoundPitch = nil,
  8966. SoundVolume = nil
  8967. })
  8968. WACKYEFFECT({
  8969. Time = 285 + 5 * i,
  8970. EffectType = "Sphere",
  8971. Size = VT(6500000, 6500000, 6500000),
  8972. Size2 = VT(7500000, 7500000, 7500000) + VT(1500000, 1500000, 1500000) * i,
  8973. Transparency = 0.5,
  8974. Transparency2 = 1,
  8975. CFrame = FIREBALL.CFrame,
  8976. MoveToPos = nil,
  8977. RotationX = 0,
  8978. RotationY = 0,
  8979. RotationZ = 0,
  8980. Material = "Neon",
  8981. Color = color,
  8982. SoundID = nil,
  8983. SoundPitch = 0,
  8984. SoundVolume = 0
  8985. })
  8986. end
  8987. wait(1)
  8988. WACKYEFFECT({
  8989. Time = 75,
  8990. EffectType = "Sphere",
  8991. Size = VT(35000000, 35000000, 35000000),
  8992. Size2 = VT(450000000, 450000000, 450000000),
  8993. Transparency = 0.8,
  8994. Transparency2 = 1,
  8995. CFrame = FIREBALL.CFrame,
  8996. MoveToPos = nil,
  8997. RotationX = 0,
  8998. RotationY = 0,
  8999. RotationZ = 0,
  9000. Material = "Neon",
  9001. Color = C3(1, 1, 1),
  9002. SoundID = nil,
  9003. SoundPitch = 0,
  9004. SoundVolume = 0
  9005. })
  9006. for i = 1, 15 do
  9007. Swait()
  9008. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  9009. WACKYEFFECT({
  9010. Time = 85,
  9011. EffectType = "Sphere",
  9012. Size = VT(7500000, 7500000, 7500000),
  9013. Size2 = VT(0, 250000000, 0),
  9014. Transparency = 0.5,
  9015. Transparency2 = 1,
  9016. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  9017. MoveToPos = nil,
  9018. RotationX = MRANDOM(-50, 50) / 10,
  9019. RotationY = MRANDOM(-50, 50) / 10,
  9020. RotationZ = MRANDOM(-50, 50) / 10,
  9021. Material = "Neon",
  9022. Color = color,
  9023. SoundID = nil,
  9024. SoundPitch = nil,
  9025. SoundVolume = nil
  9026. })
  9027. end
  9028. FIREBALL:remove()
  9029. end))
  9030. WACKYEFFECT({
  9031. Time = 25,
  9032. EffectType = "Ring",
  9033. Size = VT(0, 0, 0),
  9034. Size2 = VT(3.7555, 3.7555, 0),
  9035. Transparency = 0.7,
  9036. Transparency2 = 1,
  9037. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9038. MoveToPos = nil,
  9039. RotationX = 0,
  9040. RotationY = 0,
  9041. RotationZ = 0,
  9042. Material = "Neon",
  9043. Color = color,
  9044. SoundID = nil,
  9045. SoundPitch = nil,
  9046. SoundVolume = nil
  9047. })
  9048. WACKYEFFECT({
  9049. Time = 50,
  9050. EffectType = "Ring",
  9051. Size = VT(0, 0, 0),
  9052. Size2 = VT(1500000, 1500000, 0),
  9053. Transparency = 0.7,
  9054. Transparency2 = 1,
  9055. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9056. MoveToPos = nil,
  9057. RotationX = 0,
  9058. RotationY = 0,
  9059. RotationZ = 0,
  9060. Material = "Neon",
  9061. Color = color,
  9062. SoundID = nil,
  9063. SoundPitch = nil,
  9064. SoundVolume = nil
  9065. })
  9066. for i = 0, 0.3, 0.1 / Animation_Speed do
  9067. Swait()
  9068. 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)
  9069. 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)
  9070. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9071. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9072. 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)
  9073. 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)
  9074. end
  9075. ATTACK = false
  9076. Rooted = false
  9077. end
  9078. 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))
  9079. MakeForm(Eye,"Ball")
  9080.  
  9081. function AttackTemplate()
  9082. ATTACK = true
  9083. Rooted = false
  9084. for i=0, 1, 0.1 / Animation_Speed do
  9085. Swait()
  9086. 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)
  9087. 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)
  9088. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9091. 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)
  9092. 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)
  9093. end
  9094. ATTACK = false
  9095. Rooted = false
  9096. end
  9097.  
  9098. function VoidWarp()
  9099. ATTACK = true
  9100. Rooted = false
  9101. for i=0, 0.2, 0.1 / Animation_Speed do
  9102. Swait()
  9103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9104. 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)
  9105. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9108. 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)
  9109. 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)
  9110. end
  9111. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  9112. CreateSound("1208650519", Torso, 10, 2.5)
  9113. local GUI,GUI2 = CreateGUICircle(Torso)
  9114. for i = 1, 50 do
  9115. Swait()
  9116. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9117. GUI2.Rotation = GUI2.Rotation + i/10
  9118. end
  9119. CastWarpOutlines(Character)
  9120. local POS = Torso.Position
  9121. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  9122. Swait()
  9123. CreateSound("1177785010", Torso, 10, 1)
  9124. coroutine.resume(coroutine.create(function()
  9125. for i = 1, 50 do
  9126. Swait()
  9127. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  9128. GUI2.Rotation = GUI2.Rotation - i/10
  9129. end
  9130. end))
  9131. ATTACK = false
  9132. Rooted = false
  9133. end
  9134.  
  9135. local asd = Instance.new("ParticleEmitter")
  9136. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  9137. asd.LightEmission = .1
  9138. asd.Size = NumberSequence.new(0.2)
  9139. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  9140. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  9141. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  9142. asd.Transparency = bbb
  9143. asd.Size = aaa
  9144. asd.ZOffset = .9
  9145. asd.Acceleration = Vector3.new(0, -15, 0)
  9146. asd.LockedToPart = false
  9147. asd.EmissionDirection = "Back"
  9148. asd.Lifetime = NumberRange.new(1, 2)
  9149. asd.Rotation = NumberRange.new(-100, 100)
  9150. asd.RotSpeed = NumberRange.new(-100, 100)
  9151. asd.Speed = NumberRange.new(25,35)
  9152. asd.Enabled = false
  9153. asd.VelocitySpread = 5
  9154.  
  9155. function getbloody(victim,amount)
  9156. local PART = IT("Part",Effects)
  9157. PART.Transparency = 1
  9158. PART.Size = victim.Size
  9159. PART.Anchored = true
  9160. PART.CanCollide = false
  9161. PART.CFrame = CF(victim.Position,Torso.Position)
  9162. local HITPLAYERSOUNDS = {"356551938","264486467"}
  9163. Debris:AddItem(PART,5)
  9164. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  9165. local prtcl = asd:Clone()
  9166. prtcl.Parent = PART
  9167. prtcl:Emit(amount*10)
  9168. end
  9169.  
  9170. function impale(chain,hit)
  9171. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  9172. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  9173. if humanoid.Health ~= 0 then
  9174. hit.Parent:BreakJoints()
  9175. getbloody(hit,0)
  9176. local prtcl = asd:Clone()
  9177. prtcl.Parent = chain
  9178. prtcl.Enabled = true
  9179. prtcl.Speed = NumberRange.new(0)
  9180. prtcl.Size = NumberSequence.new(0.2)
  9181. end
  9182. end
  9183. end
  9184.  
  9185. function clerp(a, b, t)
  9186. return a:lerp(b, t)
  9187. end
  9188.  
  9189. function newBezier(startpos, pos2, pos3, endpos, t)
  9190. local A = clerp(startpos, pos2, t)
  9191. local B = clerp(pos2, pos3, t)
  9192. local C = clerp(pos3, endpos, t)
  9193. local lerp1 = clerp(A, B, t)
  9194. local lerp2 = clerp(B, C, t)
  9195. local cubic = clerp(lerp1, lerp2, t)
  9196. return cubic
  9197. end
  9198.  
  9199. function VoidChain()
  9200. ATTACK = true
  9201. Rooted = false
  9202. for i=0, 2, 0.1 / Animation_Speed do
  9203. turnto(Mouse.Hit.p)
  9204. Swait()
  9205. 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)
  9206. 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)
  9207. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  9209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  9210. 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)
  9211. 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)
  9212. end
  9213. CreateSound("1208650519", RightArm, 10, 2)
  9214. local RING = CreateMagicCircle()
  9215. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  9216. for i = 1, 5 do
  9217. turnto(Mouse.Hit.p)
  9218. Swait()
  9219. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9220. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9221. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9222. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  9223. RING.Size = RING.Size + VT(1,0,1)
  9224. end
  9225. coroutine.resume(coroutine.create(function()
  9226. local POS = Mouse.Hit.p
  9227. local A = IT("Attachment",RING)
  9228. for i = 1, 15 do
  9229. Swait(MRANDOM(0,5))
  9230. coroutine.resume(coroutine.create(function()
  9231. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9232. --print("Chain start")
  9233. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9234. Front.CanCollide = true
  9235. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  9236. local B = IT("Attachment",Front)
  9237. local ChainLink = IT("Beam",RING)
  9238. ChainLink.Texture = "rbxassetid://1262544869"
  9239. ChainLink.TextureSpeed = 0
  9240. ChainLink.FaceCamera = true
  9241. ChainLink.Width0 = 3
  9242. ChainLink.Attachment0 = A
  9243. ChainLink.Attachment1 = B
  9244. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9245. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9246. ChainLink.TextureMode = "Static"
  9247. local bv = Instance.new("BodyVelocity")
  9248. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9249. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9250. bv.Parent = Front
  9251. bv.Name = "MOVE"
  9252. --print("Chain made")
  9253. coroutine.resume(coroutine.create(function()
  9254. Swait(50)
  9255. bv:remove()
  9256. local POS = Front.Position
  9257. Front.CanCollide = false
  9258. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9259. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9260. for i = 0, 1, 0.07 do
  9261. Swait()
  9262. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9263. end
  9264. Front:remove()
  9265. ChainLink:remove()
  9266. end))
  9267. local harm = Front.Touched:Connect(function(hit)
  9268. impale(Front,hit)
  9269. end)
  9270. end))
  9271. end
  9272. Swait(60)
  9273. for i = 1, 5 do
  9274. Swait()
  9275. RING.Size = RING.Size - VT(1,0,1)
  9276. end
  9277. RING:remove()
  9278. end))
  9279. ATTACK = false
  9280. Rooted = false
  9281. end
  9282.  
  9283. function VortexLeash()
  9284. ATTACK = true
  9285. Rooted = true
  9286. for i=0, 1, 0.1 / Animation_Speed do
  9287. Swait()
  9288. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9289. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9290. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9291. 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)
  9292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  9293. 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)
  9294. 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)
  9295. end
  9296. local RING = CreateMagicCircle()
  9297. CreateSound("1208650519", RING, 10, 1.5)
  9298. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  9299. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  9300. for i = 1, 75 do
  9301. Swait()
  9302. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9303. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9304. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9305. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  9306. RING.Size = RING.Size + VT(1,0,1)
  9307. end
  9308. coroutine.resume(coroutine.create(function()
  9309. for i = 1, 450 do
  9310. Swait(2)
  9311. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  9312. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9313. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9314. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  9315. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  9316. local A = IT("Attachment",RING)
  9317. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  9318. coroutine.resume(coroutine.create(function()
  9319. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9320. --print("Chain start")
  9321. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9322. Front.CanCollide = false
  9323. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  9324. local B = IT("Attachment",Front)
  9325. local ChainLink = IT("Beam",RING)
  9326. ChainLink.Texture = "rbxassetid://1262544869"
  9327. ChainLink.TextureSpeed = 0
  9328. ChainLink.FaceCamera = true
  9329. ChainLink.Width0 = 3
  9330. ChainLink.Attachment0 = A
  9331. ChainLink.Attachment1 = B
  9332. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9333. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9334. ChainLink.TextureMode = "Static"
  9335. local bv = Instance.new("BodyVelocity")
  9336. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9337. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9338. bv.Parent = Front
  9339. bv.Name = "MOVE"
  9340. --print("Chain made")
  9341. coroutine.resume(coroutine.create(function()
  9342. Swait(50)
  9343. bv:remove()
  9344. local POS = Front.Position
  9345. Front.CanCollide = false
  9346. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9347. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9348. for i = 0, 1, 0.07 do
  9349. Swait()
  9350. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9351. end
  9352. Front:remove()
  9353. ChainLink:remove()
  9354. end))
  9355. local harm = Front.Touched:Connect(function(hit)
  9356. impale(Front,hit)
  9357. end)
  9358. end))
  9359. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  9360. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  9361. end
  9362. Swait(65)
  9363. for i = 1, 75 do
  9364. Swait()
  9365. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  9366. RING.Size = RING.Size - VT(1,0,1)
  9367. end
  9368. RING:remove()
  9369. end))
  9370. ATTACK = false
  9371. Rooted = false
  9372. end
  9373.  
  9374. function VortexBarrier()
  9375. ATTACK = true
  9376. Rooted = true
  9377. chatfunc("PRISON...",15)
  9378. for i=0, 2, 0.1 / Animation_Speed do
  9379. Swait()
  9380. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9381. 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)
  9382. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9385. 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)
  9386. 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)
  9387. end
  9388. for i=0, 0.5, 0.1 / Animation_Speed do
  9389. Swait()
  9390. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9391. 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)
  9392. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9393. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9394. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9395. 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)
  9396. 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)
  9397. end
  9398. chatfunc("BARRIER!!!",2)
  9399. CreateSound("1208650519", Effects, 10, 1)
  9400. local GUI,GUI2 = CreateGUICircle(Torso)
  9401. local GUI3,GUI4 = CreateGUICircle(Torso)
  9402. for i = 1, 200 do
  9403. Swait()
  9404. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9405. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9406. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9407. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9408. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9409. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9410. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9411. GUI2.Rotation = GUI2.Rotation + i/10
  9412. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  9413. GUI4.Rotation = GUI4.Rotation - i/10
  9414. end
  9415. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  9416. Swait(25)
  9417. for i = 1, 100 do
  9418. Swait()
  9419. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  9420. GUI2.Rotation = GUI2.Rotation - i/5
  9421. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  9422. GUI4.Rotation = GUI4.Rotation + i/5
  9423. end
  9424. GUI:remove()
  9425. GUI3:remove()
  9426. ATTACK = false
  9427. Rooted = false
  9428. end
  9429.  
  9430. function ApplyKill(POSITION,RANGE,BRUTAL)
  9431. local CHILDREN = workspace:GetDescendants()
  9432. for index, CHILD in pairs(CHILDREN) do
  9433. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9434. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9435. if HUM then
  9436. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9437. if TORSO then
  9438. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  9439. if BRUTAL == true then
  9440. Banish(CHILD)
  9441. else
  9442. CHILD:BreakJoints()
  9443. end
  9444. end
  9445. end
  9446. end
  9447. end
  9448. end
  9449. end
  9450.  
  9451.  
  9452. function RedStar()
  9453. ATTACK = true
  9454. Rooted = true
  9455. local SPOTS = {}
  9456. for i = 1, 15 do
  9457. Swait()
  9458. 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)
  9459. 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)
  9460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9461. 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)
  9462. end
  9463. 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})
  9464. for i=0, 0.5, 0.1 / Animation_Speed do
  9465. Swait()
  9466. 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)
  9467. 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)
  9468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9469. 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)
  9470. end
  9471. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9472. table.insert(SPOTS,HITPOS)
  9473. CreateSound(145080998, Hole, 2, 1, false)
  9474. 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})
  9475. coroutine.resume(coroutine.create(function()
  9476. local POS = Mouse.Hit.p
  9477. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9478. MakeForm(RAY,"Cyl")
  9479. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9480. MakeForm(SPHERE,"Ball")
  9481. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  9482. MakeForm(SHIELD,"Ball")
  9483. SHIELD.CFrame = CF(POS)
  9484. RAY.CFrame = CF(POS)
  9485. SPHERE.CFrame = CF(POS)
  9486. CreateSound(440145570, SPHERE, 10, 0.8, false)
  9487. CreateSound(415700134, SPHERE, 10, 0.8, false)
  9488. for i = 1, 200 do
  9489. Swait()
  9490. 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})
  9491. 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})
  9492. 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})
  9493. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  9494. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  9495. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  9496. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  9497. end
  9498. for i = 1, 45 do
  9499. Swait()
  9500. RAY.Transparency = RAY.Transparency + 1/45
  9501. SPHERE.Transparency = RAY.Transparency
  9502. SHIELD.Transparency = SPHERE.Transparency + 1/45
  9503. end
  9504. RAY:remove()
  9505. SHIELD:remove()
  9506. SPHERE:remove()
  9507. end))
  9508. ATTACK = false
  9509. Rooted = false
  9510. end
  9511.  
  9512.  
  9513.  
  9514. function lightning()
  9515. ATTACK = true
  9516. Rooted = true
  9517. local SPOTS = {}
  9518. local BULLETS = 0
  9519. repeat
  9520. BULLETS = BULLETS + 1
  9521. for i = 1, 15 do
  9522. Swait()
  9523. 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)
  9524. 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)
  9525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9526. 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)
  9527. end
  9528. until KEYHOLD == false
  9529. for i = 1, BULLETS do
  9530. for i=0, 0.5, 0.1 / Animation_Speed do
  9531. Swait()
  9532. 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)
  9533. 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)
  9534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9535. 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)
  9536. end
  9537. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9538. table.insert(SPOTS,HITPOS)
  9539.  
  9540. for i=0, 0.35, 0.1 / Animation_Speed do
  9541. Swait()
  9542.  
  9543. 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)
  9544. 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)
  9545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9546. 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)
  9547. end
  9548. end
  9549. coroutine.resume(coroutine.create(function()
  9550. for i = 1, #SPOTS do
  9551. wait(0.1)
  9552. coroutine.resume(coroutine.create(function()
  9553. local SPOT = SPOTS[i]
  9554. 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})
  9555. local POSITION = BOLT.Pos
  9556. ApplyAoE2(POSITION,75/2,0,0,350,true)
  9557. 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})
  9558. 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})
  9559. 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})
  9560. end))
  9561. end
  9562. end))
  9563. ATTACK = false
  9564. Rooted = false
  9565. end
  9566.  
  9567. function Shot()
  9568. ATTACK = true
  9569. Rooted = false
  9570. Weapon.Parent = Character
  9571. 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})
  9572. for i=0, 0.4, 0.1 / Animation_Speed do
  9573. Swait()
  9574. turnto(Mouse.Hit.p)
  9575. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  9576. 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)
  9577. 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)
  9578. 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)
  9579. 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)
  9580. 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)
  9581. end
  9582. repeat
  9583. for i=0, 0.2, 0.1 / Animation_Speed do
  9584. Swait()
  9585. turnto(Mouse.Hit.p)
  9586. 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)
  9587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  9588. 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)
  9589. 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)
  9590. 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)
  9591. end
  9592. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  9593. SpawnTrail(Hole.Position,POS)
  9594. if HIT ~= nil then
  9595. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  9596. Banish(HIT.Parent)
  9597. end
  9598. end
  9599. 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})
  9600. 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})
  9601. 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})
  9602. 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})
  9603. for i=0, 0.3, 0.1 / Animation_Speed do
  9604. Swait()
  9605. 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)
  9606. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  9607. 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)
  9608. 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)
  9609. 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)
  9610. end
  9611. until KEYHOLD == false
  9612. Weapon.Parent = Character
  9613. 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})
  9614. 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})
  9615. ATTACK = false
  9616. Rooted = false
  9617. end
  9618.  
  9619. function Lunar_Blast()
  9620. local HITBODIES = {}
  9621. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
  9622. 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)
  9623. CENTER.CFrame = CF(ECH)
  9624. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
  9625. RAY.Color = C3(0.05,0.05,0.15)
  9626. MakeForm(RAY,"Cyl")
  9627. RAY.CFrame = CF(ECH)
  9628. for i = 1, 75 do
  9629. Swait()
  9630. RAY.Transparency = RAY.Transparency - 1/75
  9631. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  9632. 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))
  9633. end
  9634. killnearest(ECH,25,25)
  9635. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  9636. for i = 1, 25 do
  9637. 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))
  9638. end
  9639. CreateSound("168586621", CENTER, 10, 0.8)
  9640. RAY:remove()
  9641. Debris:AddItem(CENTER,5)
  9642. end
  9643.  
  9644. function shakes(power,length)
  9645. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  9646. local var = script.Shaker:Clone()
  9647. var.Parent = v.PlayerGui
  9648. local pw = var.Shakeval
  9649. local lgth = var.MultLength
  9650. pw.Value = power
  9651. lgth.Value = length
  9652. var.Disabled = false
  9653. end
  9654. end
  9655.  
  9656. function SuperStomp()
  9657. ATTACK = true
  9658. Rooted = true
  9659. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  9660. coroutine.resume(coroutine.create(function()
  9661. Swait(65)
  9662. shakes(1,1)
  9663. CreateSound(262562442,RightLeg,60,1,false)
  9664. CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
  9665. 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})
  9666. 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})
  9667. ApplyAoE(HITPOS,35,35,50,75,false)
  9668. end))
  9669. CreateSound(163619849,RightLeg,10,1,false)
  9670. for i=0, 2, 0.1 / Animation_Speed do
  9671. 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})
  9672. Swait()
  9673. 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)
  9674. 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)
  9675. 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)
  9676. 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)
  9677. 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)
  9678. 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)
  9679. end
  9680. for i=0, 1, 0.1 / Animation_Speed do
  9681. Swait()
  9682. 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)
  9683. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  9684. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9685. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9686. 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)
  9687. 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)
  9688. end
  9689. ATTACK = false
  9690. Rooted = false
  9691. end
  9692.  
  9693.  
  9694. function Bullet_Rain()
  9695. ATTACK = true
  9696. Rooted = true
  9697. Weapon.Parent = Character
  9698. 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})
  9699. for i=0, 0.6, 0.1 / Animation_Speed do
  9700. Swait()
  9701. 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)
  9702. 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)
  9703. 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)
  9704. 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)
  9705. 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)
  9706. end
  9707. local DONE = false
  9708. local GATE = nil
  9709. local GATESPIN = true
  9710. coroutine.resume(coroutine.create(function()
  9711. repeat
  9712. Swait()
  9713. if GATE ~= nil then
  9714. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  9715. end
  9716. until GATESPIN == false
  9717. end))
  9718. coroutine.resume(coroutine.create(function()
  9719. repeat
  9720. Swait()
  9721. 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)
  9722. 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)
  9723. 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)
  9724. 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)
  9725. 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)
  9726. until DONE == true
  9727. Swait(10)
  9728. for i = 1, 75 do
  9729. Swait(1.5)
  9730. local FIRED = false
  9731. local CHILDREN = workspace:GetDescendants()
  9732. for index, CHILD in pairs(CHILDREN) do
  9733. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9734. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9735. if HUM then
  9736. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9737. if TORSO then
  9738. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  9739. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  9740. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  9741. 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})
  9742. 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})
  9743. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9744. ApplyAoE(CFRAME.p,3,0.25,1,2,false)
  9745. FIRED = true
  9746. break
  9747. end
  9748. end
  9749. end
  9750. end
  9751. end
  9752. if FIRED == false then
  9753. 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)))
  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 = 6})
  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. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  9758. if HITBOD ~= nil then
  9759. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  9760. ApplyAoE(HITBOD,3,0.25,1,0,false)
  9761. end
  9762. end
  9763. end
  9764. end
  9765. for i = 1, 45 do
  9766. Swait()
  9767. GATE.Size = GATE.Size - VT(3,0,3)
  9768. end
  9769. GATESPIN = false
  9770. GATE:remove()
  9771. end))
  9772. Swait(5)
  9773. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  9774. GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
  9775. local DECAL = IT("Decal",GATE)
  9776. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  9777. DECAL.Face = "Top"
  9778. GATE.CFrame = CF(HITPOS)
  9779. CreateSound(160772554, GATE, 7, 1.3, false)
  9780. for i = 1, 45 do
  9781. Swait()
  9782. GATE.Size = GATE.Size + VT(3,0,3)
  9783. end
  9784. CreateSound(145080998, Hole, 7, 1, false)
  9785. 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})
  9786. 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})
  9787. 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})
  9788. ATTACK = false
  9789. Rooted = false
  9790. DONE = true
  9791. end
  9792.  
  9793.  
  9794. function Needle()
  9795. ATTACK = true
  9796. Rooted = true
  9797. local GYRO = IT("BodyGyro",RootPart)
  9798. GYRO.D = 2
  9799. GYRO.P = 2000
  9800. GYRO.MaxTorque = VT(0,4000000,0)
  9801. local NEEDGYRO = true
  9802. coroutine.resume(coroutine.create(function()
  9803. repeat
  9804. Swait()
  9805. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9806. until NEEDGYRO == false
  9807. GYRO:Remove()
  9808. end))
  9809. for i=0, 0.3, 0.1 / Animation_Speed do
  9810. Swait()
  9811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9815. 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)
  9816. 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)
  9817. end
  9818. for i=0, 1, 0.1 / Animation_Speed do
  9819. Swait()
  9820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9824. 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)
  9825. 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)
  9826. end
  9827. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  9828. 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})
  9829. NEEDGYRO = false
  9830. if HIT then
  9831. local NEEDLE = IT("Model",Effects)
  9832. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  9833. MakeForm(BASE,"Cyl")
  9834. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  9835. weldBetween(BASE,HIT)
  9836. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  9837. MakeForm(FLUID,"Cyl")
  9838. FLUID.CFrame = BASE.CFrame
  9839. weldBetween(BASE,FLUID)
  9840. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  9841. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  9842. weldBetween(BASE,PART)
  9843. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  9844. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  9845. weldBetween(BASE,PART)
  9846. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  9847. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  9848. weldBetween(BASE,PART)
  9849. Debris:AddItem(NEEDLE,7)
  9850. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  9851. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  9852. coroutine.resume(coroutine.create(function()
  9853. for i = 1, 500 do
  9854. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  9855. if HUMAN.Health == 0 then
  9856. break
  9857. end
  9858. Swait(2)
  9859. end
  9860. if HUMAN.Health == 0 then
  9861. local CHILD = HUMAN.Parent
  9862. if CHILD:FindFirstChild("Torso") then
  9863. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  9864. Ragdoll(CHILD,Torso,true)
  9865. elseif CHILD:FindFirstChild("UpperTorso") then
  9866. R15Ragdoll(CHILD,true)
  9867. end
  9868. end
  9869. end))
  9870. end
  9871. end
  9872. for i=0, 1, 0.1 / Animation_Speed do
  9873. Swait()
  9874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9875. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9878. 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)
  9879. 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)
  9880. end
  9881. ATTACK = false
  9882. Rooted = false
  9883. end
  9884.  
  9885. function Buzzsaw()
  9886. ATTACK = true
  9887. Rooted = false
  9888. local ARMSPEED = 0.1
  9889. local TARGET = nil
  9890. local ROOT = nil
  9891. local HUMAN = nil
  9892. local DIST = 4
  9893. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  9894. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  9895. local BLADE = true
  9896. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  9897. coroutine.resume(coroutine.create(function()
  9898. repeat
  9899. Swait()
  9900. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  9901. until BLADE == false
  9902. SAWBLADE:remove()
  9903. end))
  9904. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  9905. for i=0, 1, 0.1 / Animation_Speed do
  9906. Swait()
  9907. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9908. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9910. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9911. 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)
  9912. 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)
  9913. end
  9914. for i=0, 2, 0.1 / Animation_Speed do
  9915. Swait()
  9916. local CHILDREN = workspace:GetDescendants()
  9917. for index, CHILD in pairs(CHILDREN) do
  9918. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9919. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9920. if HUM then
  9921. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9922. if TORSO and HUM.Health > 0 then
  9923. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  9924. DIST = (TORSO.Position - RightArm.Position).Magnitude
  9925. ROOT = TORSO
  9926. HUMAN = HUM
  9927. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9928. end
  9929. end
  9930. end
  9931. end
  9932. end
  9933. if ROOT then
  9934. break
  9935. end
  9936. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9938. 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)
  9939. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9940. 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)
  9941. 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)
  9942. end
  9943. if ROOT then
  9944. ARMSPEED = 0.03
  9945. Rooted = true
  9946. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  9947. repeat
  9948. HUMAN.Health = HUMAN.Health - 0.5
  9949. Swait()
  9950. ROOT.Anchored = true
  9951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  9954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9955. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  9957. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  9958. ROOT.Anchored = false
  9959. if HUMAN.Health == 0 then
  9960. if ROOT.Name ~= "Torso" then
  9961. ROOT:remove()
  9962. end
  9963. if TARGET.Name == "Torso" then
  9964. Ragdoll(HUMAN.Parent,Torso,true)
  9965. elseif TARGET.Name == "UpperTorso" then
  9966. R15Ragdoll(HUMAN.Parent,true)
  9967. end
  9968. end
  9969. end
  9970. BLADE = false
  9971. ATTACK = false
  9972. Rooted = false
  9973. end
  9974.  
  9975.  
  9976. --//=================================\\
  9977. --|| ASSIGN THINGS TO KEYS
  9978. --\\=================================//
  9979.  
  9980. function MouseDown(Mouse)
  9981. if ATTACK == false then
  9982. Execute()
  9983. end
  9984. end
  9985.  
  9986.  
  9987. function KeyDown(Key)
  9988. KEYHOLD = true
  9989. if Key == "z" and ATTACK == false then
  9990. Banisher_Bullet()
  9991. end
  9992.  
  9993. if Key == "q" and ATTACK == false then
  9994. VoidChain()
  9995. end
  9996.  
  9997. if Key == "v" and ATTACK == false then
  9998. lightning()
  9999. end
  10000.  
  10001. if Key == "b" and ATTACK == false then
  10002. GreenUltimate()
  10003. end
  10004.  
  10005. if Key == "1" and ATTACK == false then
  10006. Prison_Key()
  10007. end
  10008.  
  10009. if Key == "2" and ATTACK == false then
  10010. Final_Limit()
  10011. end
  10012.  
  10013. if Key == "3" and ATTACK == false then
  10014. Eon_Fire()
  10015. end
  10016.  
  10017. if Key == "4" and ATTACK == false then
  10018. UEon_Fire()
  10019. end
  10020.  
  10021. if Key == "7" and ATTACK == false then
  10022. VoidWarp()
  10023. end
  10024.  
  10025. if Key == "8" and ATTACK == false then
  10026. VortexLeash()
  10027. end
  10028.  
  10029. if Key == "9" and ATTACK == false then
  10030. VortexBarrier()
  10031. end
  10032.  
  10033. if Key == "5" and ATTACK == false then
  10034. SuperStomp()
  10035. end
  10036.  
  10037. if Key == "6" and ATTACK == false then
  10038. Meteor_Shower()
  10039. end
  10040.  
  10041.  
  10042. if Key == "k" and ATTACK == false then
  10043. Eliminate()
  10044. end
  10045.  
  10046. if Key == "c" and ATTACK == false then
  10047. RedStar()
  10048. end
  10049.  
  10050. if Key == "l" and ATTACK == false then
  10051. PandorasBox()
  10052. end
  10053.  
  10054. if Key == "t" and ATTACK == false then
  10055. Taunt2()
  10056. end
  10057.  
  10058. if Key == "e" and ATTACK == false then
  10059. Lunar_Blast()
  10060. end
  10061.  
  10062. if Key == "f" and ATTACK == false then
  10063. Bullet_Rain()
  10064. end
  10065.  
  10066. if Key == "h" and ATTACK == false then
  10067. WarpMeteor()
  10068. end
  10069.  
  10070. if Key == "n" and ATTACK == false then
  10071. Buzzsaw()
  10072. end
  10073.  
  10074.  
  10075. if Key == "j" and ATTACK == false then
  10076. Nuke()
  10077. end
  10078.  
  10079. if Key == "y" and ATTACK == false then
  10080. Needle()
  10081. end
  10082.  
  10083. if Key == "r" and ATTACK == false then
  10084. TimesUp()
  10085. end
  10086.  
  10087. if Key == "u" and ATTACK == false then
  10088. Shot()
  10089. end
  10090.  
  10091. if Key == "x" and ATTACK == false then
  10092. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  10093. TOBANISH = {}
  10094. end
  10095.  
  10096. if Key == "p" and ATTACK == false then
  10097. TakeOnMe()
  10098. end
  10099.  
  10100. if Key == "g" and ATTACK == false then
  10101. Deathzone()
  10102. end
  10103. end
  10104.  
  10105. function KeyUp(Key)
  10106. KEYHOLD = false
  10107. end
  10108.  
  10109. Mouse.Button1Down:connect(function(NEWKEY)
  10110. MouseDown(NEWKEY)
  10111. end)
  10112. Mouse.Button1Up:connect(function(NEWKEY)
  10113. MouseUp(NEWKEY)
  10114. end)
  10115. Mouse.KeyDown:connect(function(NEWKEY)
  10116. KeyDown(NEWKEY)
  10117. end)
  10118. Mouse.KeyUp:connect(function(NEWKEY)
  10119. KeyUp(NEWKEY)
  10120. end)
  10121. --//=================================\\
  10122. --\\=================================//
  10123.  
  10124.  
  10125. function unanchor()
  10126. if UNANCHOR == true then
  10127. g = Character:GetChildren()
  10128. for i = 1, #g do
  10129. if g[i].ClassName == "Part" then
  10130. g[i].Anchored = false
  10131. end
  10132. end
  10133. end
  10134. end
  10135.  
  10136. --//=================================\\
  10137. --|| SOME TAG EDIT
  10138. --\\=================================//
  10139.  
  10140. m = game:GetService("Players").LocalPlayer
  10141. char = m.Character
  10142. local txt = Instance.new("BillboardGui", char)
  10143. txt.Adornee = char.Head
  10144. txt.Name = "_status"
  10145. txt.Size = UDim2.new(2, 0, 1.2, 0)
  10146. txt.StudsOffset = Vector3.new(-9, 8, 0)
  10147. local text = Instance.new("TextLabel", txt)
  10148. text.Size = UDim2.new(10, 0, 7, 0)
  10149. text.FontSize = "Size24"
  10150. text.TextScaled = true
  10151. text.TextTransparency = 0
  10152. text.BackgroundTransparency = 1
  10153. text.TextTransparency = 0
  10154. text.TextStrokeTransparency = 0
  10155. text.Font = "Antique"
  10156. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  10157. v = Instance.new("Part")
  10158. v.Name = "ColorBrick"
  10159. v.Parent = m.Character
  10160. v.FormFactor = "Symmetric"
  10161. v.Anchored = true
  10162. v.CanCollide = false
  10163. v.BottomSurface = "Smooth"
  10164. v.TopSurface = "Smooth"
  10165. v.Size = Vector3.new(10, 5, 3)
  10166. v.Transparency = 1
  10167. v.CFrame = char.Torso.CFrame
  10168. v.BrickColor = BrickColor.new("Really black")
  10169. v.Transparency = 1
  10170. v.Shape = "Block"
  10171. spawn(function()
  10172. local TweenService = game:GetService("TweenService")
  10173. 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)}
  10174. local Int = 0
  10175. while wait(0.5) do
  10176. if Int == #Colours then Int = 0 end
  10177. Int = Int+1
  10178. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  10179. end
  10180. end)
  10181. text.Text = "DUST SANS"
  10182.  
  10183. --//=================================\\
  10184. --|| WRAP THE WHOLE SCRIPT UP
  10185. --\\=================================//
  10186.  
  10187.  
  10188. Humanoid.Changed:connect(function(Jump)
  10189. if Jump == "Jump" and (Disable_Jump == true) then
  10190. Humanoid.Jump = false
  10191. end
  10192. end)
  10193.  
  10194. local CONNECT = nil
  10195.  
  10196.  
  10197. while true do
  10198. Swait()
  10199. ANIMATE.Parent = nil
  10200. if Character:FindFirstChildOfClass("Humanoid") == nil then
  10201. Humanoid = IT("Humanoid",Character)
  10202. end
  10203. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  10204. v:Stop();
  10205. end
  10206. SINE = SINE + CHANGE
  10207. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  10208. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  10209. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  10210. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  10211.  
  10212. if ANIM == "Walk" and TORSOVELOCITY > 3 then
  10213. 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)
  10214. 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)
  10215. 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)
  10216. 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)
  10217. 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)
  10218. 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)
  10219. end
  10220. if TORSOVERTICALVELOCITY > 3 and HITFLOOR == nil then
  10221. ANIM = "Jump"
  10222. if ATTACK == false then
  10223. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  10224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  10225. 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)
  10226. 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)
  10227. 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)
  10228. 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)
  10229. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * ANGLES(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10230. 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)
  10231. 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)
  10232. 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)
  10233. end
  10234. elseif TORSOVERTICALVELOCITY < -3 and HITFLOOR == nil then
  10235. ANIM = "Fall"
  10236. if ATTACK == false then
  10237. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  10240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  10241. 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)
  10242. 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)
  10243. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * ANGLES(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10244. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10245. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10246. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10247. end
  10248. elseif TORSOVELOCITY < 3 and HITFLOOR ~= nil then
  10249. ANIM = "Idle"
  10250. if ATTACK == false then
  10251. 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)
  10252. 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)
  10253. 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)
  10254. 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)
  10255. 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)
  10256. 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)
  10257. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * ANGLES(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10258. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10259. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10260. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10261. end
  10262. elseif TORSOVELOCITY > 3 and HITFLOOR ~= nil then
  10263. ANIM = "Walk"
  10264. if ATTACK == false then
  10265. 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)
  10266. 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)
  10267. 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)
  10268. 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)
  10269. 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)
  10270. 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)
  10271. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * ANGLES(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10272. weld15.C1 = clerp(weld15.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 + 360 * math.cos(sine / 82))), 0.3)
  10273. weld16.C1 = clerp(weld16.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10274. weld17.C1 = clerp(weld17.C1, CFrame.new(0, 0, 0) * ANGLES(math.rad(0), math.rad(0), math.rad(0 - 360 * math.cos(sine / 82))), 0.3)
  10275. end
  10276. end
  10277. unanchor()
  10278. Humanoid.MaxHealth = "inf"
  10279. Humanoid.Health = "inf"
  10280. if Rooted == false then
  10281. Disable_Jump = false
  10282. Humanoid.WalkSpeed = Speed
  10283. elseif Rooted == true then
  10284. Disable_Jump = true
  10285. Humanoid.WalkSpeed = 0
  10286. end
  10287. for _, c in pairs(Character:GetDescendants()) do
  10288. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  10289. if c:FindFirstChildOfClass("SpecialMesh") then
  10290. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  10291. end
  10292.  
  10293.  
  10294. elseif c.ClassName == "Part" and c.Name == "Eye" then
  10295. c.Color = Color3.fromRGB(cR,cG,cB)
  10296. c.Material = "Neon"
  10297. end
  10298.  
  10299. if c == Head then
  10300. if c:FindFirstChild("face") then
  10301. c.face:remove()
  10302. end
  10303. end
  10304. end
  10305. sick.Parent = Torso
  10306. sick:resume()
  10307. sick.Volume = 5
  10308. sick.Pitch = 1
  10309. sick.SoundId = "rbxassetid://0"
  10310. sick.Name = "BanishV3Music"
  10311. end
  10312.  
  10313. --//=================================\\
  10314. --\\=================================//
  10315.  
  10316.  
  10317.  
  10318.  
  10319.  
  10320. --//====================================================\\--
  10321. --|| END OF SCRIPT
  10322. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement