Advertisement
BAconTUbe

DIO FE MAYBE ?

Feb 9th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 473.78 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7.  
  8. --//====================================================\\--
  9. --|| RECREATED BY MrGoo345
  10. --\\====================================================//--
  11.  
  12.  
  13. print("Since I Have Gotten Better At Scripting I Decided to Recreate this clusterfuck")
  14. print("and that is me MrGoo345 who edited BH")
  15.  
  16.  
  17. script:ClearAllChildren()
  18. wait(0.2)
  19.  
  20. Player = game:GetService("Players").janndwayne
  21. PlayerGui = Player.PlayerGui
  22. Cam = workspace.CurrentCamera
  23. Backpack = Player.Backpack
  24. Character = Player.Character
  25. Humanoid = Character.Humanoid
  26. RootPart = Character["HumanoidRootPart"]
  27. Torso = Character["Torso"]
  28. Head = Character["Head"]
  29. RightArm = Character["Right Arm"]
  30. LeftArm = Character["Left Arm"]
  31. RightLeg = Character["Right Leg"]
  32. LeftLeg = Character["Left Leg"]
  33. RootJoint = RootPart["RootJoint"]
  34. Neck = Torso["Neck"]
  35. RightShoulder = Torso["Right Shoulder"]
  36. LeftShoulder = Torso["Left Shoulder"]
  37. RightHip = Torso["Right Hip"]
  38. LeftHip = Torso["Left Hip"]
  39. local TIME = 0
  40. local sick = Instance.new("Sound",Torso)
  41.  
  42. IT = Instance.new
  43. CF = CFrame.new
  44. VT = Vector3.new
  45. RAD = math.rad
  46. C3 = Color3.new
  47. UD2 = UDim2.new
  48. BRICKC = BrickColor.new
  49. ANGLES = CFrame.Angles
  50. EULER = CFrame.fromEulerAnglesXYZ
  51. COS = math.cos
  52. ACOS = math.acos
  53. SIN = math.sin
  54. ASIN = math.asin
  55. ABS = math.abs
  56. MRANDOM = math.random
  57. FLOOR = math.floor
  58. angles=CFrame.Angles
  59. local RWINGS = {}
  60. local LWINGS = {}
  61. local GunPoint
  62. Player_Size = 1
  63.  
  64. -- Thingy To Make Song Work
  65.  
  66. p = game.Players.janndwayne
  67. char = p.Character
  68.  
  69. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  70. local s = Instance.new("Sound",char)
  71. s.Name = "BGMusic"
  72. s.SoundId = "rbxassetid://1906550226"
  73. s.Pitch = 1
  74. s.Volume = 40
  75. s.Looped = true
  76. s.archivable = false
  77. s.Parent = char.Head
  78. wait(0.1)
  79. s:play()
  80.  
  81. -- Rest of Script
  82. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This MrGoo345 created the looped song thing that is in here anyways.
  83.  
  84. local sine = 0
  85.  
  86. function clerp(a,b,t)
  87. local qa = {QuaternionFromCFrame(a)}
  88. local qb = {QuaternionFromCFrame(b)}
  89. local ax, ay, az = a.x, a.y, a.z
  90. local bx, by, bz = b.x, b.y, b.z
  91. local _t = 1-t
  92. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  93. end
  94.  
  95.  
  96.  
  97. --//=================================\\
  98. --|| PARTICLES N MODELS N STUFF
  99. --\\=================================//
  100.  
  101. local handle = Instance.new("Part")
  102. handle.Parent = Character
  103. handle.Size = Vector3.new(1,1,1)
  104. handle.Archivable = true
  105. handle.Transparency = 0.99
  106. handle.BrickColor = BrickColor.new("White")
  107. handle.Material = "Neon"
  108. local handlmesh = Instance.new("BlockMesh",handle)
  109. handlmesh.Scale = Vector3.new(1,1,1)
  110. local handleweld = Instance.new("Weld")
  111. handleweld.Parent = handle
  112. handleweld.Part0 = Torso
  113. handleweld.Part1 = handle
  114. handleweld.C1 = CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  115. local par = Instance.new("Part")
  116. par.Parent = Character
  117. par.Size = Vector3.new(0.2,0.2,0.2)
  118. par.Archivable = true
  119. par.Transparency = 0
  120. par.BrickColor = BrickColor.new("Really black")
  121. par.Material = "Metal"
  122. local parmesh = Instance.new("SpecialMesh",par)
  123. parmesh.MeshType = "FileMesh"
  124. parmesh.MeshId = "http://www.roblox.com/asset?id=156292343"
  125. parmesh.Scale = Vector3.new(5,5,5)
  126. local weld12 = Instance.new("Weld")
  127. weld12.Parent = par
  128. weld12.Part0 = handle
  129. weld12.Part1 = par
  130. weld12.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  131. local par2 = Instance.new("Part")
  132. par2.Parent = Character
  133. par2.Size = Vector3.new(0.2,0.2,0.2)
  134. par2.Archivable = true
  135. par2.Transparency = 0
  136. par2.BrickColor = BrickColor.new("Deep orange")
  137. par2.Material = "Metal"
  138. local parmesh2 = Instance.new("SpecialMesh",par2)
  139. parmesh2.MeshType = "FileMesh"
  140. parmesh2.MeshId = "http://www.roblox.com/asset?id=156292343"
  141. parmesh2.Scale = Vector3.new(5.25,5.25,4.75)
  142. parmesh2.VertexColor = Vector3.new(1,0.5,0)
  143. parmesh2.TextureId = "rbxassetid://269748808"
  144. local weld13 = Instance.new("Weld")
  145. weld13.Parent = par2
  146. weld13.Part0 = handle
  147. weld13.Part1 = par2
  148. weld13.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  149. local par3 = Instance.new("Part")
  150. par3.Parent = Character
  151. par3.Size = Vector3.new(0.2,0.2,0.2)
  152. par3.Archivable = true
  153. par3.Transparency = 0
  154. par3.BrickColor = BrickColor.new("Deep orange")
  155. par3.Material = "Metal"
  156. local parmesh3 = Instance.new("SpecialMesh",par3)
  157. parmesh3.MeshType = "FileMesh"
  158. parmesh3.MeshId = "http://www.roblox.com/asset?id=156292343"
  159. parmesh3.Scale = Vector3.new(5.65,5.65,4.25)
  160. parmesh3.VertexColor = Vector3.new(1,0.75,0.25)
  161. parmesh3.TextureId = "rbxassetid://269748808"
  162. local weld14 = Instance.new("Weld")
  163. weld14.Parent = par3
  164. weld14.Part0 = handle
  165. weld14.Part1 = par3
  166. weld14.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  167. local par4 = Instance.new("Part")
  168. par4.Parent = Character
  169. par4.Size = Vector3.new(0.2,0.2,0.2)
  170. par4.Archivable = true
  171. par4.Transparency = 0
  172. par4.BrickColor = BrickColor.new("Deep orange")
  173. par4.Material = "Metal"
  174. local parmesh4 = Instance.new("SpecialMesh",par4)
  175. parmesh4.MeshType = "FileMesh"
  176. parmesh4.MeshId = "http://www.roblox.com/asset/?id=3270017"
  177. parmesh4.Scale = Vector3.new(4.5,4.5,1.25)
  178. parmesh4.VertexColor = Vector3.new(1,0.75,0)
  179. parmesh4.TextureId = "rbxassetid://269748808"
  180. local weld15 = Instance.new("Weld")
  181. weld15.Parent = par4
  182. weld15.Part0 = handle
  183. weld15.Part1 = par4
  184. weld15.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  185. local par4a = Instance.new("Part")
  186. par4a.Parent = Character
  187. par4a.Size = Vector3.new(0.2,0.2,0.2)
  188. par4a.Archivable = true
  189. par4a.Transparency = 0
  190. par4a.BrickColor = BrickColor.new("Deep orange")
  191. par4a.Material = "Metal"
  192. local parmesh4a = Instance.new("SpecialMesh",par4a)
  193. parmesh4a.MeshType = "FileMesh"
  194. parmesh4a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  195. parmesh4a.Scale = Vector3.new(1.25,7.5,1)
  196. parmesh4a.VertexColor = Vector3.new(1,0.5,0)
  197. parmesh4a.TextureId = "rbxassetid://269748808"
  198. local weld15a = Instance.new("Weld")
  199. weld15a.Parent = par4a
  200. weld15a.Part0 = par4
  201. weld15a.Part1 = par4a
  202. weld15a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  203. local par4b = Instance.new("Part")
  204. par4b.Parent = Character
  205. par4b.Size = Vector3.new(0.2,0.2,0.2)
  206. par4b.Archivable = true
  207. par4b.Transparency = 0
  208. par4b.BrickColor = BrickColor.new("Deep orange")
  209. par4b.Material = "Metal"
  210. local parmesh4b = Instance.new("SpecialMesh",par4b)
  211. parmesh4b.MeshType = "FileMesh"
  212. parmesh4b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  213. parmesh4b.Scale = Vector3.new(7.5,1.25,1)
  214. parmesh4b.VertexColor = Vector3.new(1,0.5,0)
  215. parmesh4b.TextureId = "rbxassetid://269748808"
  216. local weld15b = Instance.new("Weld")
  217. weld15b.Parent = par4b
  218. weld15b.Part0 = par4
  219. weld15b.Part1 = par4b
  220. weld15b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  221. local par5 = Instance.new("Part")
  222. par5.Parent = Character
  223. par5.Size = Vector3.new(0.2,0.2,0.2)
  224. par5.Archivable = true
  225. par5.Transparency = 0
  226. par5.BrickColor = BrickColor.new("Deep orange")
  227. par5.Material = "Metal"
  228. local parmesh5 = Instance.new("SpecialMesh",par5)
  229. parmesh5.MeshType = "FileMesh"
  230. parmesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  231. parmesh5.Scale = Vector3.new(1,1,0.75)
  232. parmesh5.VertexColor = Vector3.new(1,0.75,0)
  233. parmesh5.TextureId = "rbxassetid://269748808"
  234. local weld16 = Instance.new("Weld")
  235. weld16.Parent = par5
  236. weld16.Part0 = handle
  237. weld16.Part1 = par5
  238. weld16.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  239. local par5a = Instance.new("Part")
  240. par5a.Parent = Character
  241. par5a.Size = Vector3.new(0.2,0.2,0.2)
  242. par5a.Archivable = true
  243. par5a.Transparency = 0
  244. par5a.BrickColor = BrickColor.new("Deep orange")
  245. par5a.Material = "Metal"
  246. local parmesh5a = Instance.new("SpecialMesh",par5a)
  247. parmesh5a.MeshType = "FileMesh"
  248. parmesh5a.MeshId = "http://www.roblox.com/asset/?id=3270017"
  249. parmesh5a.Scale = Vector3.new(3,0.75,0.5)
  250. parmesh5a.VertexColor = Vector3.new(1,0.5,0)
  251. parmesh5a.TextureId = "rbxassetid://269748808"
  252. local weld16a = Instance.new("Weld")
  253. weld16a.Parent = par5a
  254. weld16a.Part0 = par5
  255. weld16a.Part1 = par5a
  256. weld16a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  257. local par5b = Instance.new("Part")
  258. par5b.Parent = Character
  259. par5b.Size = Vector3.new(0.2,0.2,0.2)
  260. par5b.Archivable = true
  261. par5b.Transparency = 0
  262. par5b.BrickColor = BrickColor.new("Deep orange")
  263. par5b.Material = "Metal"
  264. local parmesh5b = Instance.new("SpecialMesh",par5b)
  265. parmesh5b.MeshType = "FileMesh"
  266. parmesh5b.MeshId = "http://www.roblox.com/asset/?id=3270017"
  267. parmesh5b.Scale = Vector3.new(0.75,3,0.5)
  268. parmesh5b.VertexColor = Vector3.new(1,0.5,0)
  269. parmesh5b.TextureId = "rbxassetid://269748808"
  270. local weld16b = Instance.new("Weld")
  271. weld16b.Parent = par5b
  272. weld16b.Part0 = par5
  273. weld16b.Part1 = par5b
  274. weld16b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  275. local par6 = Instance.new("Part")
  276. par6.Parent = Character
  277. par6.Size = Vector3.new(0.2,0.2,0.2)
  278. par6.Archivable = true
  279. par6.Transparency = 0
  280. par6.BrickColor = BrickColor.new("Deep orange")
  281. par6.Material = "Metal"
  282. local parmesh6 = Instance.new("SpecialMesh",par6)
  283. parmesh6.MeshType = "FileMesh"
  284. parmesh6.MeshId = "http://www.roblox.com/asset/?id=9756362"
  285. parmesh6.Scale = Vector3.new(1.65,1.65,0.115)
  286. parmesh6.VertexColor = Vector3.new(1,0.35,0)
  287. parmesh6.TextureId = "rbxassetid://269748808"
  288. local weld17 = Instance.new("Weld")
  289. weld17.Parent = par6
  290. weld17.Part0 = handle
  291. weld17.Part1 = par6
  292. weld17.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  293. local par6a = Instance.new("Part")
  294. par6a.Parent = Character
  295. par6a.Size = Vector3.new(0.2,0.2,0.2)
  296. par6a.Archivable = true
  297. par6a.Transparency = 0
  298. par6a.BrickColor = BrickColor.new("Deep orange")
  299. par6a.Material = "Metal"
  300. local parmesh6a = Instance.new("SpecialMesh",par6a)
  301. parmesh6a.MeshType = "FileMesh"
  302. parmesh6a.MeshId = "http://www.roblox.com/asset/?id=9756362"
  303. parmesh6a.Scale = Vector3.new(7.5,0.95,0.115)
  304. parmesh6a.VertexColor = Vector3.new(1,0.35,0)
  305. parmesh6a.TextureId = "rbxassetid://269748808"
  306. local weld17a = Instance.new("Weld")
  307. weld17a.Parent = par6a
  308. weld17a.Part0 = par6
  309. weld17a.Part1 = par6a
  310. weld17a.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45))
  311. local par6b = Instance.new("Part")
  312. par6b.Parent = Character
  313. par6b.Size = Vector3.new(0.2,0.2,0.2)
  314. par6b.Archivable = true
  315. par6b.Transparency = 0
  316. par6b.BrickColor = BrickColor.new("Deep orange")
  317. par6b.Material = "Metal"
  318. local parmesh6b = Instance.new("SpecialMesh",par6b)
  319. parmesh6b.MeshType = "FileMesh"
  320. parmesh6b.MeshId = "http://www.roblox.com/asset/?id=9756362"
  321. parmesh6b.Scale = Vector3.new(7.5,0.95,0.115)
  322. parmesh6b.VertexColor = Vector3.new(1,0.35,0)
  323. parmesh6b.TextureId = "rbxassetid://269748808"
  324. local weld17b = Instance.new("Weld")
  325. weld17b.Parent = par6b
  326. weld17b.Part0 = par6
  327. weld17b.Part1 = par6b
  328. weld17b.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45))
  329. local par7 = Instance.new("Part")
  330. par7.Parent = Character
  331. par7.Size = Vector3.new(0.2,0.2,0.2)
  332. par7.Archivable = true
  333. par7.Transparency = 0
  334. par7.BrickColor = BrickColor.new("Persimmon")
  335. par7.Material = "Metal"
  336. local parmesh7 = Instance.new("SpecialMesh",par7)
  337. parmesh7.MeshType = "FileMesh"
  338. parmesh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  339. parmesh7.Scale = Vector3.new(4.375,4.375,2.15)
  340. local weld18 = Instance.new("Weld")
  341. weld18.Parent = par7
  342. weld18.Part0 = handle
  343. weld18.Part1 = par7
  344. weld18.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  345. local par8 = Instance.new("Part")
  346. par8.Parent = Character
  347. par8.Size = Vector3.new(0.2,0.2,0.2)
  348. par8.Archivable = true
  349. par8.Transparency = 0
  350. par8.BrickColor = BrickColor.new("Really black")
  351. par8.Material = "Metal"
  352. local parmesh8 = Instance.new("SpecialMesh",par8)
  353. parmesh8.MeshType = "FileMesh"
  354. parmesh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  355. parmesh8.Scale = Vector3.new(4.365,4.365,2.165)
  356. parmesh8.VertexColor = Vector3.new(1,0.25,0)
  357. parmesh8.TextureId = "rbxassetid://269748808"
  358. local weld19 = Instance.new("Weld")
  359. weld19.Parent = par8
  360. weld19.Part0 = handle
  361. weld19.Part1 = par8
  362. weld19.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  363. ----- lol
  364. handle.CanCollide = false
  365. par.CanCollide = false
  366. par2.CanCollide = false
  367. par3.CanCollide = false
  368. par4.CanCollide = false
  369. par4a.CanCollide = false
  370. par4b.CanCollide = false
  371. par5.CanCollide = false
  372. par5a.CanCollide = false
  373. par5b.CanCollide = false
  374. par6.CanCollide = false
  375. par6a.CanCollide = false
  376. par6b.CanCollide = false
  377. par7.CanCollide = false
  378. par8.CanCollide = false
  379. ----
  380.  
  381. --//=================================\\
  382. --|| USEFUL VALUES
  383. --\\=================================//
  384.  
  385. Animation_Speed = 1.5
  386. local FORCERESET = false
  387. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  388. local Speed = 50
  389. local SIZE = 1
  390. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  391. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  392. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  393. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  394. local DAMAGEMULTIPLIER = 1
  395. local ANIM = "Idle"
  396. local ATTACK = false
  397. local EQUIPPED = false
  398. local HOLD = false
  399. local COMBO = 1
  400. local Rooted = false
  401. local SINE = 0
  402. local KEYHOLD = false
  403. local CHANGE = 2 / Animation_Speed
  404. local WALKINGANIM = false
  405. local VALUE1 = false
  406. local VALUE2 = false
  407. local ROBLOXIDLEANIMATION = IT("Animation")
  408. local Glove = IT("Model")
  409. Glove.Name = "Glove"
  410. local Effects = IT("Folder", Glove)
  411. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  412. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  413. --ROBLOXIDLEANIMATION.Parent = Humanoid
  414. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  415. WEAPONGUI.Name = "BanishV3Gui"
  416. local Weapon = IT("Model")
  417. Weapon.Name = "Adds"
  418. local Effects = IT("Folder", Weapon)
  419. Effects.Name = "Effects"
  420. local ANIMATOR = Humanoid.Animator
  421. local ANIMATE = Character:FindFirstChild("Animate")
  422. local UNANCHOR = true
  423. local TOBANISH = {}
  424. local EYES = {}
  425. script.Parent = PlayerGui
  426. local FADERS = true
  427. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  428. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  429. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  430. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  431.  
  432. function StatLabel(CFRAME, TEXT, COLOR)
  433. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  434. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  435. local BODYGYRO = IT("BodyGyro", STATPART)
  436. game:GetService("Debris"):AddItem(STATPART ,5)
  437. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  438. BILLBOARDGUI.Adornee = STATPART
  439. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  440. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  441. BILLBOARDGUI.AlwaysOnTop = false
  442. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  443. TEXTLABEL.BackgroundTransparency = 1
  444. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  445. TEXTLABEL.Text = TEXT
  446. TEXTLABEL.Font = SKILLFONT
  447. TEXTLABEL.FontSize="Size42"
  448. TEXTLABEL.TextColor3 = COLOR
  449. TEXTLABEL.TextStrokeTransparency = 0
  450. TEXTLABEL.TextScaled = true
  451. TEXTLABEL.TextWrapped = true
  452. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  453. for i = 1, 50 do
  454. Swait()
  455. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  456. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  457. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  458. end
  459. THEPART.Parent = nil
  460. end),STATPART, TEXTLABEL)
  461. end
  462.  
  463. --//=================================\\
  464. --\\=================================//
  465.  
  466. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  467. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  468. end
  469.  
  470. function PositiveAngle(NUMBER)
  471. if NUMBER >= 0 then
  472. NUMBER = 0
  473. end
  474. return NUMBER
  475. end
  476.  
  477. function NegativeAngle(NUMBER)
  478. if NUMBER <= 0 then
  479. NUMBER = 0
  480. end
  481. return NUMBER
  482. end
  483.  
  484. function Swait(NUMBER)
  485. if NUMBER == 0 or NUMBER == nil then
  486. ArtificialHB.Event:wait()
  487. else
  488. for i = 1, NUMBER do
  489. ArtificialHB.Event:wait()
  490. end
  491. end
  492. end
  493.  
  494. function QuaternionFromCFrame(cf)
  495. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  496. local trace = m00 + m11 + m22
  497. if trace > 0 then
  498. local s = math.sqrt(1 + trace)
  499. local recip = 0.5 / s
  500. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  501. else
  502. local i = 0
  503. if m11 > m00 then
  504. i = 1
  505. end
  506. if m22 > (i == 0 and m00 or m11) then
  507. i = 2
  508. end
  509. if i == 0 then
  510. local s = math.sqrt(m00 - m11 - m22 + 1)
  511. local recip = 0.5 / s
  512. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  513. elseif i == 1 then
  514. local s = math.sqrt(m11 - m22 - m00 + 1)
  515. local recip = 0.5 / s
  516. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  517. elseif i == 2 then
  518. local s = math.sqrt(m22 - m00 - m11 + 1)
  519. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  520. end
  521. end
  522. end
  523.  
  524. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  525. local xs, ys, zs = x + x, y + y, z + z
  526. local wx, wy, wz = w * xs, w * ys, w * zs
  527. local xx = x * xs
  528. local xy = x * ys
  529. local xz = x * zs
  530. local yy = y * ys
  531. local yz = y * zs
  532. local zz = z * zs
  533. 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))
  534. end
  535.  
  536. function QuaternionSlerp(a, b, t)
  537. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  538. local startInterp, finishInterp;
  539. if cosTheta >= 0.0001 then
  540. if (1 - cosTheta) > 0.0001 then
  541. local theta = ACOS(cosTheta)
  542. local invSinTheta = 1 / SIN(theta)
  543. startInterp = SIN((1 - t) * theta) * invSinTheta
  544. finishInterp = SIN(t * theta) * invSinTheta
  545. else
  546. startInterp = 1 - t
  547. finishInterp = t
  548. end
  549. else
  550. if (1 + cosTheta) > 0.0001 then
  551. local theta = ACOS(-cosTheta)
  552. local invSinTheta = 1 / SIN(theta)
  553. startInterp = SIN((t - 1) * theta) * invSinTheta
  554. finishInterp = SIN(t * theta) * invSinTheta
  555. else
  556. startInterp = t - 1
  557. finishInterp = t
  558. end
  559. end
  560. 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
  561. end
  562.  
  563. function Clerp(a, b, t)
  564. local qa = {QuaternionFromCFrame(a)}
  565. local qb = {QuaternionFromCFrame(b)}
  566. local ax, ay, az = a.x, a.y, a.z
  567. local bx, by, bz = b.x, b.y, b.z
  568. local _t = 1 - t
  569. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  570. end
  571.  
  572. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  573. local frame = IT("Frame")
  574. frame.BackgroundTransparency = TRANSPARENCY
  575. frame.BorderSizePixel = BORDERSIZEPIXEL
  576. frame.Position = POSITION
  577. frame.Size = SIZE
  578. frame.BackgroundColor3 = COLOR
  579. frame.BorderColor3 = BORDERCOLOR
  580. frame.Name = NAME
  581. frame.Parent = PARENT
  582. return frame
  583. end
  584.  
  585. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  586. local label = IT("TextLabel")
  587. label.BackgroundTransparency = 1
  588. label.Size = UD2(1, 0, 1, 0)
  589. label.Position = UD2(0, 0, 0, 0)
  590. label.TextColor3 = TEXTCOLOR
  591. label.TextStrokeTransparency = STROKETRANSPARENCY
  592. label.TextTransparency = TRANSPARENCY
  593. label.FontSize = TEXTFONTSIZE
  594. label.Font = TEXTFONT
  595. label.BorderSizePixel = BORDERSIZEPIXEL
  596. label.TextScaled = false
  597. label.Text = TEXT
  598. label.Name = NAME
  599. label.Parent = PARENT
  600. return label
  601. end
  602.  
  603. function NoOutlines(PART)
  604. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  605. end
  606.  
  607.  
  608. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  609. local NEWWELD = IT(TYPE)
  610. NEWWELD.Part0 = PART0
  611. NEWWELD.Part1 = PART1
  612. NEWWELD.C0 = C0
  613. NEWWELD.C1 = C1
  614. NEWWELD.Parent = PARENT
  615. return NEWWELD
  616. end
  617.  
  618. local sound = IT("Sound",nil)
  619.  
  620. function CreateSound(ID, PARENT, VOLUME, PITCH)
  621. local NEWSOUND = nil
  622. coroutine.resume(coroutine.create(function()
  623. NEWSOUND = sound:Clone()
  624. NEWSOUND.Parent = PARENT
  625. NEWSOUND.Volume = VOLUME
  626. NEWSOUND.Pitch = PITCH
  627. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  628. Swait()
  629. NEWSOUND:play()
  630. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  631. end))
  632. return NEWSOUND
  633. end
  634.  
  635. function CFrameFromTopBack(at, top, back)
  636. local right = top:Cross(back)
  637. 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)
  638. end
  639.  
  640. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  641. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  642. local mesh = IT("SpecialMesh",wave)
  643. mesh.MeshType = "FileMesh"
  644. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  645. mesh.Scale = SIZE
  646. mesh.Offset = VT(0,0,-SIZE.X/8)
  647. wave.CFrame = CFRAME
  648. coroutine.resume(coroutine.create(function(PART)
  649. for i = 1, WAIT do
  650. Swait()
  651. mesh.Scale = mesh.Scale + GROW
  652. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  653. if DOESROT == true then
  654. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  655. end
  656. wave.Transparency = wave.Transparency + (0.5/WAIT)
  657. if wave.Transparency > 0.99 then
  658. wave:remove()
  659. end
  660. end
  661. end))
  662. end
  663.  
  664. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  665. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  666. local mesh = IT("SpecialMesh",wave)
  667. mesh.MeshType = "FileMesh"
  668. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  669. mesh.Scale = SIZE
  670. mesh.Offset = VT(0,0,-SIZE.X/8)
  671. wave.CFrame = CFRAME
  672. coroutine.resume(coroutine.create(function(PART)
  673. for i = 1, WAIT do
  674. Swait()
  675. mesh.Scale = mesh.Scale + GROW
  676. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  677. if DOESROT == true then
  678. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  679. end
  680. wave.Transparency = wave.Transparency + (0.5/WAIT)
  681. if wave.Transparency > 0.99 then
  682. wave:remove()
  683. end
  684. end
  685. end))
  686. end
  687.  
  688. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  689. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  690. local mesh = IT("SpecialMesh",wave)
  691. mesh.MeshType = "FileMesh"
  692. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  693. mesh.Scale = SIZE
  694. mesh.Offset = VT(0,0,-SIZE.X/8)
  695. wave.CFrame = CFRAME
  696. coroutine.resume(coroutine.create(function(PART)
  697. for i = 1, WAIT do
  698. Swait()
  699. mesh.Scale = mesh.Scale + GROW
  700. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  701. if DOESROT == true then
  702. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  703. end
  704. wave.Transparency = wave.Transparency + (0.5/WAIT)
  705. if wave.Transparency > 0.99 then
  706. wave:remove()
  707. end
  708. end
  709. end))
  710. end
  711.  
  712. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  713. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  714. local mesh = IT("SpecialMesh",wave)
  715. mesh.MeshType = "FileMesh"
  716. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  717. mesh.Scale = SIZE
  718. mesh.Offset = VT(0,0,-SIZE.X/8)
  719. wave.CFrame = CFRAME
  720. coroutine.resume(coroutine.create(function(PART)
  721. for i = 1, WAIT do
  722. Swait()
  723. mesh.Scale = mesh.Scale + GROW
  724. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  725. if DOESROT == true then
  726. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  727. end
  728. wave.Transparency = wave.Transparency + (0.5/WAIT)
  729. if wave.Transparency > 0.99 then
  730. wave:remove()
  731. end
  732. end
  733. end))
  734. end
  735.  
  736. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  737. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  738. local mesh = IT("SpecialMesh",wave)
  739. mesh.MeshType = "FileMesh"
  740. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  741. mesh.Scale = SIZE
  742. wave.CFrame = CFRAME
  743. coroutine.resume(coroutine.create(function(PART)
  744. for i = 1, WAIT do
  745. Swait()
  746. mesh.Scale = mesh.Scale + GROW
  747. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  748. if DOESROT == true then
  749. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  750. end
  751. wave.Transparency = wave.Transparency + (0.5/WAIT)
  752. if wave.Transparency > 0.99 then
  753. wave:remove()
  754. end
  755. end
  756. end))
  757. end
  758.  
  759. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  760. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  761. local mesh = IT("SpecialMesh",wave)
  762. mesh.MeshType = "FileMesh"
  763. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  764. mesh.Scale = SIZE
  765. wave.CFrame = CFRAME
  766. coroutine.resume(coroutine.create(function(PART)
  767. for i = 1, WAIT do
  768. Swait()
  769. mesh.Scale = mesh.Scale + GROW
  770. if DOESROT == true then
  771. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  772. end
  773. wave.Transparency = wave.Transparency + (0.5/WAIT)
  774. if wave.Transparency > 0.99 then
  775. wave:remove()
  776. end
  777. end
  778. end))
  779. end
  780.  
  781. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  782. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  783. local mesh = IT("SpecialMesh",wave)
  784. mesh.MeshType = "FileMesh"
  785. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  786. mesh.Scale = SIZE
  787. mesh.Offset = VT(0,0,0)
  788. wave.CFrame = CFRAME
  789. coroutine.resume(coroutine.create(function(PART)
  790. for i = 1, WAIT do
  791. Swait()
  792. mesh.Scale = mesh.Scale + GROW
  793. if DOESROT == true then
  794. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  795. end
  796. wave.Transparency = wave.Transparency + (0.5/WAIT)
  797. if wave.Transparency > 0.99 then
  798. wave:remove()
  799. end
  800. end
  801. end))
  802. end
  803.  
  804. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  805. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  806. local mesh = IT("SpecialMesh",wave)
  807. mesh.MeshType = "Sphere"
  808. mesh.Scale = SIZE
  809. mesh.Offset = VT(0,0,0)
  810. wave.CFrame = CFRAME
  811. coroutine.resume(coroutine.create(function(PART)
  812. for i = 1, WAIT do
  813. Swait()
  814. mesh.Scale = mesh.Scale + GROW
  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 MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  824. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  825. local mesh = IT("BlockMesh",wave)
  826. wave.CFrame = CFRAME
  827. coroutine.resume(coroutine.create(function(PART)
  828. for i = 1, WAIT do
  829. Swait()
  830. mesh.Scale = mesh.Scale + GROW
  831. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  832. wave.Transparency = wave.Transparency + (1/WAIT)
  833. if wave.Transparency > 0.99 then
  834. wave:remove()
  835. end
  836. end
  837. end))
  838. end
  839.  
  840. function MakeForm(PART,TYPE)
  841. if TYPE == "Cyl" then
  842. local MSH = IT("CylinderMesh",PART)
  843. elseif TYPE == "Ball" then
  844. local MSH = IT("SpecialMesh",PART)
  845. MSH.MeshType = "Sphere"
  846. elseif TYPE == "Wedge" then
  847. local MSH = IT("SpecialMesh",PART)
  848. MSH.MeshType = "Wedge"
  849. elseif TYPE == "Head" then
  850. local MSH = IT("SpecialMesh",PART)
  851. MSH.Scale = VT(1.25,1.25,1.25)
  852. end
  853. end
  854.  
  855. function CheckTableForString(Table, String)
  856. for i, v in pairs(Table) do
  857. if string.find(string.lower(String), string.lower(v)) then
  858. return true
  859. end
  860. end
  861. return false
  862. end
  863.  
  864. function CheckIntangible(Hit)
  865. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  866. if Hit and Hit.Parent then
  867. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  868. return true
  869. end
  870. end
  871. return false
  872. end
  873.  
  874. Debris = game:GetService("Debris")
  875.  
  876. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  877. local Direction = CFrame.new(StartPos, Vec).lookVector
  878. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  879. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  880. if RayHit and CheckIntangible(RayHit) then
  881. if DelayIfHit then
  882. wait()
  883. end
  884. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  885. end
  886. return RayHit, RayPos, RayNormal
  887. end
  888.  
  889. function CreateMagicCircle()
  890. local sinkhole = IT("Part")
  891. sinkhole.Size = VT(0,0,0)
  892. sinkhole.Parent = Effects
  893. sinkhole.Material = "Neon"
  894. sinkhole.Color = C3(0,0,0)
  895. sinkhole.Anchored = true
  896. sinkhole.CanCollide = false
  897. sinkhole.Transparency = 1
  898. local decal = IT("Decal",sinkhole)
  899. decal.Face = "Top"
  900. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  901. local decal2 = IT("Decal",sinkhole)
  902. decal2.Face = "Bottom"
  903. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  904. return sinkhole
  905. end
  906.  
  907. function CreateGUICircle(TARGET)
  908. local GUI = Instance.new("BillboardGui",Character)
  909. GUI.Size = UDim2.new(0,0,0,0)
  910. GUI.Adornee = TARGET
  911. local GUI2 = IT("ImageLabel",GUI)
  912. GUI2.BackgroundTransparency = 1
  913. GUI2.BorderSizePixel = 0
  914. GUI2.Size = UDim2.new(1,0,1,0)
  915. GUI2.SizeConstraint = "RelativeYY"
  916. GUI.AlwaysOnTop = true
  917. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  918. return GUI,GUI2
  919. end
  920.  
  921. function CastWarpOutlines(TARGET)
  922. coroutine.resume(coroutine.create(function()
  923. local T = TARGET:GetChildren()
  924. for i = 1, # T do
  925. local child = T[i]
  926. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  927. local clone = child:Clone()
  928. clone.Parent = Effects
  929. clone.Anchored = true
  930. clone.CanCollide = false
  931. clone:ClearAllChildren()
  932. clone.CFrame = child.CFrame
  933. if clone.Name == "Head" then
  934. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  935. end
  936. if clone.ClassName == "MeshPart" then
  937. clone.TextureID = ""
  938. end
  939. clone.BrickColor = BRICKC"Black"
  940. clone.Material = "Neon"
  941. coroutine.resume(coroutine.create(function()
  942. for i = 1, 200 do
  943. Swait()
  944. clone.Transparency = clone.Transparency + 0.005
  945. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  946. end
  947. clone:remove()
  948. end))
  949. end
  950. end
  951. end))
  952. end
  953.  
  954. function turnto(position)
  955. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  956. end
  957.  
  958. --//=================================\\
  959. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  960. --\\=================================//
  961.  
  962. ArtificialHB = Instance.new("BindableEvent", script)
  963. ArtificialHB.Name = "ArtificialHB"
  964.  
  965. script:WaitForChild("ArtificialHB")
  966.  
  967. frame = Frame_Speed
  968. tf = 0
  969. allowframeloss = false
  970. tossremainder = false
  971. lastframe = tick()
  972. script.ArtificialHB:Fire()
  973.  
  974. game:GetService("RunService").Heartbeat:connect(function(s, p)
  975. tf = tf + s
  976. if tf >= frame then
  977. if allowframeloss then
  978. script.ArtificialHB:Fire()
  979. lastframe = tick()
  980. else
  981. for i = 1, math.floor(tf / frame) do
  982. script.ArtificialHB:Fire()
  983. end
  984. lastframe = tick()
  985. end
  986. if tossremainder then
  987. tf = 0
  988. else
  989. tf = tf - frame * math.floor(tf / frame)
  990. end
  991. end
  992. end)
  993.  
  994. --//=================================\\
  995. --\\=================================//
  996. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  997. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  998. end
  999.  
  1000. function PositiveAngle(NUMBER)
  1001. if NUMBER >= 0 then
  1002. NUMBER = 0
  1003. end
  1004. return NUMBER
  1005. end
  1006.  
  1007. function NegativeAngle(NUMBER)
  1008. if NUMBER <= 0 then
  1009. NUMBER = 0
  1010. end
  1011. return NUMBER
  1012. end
  1013.  
  1014. function Swait(NUMBER)
  1015. if NUMBER == 0 or NUMBER == nil then
  1016. ArtificialHB.Event:wait()
  1017. else
  1018. for i = 1, NUMBER do
  1019. ArtificialHB.Event:wait()
  1020. end
  1021. end
  1022. end
  1023.  
  1024. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1025. local NEWMESH = IT(MESH)
  1026. if MESH == "SpecialMesh" then
  1027. NEWMESH.MeshType = MESHTYPE
  1028. if MESHID ~= "nil" and MESHID ~= "" then
  1029. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1030. end
  1031. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1032. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1033. end
  1034. end
  1035. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1036. NEWMESH.Scale = SCALE
  1037. NEWMESH.Parent = PARENT
  1038. return NEWMESH
  1039. end
  1040.  
  1041. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1042. local NEWPART = IT("Part")
  1043. NEWPART.formFactor = FORMFACTOR
  1044. NEWPART.Reflectance = REFLECTANCE
  1045. NEWPART.Transparency = TRANSPARENCY
  1046. NEWPART.CanCollide = false
  1047. NEWPART.Locked = true
  1048. NEWPART.Anchored = true
  1049. if ANCHOR == false then
  1050. NEWPART.Anchored = false
  1051. end
  1052. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1053. NEWPART.Name = NAME
  1054. NEWPART.Size = SIZE
  1055. NEWPART.Position = Torso.Position
  1056. NEWPART.Material = MATERIAL
  1057. NEWPART:BreakJoints()
  1058. NEWPART.Parent = PARENT
  1059. return NEWPART
  1060. end
  1061.  
  1062. local function weldBetween(a, b)
  1063. local weldd = Instance.new("ManualWeld")
  1064. weldd.Part0 = a
  1065. weldd.Part1 = b
  1066. weldd.C0 = CFrame.new()
  1067. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1068. weldd.Parent = a
  1069. return weldd
  1070. end
  1071.  
  1072.  
  1073. function QuaternionFromCFrame(cf)
  1074. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1075. local trace = m00 + m11 + m22
  1076. if trace > 0 then
  1077. local s = math.sqrt(1 + trace)
  1078. local recip = 0.5 / s
  1079. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1080. else
  1081. local i = 0
  1082. if m11 > m00 then
  1083. i = 1
  1084. end
  1085. if m22 > (i == 0 and m00 or m11) then
  1086. i = 2
  1087. end
  1088. if i == 0 then
  1089. local s = math.sqrt(m00 - m11 - m22 + 1)
  1090. local recip = 0.5 / s
  1091. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1092. elseif i == 1 then
  1093. local s = math.sqrt(m11 - m22 - m00 + 1)
  1094. local recip = 0.5 / s
  1095. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1096. elseif i == 2 then
  1097. local s = math.sqrt(m22 - m00 - m11 + 1)
  1098. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1099. end
  1100. end
  1101. end
  1102.  
  1103. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1104. local xs, ys, zs = x + x, y + y, z + z
  1105. local wx, wy, wz = w * xs, w * ys, w * zs
  1106. local xx = x * xs
  1107. local xy = x * ys
  1108. local xz = x * zs
  1109. local yy = y * ys
  1110. local yz = y * zs
  1111. local zz = z * zs
  1112. 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))
  1113. end
  1114.  
  1115. function QuaternionSlerp(a, b, t)
  1116. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1117. local startInterp, finishInterp;
  1118. if cosTheta >= 0.0001 then
  1119. if (1 - cosTheta) > 0.0001 then
  1120. local theta = ACOS(cosTheta)
  1121. local invSinTheta = 1 / SIN(theta)
  1122. startInterp = SIN((1 - t) * theta) * invSinTheta
  1123. finishInterp = SIN(t * theta) * invSinTheta
  1124. else
  1125. startInterp = 1 - t
  1126. finishInterp = t
  1127. end
  1128. else
  1129. if (1 + cosTheta) > 0.0001 then
  1130. local theta = ACOS(-cosTheta)
  1131. local invSinTheta = 1 / SIN(theta)
  1132. startInterp = SIN((t - 1) * theta) * invSinTheta
  1133. finishInterp = SIN(t * theta) * invSinTheta
  1134. else
  1135. startInterp = t - 1
  1136. finishInterp = t
  1137. end
  1138. end
  1139. 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
  1140. end
  1141.  
  1142. function Clerp(a, b, t)
  1143. local qa = {QuaternionFromCFrame(a)}
  1144. local qb = {QuaternionFromCFrame(b)}
  1145. local ax, ay, az = a.x, a.y, a.z
  1146. local bx, by, bz = b.x, b.y, b.z
  1147. local _t = 1 - t
  1148. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1149. end
  1150.  
  1151. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1152. local frame = IT("Frame")
  1153. frame.BackgroundTransparency = TRANSPARENCY
  1154. frame.BorderSizePixel = BORDERSIZEPIXEL
  1155. frame.Position = POSITION
  1156. frame.Size = SIZE
  1157. frame.BackgroundColor3 = COLOR
  1158. frame.BorderColor3 = BORDERCOLOR
  1159. frame.Name = NAME
  1160. frame.Parent = PARENT
  1161. return frame
  1162. end
  1163.  
  1164. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1165. local label = IT("TextLabel")
  1166. label.BackgroundTransparency = 1
  1167. label.Size = UD2(1, 0, 1, 0)
  1168. label.Position = UD2(0, 0, 0, 0)
  1169. label.TextColor3 = TEXTCOLOR
  1170. label.TextStrokeTransparency = STROKETRANSPARENCY
  1171. label.TextTransparency = TRANSPARENCY
  1172. label.FontSize = TEXTFONTSIZE
  1173. label.Font = TEXTFONT
  1174. label.BorderSizePixel = BORDERSIZEPIXEL
  1175. label.TextScaled = false
  1176. label.Text = TEXT
  1177. label.Name = NAME
  1178. label.Parent = PARENT
  1179. return label
  1180. end
  1181.  
  1182. function NoOutlines(PART)
  1183. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1184. end
  1185.  
  1186. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1187. local NEWWELD = IT(TYPE)
  1188. NEWWELD.Part0 = PART0
  1189. NEWWELD.Part1 = PART1
  1190. NEWWELD.C0 = C0
  1191. NEWWELD.C1 = C1
  1192. NEWWELD.Parent = PARENT
  1193. return NEWWELD
  1194. end
  1195.  
  1196.  
  1197. Player = game:GetService("Players").janndwayne
  1198. PlayerGui = Player:FindFirstChildOfClass("PlayerGui")
  1199. Cam = workspace.CurrentCamera
  1200. Backpack = Player:FindFirstChildOfClass("Backpack")
  1201. Character = Player.Character
  1202. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1203.  
  1204. function chatfunc(text)
  1205. local chat = coroutine.wrap(function()
  1206. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1207. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1208. end
  1209. local naeeym2 = Instance.new("BillboardGui",Character)
  1210. naeeym2.Size = UDim2.new(0,100,0,40)
  1211. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1212. naeeym2.Adornee = Character.Head
  1213. naeeym2.Name = "TalkingBillBoard"
  1214. local tecks3 = Instance.new("TextLabel",naeeym2)
  1215. tecks3.BackgroundTransparency = 1
  1216. tecks3.BorderSizePixel = 0
  1217. tecks3.Text = ""
  1218. tecks3.Font = "SciFi"
  1219. tecks3.TextSize = 30
  1220. tecks3.TextStrokeTransparency = 0
  1221. tecks3.TextColor3 = Color3.new(3.15,0,0)
  1222. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1223. tecks3.Size = UDim2.new(1,0,0.5,0)
  1224. for i = 1,string.len(text),1 do
  1225. tecks3.Text = string.sub(text,1,i)
  1226. wait(0.01)
  1227. end
  1228. wait(3)
  1229. for i = 1, 80 do
  1230. Swait()
  1231. tecks3.Position = tecks3.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1232. tecks3.Rotation = tecks3.Rotation + .8
  1233. tecks3.TextStrokeTransparency = tecks3.TextStrokeTransparency +.03
  1234. tecks3.TextTransparency = tecks3.TextTransparency + .03
  1235. end
  1236. end)
  1237. chat()
  1238. end
  1239.  
  1240.  
  1241. function CFrameFromTopBack(at, top, back)
  1242. local right = top:Cross(back)
  1243. 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)
  1244. end
  1245.  
  1246. --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})
  1247. local cR=255
  1248. local cG=0
  1249. local cB=0
  1250. local flg5=1 local omgidk=1
  1251. local add=10.5
  1252. game:GetService('RunService').Heartbeat:connect(function()
  1253. if omgidk>10000 then omgidk=0 end
  1254. omgidk=omgidk+1
  1255. if cR>=255 then flg5=1 end
  1256. if cG>=255 then flg5=2 end
  1257. if cB>=255 then flg5=3 end
  1258. if flg5==1 then cR=cR-add cG=cG+add end
  1259. if flg5==2 then cG=cG-add cB=cB+add end
  1260. if flg5==3 then cB=cB-add cR=cR+add end
  1261. color=Color3.fromRGB(cR,cG,cB)
  1262. function WACKYEFFECT(Table)
  1263. local TYPE = (Table.EffectType or "Sphere")
  1264. local SIZE = (Table.Size or VT(6,6,6))
  1265. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1266. local TRANSPARENCY = (Table.Transparency or 0)
  1267. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1268. local CFRAME = (Table.CFrame or Torso.CFrame)
  1269. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1270. local ROTATION1 = (Table.RotationX or 0)
  1271. local ROTATION2 = (Table.RotationY or 0)
  1272. local ROTATION3 = (Table.RotationZ or 0)
  1273. local MATERIAL = "Neon"
  1274. local COLOR = color
  1275. local TIME = (Table.Time or 45)
  1276. local SOUNDID = (Table.SoundID or nil)
  1277. local SOUNDPITCH = (Table.SoundPitch or nil)
  1278. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1279. coroutine.resume(coroutine.create(function()
  1280. local PLAYSSOUND = false
  1281. local SOUND = nil
  1282. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1283. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1284. PLAYSSOUND = true
  1285. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1286. end
  1287. EFFECT.Color = color
  1288. local MSH = nil
  1289. if TYPE == "Sphere" then
  1290. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1291. elseif TYPE == "Block" then
  1292. MSH = IT("BlockMesh",EFFECT)
  1293. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1294. elseif TYPE == "Wave" then
  1295. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1296. elseif TYPE == "Ring" then
  1297. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1298. elseif TYPE == "Slash" then
  1299. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1300. elseif TYPE == "Round Slash" then
  1301. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1302. elseif TYPE == "Swirl" then
  1303. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1304. elseif TYPE == "Skull" then
  1305. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1306. elseif TYPE == "Crystal" then
  1307. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1308. end
  1309. if MSH ~= nil then
  1310. local MOVESPEED = nil
  1311. if MOVEDIRECTION ~= nil then
  1312. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1313. end
  1314. local GROWTH = SIZE - ENDSIZE
  1315. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1316. if TYPE == "Block" then
  1317. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1318. else
  1319. EFFECT.CFrame = CFRAME
  1320. end
  1321. for LOOP = 1, TIME+1 do
  1322. Swait()
  1323. MSH.Scale = MSH.Scale - GROWTH/TIME
  1324. if TYPE == "Wave" then
  1325. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1326. end
  1327. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1328. if TYPE == "Block" then
  1329. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1330. else
  1331. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1332. end
  1333. if MOVEDIRECTION ~= nil then
  1334. local ORI = EFFECT.Orientation
  1335. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1336. EFFECT.Orientation = ORI
  1337. end
  1338. end
  1339. if PLAYSSOUND == false then
  1340. EFFECT:remove()
  1341. else
  1342. SOUND.Stopped:Connect(function()
  1343. EFFECT:remove()
  1344. end)
  1345. end
  1346. else
  1347. if PLAYSSOUND == false then
  1348. EFFECT:remove()
  1349. else
  1350. repeat Swait() until SOUND.Playing == false
  1351. EFFECT:remove()
  1352. end
  1353. end
  1354. end))
  1355. end
  1356. end)
  1357. function MakeForm(PART,TYPE)
  1358. if TYPE == "Cyl" then
  1359. local MSH = IT("CylinderMesh",PART)
  1360. elseif TYPE == "Ball" then
  1361. local MSH = IT("SpecialMesh",PART)
  1362. MSH.MeshType = "Sphere"
  1363. elseif TYPE == "Wedge" then
  1364. local MSH = IT("SpecialMesh",PART)
  1365. MSH.MeshType = "Wedge"
  1366. end
  1367. end
  1368. function SpawnTrail(FROM,TO,BIG)
  1369. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1370. MakeForm(TRAIL,"Cyl")
  1371. local cR=255
  1372. local cG=0
  1373. local cB=0
  1374. local flg5=1 local omgidk=1
  1375. local add=10.5
  1376. game:GetService('RunService').Heartbeat:connect(function()
  1377. if omgidk>10000 then omgidk=0 end
  1378. omgidk=omgidk+1
  1379. if cR>=255 then flg5=1 end
  1380. if cG>=255 then flg5=2 end
  1381. if cB>=255 then flg5=3 end
  1382. if flg5==1 then cR=cR-add cG=cG+add end
  1383. if flg5==2 then cG=cG-add cB=cB+add end
  1384. if flg5==3 then cB=cB-add cR=cR+add end
  1385. color=Color3.fromRGB(cR,cG,cB)
  1386. TRAIL.Color = color
  1387. end)
  1388. local DIST = (FROM - TO).Magnitude
  1389. if BIG == true then
  1390. TRAIL.Size = VT(5,DIST,5)
  1391. else
  1392. TRAIL.Size = VT(5,DIST,5)
  1393. end
  1394. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1395. coroutine.resume(coroutine.create(function()
  1396. for i = 1, 55 do
  1397. Swait()
  1398. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1399. end
  1400. TRAIL:remove()
  1401. end))
  1402. end
  1403.  
  1404. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1405. local DIRECTION = CF(StartPos,EndPos).lookVector
  1406. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1407. end
  1408.  
  1409. function turnto(position)
  1410. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1411. end
  1412.  
  1413.  
  1414. --//=================================\\
  1415. --|| SOME FUNCTIONS
  1416. --\\=================================//
  1417.  
  1418. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1419. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1420. end
  1421.  
  1422. function PositiveAngle(NUMBER)
  1423. if NUMBER >= 0 then
  1424. NUMBER = 0
  1425. end
  1426. return NUMBER
  1427. end
  1428.  
  1429. function NegativeAngle(NUMBER)
  1430. if NUMBER <= 0 then
  1431. NUMBER = 0
  1432. end
  1433. return NUMBER
  1434. end
  1435.  
  1436. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1437. if FLOOR ~= nil then
  1438. coroutine.resume(coroutine.create(function()
  1439. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1440. PART.CFrame = CF(POSITION)
  1441. for i = 1, 45 do
  1442. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1443. RingPiece.Material = FLOOR.Material
  1444. RingPiece.Color = FLOOR.Color
  1445. 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)))
  1446. Debris:AddItem(RingPiece, SWAIT)
  1447. end
  1448. PART:remove()
  1449. end))
  1450. end
  1451. end
  1452. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1453. if FLOOR ~= nil then
  1454. for i = 1, AMOUNT do
  1455. do
  1456. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1457. DEBREE.Material = FLOOR.Material
  1458. DEBREE.Color = FLOOR.Color
  1459. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1460. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1461. coroutine.resume(coroutine.create(function()
  1462. Swait(15)
  1463. DEBREE.Parent = workspace
  1464. DEBREE.CanCollide = true
  1465. Debris:AddItem(DEBREE, SWAIT)
  1466. end))
  1467. end
  1468. end
  1469. end
  1470. end
  1471.  
  1472. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1473. if FLOOR ~= nil then
  1474. for i = 1, AMOUNT do
  1475. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1476. DEBREE.Material = FLOOR.Material
  1477. DEBREE.Color = FLOOR.Color
  1478. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1479. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1480. coroutine.resume(coroutine.create(function()
  1481. Swait(15)
  1482. DEBREE.Parent = workspace
  1483. DEBREE.CanCollide = true
  1484. Debris:AddItem(DEBREE,SWAIT)
  1485. end))
  1486. end
  1487. end
  1488. end
  1489.  
  1490. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1491. if FLOOR ~= nil then
  1492. coroutine.resume(coroutine.create(function()
  1493. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  1494. PART.CFrame = CF(POSITION)
  1495. for i = 1, 45 do
  1496. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  1497. RingPiece.Material = FLOOR.Material
  1498. RingPiece.Color = FLOOR.Color
  1499. 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)))
  1500. Debris:AddItem(RingPiece,SWAIT)
  1501. end
  1502. PART:remove()
  1503. end))
  1504. end
  1505. end
  1506.  
  1507. local DECAL = IT("Decal")
  1508. function MakeRing()
  1509. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1510. local MSH = IT("BlockMesh", RING)
  1511. local TOP = DECAL:Clone()
  1512. local BOTTOM = DECAL:Clone()
  1513. TOP.Parent = RING
  1514. BOTTOM.Parent = RING
  1515. TOP.Face = "Top"
  1516. BOTTOM.Face = "Bottom"
  1517. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1518. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1519. local function REMOVE()
  1520. coroutine.resume(coroutine.create(function()
  1521. local SIZE = MSH.Scale.X
  1522. for i = 1, 35 do
  1523. Swait()
  1524. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1525. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1526. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1527. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1528. end
  1529. RING:remove()
  1530. end))
  1531. end
  1532. return RING, MSH, REMOVE
  1533. end
  1534.  
  1535. function killnearest(position, range, maxstrength)
  1536. for i, v in ipairs(workspace:GetChildren()) do
  1537. do
  1538. local body = v:GetChildren()
  1539. for part = 1, #body do
  1540. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1541. if v.ClassName == "Model" then
  1542. v:BreakJoints()
  1543. end
  1544. local bv = Instance.new("BodyVelocity")
  1545. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1546. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1547. bv.Parent = body[part]
  1548. Debris:AddItem(bv, 0.2)
  1549. body[part].Parent = Effects
  1550. body[part].Material = "Neon"
  1551. body[part].Color = C3(0, 0, 0)
  1552. body[part].CanCollide = true
  1553. coroutine.resume(coroutine.create(function()
  1554. wait(5)
  1555. if body[part].Parent == Effects then
  1556. body[part]:remove()
  1557. end
  1558. end))
  1559. end
  1560. end
  1561. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1562. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1563. end
  1564. end
  1565. end
  1566. end
  1567.  
  1568. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1569. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1570. wave.Color = COLOR
  1571. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  1572. wave.CFrame = CFRAME
  1573. coroutine.resume(coroutine.create(function(PART)
  1574. for i = 1, WAIT do
  1575. Swait()
  1576. mesh.Scale = mesh.Scale + GROW
  1577. if DOESROT == true then
  1578. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1579. end
  1580. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1581. if wave.Transparency > 0.99 then
  1582. wave:remove()
  1583. end
  1584. end
  1585. end))
  1586. end
  1587.  
  1588. function MakeForm(PART, TYPE)
  1589. if TYPE == "Cyl" then
  1590. local MSH = IT("CylinderMesh", PART)
  1591. elseif TYPE == "Ball" then
  1592. local MSH = IT("SpecialMesh", PART)
  1593. MSH.MeshType = "Sphere"
  1594. elseif TYPE == "Wedge" then
  1595. local MSH = IT("SpecialMesh", PART)
  1596. MSH.MeshType = "Wedge"
  1597. end
  1598. end
  1599.  
  1600. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1601. local NEWPART = IT("Part")
  1602. NEWPART.formFactor = FORMFACTOR
  1603. NEWPART.Reflectance = REFLECTANCE
  1604. NEWPART.Transparency = TRANSPARENCY
  1605. NEWPART.CanCollide = false
  1606. NEWPART.Locked = true
  1607. NEWPART.Anchored = true
  1608. if ANCHOR == false then
  1609. NEWPART.Anchored = false
  1610. end
  1611. NEWPART.Name = NAME
  1612. NEWPART.Size = SIZE
  1613. NEWPART.Position = Torso.Position
  1614. NEWPART.Material = MATERIAL
  1615. NEWPART:BreakJoints()
  1616. NEWPART.Parent = PARENT
  1617. return NEWPART
  1618. end
  1619.  
  1620. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1621. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1622. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1623. wave.CFrame = CFRAME
  1624. coroutine.resume(coroutine.create(function(PART)
  1625. for i = 1, WAIT do
  1626. Swait()
  1627. mesh.Scale = mesh.Scale + GROW
  1628. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1629. if DOESROT == true then
  1630. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1631. end
  1632. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1633. if wave.Transparency > 0.99 then
  1634. wave:remove()
  1635. end
  1636. end
  1637. end))
  1638. end
  1639.  
  1640. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1641. for _, c in pairs(PARENT:GetChildren()) do
  1642. if c.ClassName == "Model" then
  1643. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1644. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1645. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1646. if DIST > (TORSO.Position - FROM).Magnitude then
  1647. table.insert(TABLE, c)
  1648. end
  1649. AddChildrenToTable(FROM, c, DIST, TABLE)
  1650. elseif c.ClassName == "Folder" then
  1651. AddChildrenToTable(FROM, c, DIST, TABLE)
  1652. end
  1653. end
  1654. end
  1655. end
  1656.  
  1657. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1658. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1659. local mesh
  1660. if KIND == "Base" then
  1661. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1662. elseif KIND == "Thin" then
  1663. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1664. elseif KIND == "Round" then
  1665. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1666. end
  1667. wave.CFrame = CFRAME
  1668. coroutine.resume(coroutine.create(function(PART)
  1669. for i = 1, WAIT do
  1670. Swait()
  1671. mesh.Scale = mesh.Scale + GROW / 10
  1672. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1673. if wave.Transparency > 0.99 then
  1674. wave:remove()
  1675. end
  1676. end
  1677. end))
  1678. end
  1679.  
  1680. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1681. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1682. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1683. wave.CFrame = CFRAME
  1684. coroutine.resume(coroutine.create(function(PART)
  1685. for i = 1, WAIT do
  1686. Swait()
  1687. mesh.Scale = mesh.Scale + GROW
  1688. wave.Transparency = wave.Transparency + 1 / WAIT
  1689. if wave.Transparency > 0.99 then
  1690. wave:remove()
  1691. end
  1692. end
  1693. end))
  1694. end
  1695.  
  1696. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1697. local TORSO = Torso
  1698. local HUM = Humanoid
  1699. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1700. coroutine.wrap(function()
  1701. VT = Vector3.new
  1702. MRANDOM = math.random
  1703. local A = TIME
  1704. local B = INTENSITY
  1705. local C = true
  1706. local HUMANOID = Humanoid
  1707. local TIMER = A or 35
  1708. local SHAKE = B or 5
  1709. local FADE = C or true
  1710. if HUMANOID then
  1711. local FADER = SHAKE / TIMER
  1712. for i = 1, TIMER do
  1713. wait()
  1714. 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)
  1715. end
  1716. HUMANOID.CameraOffset = VT(0, 0, 0)
  1717. end
  1718.  
  1719. end)()
  1720. end
  1721. end
  1722.  
  1723. function Effect(data)
  1724. local FX = data.Effect or 'ResizeAndFade'
  1725. local Parent = data.Parent or Effects
  1726. local Color = data.Color or C3.N(0,0,0)
  1727. local Size = data.Size or V3.N(1,1,1)
  1728. local MoveDir = data.MoveDirection or nil
  1729. local MeshData = data.Mesh or nil
  1730. local SndData = data.Sound or nil
  1731. local Frames = data.Frames or 45
  1732. local Manual = data.Manual or nil
  1733. local Material = data.Material or nil
  1734. local CFra = data.CFrame or Torso.CFrame
  1735. local Settings = data.FXSettings or {}
  1736. local Snd,Prt,Msh;
  1737. local Shape = data.Shape or Enum.PartType.Block
  1738. coroutine.resume(coroutine.create(function()
  1739. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1740. Prt = Manual
  1741. else
  1742. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1743. Prt.Shape = Shape
  1744. end
  1745. if(typeof(MeshData) == 'table')then
  1746. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1747. elseif(typeof(MeshData) == 'Instance')then
  1748. Msh = MeshData:Clone()
  1749. Msh.Parent = Prt
  1750. elseif(Shape == Enum.PartType.Block)then
  1751. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1752. end
  1753. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1754. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1755. end
  1756. if(Snd)then
  1757. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1758. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1759. end
  1760. local MoveSpeed = nil;
  1761. if(MoveDir)then
  1762. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1763. end
  1764. local Inc = M.RNG()-M.RNG()
  1765. local Thingie = 0
  1766. local Thingie2 = M.RNG(50,100)/100
  1767. if(FX ~= 'Arc')then
  1768. for i = 1, Frames do
  1769. if(swait and typeof(swait) == 'function')then
  1770. swait()
  1771. else
  1772. wait()
  1773. end
  1774. if(FX == 'ResizeAndFade')then
  1775. if(not Settings.EndSize)then
  1776. Settings.EndSize = V3.N(0,0,0)
  1777. end
  1778. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  1779. if(Settings.EndIsIncrement)then
  1780. Prt.Size = Prt.Size + Settings.EndSize
  1781. else
  1782. Prt.Size = Prt.Size - grow/Frames
  1783. end
  1784. Prt.Transparency = (i/Frames)
  1785. elseif(FX == 'Fade')then
  1786. Prt.Transparency = (i/Frames)
  1787. end
  1788.  
  1789. if(Settings.RandomizeCFrame)then
  1790. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1791. end
  1792. if(MoveDir and MoveSpeed)then
  1793. local Orientation = Prt.Orientation
  1794. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1795. Prt.Orientation = Orientation
  1796. end
  1797. end
  1798. Prt:destroy()
  1799. else
  1800. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1801. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1802. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1803. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1804. assert(start ~= nil,"You need to specify a start point!")
  1805. assert(endP ~= nil,"You need to specify an end point!")
  1806. for i = 0, 1, Settings.Speed or 0.01 do
  1807. if(swait and typeof(swait) == 'function')then
  1808. swait()
  1809. else
  1810. wait()
  1811. end
  1812. if(Settings.Home)then
  1813. endP = Settings.Home.CFrame
  1814. end
  1815. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1816. end
  1817. if(Settings.RemoveOnGoal)then
  1818. Prt:destroy()
  1819. end
  1820. end
  1821. end))
  1822. return Prt,Msh,Snd
  1823. end
  1824.  
  1825. function RightWing()
  1826. for i = 1, 2 do
  1827. local PART
  1828. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1829. 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))
  1830. table.insert(RWINGS, WingWeld)
  1831. PART = Wing
  1832. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1833. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  1834. PART = Wing
  1835. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1836. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1837. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1838. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1839. PART = Wing
  1840. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1841. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1842. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1843. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1844. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1845. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1846. PART = Wing
  1847. table.insert(RWINGS, WingWeld)
  1848. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1849. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1850. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1851. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1852. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1853. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1854. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1855. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  1856. PART = Wing
  1857. table.insert(RWINGS, WingWeld)
  1858. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1859. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1860. PART = Wing
  1861. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1862. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  1863. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1864. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1865. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1866. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  1867. PART = Wing
  1868. table.insert(RWINGS, WingWeld)
  1869. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1870. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1871. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1872. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1873. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1874. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1875. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1876. table.insert(EYES, Wing1)
  1877. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  1878. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1879. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1880. PART = Wing
  1881. table.insert(RWINGS, WingWeld)
  1882. end
  1883. BODY = {}
  1884. for _, c in pairs(Character:GetDescendants()) do
  1885. if c:IsA("BasePart") then
  1886. table.insert(BODY, {
  1887. c,
  1888. c.Parent,
  1889. c.Material,
  1890. c.Color
  1891. })
  1892. elseif c:IsA("JointInstance") then
  1893. table.insert(BODY, {
  1894. c,
  1895. c.Parent,
  1896. nil,
  1897. nil
  1898. })
  1899. end
  1900. end
  1901. end
  1902. function LeftWing()
  1903. for i = 1, 2 do
  1904. local PART
  1905. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1906. 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))
  1907. table.insert(LWINGS, WingWeld)
  1908. PART = Wing
  1909. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1910. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  1911. PART = Wing
  1912. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1913. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1914. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1915. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1916. PART = Wing
  1917. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1918. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1919. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1920. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1921. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1922. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1923. PART = Wing
  1924. table.insert(LWINGS, WingWeld)
  1925. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1926. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1927. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1928. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1929. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1930. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1931. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1932. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  1933. PART = Wing
  1934. table.insert(LWINGS, WingWeld)
  1935. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1936. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1937. PART = Wing
  1938. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1939. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  1940. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1941. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1942. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1943. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  1944. PART = Wing
  1945. table.insert(LWINGS, WingWeld)
  1946. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1947. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1948. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1949. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1950. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1951. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1952. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1953. table.insert(EYES, Wing1)
  1954. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  1955. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1956. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1957. PART = Wing
  1958. table.insert(LWINGS, WingWeld)
  1959. end
  1960. BODY = {}
  1961. for _, c in pairs(Character:GetDescendants()) do
  1962. if c:IsA("BasePart") then
  1963. table.insert(BODY, {
  1964. c,
  1965. c.Parent,
  1966. c.Material,
  1967. c.Color
  1968. })
  1969. elseif c:IsA("JointInstance") then
  1970. table.insert(BODY, {
  1971. c,
  1972. c.Parent,
  1973. nil,
  1974. nil
  1975. })
  1976. end
  1977. end
  1978. end
  1979.  
  1980. function Swait(NUMBER)
  1981. if NUMBER == 0 or NUMBER == nil then
  1982. ArtificialHB.Event:wait()
  1983. else
  1984. for i = 1, NUMBER do
  1985. ArtificialHB.Event:wait()
  1986. end
  1987. end
  1988. end
  1989.  
  1990. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1991. local NEWMESH = IT(MESH)
  1992. if MESH == "SpecialMesh" then
  1993. NEWMESH.MeshType = MESHTYPE
  1994. if MESHID ~= "nil" and MESHID ~= "" then
  1995. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1996. end
  1997. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1998. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1999. end
  2000. end
  2001. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  2002. NEWMESH.Scale = SCALE
  2003. NEWMESH.Parent = PARENT
  2004. return NEWMESH
  2005. end
  2006.  
  2007. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2008. local NEWPART = IT("Part")
  2009. NEWPART.formFactor = FORMFACTOR
  2010. NEWPART.Reflectance = REFLECTANCE
  2011. NEWPART.Transparency = TRANSPARENCY
  2012. NEWPART.CanCollide = false
  2013. NEWPART.Locked = true
  2014. NEWPART.Anchored = true
  2015. if ANCHOR == false then
  2016. NEWPART.Anchored = false
  2017. end
  2018. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  2019. NEWPART.Name = NAME
  2020. NEWPART.Size = SIZE
  2021. NEWPART.Position = Torso.Position
  2022. NEWPART.Material = MATERIAL
  2023. NEWPART:BreakJoints()
  2024. NEWPART.Parent = PARENT
  2025. return NEWPART
  2026. end
  2027.  
  2028. local function weldBetween(a, b)
  2029. local weldd = Instance.new("ManualWeld")
  2030. weldd.Part0 = a
  2031. weldd.Part1 = b
  2032. weldd.C0 = CFrame.new()
  2033. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2034. weldd.Parent = a
  2035. return weldd
  2036. end
  2037.  
  2038.  
  2039. function QuaternionFromCFrame(cf)
  2040. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2041. local trace = m00 + m11 + m22
  2042. if trace > 0 then
  2043. local s = math.sqrt(1 + trace)
  2044. local recip = 0.5 / s
  2045. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2046. else
  2047. local i = 0
  2048. if m11 > m00 then
  2049. i = 1
  2050. end
  2051. if m22 > (i == 0 and m00 or m11) then
  2052. i = 2
  2053. end
  2054. if i == 0 then
  2055. local s = math.sqrt(m00 - m11 - m22 + 1)
  2056. local recip = 0.5 / s
  2057. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2058. elseif i == 1 then
  2059. local s = math.sqrt(m11 - m22 - m00 + 1)
  2060. local recip = 0.5 / s
  2061. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2062. elseif i == 2 then
  2063. local s = math.sqrt(m22 - m00 - m11 + 1)
  2064. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2065. end
  2066. end
  2067. end
  2068.  
  2069. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2070. local xs, ys, zs = x + x, y + y, z + z
  2071. local wx, wy, wz = w * xs, w * ys, w * zs
  2072. local xx = x * xs
  2073. local xy = x * ys
  2074. local xz = x * zs
  2075. local yy = y * ys
  2076. local yz = y * zs
  2077. local zz = z * zs
  2078. 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))
  2079. end
  2080.  
  2081. function QuaternionSlerp(a, b, t)
  2082. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2083. local startInterp, finishInterp;
  2084. if cosTheta >= 0.0001 then
  2085. if (1 - cosTheta) > 0.0001 then
  2086. local theta = ACOS(cosTheta)
  2087. local invSinTheta = 1 / SIN(theta)
  2088. startInterp = SIN((1 - t) * theta) * invSinTheta
  2089. finishInterp = SIN(t * theta) * invSinTheta
  2090. else
  2091. startInterp = 1 - t
  2092. finishInterp = t
  2093. end
  2094. else
  2095. if (1 + cosTheta) > 0.0001 then
  2096. local theta = ACOS(-cosTheta)
  2097. local invSinTheta = 1 / SIN(theta)
  2098. startInterp = SIN((t - 1) * theta) * invSinTheta
  2099. finishInterp = SIN(t * theta) * invSinTheta
  2100. else
  2101. startInterp = t - 1
  2102. finishInterp = t
  2103. end
  2104. end
  2105. 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
  2106. end
  2107.  
  2108. function Clerp(a, b, t)
  2109. local qa = {QuaternionFromCFrame(a)}
  2110. local qb = {QuaternionFromCFrame(b)}
  2111. local ax, ay, az = a.x, a.y, a.z
  2112. local bx, by, bz = b.x, b.y, b.z
  2113. local _t = 1 - t
  2114. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2115. end
  2116.  
  2117. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2118. local frame = IT("Frame")
  2119. frame.BackgroundTransparency = TRANSPARENCY
  2120. frame.BorderSizePixel = BORDERSIZEPIXEL
  2121. frame.Position = POSITION
  2122. frame.Size = SIZE
  2123. frame.BackgroundColor3 = COLOR
  2124. frame.BorderColor3 = BORDERCOLOR
  2125. frame.Name = NAME
  2126. frame.Parent = PARENT
  2127. return frame
  2128. end
  2129.  
  2130. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2131. local label = IT("TextLabel")
  2132. label.BackgroundTransparency = 1
  2133. label.Size = UD2(1, 0, 1, 0)
  2134. label.Position = UD2(0, 0, 0, 0)
  2135. label.TextColor3 = TEXTCOLOR
  2136. label.TextStrokeTransparency = STROKETRANSPARENCY
  2137. label.TextTransparency = TRANSPARENCY
  2138. label.FontSize = TEXTFONTSIZE
  2139. label.Font = TEXTFONT
  2140. label.BorderSizePixel = BORDERSIZEPIXEL
  2141. label.TextScaled = false
  2142. label.Text = TEXT
  2143. label.Name = NAME
  2144. label.Parent = PARENT
  2145. return label
  2146. end
  2147.  
  2148. function NoOutlines(PART)
  2149. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2150. end
  2151.  
  2152. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2153. local NEWWELD = IT(TYPE)
  2154. NEWWELD.Part0 = PART0
  2155. NEWWELD.Part1 = PART1
  2156. NEWWELD.C0 = C0
  2157. NEWWELD.C1 = C1
  2158. NEWWELD.Parent = PARENT
  2159. return NEWWELD
  2160. end
  2161.  
  2162. local S = IT("Sound")
  2163. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2164. local NEWSOUND = nil
  2165. coroutine.resume(coroutine.create(function()
  2166. NEWSOUND = S:Clone()
  2167. NEWSOUND.Parent = PARENT
  2168. NEWSOUND.Volume = VOLUME
  2169. NEWSOUND.Pitch = PITCH
  2170. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2171. NEWSOUND:play()
  2172. if DOESLOOP == true then
  2173. NEWSOUND.Looped = true
  2174. else
  2175. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  2176. NEWSOUND:remove()
  2177. end
  2178. end))
  2179. return NEWSOUND
  2180. end
  2181.  
  2182. function CFrameFromTopBack(at, top, back)
  2183. local right = top:Cross(back)
  2184. 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)
  2185. end
  2186.  
  2187. --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})
  2188. function Lightning(Table)
  2189. local Color = Table.Color or C3(1,1,1)
  2190. local StartPos = Table.Start or Torso.Position
  2191. local EndPos = Table.End or Mouse.Hit.p
  2192. local SegmentLength = Table.SegmentL or 2
  2193. local Thickness = Table.Thickness or 0.1
  2194. local Dissapear = Table.DoesFade or false
  2195. local Parent = Table.Ignore or Character
  2196. local MaxDist = Table.MaxDist or 400
  2197. local Branches = Table.Branches or false
  2198. local Thicken = Table.Thicken or false
  2199. local FadeTime = Table.FadeTime or 15
  2200. local FadeIn = Table.FadeIn or false
  2201. local Material = Table.Material or "Neon"
  2202. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  2203. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  2204. local LIGHTNINGMODEL = IT("Model",Effects)
  2205. LIGHTNINGMODEL.Name = "Lightning"
  2206. local LastBolt = nil
  2207. for E = 1, DISTANCE do
  2208. local ExtraSize = 0
  2209. if Thicken == true then
  2210. ExtraSize = (DISTANCE-E)/15
  2211. end
  2212. local TRANSPARENCY = 0
  2213. if FadeIn == true then
  2214. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  2215. if TRANSPARENCY < 0 then
  2216. TRANSPARENCY = 0
  2217. end
  2218. end
  2219. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  2220. PART.Color = Color
  2221. MakeForm(PART,"Cyl")
  2222. if LastBolt == nil then
  2223. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  2224. else
  2225. 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)
  2226. end
  2227. LastBolt = PART
  2228. if Branches == true and E < (DISTANCE-5) then
  2229. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  2230. if CHOICE == 1 then
  2231. local LASTBRANCH = nil
  2232. for i = 1, MRANDOM(2,5) do
  2233. local ExtraSize2 = 0
  2234. if Thicken == true then
  2235. ExtraSize = ((DISTANCE-E)/25)/i
  2236. end
  2237. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  2238. PART.Color = Color
  2239. MakeForm(PART,"Cyl")
  2240. if LASTBRANCH == nil then
  2241. 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)
  2242. else
  2243. 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)
  2244. end
  2245. LASTBRANCH = PART
  2246. end
  2247. end
  2248. end
  2249. end
  2250. if Dissapear == true then
  2251. coroutine.resume(coroutine.create(function()
  2252. for i = 1, FadeTime do
  2253. Swait()
  2254. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  2255. if c.ClassName == "Part" then
  2256. c.Transparency = c.Transparency + (i/FadeTime)/10
  2257. end
  2258. end
  2259. end
  2260. LIGHTNINGMODEL:remove()
  2261. end))
  2262. elseif Dissapear == false then
  2263. Debris:AddItem(LIGHTNINGMODEL,0.1)
  2264. end
  2265. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  2266. end
  2267.  
  2268. -- Rainbow Stuff --
  2269. local cR=255
  2270. local cG=0
  2271. local cB=0
  2272. local flg5=1 local omgidk=1
  2273. local add=10.5
  2274. game:GetService('RunService').Heartbeat:connect(function()
  2275. if omgidk>10000 then omgidk=0 end
  2276. omgidk=omgidk+1
  2277. if cR>=255 then flg5=1 end
  2278. if cG>=255 then flg5=2 end
  2279. if cB>=255 then flg5=3 end
  2280. if flg5==1 then cR=cR-add cG=cG+add end
  2281. if flg5==2 then cG=cG-add cB=cB+add end
  2282. if flg5==3 then cB=cB-add cR=cR+add end
  2283. end)
  2284. color=Color3.fromRGB(cR,cG,cB)
  2285.  
  2286. function WACKYEFFECT(Table)
  2287. local TYPE = (Table.EffectType or "Sphere")
  2288. local SIZE = (Table.Size or VT(6,6,6))
  2289. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  2290. local TRANSPARENCY = (Table.Transparency or 0)
  2291. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  2292. local CFRAME = (Table.CFrame or Torso.CFrame)
  2293. local MOVEDIRECTION = (Table.MoveToPos or nil)
  2294. local ROTATION1 = (Table.RotationX or 0)
  2295. local ROTATION2 = (Table.RotationY or 0)
  2296. local ROTATION3 = (Table.RotationZ or 0)
  2297. local MATERIAL = (Table.Material or "Neon")
  2298. local COLOR = (Table.Color or C3(1,1,1))
  2299. local TIME = (Table.Time or 45)
  2300. local SOUNDID = (Table.SoundID or nil)
  2301. local SOUNDPITCH = (Table.SoundPitch or nil)
  2302. local SOUNDVOLUME = (Table.SoundVolume or nil)
  2303. coroutine.resume(coroutine.create(function()
  2304. local PLAYSSOUND = false
  2305. local SOUND = nil
  2306. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  2307. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  2308. PLAYSSOUND = true
  2309. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  2310. end
  2311. EFFECT.Color = COLOR
  2312. local MSH = nil
  2313. if TYPE == "Sphere" then
  2314. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  2315. elseif TYPE == "Block" then
  2316. MSH = IT("BlockMesh",EFFECT)
  2317. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  2318. elseif TYPE == "Wave" then
  2319. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2320. elseif TYPE == "Ring" then
  2321. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  2322. elseif TYPE == "Slash" then
  2323. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2324. elseif TYPE == "Round Slash" then
  2325. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  2326. elseif TYPE == "Swirl" then
  2327. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  2328. elseif TYPE == "Skull" then
  2329. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  2330. elseif TYPE == "Crystal" then
  2331. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  2332. end
  2333. if MSH ~= nil then
  2334. local MOVESPEED = nil
  2335. if MOVEDIRECTION ~= nil then
  2336. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  2337. end
  2338. local GROWTH = SIZE - ENDSIZE
  2339. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  2340. if TYPE == "Block" then
  2341. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2342. else
  2343. EFFECT.CFrame = CFRAME
  2344. end
  2345. for LOOP = 1, TIME+1 do
  2346. Swait()
  2347. MSH.Scale = MSH.Scale - GROWTH/TIME
  2348. if TYPE == "Wave" then
  2349. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  2350. end
  2351. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  2352. if TYPE == "Block" then
  2353. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  2354. else
  2355. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  2356. end
  2357. if MOVEDIRECTION ~= nil then
  2358. local ORI = EFFECT.Orientation
  2359. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  2360. EFFECT.Orientation = ORI
  2361. end
  2362. end
  2363. if PLAYSSOUND == false then
  2364. EFFECT:remove()
  2365. else
  2366. repeat Swait() until SOUND.Playing == false
  2367. EFFECT:remove()
  2368. end
  2369. else
  2370. if PLAYSSOUND == false then
  2371. EFFECT:remove()
  2372. else
  2373. repeat Swait() until SOUND.Playing == false
  2374. EFFECT:remove()
  2375. end
  2376. end
  2377. end))
  2378. end
  2379.  
  2380. function MakeForm(PART,TYPE)
  2381. if TYPE == "Cyl" then
  2382. local MSH = IT("CylinderMesh",PART)
  2383. elseif TYPE == "Ball" then
  2384. local MSH = IT("SpecialMesh",PART)
  2385. MSH.MeshType = "Sphere"
  2386. elseif TYPE == "Wedge" then
  2387. local MSH = IT("SpecialMesh",PART)
  2388. MSH.MeshType = "Wedge"
  2389. end
  2390. end
  2391. function SpawnTrail(FROM,TO,BIG)
  2392. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  2393. MakeForm(TRAIL,"Cyl")
  2394. local cR=255
  2395. local cG=0
  2396. local cB=0
  2397. local flg5=1 local omgidk=1
  2398. local add=10.5
  2399. game:GetService('RunService').Heartbeat:connect(function()
  2400. if omgidk>10000 then omgidk=0 end
  2401. omgidk=omgidk+1
  2402. if cR>=255 then flg5=1 end
  2403. if cG>=255 then flg5=2 end
  2404. if cB>=255 then flg5=3 end
  2405. if flg5==1 then cR=cR-add cG=cG+add end
  2406. if flg5==2 then cG=cG-add cB=cB+add end
  2407. if flg5==3 then cB=cB-add cR=cR+add end
  2408. color=Color3.fromRGB(cR,cG,cB)
  2409. TRAIL.Color = color
  2410. end)
  2411. local DIST = (FROM - TO).Magnitude
  2412. if BIG == true then
  2413. TRAIL.Size = VT(5,DIST,5)
  2414. else
  2415. TRAIL.Size = VT(5,DIST,5)
  2416. end
  2417. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2418. coroutine.resume(coroutine.create(function()
  2419. for i = 1, 55 do
  2420. Swait()
  2421. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2422. end
  2423. TRAIL:remove()
  2424. end))
  2425. end
  2426.  
  2427. Debris = game:GetService("Debris")
  2428.  
  2429. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2430. local DIRECTION = CF(StartPos,EndPos).lookVector
  2431. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2432. end
  2433.  
  2434. function turnto(position)
  2435. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2436. end
  2437.  
  2438. --//=================================\\
  2439. --|| WEAPON CREATION
  2440. --\\=================================//
  2441. 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))
  2442.  
  2443.  
  2444.  
  2445. for i = 1, 35 do
  2446. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2447. FACE.Color = C3(0,0,0)
  2448. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2449. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2450. end
  2451.  
  2452. local CLOCKLOOP = 0
  2453. local CLOCKTARGET = nil
  2454. local CLOCKSPEED = 10
  2455.  
  2456. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2457. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2458. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2459. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2460. MakeForm(PRT,"Cyl")
  2461. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2462. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2463. MakeForm(PRT,"Cyl")
  2464. PRT.Color = C3(159/255, 111/255, 183/255)
  2465. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2466. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2467. MakeForm(RING,"Cyl")
  2468. RING.Color = C3(0,0,0)
  2469. for i = 1, 12 do
  2470. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  2471. PRT.Color = C3(0,0,0)
  2472. local MSH = IT("BlockMesh",PRT)
  2473. MSH.Scale = VT(0.6,1,1)
  2474. 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))
  2475. end
  2476. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2477. PRT.Color = C3(0,0,0)
  2478. local MSH = IT("BlockMesh",PRT)
  2479. MSH.Scale = VT(0.4,1,1)
  2480. 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))
  2481. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2482. PRT.Color = C3(0,0,0)
  2483. local MSH = IT("BlockMesh",PRT)
  2484. MSH.Scale = VT(0.4,1,1)
  2485. 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))
  2486. coroutine.resume(coroutine.create(function()
  2487. while true do
  2488. Swait()
  2489. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2490. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2491. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2492. if CLOCKLOOP <= -150 then
  2493. if VALUE1 == false then
  2494. CLOCKLOOP = 0
  2495. 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})
  2496. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2497. ApplyAoE(HITPOS,10,15,45,75,false)
  2498. 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})
  2499. 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})
  2500. if CLOCKTARGET ~= nil then
  2501. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2502. if CLOCKTARGET.Torso ~= nil then
  2503. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2504. end
  2505. if CLOCKTARGET.Health == 0 then
  2506. CLOCKTARGET = nil
  2507. end
  2508. end
  2509. end
  2510. end
  2511. end
  2512. end))
  2513.  
  2514.  
  2515. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hats", VT(2,0.2,2),false)
  2516. MakeForm(HAT1,"Cyl")
  2517. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  2518. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(2.01,0.15,2.01),false)
  2519. BELT.Color = C3(1,1,1)
  2520. MakeForm(BELT,"Cyl")
  2521. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  2522. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hata", VT(1.3,2.2,1.3),false)
  2523. MakeForm(HAT2,"Cyl")
  2524. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  2525. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.2,1.31),false)
  2526. BELT.Color = C3(1,1,1)
  2527. MakeForm(BELT,"Cyl")
  2528. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  2529. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gem", VT(0.25,0.25,0.1),false)
  2530. MakeForm(GEM,"Ball")
  2531. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  2532. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gems", VT(0.25,0.25,0.1),false)
  2533. MakeForm(GEM,"Ball")
  2534. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  2535. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gee", VT(0.1,0.25,0.25),false)
  2536. MakeForm(GEM,"Ball")
  2537. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  2538. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gema", VT(0.1,0.25,0.25),false)
  2539. MakeForm(GEM,"Ball")
  2540. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  2541. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2542. BELT.Color = C3(1,1,1)
  2543. MakeForm(BELT,"Cyl")
  2544. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  2545. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2546. BELT.Color = C3(1,1,1)
  2547. MakeForm(BELT,"Cyl")
  2548. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  2549. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2550. BELT.Color = C3(1,1,1)
  2551. MakeForm(BELT,"Cyl")
  2552. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  2553. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hat", VT(1.31,0.1,1.31),false)
  2554. BELT.Color = C3(1,1,1)
  2555. MakeForm(BELT,"Cyl")
  2556. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  2557. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "White", "Hatsss", VT(1.3,0.5,1.3),false)
  2558. MakeForm(BELT,"Ball")
  2559. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  2560. Humanoid.DisplayDistanceType = "None"
  2561.  
  2562. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2563. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2564. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2565. MakeForm(Part,"Wedge")
  2566. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2567. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2568. MakeForm(Part,"Wedge")
  2569. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2570. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2571. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2572. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2573. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2574. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2575. MakeForm(Part,"Cyl")
  2576. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2577. for i = 1, 8 do
  2578. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2579. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2580. end
  2581. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2582. MakeForm(Part,"Cyl")
  2583. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * 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.37,0.5,0.37),false)
  2585. MakeForm(Part,"Ball")
  2586. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2587. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2588. MakeForm(Part,"Wedge")
  2589. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2590. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2591. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2592. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2593. MakeForm(Part,"Cyl")
  2594. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2595. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2596. MakeForm(Part,"Cyl")
  2597. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2598. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2599. MakeForm(Part,"Cyl")
  2600. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2601. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2602. MakeForm(Part,"Wedge")
  2603. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2604. local LASTPART = Handle
  2605. for i = 1, 10 do
  2606. if LASTPART == Handle then
  2607. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2608. LASTPART = Part
  2609. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2610. else
  2611. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.20,0),false)
  2612. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2613. LASTPART = Part
  2614. end
  2615. end
  2616.  
  2617. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2618. MakeForm(Barrel,"Cyl")
  2619. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2620. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2621. MakeForm(Part,"Cyl")
  2622. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2623. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2624. MakeForm(Part,"Wedge")
  2625. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2626. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2627. MakeForm(Hole,"Cyl")
  2628. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2629. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2630. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2631. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2632. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2633. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2634. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2635. coroutine.resume(coroutine.create(function()
  2636. while wait() do
  2637. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2638. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2639. end
  2640. end))
  2641.  
  2642. local cR=255
  2643. local cG=0
  2644. local cB=0
  2645. local flg5=1 local omgidk=1
  2646. local add=10.5
  2647. game:GetService('RunService').Heartbeat:connect(function()
  2648. if omgidk>10000 then omgidk=0 end
  2649. omgidk=omgidk+1
  2650. if cR>=255 then flg5=1 end
  2651. if cG>=255 then flg5=2 end
  2652. if cB>=255 then flg5=3 end
  2653. if flg5==1 then cR=cR-add cG=cG+add end
  2654. if flg5==2 then cG=cG-add cB=cB+add end
  2655. if flg5==3 then cB=cB-add cR=cR+add end
  2656. color=Color3.fromRGB(cR,cG,cB)
  2657. for _, c in pairs(Weapon:GetDescendants()) do
  2658. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2659. c.Material = "Glass"
  2660. c.Color = C3(0,0,0)
  2661. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2662. c.Color = color
  2663. c.Material = "Neon"
  2664. end
  2665. end
  2666. end)
  2667. Weapon.Parent = Character
  2668. for _, c in pairs(Weapon:GetChildren()) do
  2669. if c.ClassName == "Part" then
  2670. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2671. end
  2672. end
  2673.  
  2674.  
  2675.  
  2676.  
  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 Head:FindFirstChild("face") then
  2683. Head.face.Texture = "rbxassetid://403870689"
  2684. if Character:FindFirstChildOfClass("Accessory") then
  2685. Character:FindFirstChildOfClass("Accessory"):remove()
  2686. elseif Character:FindFirstChildOfClass("Hat") then
  2687. Character:FindFirstChildOfClass("Hat"):remove()
  2688. end
  2689. if Character:FindFirstChildOfClass("Accessory") then
  2690. Character:FindFirstChildOfClass("Accessory"):remove()
  2691. elseif Character:FindFirstChildOfClass("Hat") then
  2692. Character:FindFirstChildOfClass("Hat"):remove()
  2693. end
  2694. if Character:FindFirstChildOfClass("Accessory") then
  2695. Character:FindFirstChildOfClass("Accessory"):remove()
  2696. elseif Character:FindFirstChildOfClass("Hat") then
  2697. Character:FindFirstChildOfClass("Hat"):remove()
  2698. end
  2699. if Character:FindFirstChildOfClass("Accessory") then
  2700. Character:FindFirstChildOfClass("Accessory"):remove()
  2701. elseif Character:FindFirstChildOfClass("Hat") then
  2702. Character:FindFirstChildOfClass("Hat"):remove()
  2703. end
  2704. if Character:FindFirstChildOfClass("Accessory") then
  2705. Character:FindFirstChildOfClass("Accessory"):remove()
  2706. elseif Character:FindFirstChildOfClass("Hat") then
  2707. Character:FindFirstChildOfClass("Hat"):remove()
  2708. end
  2709. end
  2710.  
  2711. local Particle = IT("ParticleEmitter",nil)
  2712. Particle.Enabled = false
  2713. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2714. Particle.LightEmission = 0.5
  2715. Particle.Rate = 150
  2716. Particle.ZOffset = 0.2
  2717. Particle.Rotation = NumberRange.new(-180, 180)
  2718. Particle.RotSpeed = NumberRange.new(-180, 180)
  2719. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2720. 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))
  2721.  
  2722. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2723. function ParticleEmitter(Table)
  2724. local PRTCL = Particle:Clone()
  2725. local Speed = Table.Speed or 5
  2726. local Drag = Table.Drag or 0
  2727. local Size1 = Table.Size1 or 1
  2728. local Size2 = Table.Size2 or 5
  2729. local Lifetime1 = Table.Lifetime1 or 1
  2730. local Lifetime2 = Table.Lifetime2 or 1.5
  2731. local Parent = Table.Parent or Torso
  2732. local Emit = Table.Emit or 100
  2733. local Offset = Table.Offset or 360
  2734. local Acel = Table.Acel or VT(0,0,0)
  2735. local Enabled = Table.Enabled or false
  2736. PRTCL.Parent = Parent
  2737. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2738. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2739. PRTCL.Speed = NumberRange.new(Speed)
  2740. PRTCL.VelocitySpread = Offset
  2741. PRTCL.Drag = Drag
  2742. PRTCL.Acceleration = Acel
  2743. if Enabled == false then
  2744. PRTCL:Emit(Emit)
  2745. Debris:AddItem(PRTCL,Lifetime2)
  2746. else
  2747. PRTCL.Enabled = true
  2748. end
  2749. return PRTCL
  2750. end
  2751.  
  2752. function ParticleEmitter(Table)
  2753. local PRTCL = Particle:Clone()
  2754. local Speed = Table.Speed or 5
  2755. local Drag = Table.Drag or 0
  2756. local Size1 = Table.Size1 or 1
  2757. local Size2 = Table.Size2 or 5
  2758. local Lifetime1 = Table.Lifetime1 or 1
  2759. local Lifetime2 = Table.Lifetime2 or 1.5
  2760. local Parent = Table.Parent or Torso
  2761. local Emit = Table.Emit or 100
  2762. local Offset = Table.Offset or 360
  2763. local Acel = Table.Acel or VT(0,0,0)
  2764. local Enabled = Table.Enabled or false
  2765. PRTCL.Parent = Parent
  2766. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2767. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2768. PRTCL.Speed = NumberRange.new(Speed)
  2769. PRTCL.VelocitySpread = Offset
  2770. PRTCL.Drag = Drag
  2771. PRTCL.Acceleration = Acel
  2772. if Enabled == false then
  2773. PRTCL:Emit(Emit)
  2774. Debris:AddItem(PRTCL,Lifetime2)
  2775. else
  2776. PRTCL.Enabled = true
  2777. end
  2778. return PRTCL
  2779. end
  2780.  
  2781. function swait(num)
  2782. if num == 0 or num == nil then
  2783. ArtificialHB.Event:wait()
  2784. else
  2785. for i = 0, num do
  2786. ArtificialHB.Event:wait()
  2787. end
  2788. end
  2789. end
  2790.  
  2791. local DECAL = IT("Decal")
  2792. function MagicRingg()
  2793. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  2794. local MESH = IT("BlockMesh",RING)
  2795. local BOTTOMTEXTURE = DECAL:Clone()
  2796. BOTTOMTEXTURE.Parent = RING
  2797. BOTTOMTEXTURE.Face = "Bottom"
  2798. BOTTOMTEXTURE.Name = "BottomTexture"
  2799. local TOPTEXTURE = DECAL:Clone()
  2800. TOPTEXTURE.Parent = RING
  2801. TOPTEXTURE.Face = "Top"
  2802. TOPTEXTURE.Name = "TopTexture"
  2803. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2804. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  2805. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  2806. TOPTEXTURE.Color3 = C3(0,0,0)
  2807. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  2808. end
  2809.  
  2810. function chatfunc(text)
  2811. local chat = coroutine.wrap(function()
  2812. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2813. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2814. end
  2815. local Bill = Instance.new("BillboardGui",Character)
  2816. Bill.Size = UDim2.new(0,100,0,40)
  2817. Bill.StudsOffset = Vector3.new(0,2,0)
  2818. Bill.Adornee = Character.Head
  2819. Bill.Name = "TalkingBillBoard"
  2820. local Hehe = Instance.new("TextLabel",Bill)
  2821. Hehe.BackgroundTransparency = 1
  2822. Hehe.BorderSizePixel = 0
  2823. Hehe.Text = ""
  2824. Hehe.Font = "Cartoon"
  2825. Hehe.TextSize = 40
  2826. Hehe.TextStrokeTransparency = 0
  2827. Hehe.Size = UDim2.new(1,0,0.5,0)
  2828. coroutine.resume(coroutine.create(function()
  2829. while Hehe ~= nil do
  2830. Swait()
  2831. Hehe.Position = UDim2.new(math.random(-.2,.2),math.random(-1,1),.05,math.random(-1,1))
  2832. Hehe.Rotation = math.random(-5,5)
  2833. Hehe.TextColor3 = Color3.fromRGB(cR,cG,cB)
  2834. Hehe.TextStrokeColor3 = Color3.fromRGB(cR,cG,cB)
  2835. end
  2836. end))
  2837. for i = 1,string.len(text),1 do
  2838. Swait()
  2839. Hehe.Text = string.sub(text,1,i)
  2840. end
  2841. Swait(90)--Re[math.random(1, 93)]
  2842. for i = 0, 1, .025 do
  2843. Swait()
  2844. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2845. Hehe.TextStrokeTransparency = i
  2846. Hehe.TextTransparency = i
  2847. end
  2848. Bill:Destroy()
  2849. end)
  2850. chat()
  2851. end
  2852.  
  2853. function onChatted(msg)
  2854. chatfunc(msg)
  2855. end
  2856.  
  2857. Player.Chatted:connect(onChatted)
  2858.  
  2859. local BODY = {}
  2860. for _, c in pairs(Character:GetDescendants()) do
  2861. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2862. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2863. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2864. end
  2865. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2866. elseif c:IsA("JointInstance") then
  2867. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2868. end
  2869. end
  2870.  
  2871. function refit()
  2872. Character.Parent = workspace
  2873. for e = 1, #BODY do
  2874. if BODY[e] ~= nil then
  2875. local STUFF = BODY[e]
  2876. local PART = STUFF[1]
  2877. local PARENT = STUFF[2]
  2878. local MATERIAL = STUFF[3]
  2879. local COLOR = STUFF[4]
  2880. local TRANSPARENCY = STUFF[5]
  2881. --local SIZE = STUFF[6]
  2882. local NAME = STUFF[7]
  2883. if PART.ClassName == "Part" and PART ~= RootPart then
  2884. PART.Material = MATERIAL
  2885. PART.Transparency = TRANSPARENCY
  2886. PART.Name = NAME
  2887. end
  2888. if PART.Parent ~= PARENT then
  2889. Humanoid:remove()
  2890. PART.Parent = PARENT
  2891. Humanoid = IT("Humanoid",Character)
  2892. end
  2893. end
  2894. end
  2895. end
  2896.  
  2897. Humanoid.Died:connect(function()
  2898. refit()
  2899. end)
  2900.  
  2901. function printbye(Name)
  2902. 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, "}
  2903. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2904. end
  2905.  
  2906. workspace.ChildAdded:connect(function(instance)
  2907. for BANISH = 1, #TOBANISH do
  2908. if TOBANISH[BANISH] ~= nil then
  2909. if instance.Name == TOBANISH[BANISH] then
  2910. coroutine.resume(coroutine.create(function()
  2911. printbye(instance.Name)
  2912. instance:ClearAllChildren()
  2913. Debris:AddItem(instance,0.0005)
  2914. end))
  2915. end
  2916. end
  2917. end
  2918. end)
  2919.  
  2920. function Shatter(Part)
  2921. if Part.Transparency < 1 then
  2922. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  2923. Debris:AddItem(SOUNDPART,5)
  2924. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2925. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2926. local SIZESET = SIZE/4
  2927. local XOffset = Part.Size.X*1.5/SIZESET
  2928. local YOffset = Part.Size.Y*1.5/SIZESET
  2929. local ZOffset = Part.Size.Z*1.5/SIZESET
  2930. for x = 1, math.ceil(XOffset) do
  2931. for y = 1, math.ceil(YOffset) do
  2932. for z = 1, math.ceil(ZOffset) do
  2933. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2934. SHARD.CanCollide = true
  2935. 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))
  2936. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2937. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  2938. for _, c in pairs(Part:GetChildren()) do
  2939. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  2940. c:Clone().Parent = SHARD
  2941. end
  2942. end
  2943. end
  2944. end
  2945. end
  2946. end
  2947. Part:remove()
  2948. end
  2949. --//=================================\\
  2950. --|| DAMAGING
  2951. --\\=================================//
  2952.  
  2953. function recurse(root,callback,i)
  2954. i= i or 0
  2955. for _,v in pairs(root:GetChildren()) do
  2956. i = i + 1
  2957. callback(i,v)
  2958.  
  2959. if #v:GetChildren() > 0 then
  2960. i = recurse(v,callback,i)
  2961. end
  2962. end
  2963.  
  2964. return i
  2965. end
  2966.  
  2967. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  2968. attachmentName = attachmentName.."RigAttachment"
  2969. local constraint = Instance.new(className.."Constraint")
  2970. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  2971. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  2972. constraint.Name = "RagdollConstraint"..part1.Name
  2973.  
  2974. for _,propertyData in next,properties or {} do
  2975. constraint[propertyData[1]] = propertyData[2]
  2976. end
  2977.  
  2978. constraint.Parent = character
  2979. end
  2980.  
  2981. function getAttachment0(character, attachmentName)
  2982. for _,child in next,character:GetChildren() do
  2983. local attachment = child:FindFirstChild(attachmentName)
  2984. if attachment then
  2985. return attachment
  2986. end
  2987. end
  2988. end
  2989.  
  2990. function ArtificialHitbox(Part)
  2991. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  2992. HITBOX.CanCollide = true
  2993. HITBOX.CFrame = Part.CFrame
  2994. weldBetween(Part,HITBOX)
  2995. end
  2996.  
  2997. function R15Ragdoll(character,KeepArms)
  2998. character:BreakJoints()
  2999. coroutine.resume(coroutine.create(function()
  3000. recurse(character, function(_,v)
  3001. if v:IsA("Attachment") then
  3002. v.Axis = Vector3.new(0, 1, 0)
  3003. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3004. v.Rotation = Vector3.new(0, 0, 0)
  3005. end
  3006. end)
  3007. for _,child in next,character:GetChildren() do
  3008. if child:IsA("Accoutrement") then
  3009. for _,part in next,child:GetChildren() do
  3010. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  3011. local attachment1 = part:FindFirstChildOfClass("Attachment")
  3012. local attachment0 = getAttachment0(character,attachment1.Name)
  3013. if attachment0 and attachment1 then
  3014. local constraint = Instance.new("HingeConstraint")
  3015. constraint.Attachment0 = attachment0
  3016. constraint.Attachment1 = attachment1
  3017. constraint.LimitsEnabled = true
  3018. constraint.UpperAngle = 0
  3019. constraint.LowerAngle = 0
  3020. constraint.Parent = character
  3021. end
  3022. ArtificialHitbox(part)
  3023. elseif part.Name == "HumanoidRootPart" then
  3024. part:remove()
  3025. end
  3026. end
  3027. end
  3028. end
  3029.  
  3030. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3031. {"LimitsEnabled",true};
  3032. {"UpperAngle",5};
  3033. })
  3034. if character:FindFirstChild("Head") then
  3035. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  3036. {"LimitsEnabled",true};
  3037. {"UpperAngle",15};
  3038. })
  3039. end
  3040.  
  3041. local handProperties = {
  3042. {"LimitsEnabled", true};
  3043. {"UpperAngle",0};
  3044. {"LowerAngle",0};
  3045. }
  3046. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3047. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3048.  
  3049. local shinProperties = {
  3050. {"LimitsEnabled", true};
  3051. {"UpperAngle", 0};
  3052. {"LowerAngle", -75};
  3053. }
  3054. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3055. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3056.  
  3057. local footProperties = {
  3058. {"LimitsEnabled", true};
  3059. {"UpperAngle", 15};
  3060. {"LowerAngle", -45};
  3061. }
  3062. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3063. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3064. if KeepArms == true then
  3065. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  3066. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3067. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  3068. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3069. end
  3070. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3071. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3072. Debris:AddItem(character,5)
  3073. end))
  3074. end
  3075.  
  3076. function Ragdoll(Character2,CharTorso,KeepArms)
  3077. coroutine.resume(coroutine.create(function()
  3078. Character2:BreakJoints()
  3079. local hum = Character2:findFirstChild("Humanoid")
  3080. hum:remove()
  3081. local function Scan(ch)
  3082. local e
  3083. for e = 1,#ch do
  3084. Scan(ch[e]:GetChildren())
  3085. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3086. ch[e]:remove()
  3087. end
  3088. end
  3089. end
  3090. local NEWHUM = IT("Humanoid")
  3091. NEWHUM.Name = "Corpse"
  3092. NEWHUM.Health = 0
  3093. NEWHUM.MaxHealth = 0
  3094. NEWHUM.PlatformStand = true
  3095. NEWHUM.Parent = Character2
  3096. NEWHUM.DisplayDistanceType = "None"
  3097.  
  3098. local ch = Character2:GetChildren()
  3099. local i
  3100. for i = 1,#ch do
  3101. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3102. ch[i]:remove()
  3103. end
  3104. end
  3105.  
  3106. local Torso2 = Character2.Torso
  3107. local movevector = Vector3.new()
  3108.  
  3109. if Torso2 then
  3110. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  3111. local Head = Character2:FindFirstChild("Head")
  3112. if Head then
  3113. local Neck = Instance.new("Weld")
  3114. Neck.Name = "Neck"
  3115. Neck.Part0 = Torso2
  3116. Neck.Part1 = Head
  3117. Neck.C0 = CFrame.new(0, 1.5, 0)
  3118. Neck.C1 = CFrame.new()
  3119. Neck.Parent = Torso2
  3120.  
  3121. end
  3122. local Limb = Character2:FindFirstChild("Right Arm")
  3123. if Limb and KeepArms == true then
  3124.  
  3125. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3126. local Joint = Instance.new("Glue")
  3127. Joint.Name = "RightShoulder"
  3128. Joint.Part0 = Torso2
  3129. Joint.Part1 = Limb
  3130. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3131. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3132. Joint.Parent = Torso2
  3133.  
  3134. local B = Instance.new("Part")
  3135. B.TopSurface = 0
  3136. B.BottomSurface = 0
  3137. B.formFactor = "Symmetric"
  3138. B.Size = Vector3.new(1, 1, 1)
  3139. B.Transparency = 1
  3140. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3141. B.Parent = Character2
  3142. local W = Instance.new("Weld")
  3143. W.Part0 = Limb
  3144. W.Part1 = B
  3145. W.C0 = CFrame.new(0, -0.5, 0)
  3146. W.Parent = Limb
  3147.  
  3148. end
  3149. local Limb = Character2:FindFirstChild("Left Arm")
  3150. if Limb and KeepArms == true then
  3151.  
  3152. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3153. local Joint = Instance.new("Glue")
  3154. Joint.Name = "LeftShoulder"
  3155. Joint.Part0 = Torso2
  3156. Joint.Part1 = Limb
  3157. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3158. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3159. Joint.Parent = Torso2
  3160.  
  3161. local B = Instance.new("Part")
  3162. B.TopSurface = 0
  3163. B.BottomSurface = 0
  3164. B.formFactor = "Symmetric"
  3165. B.Size = Vector3.new(1, 1, 1)
  3166. B.Transparency = 1
  3167. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3168. B.Parent = Character2
  3169. local W = Instance.new("Weld")
  3170. W.Part0 = Limb
  3171. W.Part1 = B
  3172. W.C0 = CFrame.new(0, -0.5, 0)
  3173. W.Parent = Limb
  3174.  
  3175. end
  3176. local Limb = Character2:FindFirstChild("Right Leg")
  3177. if Limb then
  3178.  
  3179. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3180. local Joint = Instance.new("Glue")
  3181. Joint.Name = "RightHip"
  3182. Joint.Part0 = Torso2
  3183. Joint.Part1 = Limb
  3184. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3185. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3186. Joint.Parent = Torso2
  3187.  
  3188. local B = Instance.new("Part")
  3189. B.TopSurface = 0
  3190. B.BottomSurface = 0
  3191. B.formFactor = "Symmetric"
  3192. B.Size = Vector3.new(1, 1, 1)
  3193. B.Transparency = 1
  3194. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3195. B.Parent = Character2
  3196. local W = Instance.new("Weld")
  3197. W.Part0 = Limb
  3198. W.Part1 = B
  3199. W.C0 = CFrame.new(0, -0.5, 0)
  3200. W.Parent = Limb
  3201.  
  3202. end
  3203. local Limb = Character2:FindFirstChild("Left Leg")
  3204. if Limb then
  3205.  
  3206. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3207. local Joint = Instance.new("Glue")
  3208. Joint.Name = "LeftHip"
  3209. Joint.Part0 = Torso2
  3210. Joint.Part1 = Limb
  3211. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3212. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3213. Joint.Parent = Torso2
  3214.  
  3215. local B = Instance.new("Part")
  3216. B.TopSurface = 0
  3217. B.BottomSurface = 0
  3218. B.formFactor = "Symmetric"
  3219. B.Size = Vector3.new(1, 1, 1)
  3220. B.Transparency = 1
  3221. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3222. B.Parent = Character2
  3223. local W = Instance.new("Weld")
  3224. W.Part0 = Limb
  3225. W.Part1 = B
  3226. W.C0 = CFrame.new(0, -0.5, 0)
  3227. W.Parent = Limb
  3228.  
  3229. end
  3230. --[
  3231. local Bar = Instance.new("Part")
  3232. Bar.TopSurface = 0
  3233. Bar.BottomSurface = 0
  3234. Bar.formFactor = "Symmetric"
  3235. Bar.Size = Vector3.new(1, 1, 1)
  3236. Bar.Transparency = 1
  3237. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3238. Bar.Parent = Character2
  3239. local Weld = Instance.new("Weld")
  3240. Weld.Part0 = Torso2
  3241. Weld.Part1 = Bar
  3242. Weld.C0 = CFrame.new(0, 0.5, 0)
  3243. Weld.Parent = Torso2
  3244. --]]
  3245. end
  3246. Character2.Parent = workspace
  3247. Debris:AddItem(Character2,5)
  3248.  
  3249. return Character2,Torso2
  3250. end))
  3251. end
  3252. function killnearest(position,range,maxstrength,direction)
  3253. for i,v in ipairs(workspace:GetChildren()) do
  3254. local body = v:GetChildren()
  3255. for part = 1, #body do
  3256. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3257. if(body[part].Position - position).Magnitude < range then
  3258. if v.ClassName == "Model" then
  3259. --v:BreakJoints()
  3260. end
  3261. local POS = position
  3262. coroutine.resume(coroutine.create(function()
  3263. body[part].Anchored = true
  3264. body[part].Parent = Effects
  3265. body[part].CanCollide = true
  3266. local SIZE = body[part].Size
  3267. body[part].Material = "Neon"
  3268. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  3269. for i = 1, 75 do
  3270. Swait()
  3271. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3272. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3273. end
  3274. coroutine.resume(coroutine.create(function()
  3275. while true do
  3276. Swait()
  3277. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3278. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3279. end
  3280. end))
  3281. body[part].Anchored = false
  3282. body[part].Velocity = direction.lookVector*maxstrength
  3283. end))
  3284. end
  3285. end
  3286. end
  3287. if v.ClassName == "Part" then
  3288. if v.Anchored == false and (v.Position - position).Magnitude < range then
  3289. local POS = position
  3290. coroutine.resume(coroutine.create(function()
  3291. v.Anchored = true
  3292. v.Parent = Effects
  3293. local SIZE = v.Size
  3294. v.Material = "Neon"
  3295. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  3296. for i = 1, 75 do
  3297. Swait()
  3298. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3299. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3300. end
  3301. coroutine.resume(coroutine.create(function()
  3302. while true do
  3303. Swait()
  3304. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  3305. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  3306. end
  3307. end))
  3308. v.Anchored = false
  3309. v.Velocity = direction.lookVector*maxstrength
  3310. end))
  3311. end
  3312. end
  3313. end
  3314. end
  3315.  
  3316. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  3317. local TORSO = Torso
  3318. local HUM = Humanoid
  3319. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3320. coroutine.wrap(function()
  3321. VT = Vector3.new
  3322. MRANDOM = math.random
  3323. local A = TIME
  3324. local B = INTENSITY
  3325. local C = true
  3326. local HUMANOID = Humanoid
  3327. local TIMER = A or 35
  3328. local SHAKE = B or 5
  3329. local FADE = C or true
  3330. if HUMANOID then
  3331. local FADER = SHAKE / TIMER
  3332. for i = 1, TIMER do
  3333. wait()
  3334. 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)
  3335. end
  3336. HUMANOID.CameraOffset = VT(0, 0, 0)
  3337. end
  3338.  
  3339. end)()
  3340. end
  3341. end
  3342.  
  3343. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  3344. local dmg = math.random(10000,100000)
  3345. for i,v in ipairs(workspace:GetChildren()) do
  3346. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  3347. local body = v:GetChildren()
  3348. for part = 1, #body do
  3349. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3350. if(body[part].Position - position).Magnitude < radius then
  3351. if v.ClassName == "Model" then
  3352. if v:FindFirstChildOfClass("Humanoid") then
  3353. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  3354. local bv = Instance.new("BodyVelocity")
  3355. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3356. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  3357. bv.Parent = body[part]
  3358. Debris:AddItem(bv,0.2)
  3359. end
  3360. end
  3361. end
  3362. end
  3363. end
  3364. end
  3365. if v:FindFirstChild("HitBy"..Player.Name) then
  3366. v:FindFirstChild("HitBy"..Player.Name):remove()
  3367. end
  3368. end
  3369. end
  3370.  
  3371. function CameraEnshaking(Length, Intensity)
  3372. coroutine.resume(coroutine.create(function()
  3373. local intensity = 1 * Intensity
  3374. local rotM = 0.01 * Intensity
  3375. for i = 0, Length, 0.1 do
  3376. Swait()
  3377. intensity = intensity - 0.05 * Intensity / Length
  3378. rotM = rotM - 5.0E-4 * Intensity / Length
  3379. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3380. 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)
  3381. end
  3382. hum.CameraOffset = Vector3.new(0, 0, 0)
  3383. end))
  3384. end
  3385.  
  3386. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3387. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3388. defence.Name = ("HitBy"..Player.Name)
  3389. game:GetService("Debris"):AddItem(defence, 0.001)
  3390. Damage = Damage * DAMAGEMULTIPLIER
  3391. if Humanoid.Health ~= 0 then
  3392. local CritChance = MRANDOM(1,100)
  3393. if Damage > Humanoid.Health then
  3394. Damage = math.ceil(Humanoid.Health)
  3395. if Damage == 0 then
  3396. Damage = 0.1
  3397. end
  3398. end
  3399. Humanoid.Health = Humanoid.Health - Damage
  3400. end
  3401. end
  3402.  
  3403. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3404. local CHILDREN = workspace:GetDescendants()
  3405. for index, CHILD in pairs(CHILDREN) do
  3406. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3407. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3408. if HUM then
  3409. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3410. if TORSO then
  3411. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3412. if INSTAKILL == true then
  3413. CHILD:BreakJoints()
  3414. else
  3415. local DMG = MRANDOM(MINDMG,MAXDMG)
  3416. ApplyDamage(HUM,DMG,TORSO)
  3417. end
  3418. if FLING > 0 then
  3419. for _, c in pairs(CHILD:GetChildren()) do
  3420. if c:IsA("BasePart") then
  3421. local bv = Instance.new("BodyVelocity")
  3422. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3423. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3424. bv.Parent = c
  3425. Debris:AddItem(bv,0.05)
  3426. end
  3427. end
  3428. end
  3429. end
  3430. end
  3431. end
  3432. end
  3433. end
  3434. end
  3435.  
  3436.  
  3437.  
  3438. function MagicSphere2(size,waitt,cframe,color)
  3439. local wave = CreatePart(3, Effects, "Neon", 0, 1, 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/waitt,size/waitt,size/waitt)
  3449. wave.Transparency = wave.Transparency - (1/waitt)
  3450. end
  3451. wave:remove()
  3452. end))
  3453. end
  3454.  
  3455. function MagicSphere(size,waitt,cframe,color)
  3456. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  3457. local mesh = IT("SpecialMesh",wave)
  3458. mesh.MeshType = "Sphere"
  3459. mesh.Scale = VT(size,size,size)
  3460. mesh.Offset = VT(0,0,0)
  3461. wave.CFrame = cframe
  3462. coroutine.resume(coroutine.create(function(PART)
  3463. for i = 1, waitt do
  3464. Swait()
  3465. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  3466. wave.Transparency = wave.Transparency + (1/waitt)
  3467. if wave.Transparency > 0.99 then
  3468. wave:remove()
  3469. end
  3470. end
  3471. end))
  3472. end
  3473.  
  3474. local asd = Instance.new("ParticleEmitter")
  3475. asd.Color = ColorSequence.new(Color3.new(0.5, 0.5, 0), Color3.new(.3, .3, 0))
  3476. asd.LightEmission = .1
  3477. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3478. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3479. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3480. asd.Transparency = bbb
  3481. asd.Size = aaa
  3482. asd.ZOffset = .9
  3483. asd.Acceleration = Vector3.new(0, -15, 0)
  3484. asd.LockedToPart = false
  3485. asd.EmissionDirection = "Back"
  3486. asd.Lifetime = NumberRange.new(1, 2)
  3487. asd.Rotation = NumberRange.new(-100, 100)
  3488. asd.RotSpeed = NumberRange.new(-100, 100)
  3489. asd.Speed = NumberRange.new(10)
  3490. asd.Enabled = false
  3491. asd.VelocitySpread = 999
  3492.  
  3493. function getbloody(victim,amount)
  3494. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  3495. PART.CFrame = victim.CFrame
  3496. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3497. Debris:AddItem(PART,5)
  3498. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3499. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3500. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3501. local prtcl = asd:Clone()
  3502. prtcl.Parent = PART
  3503. prtcl:Emit(amount*10)
  3504. end
  3505.  
  3506. function Kill(Char)
  3507. local NewCharacter = IT("Model",Effects)
  3508. NewCharacter.Name = "Ow im ded ;-;"
  3509. for _, c in pairs(Char:GetDescendants()) do
  3510. if c:IsA("BasePart") and c.Transparency == 0 then
  3511. if c.Parent == Char then
  3512. getbloody(c,5)
  3513. end
  3514. c:BreakJoints()
  3515. c.Material = "Glass"
  3516. c.Color = C3(0.5,0.5,0)
  3517. c.CanCollide = true
  3518. c.Transparency = 0.3
  3519. if c:FindFirstChildOfClass("SpecialMesh") then
  3520. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3521. end
  3522. if c.Name == "Head" then
  3523. c:ClearAllChildren()
  3524. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3525. end
  3526. if c.ClassName == "MeshPart" then
  3527. c.TextureID = ""
  3528. end
  3529. if c:FindFirstChildOfClass("BodyPosition") then
  3530. c:FindFirstChildOfClass("BodyPosition"):remove()
  3531. end
  3532. if c:FindFirstChildOfClass("ParticleEmitter") then
  3533. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3534. end
  3535. c.Parent = NewCharacter
  3536. c.Name = "DeadPart"
  3537. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3538. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3539. end
  3540. end
  3541. Char:remove()
  3542. Debris:AddItem(NewCharacter,5)
  3543. end
  3544.  
  3545. function ApplyDamage(Humanoid,Damage)
  3546. Damage = Damage * DAMAGEMULTIPLIER
  3547. if Humanoid.Health ~= 0 then
  3548. Humanoid.Health = Humanoid.Health - Damage
  3549. end
  3550. end
  3551.  
  3552. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  3553. local CHILDREN = workspace:GetDescendants()
  3554. for index, CHILD in pairs(CHILDREN) do
  3555. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3556. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3557. if HUM then
  3558. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3559. if TORSO then
  3560. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3561. if INSTAKILL == true then
  3562. CHILD:BreakJoints()
  3563. if OPTION ~= nil then
  3564. Kill(CHILD,OPTION)
  3565. end
  3566. else
  3567. local DMG = MRANDOM(MINDMG,MAXDMG)
  3568. ApplyDamage(HUM,DMG)
  3569. end
  3570. if FLING ~= 0 then
  3571. for _, c in pairs(CHILD:GetChildren()) do
  3572. if c:IsA("BasePart") then
  3573. local bv = Instance.new("BodyVelocity")
  3574. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3575. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3576. bv.Parent = c
  3577. Debris:AddItem(bv,0.05)
  3578. end
  3579. end
  3580. end
  3581. end
  3582. end
  3583. end
  3584. end
  3585. end
  3586. end
  3587.  
  3588. function Kill(Victim,Fire)
  3589. coroutine.resume(coroutine.create(function()
  3590. local NIL = script.TotalNil:Clone()
  3591. NIL.Parent = Victim
  3592. NIL.Disabled = false
  3593. if Fire ~= true then
  3594. Victim:BreakJoints()
  3595. for _, c in pairs(Victim:GetChildren()) do
  3596. if c:IsA("BasePart") then
  3597. c.Anchored = true
  3598. end
  3599. end
  3600. for _, c in pairs(Victim:GetChildren()) do
  3601. if c:IsA("BasePart") then
  3602. Shatter(c)
  3603. end
  3604. end
  3605. else
  3606. Victim:BreakJoints()
  3607. local FIRES = {}
  3608. for _, e in pairs(Victim:GetDescendants()) do
  3609. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  3610. e.Transparency = 1
  3611. e:ClearAllChildren()
  3612. local FIRE = script.HellFire:Clone()
  3613. FIRE.Parent = e
  3614. FIRE.Enabled = true
  3615. table.insert(FIRES,FIRE)
  3616. elseif e.ClassName == "Decal" then
  3617. e:remove()
  3618. end
  3619. end
  3620. for i = 1, 50 do
  3621. Victim:BreakJoints()
  3622. wait()
  3623. end
  3624. for i = 1, #FIRES do
  3625. FIRES[i].Enabled = false
  3626. end
  3627. wait(1.1)
  3628. Victim:remove()
  3629. end
  3630. end))
  3631. end
  3632. function Banish(Foe)
  3633. if Foe then
  3634. coroutine.resume(coroutine.create(function()
  3635. --if game.Players:FindFirstChild(Foe.Name) then
  3636. table.insert(TOBANISH,Foe.Name)
  3637. printbye(Foe.Name)
  3638. --end
  3639. Foe.Archivable = true
  3640. local CLONE = Foe:Clone()
  3641. Foe:Destroy()
  3642. CLONE.Parent = Effects
  3643. CLONE:BreakJoints()
  3644. local MATERIALS = {"Glass","Neon"}
  3645. for _, c in pairs(CLONE:GetDescendants()) do
  3646. if c:IsA("BasePart") then
  3647. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3648. CreateSound(340722848, c, 10, 1, false)
  3649. end
  3650. c.Anchored = true
  3651. c.Transparency = c.Transparency + 0.2
  3652. c.Material = MATERIALS[MRANDOM(1,2)]
  3653. c.Color = C3(0,255,0)
  3654. if c.ClassName == "MeshPart" then
  3655. c.TextureID = ""
  3656. end
  3657. if c:FindFirstChildOfClass("SpecialMesh") then
  3658. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3659. end
  3660. if c:FindFirstChildOfClass("Decal") then
  3661. c:FindFirstChildOfClass("Decal"):remove()
  3662. end
  3663. c.Name = "Banished"
  3664. c.CanCollide = false
  3665. else
  3666. c:remove()
  3667. end
  3668. end
  3669. local A = false
  3670. for i = 1, 35 do
  3671. if A == false then
  3672. A = true
  3673. elseif A == true then
  3674. A = false
  3675. end
  3676. for _, c in pairs(CLONE:GetDescendants()) do
  3677. if c:IsA("BasePart") then
  3678. c.Anchored = true
  3679. c.Material = MATERIALS[MRANDOM(1,2)]
  3680. c.Transparency = c.Transparency + 0.8/35
  3681. if A == false then
  3682. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3683. elseif A == true then
  3684. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3685. end
  3686. end
  3687. end
  3688. Swait()
  3689. end
  3690. CLONE:remove()
  3691. end))
  3692. end
  3693. end
  3694.  
  3695. function ApplyDamage(Humanoid,Damage,TorsoPart)
  3696. local defence = Instance.new("BoolValue",Humanoid.Parent)
  3697. defence.Name = ("HitBy"..Player.Name)
  3698. game:GetService("Debris"):AddItem(defence, 0.001)
  3699. Damage = Damage * DAMAGEMULTIPLIER
  3700. if Humanoid.Health ~= 0 then
  3701. local CritChance = MRANDOM(1,100)
  3702. if Damage > Humanoid.Health then
  3703. Damage = math.ceil(Humanoid.Health)
  3704. if Damage == 0 then
  3705. Damage = 0.1
  3706. end
  3707. end
  3708. Humanoid.Health = Humanoid.Health - Damage
  3709. end
  3710. end
  3711. ---------------------I think it pandora thing
  3712. function ApplyAoE12(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3713. local CHILDREN = workspace:GetDescendants()
  3714. for index, CHILD in pairs(CHILDREN) do
  3715. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3716. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3717. if HUM then
  3718. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3719. if TORSO then
  3720. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3721. if INSTAKILL == true then
  3722. CHILD:BreakJoints()
  3723. else
  3724. local DMG = MRANDOM(MINDMG,MAXDMG)
  3725. ApplyDamage(HUM,DMG,TORSO)
  3726. end
  3727. if FLING > 0 then
  3728. for _, c in pairs(CHILD:GetChildren()) do
  3729. if c:IsA("BasePart") then
  3730. local bv = Instance.new("BodyVelocity")
  3731. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3732. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3733. bv.Parent = c
  3734. Debris:AddItem(bv,0.05)
  3735. end
  3736. end
  3737. end
  3738. end
  3739. end
  3740. end
  3741. end
  3742. end
  3743. end
  3744.  
  3745. -----------------
  3746. function ApplyAoE(POSITION,RANGE,ISBANISH)
  3747. local CHILDREN = workspace:GetDescendants()
  3748. for index, CHILD in pairs(CHILDREN) do
  3749. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3750. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3751. if HUM then
  3752. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3753. if TORSO then
  3754. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3755. if ISBANISH == true then
  3756. Banish(CHILD)
  3757. else
  3758. if ISBANISH == "Gravity" then
  3759. HUM.PlatformStand = true
  3760. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3761. local grav = Instance.new("BodyPosition",TORSO)
  3762. grav.D = 15
  3763. grav.P = 20000
  3764. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3765. grav.position = TORSO.Position
  3766. grav.Name = "V3BanishForce"..Player.Name
  3767. else
  3768. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3769. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3770. end
  3771. else
  3772. HUM.PlatformStand = false
  3773. end
  3774. end
  3775. elseif ISBANISH == "Gravity" then
  3776. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3777. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3778. HUM.PlatformStand = false
  3779. end
  3780. end
  3781. end
  3782. end
  3783. end
  3784. end
  3785. end
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791. -----------------------------
  3792.  
  3793. function ApplyAoE2(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  3794. local CHILDREN = workspace:GetDescendants()
  3795. for index, CHILD in pairs(CHILDREN) do
  3796. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3797. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3798. if HUM then
  3799. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3800. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  3801. if IZBANISH == true then
  3802. Banish(CHILD)
  3803. else
  3804. local DMG = MRANDOM(MINDMG, MAXDMG)
  3805. ApplyDamage(HUM, DMG, TORSO)
  3806. end
  3807. if FLING > 0 then
  3808. for _, c in pairs(CHILD:GetChildren()) do
  3809. if c:IsA("BasePart") then
  3810. local bv = Instance.new("BodyVelocity")
  3811. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3812. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  3813. bv.Parent = c
  3814. Debris:AddItem(bv, 0.05)
  3815. end
  3816. end
  3817. end
  3818. end
  3819. end
  3820. end
  3821. end
  3822. end
  3823.  
  3824. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  3825. local svch = Character2
  3826. Character2:BreakJoints()
  3827. local hum = Character2:findFirstChild("Humanoid")
  3828. local q = Character2:GetChildren()
  3829. local CLONE = IT("Model", Effects)
  3830. for i = 1, #q do
  3831. if q[i].ClassName == "Accessory" and Headless == true then
  3832. q[i]:remove()
  3833. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  3834. q[i].Parent = CLONE
  3835. elseif q[i].ClassName ~= "Humanoid" then
  3836. q[i]:remove()
  3837. end
  3838. end
  3839. local chrclone = CLONE
  3840. local ch = chrclone:GetChildren()
  3841. local i
  3842. for i = 1, #ch do
  3843. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3844. ch[i]:remove()
  3845. end
  3846. end
  3847. local function Scan(ch)
  3848. local e
  3849. for e = 1, #ch do
  3850. Scan(ch[e]:GetChildren())
  3851. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3852. ch[e]:remove()
  3853. end
  3854. end
  3855. end
  3856. Character2:remove()
  3857. local NEWHUM = IT("Humanoid")
  3858. NEWHUM.Name = "Corpse"
  3859. NEWHUM.Health = 0
  3860. NEWHUM.MaxHealth = 0
  3861. NEWHUM.PlatformStand = true
  3862. NEWHUM.Parent = CLONE
  3863. NEWHUM.DisplayDistanceType = "None"
  3864. Scan(chrclone:GetChildren())
  3865. local ch = Character2:GetChildren()
  3866. local i
  3867. for i = 1, #ch do
  3868. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3869. ch[i]:remove()
  3870. end
  3871. end
  3872. local ch = Character2:GetChildren()
  3873. local i
  3874. for i = 1, #ch do
  3875. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3876. ch[i]:remove()
  3877. end
  3878. end
  3879. Character2 = chrclone
  3880. local Torso2 = Character2.Torso
  3881. local movevector = Vector3.new()
  3882. if Torso2 then
  3883. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  3884. local Head = Character2:FindFirstChild("Head")
  3885. if Head then
  3886. local Neck = Instance.new("Weld")
  3887. Neck.Name = "Neck"
  3888. Neck.Part0 = Torso2
  3889. Neck.Part1 = Head
  3890. Neck.C0 = CFrame.new(0, 1.5, 0)
  3891. Neck.C1 = CFrame.new()
  3892. Neck.Parent = Torso2
  3893. if Headless == true then
  3894. Head.Transparency = 1
  3895. Head:ClearAllChildren()
  3896. end
  3897. end
  3898. local Limb = Character2:FindFirstChild("Right Arm")
  3899. if Limb then
  3900. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3901. local Joint = Instance.new("Glue")
  3902. Joint.Name = "RightShoulder"
  3903. Joint.Part0 = Torso2
  3904. Joint.Part1 = Limb
  3905. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3906. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3907. Joint.Parent = Torso2
  3908. local B = Instance.new("Part")
  3909. B.TopSurface = 0
  3910. B.BottomSurface = 0
  3911. B.formFactor = "Symmetric"
  3912. B.Size = Vector3.new(1, 1, 1)
  3913. B.Transparency = 1
  3914. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3915. B.Parent = Character2
  3916. local W = Instance.new("Weld")
  3917. W.Part0 = Limb
  3918. W.Part1 = B
  3919. W.C0 = CFrame.new(0, -0.5, 0)
  3920. W.Parent = Limb
  3921. end
  3922. local Limb = Character2:FindFirstChild("Left Arm")
  3923. if Limb then
  3924. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3925. local Joint = Instance.new("Glue")
  3926. Joint.Name = "LeftShoulder"
  3927. Joint.Part0 = Torso2
  3928. Joint.Part1 = Limb
  3929. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3930. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3931. Joint.Parent = Torso2
  3932. local B = Instance.new("Part")
  3933. B.TopSurface = 0
  3934. B.BottomSurface = 0
  3935. B.formFactor = "Symmetric"
  3936. B.Size = Vector3.new(1, 1, 1)
  3937. B.Transparency = 1
  3938. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3939. B.Parent = Character2
  3940. local W = Instance.new("Weld")
  3941. W.Part0 = Limb
  3942. W.Part1 = B
  3943. W.C0 = CFrame.new(0, -0.5, 0)
  3944. W.Parent = Limb
  3945. end
  3946. local Limb = Character2:FindFirstChild("Right Leg")
  3947. if Limb then
  3948. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3949. local Joint = Instance.new("Glue")
  3950. Joint.Name = "RightHip"
  3951. Joint.Part0 = Torso2
  3952. Joint.Part1 = Limb
  3953. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3954. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3955. Joint.Parent = Torso2
  3956. local B = Instance.new("Part")
  3957. B.TopSurface = 0
  3958. B.BottomSurface = 0
  3959. B.formFactor = "Symmetric"
  3960. B.Size = Vector3.new(1, 1, 1)
  3961. B.Transparency = 1
  3962. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3963. B.Parent = Character2
  3964. local W = Instance.new("Weld")
  3965. W.Part0 = Limb
  3966. W.Part1 = B
  3967. W.C0 = CFrame.new(0, -0.5, 0)
  3968. W.Parent = Limb
  3969. end
  3970. local Limb = Character2:FindFirstChild("Left Leg")
  3971. if Limb then
  3972. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3973. local Joint = Instance.new("Glue")
  3974. Joint.Name = "LeftHip"
  3975. Joint.Part0 = Torso2
  3976. Joint.Part1 = Limb
  3977. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3978. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3979. Joint.Parent = Torso2
  3980. local B = Instance.new("Part")
  3981. B.TopSurface = 0
  3982. B.BottomSurface = 0
  3983. B.formFactor = "Symmetric"
  3984. B.Size = Vector3.new(1, 1, 1)
  3985. B.Transparency = 1
  3986. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3987. B.Parent = Character2
  3988. local W = Instance.new("Weld")
  3989. W.Part0 = Limb
  3990. W.Part1 = B
  3991. W.C0 = CFrame.new(0, -0.5, 0)
  3992. W.Parent = Limb
  3993. end
  3994. local Bar = Instance.new("Part")
  3995. Bar.TopSurface = 0
  3996. Bar.BottomSurface = 0
  3997. Bar.formFactor = "Symmetric"
  3998. Bar.Size = Vector3.new(1, 1, 1)
  3999. Bar.Transparency = 1
  4000. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  4001. Bar.Parent = Character2
  4002. local Weld = Instance.new("Weld")
  4003. Weld.Part0 = Torso2
  4004. Weld.Part1 = Bar
  4005. Weld.C0 = CFrame.new(0, 0.5, 0)
  4006. Weld.Parent = Torso2
  4007. end
  4008. Character2.Parent = Weapon
  4009. if movevector ~= Vector3.new() then
  4010. for i = 1, 10 do
  4011. Torso2.Velocity = movevector * Velocity
  4012. end
  4013. end
  4014. Character2.Name = "Corpse"
  4015. return Character2, Torso2
  4016. end
  4017.  
  4018. 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."}
  4019.  
  4020. DeathTaunt = {"You Will Know Pain."}
  4021.  
  4022.  
  4023.  
  4024.  
  4025. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4026. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4027. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4028. local BODYGYRO = IT("BodyGyro", STATPART)
  4029. local BODYPOSITION = IT("BodyPosition", STATPART)
  4030. BODYPOSITION.P = 2000
  4031. BODYPOSITION.D = 100
  4032. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4033. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4034. game:GetService("Debris"):AddItem(STATPART ,5)
  4035. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4036. BILLBOARDGUI.Adornee = STATPART
  4037. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4038. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4039. BILLBOARDGUI.AlwaysOnTop = false
  4040. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4041. TEXTLABEL.BackgroundTransparency = 1
  4042. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4043. TEXTLABEL.Text = TEXT
  4044. TEXTLABEL.Font = "SciFi"
  4045. TEXTLABEL.FontSize="Size42"
  4046. TEXTLABEL.TextColor3 = COLOR
  4047. TEXTLABEL.TextStrokeTransparency = 1
  4048. TEXTLABEL.TextScaled = true
  4049. TEXTLABEL.TextWrapped = true
  4050. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4051. if LABELTYPE == "Normal" then
  4052. for i = 1, 20 do
  4053. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4054. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4055. end
  4056. elseif LABELTYPE == "Debuff" then
  4057. for i = 1, 20 do
  4058. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4059. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4060. end
  4061. elseif LABELTYPE == "Shock" then
  4062. local ORIGIN = STATPART.Position
  4063. for i = 1, 20 do
  4064. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4065. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4066. end
  4067. end
  4068. THEPART.Parent = nil
  4069. end),STATPART, BODYPOSITION, TEXTLABEL)
  4070. end
  4071.  
  4072. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  4073. local dmg = math.random(min,max)
  4074. for i,v in ipairs(workspace:GetChildren()) do
  4075. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  4076. local body = v:GetChildren()
  4077. for part = 1, #body do
  4078. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4079. if(body[part].Position - position).Magnitude < radius then
  4080. if v.ClassName == "Model" then
  4081. if v:FindFirstChildOfClass("Humanoid") then
  4082. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  4083. if HUMAN.Health ~= 0 then
  4084. if HasChain == true then
  4085. local defence = Instance.new("BoolValue",v)
  4086. defence.Name = ("HitBy"..Player.Name)
  4087. game:GetService("Debris"):AddItem(defence, 1)
  4088. coroutine.resume(coroutine.create(function()
  4089. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4090. if TORSO then
  4091. --print("Found "..v.Name.."'s Torso")
  4092. local PART = IT("Part",Effects)
  4093. PART.Anchored = true
  4094. PART.CanCollide = false
  4095. PART.Transparency = 1
  4096. PART.CFrame = CF(position)
  4097. Debris:AddItem(PART,15)
  4098. local A = IT("Attachment",PART)
  4099. --TORSO.Anchored = true
  4100. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  4101. --print("Chain start")
  4102. Front.CFrame = CF(position)
  4103. Front.CanCollide = true
  4104. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  4105. local B = IT("Attachment",Front)
  4106. local ChainLink = IT("Beam",Effects)
  4107. ChainLink.Texture = "rbxassetid://1262544869"
  4108. ChainLink.TextureSpeed = 0
  4109. ChainLink.FaceCamera = true
  4110. ChainLink.Width0 = 3
  4111. ChainLink.Attachment0 = A
  4112. ChainLink.Attachment1 = B
  4113. ChainLink.TextureMode = "Static"
  4114. local bv = Instance.new("BodyVelocity")
  4115. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4116. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  4117. bv.Parent = Front
  4118. bv.Name = "MOVE"
  4119. --print("Chain made")
  4120. coroutine.resume(coroutine.create(function()
  4121. Swait(30)
  4122. bv:remove()
  4123. local POS = Front.Position
  4124. Front.CanCollide = false
  4125. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  4126. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  4127. for i = 0, 1, 0.07 do
  4128. Swait()
  4129. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  4130. end
  4131. Front:remove()
  4132. ChainLink:remove()
  4133. end))
  4134. local harm = Front.Touched:Connect(function(hit)
  4135. impale(Front,hit)
  4136. end)
  4137. end
  4138. end))
  4139. elseif DoesWarp == true then
  4140. local defence = Instance.new("BoolValue",v)
  4141. defence.Name = ("HitBy"..Player.Name)
  4142. game:GetService("Debris"):AddItem(defence, 0.001)
  4143. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  4144. Warp(TORSO,Instakill)
  4145. else
  4146. if CanBeDodgedByJumping == true then
  4147. if body[part].Position.Y < position.Y+5 then
  4148. if math.random(1,100) < critrate+1 then
  4149. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4150. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4151. else
  4152. HUMAN.Health = HUMAN.Health - dmg
  4153. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4154. end
  4155. local defence = Instance.new("BoolValue",v)
  4156. defence.Name = ("HitBy"..Player.Name)
  4157. game:GetService("Debris"):AddItem(defence, 0.01)
  4158. end
  4159. else
  4160. if beserk == true then
  4161. HUMAN.Health = 0
  4162. end
  4163. if math.random(1,100) < critrate+1 then
  4164. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  4165. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  4166. else
  4167. HUMAN.Health = HUMAN.Health - dmg
  4168. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  4169. end
  4170. local defence = Instance.new("BoolValue",v)
  4171. defence.Name = ("HitBy"..Player.Name)
  4172. game:GetService("Debris"):AddItem(defence, 0.01)
  4173. end
  4174. end
  4175. end
  4176. end
  4177. end
  4178. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4179. end
  4180. end
  4181. end
  4182. if v.ClassName == "Part" then
  4183. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  4184. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4185. end
  4186. end
  4187. end
  4188. end
  4189. end
  4190.  
  4191. function Warp(Victim,WarpToVoid)
  4192. print("Warping "..Victim.Name.."...")
  4193. Victim.Anchored = true
  4194. coroutine.resume(coroutine.create(function()
  4195. local GUI,GUI2 = CreateGUICircle(Victim)
  4196. CreateSound("1208650519", Victim, 10, 1)
  4197. for i = 1, 100 do
  4198. Swait()
  4199. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  4200. GUI2.Rotation = GUI2.Rotation + 4
  4201. end
  4202. CastWarpOutlines(Victim.Parent)
  4203. if WarpToVoid == false then
  4204. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  4205. CreateSound("1177785010", Victim, 10, 1)
  4206. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  4207. if HUMANOID ~= nil then
  4208. local dmg = MRANDOM(75,95)
  4209. HUMANOID.Health = HUMANOID.Health - dmg
  4210. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  4211. end
  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.Anchored = false
  4218. GUI:remove()
  4219. elseif WarpToVoid == true then
  4220. CastWarpOutlines(Victim.Parent)
  4221. q = Victim.Parent:GetChildren()
  4222. for i = 1, #q do
  4223. if q[i] ~= Victim then
  4224. q[i]:remove()
  4225. end
  4226. end
  4227. CreateSound("1177785010", Victim, 10, 1)
  4228. Victim.Transparency = 1
  4229. for i = 1, 50 do
  4230. Swait()
  4231. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  4232. GUI2.Rotation = GUI2.Rotation - 8
  4233. end
  4234. Victim.Parent:remove()
  4235. end
  4236. end))
  4237. end
  4238.  
  4239. function killnearest(position,range,maxstrength)
  4240. for i,v in ipairs(workspace:GetChildren()) do
  4241. local body = v:GetChildren()
  4242. for part = 1, #body do
  4243. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  4244. if(body[part].Position - position).Magnitude < range then
  4245. if v.ClassName == "Model" then
  4246. v:BreakJoints()
  4247. end
  4248. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  4249. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  4250. end
  4251. end
  4252. end
  4253. if v.ClassName == "Part" then
  4254. if v.Anchored == false and (v.Position - position).Magnitude < range then
  4255. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  4256. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  4257. end
  4258. end
  4259. end
  4260. end
  4261.  
  4262.  
  4263. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  4264. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  4265. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  4266. local BODYGYRO = IT("BodyGyro", STATPART)
  4267. local BODYPOSITION = IT("BodyPosition", STATPART)
  4268. BODYPOSITION.P = 2000
  4269. BODYPOSITION.D = 100
  4270. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  4271. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  4272. game:GetService("Debris"):AddItem(STATPART ,5)
  4273. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  4274. BILLBOARDGUI.Adornee = STATPART
  4275. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  4276. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  4277. BILLBOARDGUI.AlwaysOnTop = false
  4278. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  4279. TEXTLABEL.BackgroundTransparency = 1
  4280. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  4281. TEXTLABEL.Text = TEXT
  4282. TEXTLABEL.Font = "SciFi"
  4283. TEXTLABEL.FontSize="Size42"
  4284. TEXTLABEL.TextColor3 = COLOR
  4285. TEXTLABEL.TextStrokeTransparency = 1
  4286. TEXTLABEL.TextScaled = true
  4287. TEXTLABEL.TextWrapped = true
  4288. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  4289. if LABELTYPE == "Normal" then
  4290. for i = 1, 20 do
  4291. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  4292. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4293. end
  4294. elseif LABELTYPE == "Debuff" then
  4295. for i = 1, 20 do
  4296. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  4297. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4298. end
  4299. elseif LABELTYPE == "Shock" then
  4300. local ORIGIN = STATPART.Position
  4301. for i = 1, 20 do
  4302. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  4303. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  4304. end
  4305. end
  4306. THEPART.Parent = nil
  4307. end),STATPART, BODYPOSITION, TEXTLABEL)
  4308. end
  4309.  
  4310.  
  4311. --//=================================\\
  4312. --|| ATTACK FUNCTIONS AND STUFF
  4313. --\\=================================//
  4314. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  4315.  
  4316. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  4317. MakeForm(RightHole,"Cyl")
  4318.  
  4319. function getbloody(victim,amount)
  4320. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  4321. PART.CFrame = victim.CFrame
  4322. local HITPLAYERSOUNDS = {"356551938","264486467"}
  4323. Debris:AddItem(PART,5)
  4324. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4325. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4326. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  4327. local prtcl = asd:Clone()
  4328. prtcl.Parent = PART
  4329. prtcl:Emit(amount*10)
  4330. end
  4331.  
  4332. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  4333.  
  4334. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  4335. if DoesCourontine == false then
  4336. local Direction = CF(Part.Position, ToLocation)
  4337. local Distance = (Part.Position - ToLocation).magnitude
  4338. for i = 1, AmountOfTime do
  4339. Swait()
  4340. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4341. Direction = Part.CFrame
  4342. end
  4343. Part:remove()
  4344. elseif DoesCourontine == true then
  4345. coroutine.resume(coroutine.create(function()
  4346. local Direction = CF(Part.Position, ToLocation)
  4347. local Distance = (Part.Position - ToLocation).magnitude
  4348. for i = 1, AmountOfTime do
  4349. Swait()
  4350. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  4351. Direction = Part.CFrame
  4352. end
  4353. Part:remove()
  4354. end))
  4355. end
  4356. end
  4357.  
  4358. function Imperfect_Command()
  4359. ATTACK = true
  4360. Rooted = true
  4361. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4362. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  4363. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  4364. if TORSO then
  4365. local GYRO = IT("BodyGyro", RootPart)
  4366. GYRO.D = 750
  4367. GYRO.P = 2000
  4368. GYRO.MaxTorque = VT(0, 40000, 0)
  4369. CreateSound("907330103", Torso, 10, 1)
  4370. for i = 0, 1.6, 0.1 / Animation_Speed do
  4371. Swait()
  4372. WACKYEFFECT({
  4373. Time = 5,
  4374. EffectType = "Round Slash",
  4375. Size = VT(0, 0, 0),
  4376. Size2 = VT(0.01, 0, 0.01),
  4377. Transparency = 0.5,
  4378. Transparency2 = 1,
  4379. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4380. MoveToPos = nil,
  4381. RotationX = MRANDOM(-50, 50) / 10,
  4382. RotationY = MRANDOM(-50, 50) / 10,
  4383. RotationZ = MRANDOM(-50, 50) / 10,
  4384. Material = "Neon",
  4385. Color = C3(1, 0, 0),
  4386. SoundID = nil,
  4387. SoundPitch = nil,
  4388. SoundVolume = nil
  4389. })
  4390. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4391. 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)
  4392. 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)
  4393. 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)
  4394. 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)
  4395. if ANIM == "Idle" then
  4396. 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)
  4397. 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)
  4398. elseif ANIM == "Walk" then
  4399. 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)
  4400. 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)
  4401. elseif ANIM == "Jump" or ANIM == "Fall" then
  4402. 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)
  4403. 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)
  4404. end
  4405. end
  4406. GYRO:remove()
  4407. for i = 1, 15 do
  4408. WACKYEFFECT({
  4409. Time = MRANDOM(15, 85),
  4410. EffectType = "Round Slash",
  4411. Size = VT(0, 0, 0),
  4412. Size2 = VT(0.3, 0, 0.3),
  4413. Transparency = 0.5,
  4414. Transparency2 = 1,
  4415. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4416. MoveToPos = nil,
  4417. RotationX = MRANDOM(-50, 50) / 10,
  4418. RotationY = MRANDOM(-50, 50) / 10,
  4419. RotationZ = MRANDOM(-50, 50) / 10,
  4420. Material = "Neon",
  4421. Color = C3(1, 0, 0),
  4422. SoundID = nil,
  4423. SoundPitch = nil,
  4424. SoundVolume = nil
  4425. })
  4426. end
  4427. local bv = Instance.new("BodyVelocity")
  4428. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4429. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  4430. bv.Parent = TORSO
  4431. Debris:AddItem(bv, 0.05)
  4432. CreateSound("1222405264", TORSO, 10, 1)
  4433. Banish(HUM.Parent)
  4434. for i = 0, 0.5, 0.1 / Animation_Speed do
  4435. Swait()
  4436. WACKYEFFECT({
  4437. Time = 5,
  4438. EffectType = "Round Slash",
  4439. Size = VT(0, 0, 0),
  4440. Size2 = VT(0.01, 0, 0.01),
  4441. Transparency = 0.5,
  4442. Transparency2 = 1,
  4443. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4444. MoveToPos = nil,
  4445. RotationX = MRANDOM(-50, 50) / 10,
  4446. RotationY = MRANDOM(-50, 50) / 10,
  4447. RotationZ = MRANDOM(-50, 50) / 10,
  4448. Material = "Neon",
  4449. Color = C3(1, 0, 0),
  4450. SoundID = nil,
  4451. SoundPitch = nil,
  4452. SoundVolume = nil
  4453. })
  4454. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  4455. 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)
  4456. 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)
  4457. 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)
  4458. 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)
  4459. if ANIM == "Idle" then
  4460. 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)
  4461. 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)
  4462. elseif ANIM == "Walk" then
  4463. 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)
  4464. 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)
  4465. elseif ANIM == "Jump" or ANIM == "Fall" then
  4466. 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)
  4467. 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)
  4468. end
  4469. end
  4470. end
  4471. end
  4472. ATTACK = false
  4473. Rooted = false
  4474. end
  4475.  
  4476.  
  4477. function Fire_At_Will()
  4478. ATTACK = true
  4479. Rooted = false
  4480. local GYRO = IT("BodyGyro", RootPart)
  4481. GYRO.D = 750
  4482. GYRO.P = 2000
  4483. GYRO.MaxTorque = VT(0, 40000, 0)
  4484. for i = 0, 0.2, 0.1 / Animation_Speed do
  4485. Swait()
  4486. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4487. 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)
  4488. 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)
  4489. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4490. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4491. if ANIM == "Idle" then
  4492. 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)
  4493. 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)
  4494. elseif ANIM == "Walk" then
  4495. 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)
  4496. 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)
  4497. elseif ANIM == "Jump" or ANIM == "Fall" then
  4498. 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)
  4499. 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)
  4500. end
  4501. end
  4502. local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Sphere", VT(1, 1, 1), false)
  4503. MakeForm(BOMB, "Ball")
  4504. BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
  4505. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
  4506. for i = 0, 1.5, 0.1 / Animation_Speed do
  4507. Swait()
  4508. if MRANDOM(1, 2) == 1 then
  4509. for E = 1, #EYES do
  4510. if EYES[E] ~= nil then
  4511. local EY = EYES[E]
  4512. local LIGHTNING = Zap({
  4513. StartPosition = EY.Position,
  4514. TargetPosition = BOMB.Position,
  4515. Character = Character,
  4516. Color = "Really red",
  4517. Individual = false,
  4518. MaxRange = 7,
  4519. SegmentLength = 1,
  4520. Offset = 0.3,
  4521. SIZE = 0.05
  4522. })
  4523. Debris:AddItem(LIGHTNING.LightningModel, 0.05)
  4524. end
  4525. end
  4526. end
  4527. BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
  4528. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4529. 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)
  4530. 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)
  4531. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4532. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4533. if ANIM == "Idle" then
  4534. 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)
  4535. 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)
  4536. elseif ANIM == "Walk" then
  4537. 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)
  4538. 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)
  4539. elseif ANIM == "Jump" or ANIM == "Fall" then
  4540. 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)
  4541. 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)
  4542. end
  4543. end
  4544. WACKYEFFECT({
  4545. Time = 25,
  4546. EffectType = "Ring",
  4547. Size = VT(0, 0, 0),
  4548. Size2 = VT(3.75, 3.75, 0),
  4549. Transparency = 0.7,
  4550. Transparency2 = 1,
  4551. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4552. MoveToPos = nil,
  4553. RotationX = 0,
  4554. RotationY = 0,
  4555. RotationZ = 0,
  4556. Material = "Neon",
  4557. Color = BOMB.Color,
  4558. SoundID = nil,
  4559. SoundPitch = nil,
  4560. SoundVolume = nil
  4561. })
  4562. WACKYEFFECT({
  4563. Time = 50,
  4564. EffectType = "Ring",
  4565. Size = VT(0, 0, 0),
  4566. Size2 = VT(15, 15, 0),
  4567. Transparency = 0.7,
  4568. Transparency2 = 1,
  4569. CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
  4570. MoveToPos = nil,
  4571. RotationX = 0,
  4572. RotationY = 0,
  4573. RotationZ = 0,
  4574. Material = "Neon",
  4575. Color = BOMB.Color,
  4576. SoundID = nil,
  4577. SoundPitch = nil,
  4578. SoundVolume = nil
  4579. })
  4580. BOMB.Anchored = true
  4581. WELD:remove()
  4582. GYRO:remove()
  4583. coroutine.resume(coroutine.create(function()
  4584. BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
  4585. for i = 1, 500 do
  4586. Swait()
  4587. BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
  4588. local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
  4589. if HITFLOOR ~= nil then
  4590. break
  4591. end
  4592. end
  4593. ApplyAoE2(BOMB.Position, 75, 0, 0, 0, true)
  4594. for i = 1, 3 do
  4595. WACKYEFFECT({
  4596. Time = 35,
  4597. EffectType = "Swirl",
  4598. Size = VT(0, 0, 0),
  4599. Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
  4600. Transparency = 0,
  4601. Transparency2 = 1,
  4602. CFrame = BOMB.CFrame,
  4603. MoveToPos = nil,
  4604. RotationX = 0,
  4605. RotationY = 5 * i,
  4606. RotationZ = 0,
  4607. Material = "Neon",
  4608. Color = BOMB.Color,
  4609. SoundID = nil,
  4610. SoundPitch = nil,
  4611. SoundVolume = nil
  4612. })
  4613. end
  4614. for i = 1, 5 do
  4615. WACKYEFFECT({
  4616. Time = 75,
  4617. EffectType = "Sphere",
  4618. Size = BOMB.Mesh.Scale,
  4619. Size2 = VT(25, 25, 25) * i,
  4620. Transparency = 0.5,
  4621. Transparency2 = 1,
  4622. CFrame = BOMB.CFrame,
  4623. MoveToPos = nil,
  4624. RotationX = 0,
  4625. RotationY = 0,
  4626. RotationZ = 0,
  4627. Material = "Neon",
  4628. Color = BOMB.Color,
  4629. SoundID = 1222405264,
  4630. SoundPitch = 1,
  4631. SoundVolume = 10
  4632. })
  4633. end
  4634. local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
  4635. if HITFLOOR then
  4636. CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
  4637. end
  4638. BOMB.Transparency = 1
  4639. for i = 1, 35 do
  4640. Swait()
  4641. CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
  4642. end
  4643. BOMB:remove()
  4644. end))
  4645. ATTACK = false
  4646. Rooted = false
  4647. end
  4648.  
  4649. function Burning_Hopes()
  4650. ATTACK = true
  4651. Rooted = true
  4652. local AIMPOS = Mouse.Hit.p
  4653. local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
  4654. coroutine.resume(coroutine.create(function()
  4655. local RAYS = {}
  4656. for i = 1, 4 do
  4657. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
  4658. MakeForm(RAY,"Cyl")
  4659. RAY.Mesh.Scale = VT(1,1.1,1)
  4660. table.insert(RAYS,RAY)
  4661. end
  4662. CreateSound(348663022, Effects, 2, 1.2, false)
  4663. for i = 1, 100 do
  4664. Swait()
  4665. for e = 1, #RAYS do
  4666. if RAYS[e] ~= nil then
  4667. local RAY = RAYS[e]
  4668. 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)
  4669. RAY.Transparency = RAY.Transparency - 0.01
  4670. end
  4671. end
  4672. end
  4673. for i = 1, 20 do
  4674. Swait()
  4675. for e = 1, #RAYS do
  4676. if RAYS[e] ~= nil then
  4677. local RAY = RAYS[e]
  4678. RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
  4679. end
  4680. end
  4681. end
  4682. wait(0.3)
  4683. for i = 1, 16 do
  4684. local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
  4685. SpawnTrail(POS+VT(0,200,0),POS)
  4686. end
  4687. for i = 1, 4 do
  4688. CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
  4689. end
  4690.  
  4691. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
  4692. CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
  4693. CreateSound(130972023, Effects, 2, 1, false)
  4694. local POS = Mouse.Hit.p
  4695. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
  4696. MakeForm(RAY,"Cyl")
  4697. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
  4698. MakeForm(SPHERE,"Ball")
  4699. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
  4700. MakeForm(SHIELD,"Ball")
  4701. SHIELD.CFrame = CF(AIMPOS)
  4702. RAY.CFrame = CF(AIMPOS)
  4703. SPHERE.CFrame = CF(AIMPOS)
  4704. local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4705. CreateSound(415700134, SPHERE, 10, 0.8, false)
  4706. for i = 1, 200 do
  4707. Swait()
  4708. 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})
  4709. MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
  4710. RAY.Size = RAY.Size + VT(0,0,0)
  4711. SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4712. SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
  4713. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  4714. end
  4715. for i = 1, 45 do
  4716. Swait()
  4717. RAY.Transparency = RAY.Transparency + 1/45
  4718. SPHERE.Transparency = RAY.Transparency
  4719. SHIELD.Transparency = SPHERE.Transparency + 1/45
  4720. end
  4721. RAY:remove()
  4722. SHIELD:remove()
  4723. SPHERE:remove()
  4724. end))
  4725. ATTACK = false
  4726. Rooted = false
  4727. end
  4728.  
  4729. function OP()
  4730. ATTACK = true
  4731. Rooted = false
  4732. for i = 0, 1, 0.1 / Animation_Speed do
  4733. Swait()
  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. Rooted = true
  4742. local GYRO = IT("BodyGyro", RootPart)
  4743. GYRO.D = 100
  4744. GYRO.P = 2000
  4745. GYRO.MaxTorque = VT(0, 4000000, 0)
  4746. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4747. for i = 1, 15 do
  4748. for i = 1, 15 do
  4749. Swait()
  4750. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4751. 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)
  4752. 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)
  4753. 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)
  4754. 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)
  4755. 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)
  4756. 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)
  4757. end
  4758. coroutine.resume(coroutine.create(function()
  4759. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  4760. CreateSound("814168787", EYE, 10, 1)
  4761. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  4762. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  4763. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4764. local ATTACKI = false
  4765. local TORS
  4766. for i = 1, 10 do
  4767. Swait()
  4768. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  4769. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4770. end
  4771. for i = 1, 100 do
  4772. Swait()
  4773. for _, c in pairs(workspace:GetChildren()) do
  4774. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  4775. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  4776. if 0 < HUMANOID.Health then
  4777. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  4778. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  4779. ATTACKI = true
  4780. TORS = TORSO
  4781. end
  4782. end
  4783. end
  4784. end
  4785. if ATTACKI == true then
  4786. break
  4787. end
  4788. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  4789. end
  4790. if ATTACKI == false then
  4791. for i = 1, 10 do
  4792. Swait()
  4793. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4794. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  4795. end
  4796. else
  4797. if TORS ~= nil then
  4798. CreateSound("213603013", EYE, 10, 2)
  4799. local DIST = (TORS.Position - EYE.Position).Magnitude
  4800. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4801. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  4802. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  4803. EYE.CFrame = CF(EYE.Position, TORS.Position)
  4804. TORS.Parent:BreakJoints()
  4805. Swait(35)
  4806. end
  4807. for i = 1, 10 do
  4808. Swait()
  4809. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  4810. end
  4811. end
  4812. EYE:remove()
  4813. end))
  4814. end
  4815. GYRO:remove()
  4816. ATTACK = false
  4817. Rooted = false
  4818. end
  4819.  
  4820. function Absoluteum()
  4821. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  4822. if HITFLOOR ~= nil then
  4823. do
  4824. local HITBODIES = {}
  4825. ATTACK = true
  4826. Rooted = true
  4827. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
  4828. MakeForm(ABSOLUTE, "Ball")
  4829. CreateSound("416200578", RootPart, 10, 1)
  4830. for i = 0, 8, 0.1 / Animation_Speed do
  4831. Swait()
  4832. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  4833. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  4834. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  4835. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
  4836. MakeForm(CHARGE, "Ball")
  4837. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  4838. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  4839. 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)
  4840. 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)
  4841. 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)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. end
  4846. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  4847. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  4848. for i = 1, 45 do
  4849. Swait()
  4850. 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)
  4851. 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)
  4852. 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)
  4853. 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)
  4854. 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)
  4855. 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)
  4856. end
  4857. coroutine.resume(coroutine.create(function()
  4858. local IMPACT = false
  4859. local BULLET = ABSOLUTE
  4860. MakeForm(BULLET, "Ball")
  4861. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  4862. for i = 1, 500 do
  4863. Swait()
  4864. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  4865. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  4866. 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)
  4867. if HIT ~= nil then
  4868. IMPACT = true
  4869. break
  4870. end
  4871. end
  4872. if IMPACT == false then
  4873. for i = 1, 40 do
  4874. Swait()
  4875. BULLET.Size = BULLET.Size * 0.9
  4876. end
  4877. BULLET:remove()
  4878. else
  4879. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  4880. for i = 1, 175 do
  4881. Swait()
  4882. BULLET.Size = BULLET.Size * 0.99
  4883. 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)
  4884. end
  4885. CreateSound("438666001", BULLET, 10, 3)
  4886. Swait(35)
  4887. BULLET.Transparency = 1
  4888. for i = 1, 20 do
  4889. for e = 1, 5 do
  4890. 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)
  4891. 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)
  4892. end
  4893. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  4894. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  4895. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  4896. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  4897. Swait(5)
  4898. for e = 1, #HITBODIES do
  4899. if HITBODIES[e] ~= nil then
  4900. local BOD = HITBODIES[e]
  4901. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  4902. if TORS then
  4903. BOD:BreakJoints()
  4904. for _, c in pairs(BOD:GetChildren()) do
  4905. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  4906. local bv = Instance.new("BodyVelocity")
  4907. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4908. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  4909. bv.Parent = c
  4910. Debris:AddItem(bv, 0.2)
  4911. end
  4912. end
  4913. end
  4914. end
  4915. end
  4916. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
  4917. end
  4918. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  4919. Debris:AddItem(BULLET, 10)
  4920. end
  4921. end))
  4922. ATTACK = false
  4923. Rooted = false
  4924. end
  4925. end
  4926. end
  4927.  
  4928. function Nuke()
  4929. ATTACK = true
  4930. Rooted = true
  4931. local CHARGE = false
  4932. local BLASTS = {468991944, 468991990}
  4933. coroutine.resume(coroutine.create(function()
  4934. repeat
  4935. Swait()
  4936. 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)
  4937. 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)
  4938. 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)
  4939. 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)
  4940. 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)
  4941. 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)
  4942. until CHARGE == true
  4943. for i = 0, 0.4, 0.1 / Animation_Speed do
  4944. Swait()
  4945. WACKYEFFECT({
  4946. Time = 15,
  4947. EffectType = "Sphere",
  4948. Size = VT(60, 60, 60),
  4949. Size2 = VT(0, 0, 0),
  4950. Transparency = 1,
  4951. Transparency2 = 0.7,
  4952. CFrame = CF(RootPart.Position),
  4953. MoveToPos = nil,
  4954. RotationX = 0,
  4955. RotationY = 0,
  4956. RotationZ = 0,
  4957. Material = "Neon",
  4958. Color = C3(1, 1, 1),
  4959. SoundID = nil,
  4960. SoundPitch = nil,
  4961. SoundVolume = nil
  4962. })
  4963. 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)
  4964. 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)
  4965. 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)
  4966. 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)
  4967. 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)
  4968. 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)
  4969. end
  4970. coroutine.resume(coroutine.create(function()
  4971. local POS = RootPart.Position
  4972. wait(0.2)
  4973. for i = 1, 5 do
  4974. WACKYEFFECT({
  4975. Time = 65,
  4976. EffectType = "Sphere",
  4977. Size = VT(2, 2, 2),
  4978. Size2 = VT(0, 0, 500),
  4979. Transparency = 1,
  4980. Transparency2 = 0,
  4981. CFrame = CF(POS),
  4982. MoveToPos = nil,
  4983. RotationX = MRANDOM(-2, 2),
  4984. RotationY = MRANDOM(-12, 12),
  4985. RotationZ = MRANDOM(-2, 2),
  4986. Material = "Neon",
  4987. Color = C3(1, 1, 1),
  4988. SoundID = nil,
  4989. SoundPitch = nil,
  4990. SoundVolume = nil
  4991. })
  4992. end
  4993. wait(1)
  4994. SHAKECAM(POS, 9999999999, 25, 25)
  4995. ApplyAoE(POS, 450, true)
  4996. WACKYEFFECT({
  4997. Time = 85,
  4998. EffectType = "Sphere",
  4999. Size = VT(120, 120, 120),
  5000. Size2 = VT(350, 350, 350),
  5001. Transparency = 0,
  5002. Transparency2 = 1,
  5003. CFrame = CF(POS),
  5004. MoveToPos = nil,
  5005. RotationX = 0,
  5006. RotationY = 0,
  5007. RotationZ = 0,
  5008. Material = "Neon",
  5009. Color = C3(1, 1, 1),
  5010. SoundID = nil,
  5011. SoundPitch = 1,
  5012. SoundVolume = 10
  5013. })
  5014. for i = 1, 20 do
  5015. WACKYEFFECT({
  5016. Time = 85,
  5017. EffectType = "Sphere",
  5018. Size = VT(120, 120, 120),
  5019. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  5020. Transparency = 0.8,
  5021. Transparency2 = 1,
  5022. CFrame = CF(POS),
  5023. MoveToPos = nil,
  5024. RotationX = 0,
  5025. RotationY = 0,
  5026. RotationZ = 0,
  5027. Material = "Neon",
  5028. Color = C3(1, 1, 1),
  5029. SoundID = nil,
  5030. SoundPitch = 1,
  5031. SoundVolume = 10
  5032. })
  5033. WACKYEFFECT({
  5034. Time = 100,
  5035. EffectType = "Wave",
  5036. Size = VT(25, 2, 25),
  5037. Size2 = VT(400, 0, 400) * 1.2,
  5038. Transparency = 0,
  5039. Transparency2 = 1,
  5040. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5041. MoveToPos = nil,
  5042. RotationX = 0,
  5043. RotationY = 0,
  5044. RotationZ = 0,
  5045. Material = "Neon",
  5046. Color = C3(1, 1, 1),
  5047. SoundID = nil,
  5048. SoundPitch = nil,
  5049. SoundVolume = nil
  5050. })
  5051. end
  5052. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5053. for i = 1, 5 do
  5054. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  5055. WACKYEFFECT({
  5056. Time = 120,
  5057. EffectType = "Wave",
  5058. Size = VT(150, 2, 150),
  5059. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  5060. Transparency = 0,
  5061. Transparency2 = 1,
  5062. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5063. MoveToPos = nil,
  5064. RotationX = 0,
  5065. RotationY = 0,
  5066. RotationZ = 0,
  5067. Material = "Neon",
  5068. Color = C3(1, 1, 1),
  5069. SoundID = nil,
  5070. SoundPitch = nil,
  5071. SoundVolume = nil
  5072. })
  5073. end
  5074. end))
  5075. for i = 0, 1, 0.1 / Animation_Speed do
  5076. Swait()
  5077. 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)
  5078. 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)
  5079. 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)
  5080. 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)
  5081. 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)
  5082. 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)
  5083. end
  5084. ATTACK = false
  5085. Rooted = false
  5086. end))
  5087. for i = 1, 30 do
  5088. wait(0.01)
  5089. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  5090. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  5091. if HITFLOOR then
  5092. ApplyAoE(HITPOS, 65, true)
  5093. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  5094. WACKYEFFECT({
  5095. Time = 25,
  5096. EffectType = "Sphere",
  5097. Size = VT(22, 22, 22),
  5098. Size2 = VT(85, 85, 85),
  5099. Transparency = 0,
  5100. Transparency2 = 1,
  5101. CFrame = CF(HITPOS),
  5102. MoveToPos = nil,
  5103. RotationX = 0,
  5104. RotationY = 0,
  5105. RotationZ = 0,
  5106. Material = "Neon",
  5107. Color = C3(1, 1, 1),
  5108. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  5109. SoundPitch = MRANDOM(9, 12) / 10,
  5110. SoundVolume = 10
  5111. })
  5112. for e = 1, 3 do
  5113. WACKYEFFECT({
  5114. EffectType = "Wave",
  5115. Size = VT(25, 0, 25),
  5116. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  5117. Transparency = 0,
  5118. Transparency2 = 1,
  5119. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  5120. MoveToPos = nil,
  5121. RotationX = 0,
  5122. RotationY = 3,
  5123. RotationZ = 0,
  5124. Material = "Neon",
  5125. Color = C3(1, 1, 1),
  5126. SoundID = nil,
  5127. SoundPitch = nil,
  5128. SoundVolume = nil
  5129. })
  5130. WACKYEFFECT({
  5131. Time = 35,
  5132. EffectType = "Sphere",
  5133. Size = VT(22, 45, 22),
  5134. Size2 = VT(25, 45 + e * 75, 25),
  5135. Transparency = 0,
  5136. Transparency2 = 1,
  5137. CFrame = CF(HITPOS) * TURN,
  5138. MoveToPos = nil,
  5139. RotationX = 0,
  5140. RotationY = 0,
  5141. RotationZ = 0,
  5142. Material = "Neon",
  5143. Color = C3(1, 1, 1),
  5144. SoundID = nil,
  5145. SoundPitch = MRANDOM(9, 12) / 10,
  5146. SoundVolume = 10
  5147. })
  5148. end
  5149. end
  5150. end
  5151. CHARGE = true
  5152. end
  5153.  
  5154. function SpectralBanishing()
  5155. ATTACK = true
  5156. Rooted = false
  5157. chatfunc("If you desire to be a ghost...", 20)
  5158. for i = 0, 5, 0.1 / Animation_Speed do
  5159. Swait()
  5160. 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)
  5161. 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)
  5162. 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)
  5163. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5164. 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)
  5165. 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)
  5166. end
  5167. chatfunc("Then move on to the afterlife!", 6)
  5168. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  5169. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
  5170. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
  5171. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  5172. local distance = (GunPoint.Position - Way).magnitude
  5173. for i = 1, 5 do
  5174. local laser = Instance.new("Part", Effects)
  5175. laser.Transparency = 0
  5176. laser.CanCollide = false
  5177. laser.Anchored = true
  5178. laser.Color = C3(1, 0, 0)
  5179. laser.Material = "Neon"
  5180. laser.formFactor = Enum.FormFactor.Custom
  5181. laser.Size = Vector3.new(0.15, 0.15, distance)
  5182. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  5183. table.insert(Effects2, {
  5184. laser,
  5185. "Disappear",
  5186. 0.1,
  5187. 1,
  5188. 1,
  5189. 1,
  5190. 2
  5191. })
  5192. end
  5193. coroutine.resume(coroutine.create(function()
  5194. Swait(15)
  5195. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  5196. for i = 1, 25 do
  5197. Swait()
  5198. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  5199. end
  5200. local GAME = game.Players:GetChildren()
  5201. for PLAYER = 1, #GAME do
  5202. do
  5203. local PLAY = GAME[PLAYER]
  5204. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  5205. PLAY.Character.Parent = nil
  5206. coroutine.resume(coroutine.create(function()
  5207. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  5208. PLAY.Character.Parent = workspace
  5209. local Value = IT("BoolValue", Delete)
  5210. Value.Name = PLAY.Name
  5211. end
  5212. end))
  5213. end
  5214. end
  5215. end
  5216. for i = 1, 25 do
  5217. Swait()
  5218. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  5219. end
  5220. end))
  5221. for i = 0, 2, 0.1 / Animation_Speed do
  5222. Swait()
  5223. 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)
  5224. 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)
  5225. 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)
  5226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  5227. 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)
  5228. 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)
  5229. end
  5230. ATTACK = false
  5231. Rooted = false
  5232. end
  5233.  
  5234. function Madness()
  5235. ATTACK = true
  5236. Rooted = false
  5237. local GYRO = IT("BodyGyro",RootPart)
  5238. GYRO.D = 750
  5239. GYRO.P = 20000
  5240. GYRO.MaxTorque = VT(0,40000000,0)
  5241. local LOCKED = true
  5242. local SHOT = false
  5243. coroutine.resume(coroutine.create(function()
  5244. for i=0, 1, 0.1 / Animation_Speed do
  5245. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  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. LOCKED = false
  5253. SHOT = true
  5254. repeat
  5255. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  5256. Swait()
  5257. 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)
  5258. 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)
  5259. 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)
  5260. 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)
  5261. until HOLD == false and SHOT == false
  5262. for i=0, 0.3, 0.1 / Animation_Speed do
  5263. Swait()
  5264. 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)
  5265. 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)
  5266. 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)
  5267. 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)
  5268. end
  5269. GYRO:remove()
  5270. ATTACK = false
  5271. Rooted = false
  5272. end))
  5273. repeat wait() until LOCKED == false
  5274. repeat
  5275. SHOT = true
  5276. wait(0.2)
  5277. SHOT = false
  5278. 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})
  5279. local HIT = BULLET.Hit
  5280. local HITPOS = BULLET.End
  5281. if HIT then
  5282. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  5283. Banish(HIT.Parent)
  5284. end
  5285. end
  5286. 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})
  5287. 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})
  5288. 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})
  5289. 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})
  5290. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5291. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5292. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  5293. 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})
  5294. 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})
  5295. until HOLD == false
  5296. end
  5297.  
  5298. function EMOTE()
  5299. ATTACK = true
  5300. Rooted = false
  5301. local LOOP = 0
  5302. for i=0, 0.1, 0.1 / Animation_Speed do
  5303. Swait()
  5304. 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)
  5305. 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)
  5306. 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)
  5307. 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)
  5308. end
  5309. for i=0, 3, 0.1 / Animation_Speed do
  5310. Swait()
  5311. LOOP = LOOP + 1
  5312. 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)
  5313. 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)
  5314. 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)
  5315. 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)
  5316. end
  5317. for i=0, 0.1, 0.1 / Animation_Speed do
  5318. Swait()
  5319. 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)
  5320. 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)
  5321. 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)
  5322. 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)
  5323. end
  5324. ATTACK = false
  5325. Rooted = false
  5326. end
  5327.  
  5328. function Kill(Char)
  5329. local NewCharacter = IT("Model",Effects)
  5330. NewCharacter.Name = "Ow im ded ;-;"
  5331. for _, c in pairs(Char:GetDescendants()) do
  5332. if c:IsA("BasePart") and c.Transparency == 0 then
  5333. if c.Parent == Char then
  5334. getbloody(c,5)
  5335. end
  5336. c:BreakJoints()
  5337. c.Material = "Glass"
  5338. c.Color = C3(0.5,0,0)
  5339. c.CanCollide = true
  5340. c.Transparency = 0.3
  5341. if c:FindFirstChildOfClass("SpecialMesh") then
  5342. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  5343. end
  5344. if c.Name == "Head" then
  5345. c:ClearAllChildren()
  5346. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  5347. end
  5348. if c.ClassName == "MeshPart" then
  5349. c.TextureID = ""
  5350. end
  5351. if c:FindFirstChildOfClass("BodyPosition") then
  5352. c:FindFirstChildOfClass("BodyPosition"):remove()
  5353. end
  5354. if c:FindFirstChildOfClass("ParticleEmitter") then
  5355. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  5356. end
  5357. c.Parent = NewCharacter
  5358. c.Name = "DeadPart"
  5359. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  5360. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  5361. end
  5362. end
  5363. Char:remove()
  5364. Debris:AddItem(NewCharacter,5)
  5365. end
  5366.  
  5367. function Taunt()
  5368. ATTACK = true
  5369. Rooted = true
  5370. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  5371. repeat
  5372. Swait()
  5373. TAUNT.Parent = Torso
  5374. TAUNT.Playing = true
  5375. 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)
  5376. 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)
  5377. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5378. 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)
  5379. 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)
  5380. 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)
  5381. until TAUNT.TimePosition >= 1.25
  5382. for i=0, 1.6, 0.1 / Animation_Speed do
  5383. Swait()
  5384. TAUNT.Parent = Torso
  5385. 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)
  5386. 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)
  5387. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5388. 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)
  5389. 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)
  5390. 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)
  5391. end
  5392. ATTACK = false
  5393. Rooted = false
  5394. end
  5395.  
  5396. function oofBeam()
  5397. ATTACK = true
  5398. Rooted = false
  5399. VALUE2 = true
  5400. local GYRO = IT("BodyGyro", RootPart)
  5401. GYRO.D = 20
  5402. GYRO.P = 4000
  5403. GYRO.MaxTorque = VT(0, 40000, 0)
  5404. local POS = RootPart.Position + VT(0, 25, 0)
  5405. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  5406. 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)
  5407. 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)
  5408. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5409. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5410. 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)
  5411. 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)
  5412. coroutine.resume(coroutine.create(function()
  5413. local E = 0
  5414. repeat
  5415. E = E + 5
  5416. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  5417. Swait()
  5418. 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)
  5419. 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)
  5420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5422. 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)
  5423. 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)
  5424. until ATTACK == false
  5425. GYRO:remove()
  5426. end))
  5427. for i = 1, 50 do
  5428. Swait()
  5429. end
  5430. for i = 1, 25 do
  5431. Swait()
  5432. WACKYEFFECT({
  5433. Time = 15,
  5434. EffectType = "Skull",
  5435. Size = VT(4, 4, 4),
  5436. Size2 = VT(0, 0, 0),
  5437. Transparency = 1,
  5438. Transparency2 = 0,
  5439. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  5440. MoveToPos = Eon.Position,
  5441. RotationX = 0,
  5442. RotationY = 0,
  5443. RotationZ = 0,
  5444. Material = "Neon",
  5445. Color = C3(1, 0, 0),
  5446. SoundID = nil,
  5447. SoundPitch = nil,
  5448. SoundVolume = nil
  5449. })
  5450. end
  5451. local LOOP = 0
  5452. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  5453. MakeForm(BEAMO, "Ball")
  5454. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  5455. MakeForm(BEAM, "Cyl")
  5456. repeat
  5457. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  5458. if DISTANCE < 2000 then
  5459. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  5460. BEAMO.CFrame = CF(Eon.Position)
  5461. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  5462. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  5463. ApplyAoE(Mouse.Hit.p, 14,true,false)
  5464. WACKYEFFECT({
  5465. Time = 35,
  5466. EffectType = "Sphere",
  5467. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  5468. Size2 = VT(5, 75, 5),
  5469. Transparency = 0,
  5470. Transparency2 = 1,
  5471. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  5472. MoveToPos = nil,
  5473. RotationX = 0,
  5474. RotationY = 0,
  5475. RotationZ = 0,
  5476. Material = "Neon",
  5477. Color = C3(1, 0, 0),
  5478. SoundID = nil,
  5479. SoundPitch = MRANDOM(9, 12) / 10,
  5480. SoundVolume = 10
  5481. })
  5482. 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})
  5483. Swait()
  5484. LOOP = LOOP + 1
  5485. end
  5486. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  5487. coroutine.resume(coroutine.create(function()
  5488. for i = 1, 15 do
  5489. Swait()
  5490. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  5491. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  5492. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  5493. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  5494. end
  5495. BEAM:remove()
  5496. BEAMO:remove()
  5497. end))
  5498. ATTACK = false
  5499. Rooted = false
  5500. VALUE2 = false
  5501. end
  5502.  
  5503. function TakeOnMe()
  5504. Speed = 5
  5505. local MEME = CreateSound(0, Effects, 2, 1, false)
  5506. ATTACK = true
  5507. Rooted = false
  5508. local DANCE = true
  5509. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  5510. if NEWKEY == "p" then
  5511. DANCE = false
  5512. end
  5513. end)
  5514. PLAYSONG = false
  5515. while true do
  5516. for i = 1, 15 do
  5517. Swait()
  5518. MEME.Parent = Effects
  5519. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5520. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5521. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5522. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5523. 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)
  5524. 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)
  5525. end
  5526. if DANCE == false then
  5527. break
  5528. end
  5529. for i = 1, 15 do
  5530. Swait()
  5531. MEME.Parent = Effects
  5532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5536. 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)
  5537. 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)
  5538. end
  5539. end
  5540. PLAYSONG = true
  5541. KEY:Disconnect()
  5542. MEME:remove()
  5543. Speed = 25
  5544. ATTACK = false
  5545. Rooted = false
  5546. end
  5547.  
  5548.  
  5549. function Execute()
  5550. ATTACK = true
  5551. Rooted = false
  5552. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  5553. Part.Color = C3(0,0,0)
  5554. MakeForm(Part,"Wedge")
  5555. Part.CanCollide = true
  5556. 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))
  5557. for i=0, 1, 0.1 / Animation_Speed do
  5558. Swait()
  5559. 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)
  5560. 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)
  5561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5562. 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)
  5563. 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)
  5564. 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)
  5565. end
  5566. CreateSound(541909867, RightBarrel, 7, 1, false)
  5567. local TOCH = Part.Touched:Connect(function(hit)
  5568. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  5569. Banish(hit.Parent)
  5570. end
  5571. end)
  5572. for i=0, 0.35, 0.1 / Animation_Speed do
  5573. Swait()
  5574. 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)
  5575. 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)
  5576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5577. 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)
  5578. 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)
  5579. 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)
  5580. end
  5581. TOCH:disconnect()
  5582. for i=0, 0.35, 0.1 / Animation_Speed do
  5583. Swait()
  5584. 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)
  5585. 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)
  5586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5587. 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)
  5588. 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)
  5589. 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)
  5590. end
  5591. Part:remove()
  5592. ATTACK = false
  5593. Rooted = false
  5594. end
  5595. function Banisher_Burn()
  5596. ATTACK = true
  5597. Rooted = true
  5598. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  5599. for i=0, 1, 0.1 / Animation_Speed do
  5600. Swait()
  5601. 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)
  5602. 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)
  5603. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5604. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5605. 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)
  5606. 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)
  5607. end
  5608. coroutine.resume(coroutine.create(function()
  5609. local POS = Mouse.Hit.p
  5610. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
  5611. MakeForm(RAY,"Cyl")
  5612. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
  5613. MakeForm(SPHERE,"Ball")
  5614. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
  5615. MakeForm(SHIELD,"Ball")
  5616. SHIELD.CFrame = CF(POS)
  5617. RAY.CFrame = CF(POS)
  5618. SPHERE.CFrame = CF(POS)
  5619. CreateSound(440145570, SPHERE, 10, 0.8, false)
  5620. CreateSound(415700134, SPHERE, 10, 0.8, false)
  5621. for i = 1, 200 do
  5622. Swait()
  5623. 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})
  5624. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  5625. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  5626. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  5627. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  5628. end
  5629. for i = 1, 45 do
  5630. Swait()
  5631. RAY.Transparency = RAY.Transparency + 1/45
  5632. SPHERE.Transparency = RAY.Transparency
  5633. SHIELD.Transparency = SPHERE.Transparency + 1/45
  5634. end
  5635. RAY:remove()
  5636. SHIELD:remove()
  5637. SPHERE:remove()
  5638. end))
  5639. for i=0, 1, 0.1 / Animation_Speed do
  5640. Swait()
  5641. 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)
  5642. 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)
  5643. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5644. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5645. 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)
  5646. 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)
  5647. end
  5648. ATTACK = false
  5649. Rooted = false
  5650. end
  5651. function Teleport()
  5652. ATTACK = true
  5653. Rooted = false
  5654. for i=0, 0.5, 0.1 / Animation_Speed do
  5655. Swait()
  5656. 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)
  5657. 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)
  5658. end
  5659. for e = 1, #BODY do
  5660. if BODY[e] ~= nil then
  5661. local STUFF = BODY[e]
  5662. local PART = STUFF[1]
  5663. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  5664. local PRT = PART:Clone()
  5665. PRT.Anchored = true
  5666. PRT.CanCollide = false
  5667. PRT.Material = "Neon"
  5668. PRT.Color = C3(255,100,255)
  5669. PRT.Name = "WarpEffect"
  5670. PRT.Parent = Effects
  5671. PRT.CFrame = PART.CFrame
  5672. PRT:BreakJoints()
  5673. if PRT:FindFirstChildOfClass("Sound") then
  5674. PRT:FindFirstChildOfClass("Sound"):remove()
  5675. end
  5676. if PRT:FindFirstChildOfClass("Decal") then
  5677. PRT:FindFirstChildOfClass("Decal"):remove()
  5678. end
  5679. coroutine.resume(coroutine.create(function()
  5680. for i = 1, 100 do
  5681. Swait()
  5682. PRT.Transparency = PRT.Transparency + 1/100
  5683. end
  5684. PRT:remove()
  5685. end))
  5686. end
  5687. end
  5688. end
  5689. CreateSound(217767125, Torso, 10, 1)
  5690. local POS = RootPart.Orientation
  5691. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  5692. RootPart.Orientation = POS
  5693. RootJoint.Parent = RootPart
  5694. for i=0, 0.5, 0.1 / Animation_Speed do
  5695. Swait()
  5696. 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)
  5697. 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)
  5698. end
  5699. for i=0, 0.1, 0.1 / Animation_Speed do
  5700. Swait()
  5701. 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)
  5702. end
  5703. ATTACK = false
  5704. Rooted = false
  5705. end
  5706. function BanishmentBeam()
  5707. ATTACK = true
  5708. Rooted = false
  5709. local GYRO = IT("BodyGyro",RootPart)
  5710. GYRO.D = 100
  5711. GYRO.P = 2000
  5712. GYRO.MaxTorque = VT(0,4000000,0)
  5713. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5714. CreateSound("93724183", RightArm, 5, 1, false)
  5715. for i=1, 35 do
  5716. Swait()
  5717. 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})
  5718. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5719. 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)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. 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)
  5724. 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)
  5725. end
  5726. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0))
  5727. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  5728. local TOCH = BEAM.Touched:Connect(function(hit)
  5729. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  5730. Kill(hit)
  5731. end
  5732. end)
  5733. local I = 0
  5734. repeat
  5735. Swait()
  5736. I = I + 1
  5737. if I <= 10 then
  5738. BEAM.Transparency = BEAM.Transparency - 0.1
  5739. end
  5740. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  5741. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  5742. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  5743. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  5744. BEAM.Size = VT(2,2,DISTANCE)
  5745. 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})
  5746. 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})
  5747. 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})
  5748. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  5749. 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)
  5750. 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)
  5751. 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)
  5752. 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)
  5753. 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)
  5754. 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)
  5755. if ENDHIT ~= nil then
  5756. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  5757. Banish(ENDHIT)
  5758. end
  5759. end
  5760. until LOOP.Playing == false
  5761. GYRO:remove()
  5762. BEAM:remove()
  5763. ATTACK = false
  5764. Rooted = false
  5765. end
  5766. function Bat_Wave()
  5767. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  5768. if HITFLOOR ~= nil then
  5769. ATTACK = true
  5770. Rooted = true
  5771. do
  5772. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  5773. BAT.Color = C3(0, 0, 0)
  5774. MakeForm(BAT, "Ball")
  5775. CreateSound("1177785010", BAT, 10, 1)
  5776. for i = 1, 25 do
  5777. Swait()
  5778. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5779. BAT.Transparency = BAT.Transparency - 0.04
  5780. 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)
  5781. 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)
  5782. 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)
  5783. 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)
  5784. 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)
  5785. 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)
  5786. end
  5787. local GYRO = IT("BodyGyro", RootPart)
  5788. GYRO.D = 100
  5789. GYRO.P = 2000
  5790. GYRO.MaxTorque = VT(0, 4000000, 0)
  5791. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5792. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  5793. WING.Color = C3(1, 0, 0)
  5794. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5795. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  5796. for i = 1, 15 do
  5797. Swait()
  5798. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  5799. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5800. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  5801. WING.Transparency = WING.Transparency - 0.06666666666666667
  5802. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  5803. 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)
  5804. 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)
  5805. 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)
  5806. 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)
  5807. 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)
  5808. 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)
  5809. end
  5810. coroutine.resume(coroutine.create(function()
  5811. local LOOP = 0
  5812. for i = 1, 70 do
  5813. LOOP = LOOP + 1
  5814. Swait()
  5815. if i < 18 then
  5816. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  5817. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  5818. end
  5819. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  5820. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  5821. if LOOP == 15 then
  5822. LOOP = 0
  5823. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  5824. CreateSound("201858087", BAT, 10, 1)
  5825. 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))
  5826. end
  5827. end
  5828. killnearest(BAT.Position, 35, 250)
  5829. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  5830. 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))
  5831. CreateSound("178452217", BAT, 10, 1)
  5832. WING:remove()
  5833. BAT.Transparency = 1
  5834. Debris:AddItem(BAT, 5)
  5835. end))
  5836. GYRO:remove()
  5837. ATTACK = false
  5838. Rooted = false
  5839. end
  5840. end
  5841. end
  5842. function Deathzone()
  5843. ATTACK = true
  5844. Rooted = true
  5845. for i=0, 1, 0.1 / Animation_Speed do
  5846. Swait()
  5847. 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)
  5848. 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)
  5849. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5850. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5851. 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)
  5852. 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)
  5853. end
  5854. local DONE = false
  5855. local GATE = nil
  5856. local GATESPIN = true
  5857. coroutine.resume(coroutine.create(function()
  5858. repeat
  5859. Swait()
  5860. if GATE ~= nil then
  5861. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  5862. end
  5863. until GATESPIN == false
  5864. end))
  5865. coroutine.resume(coroutine.create(function()
  5866. repeat
  5867. Swait()
  5868. 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)
  5869. 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)
  5870. 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)
  5871. 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)
  5872. 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)
  5873. 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)
  5874. until DONE == true
  5875. Swait(50)
  5876. for i = 1, 35 do
  5877. Swait(4)
  5878. local FIRED = false
  5879. local CHILDREN = workspace:GetDescendants()
  5880. for index, CHILD in pairs(CHILDREN) do
  5881. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5882. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5883. if HUM then
  5884. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5885. if TORSO then
  5886. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  5887. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5888. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  5889. 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})
  5890. 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})
  5891. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5892. Banish(CHILD)
  5893. FIRED = true
  5894. break
  5895. end
  5896. end
  5897. end
  5898. end
  5899. end
  5900. if FIRED == false then
  5901. 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)))
  5902. 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})
  5903. 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})
  5904. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  5905. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  5906. if HITBOD ~= nil then
  5907. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  5908. Kill(HITBOD.Parent)
  5909. end
  5910. end
  5911. end
  5912. end
  5913. for i = 1, 45 do
  5914. Swait()
  5915. GATE.Size = GATE.Size - VT(3,0,3)
  5916. end
  5917. GATESPIN = false
  5918. GATE:remove()
  5919. end))
  5920. Swait(15)
  5921. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  5922. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  5923. local DECAL = IT("Decal",GATE)
  5924. DECAL.Texture = "http://www.roblox.com/asset/?id=1526406096"
  5925. DECAL.Face = "Top"
  5926. GATE.CFrame = CF(HITPOS)
  5927. CreateSound(160772554, GATE, 7, 1.3, false)
  5928. for i = 1, 45 do
  5929. Swait()
  5930. GATE.Size = GATE.Size + VT(18,0,18)
  5931. end
  5932. CreateSound(213603013, RightHole, 7, 1, false)
  5933. 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})
  5934. ATTACK = false
  5935. Rooted = false
  5936. DONE = true
  5937. end
  5938.  
  5939. function Banisher_Bullet()
  5940. ATTACK = true
  5941. Rooted = false
  5942. for i=0, 0.05, 0.1 / Animation_Speed do
  5943. Swait()
  5944. turnto(Mouse.Hit.p)
  5945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5949. 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)
  5950. 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)
  5951. chatfunc("BE GONE FROM HERE")
  5952. end
  5953. repeat
  5954. for i=0, 0.05, 0.1 / Animation_Speed do
  5955. Swait()
  5956. turnto(Mouse.Hit.p)
  5957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  5959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5961. 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)
  5962. 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)
  5963. end
  5964. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  5965. SpawnTrail(Hole.Position,POS)
  5966. if HIT ~= nil then
  5967. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  5968. Banish(HIT.Parent)
  5969. end
  5970. end
  5971. 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})
  5972. 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})
  5973. 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})
  5974. 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})
  5975. for i=0, 0.05, 0.1 / Animation_Speed do
  5976. Swait()
  5977. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  5979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  5980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  5981. 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)
  5982. 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)
  5983. end
  5984. until KEYHOLD == false
  5985. ATTACK = false
  5986. Rooted = false
  5987. end
  5988.  
  5989.  
  5990. function Perfect_Command()
  5991. ATTACK = true
  5992. Rooted = true
  5993. chatfunc("Weaklings...")
  5994. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(100,100,100))
  5995. CreateSound("1368605755", Effects, 10, 1)
  5996. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5997. killnearest2(Torso.Position, 9999, 0, 0, 0, true)
  5998. ATTACK = false
  5999. Rooted = false
  6000. end
  6001.  
  6002. function killnearest2(position,range,maxstrength)
  6003. for i,v in ipairs(workspace:GetChildren()) do
  6004. if v.ClassName == "Model" then
  6005. local body = v:GetChildren()
  6006. for part = 1, #body do
  6007. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6008. if(body[part].Position - position).Magnitude < range then
  6009. if v.ClassName == "Model" then
  6010. v:BreakJoints()
  6011. end
  6012. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  6013. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  6014. end
  6015. end
  6016. end
  6017. end
  6018. end
  6019. end
  6020.  
  6021. function killnearest(position,range,maxstrength,direction)
  6022. for i,v in ipairs(workspace:GetChildren()) do
  6023. local body = v:GetChildren()
  6024. for part = 1, #body do
  6025. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  6026. if(body[part].Position - position).Magnitude < range then
  6027. if v.ClassName == "Model" then
  6028. --v:BreakJoints()
  6029. end
  6030. local POS = position
  6031. coroutine.resume(coroutine.create(function()
  6032. body[part].Anchored = true
  6033. body[part].Parent = Effects
  6034. body[part].CanCollide = true
  6035. local SIZE = body[part].Size
  6036. body[part].Material = "Neon"
  6037. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  6038. for i = 1, 75 do
  6039. Swait()
  6040. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6041. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6042. end
  6043. coroutine.resume(coroutine.create(function()
  6044. while true do
  6045. Swait()
  6046. body[part].Color = Color3.fromRGB(cR,cG,cB)
  6047. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6048. end
  6049. end))
  6050. body[part].Anchored = false
  6051. body[part].Velocity = direction.lookVector*maxstrength
  6052. end))
  6053. end
  6054. end
  6055. end
  6056. if v.ClassName == "Part" then
  6057. if v.Anchored == false and (v.Position - position).Magnitude < range then
  6058. local POS = position
  6059. coroutine.resume(coroutine.create(function()
  6060. v.Anchored = true
  6061. v.Parent = Effects
  6062. local SIZE = v.Size
  6063. v.Material = "Neon"
  6064. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  6065. for i = 1, 75 do
  6066. Swait()
  6067. v.Color = Color3.fromRGB(cR,cG,cB)
  6068. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6069. end
  6070. coroutine.resume(coroutine.create(function()
  6071. while true do
  6072. Swait()
  6073. v.Color = Color3.fromRGB(cR,cG,cB)
  6074. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  6075. end
  6076. end))
  6077. v.Anchored = false
  6078. v.Velocity = direction.lookVector*maxstrength
  6079. end))
  6080. end
  6081. end
  6082. end
  6083. end
  6084. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  6085. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6086. local mesh = IT("SpecialMesh",wave)
  6087. mesh.MeshType = "FileMesh"
  6088. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  6089. mesh.Scale = SIZE
  6090. mesh.Offset = VT(0,0,0)
  6091. wave.CFrame = CFRAME
  6092. coroutine.resume(coroutine.create(function(PART)
  6093. for i = 1, WAIT do
  6094. Swait()
  6095. mesh.Scale = mesh.Scale + GROW
  6096. if DOESROT == true then
  6097. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6098. end
  6099. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6100. if wave.Transparency > 0.99 then
  6101. wave:remove()
  6102. end
  6103. end
  6104. end))
  6105. end
  6106.  
  6107. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  6108. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  6109. local mesh = IT("SpecialMesh",wave)
  6110. mesh.MeshType = "Sphere"
  6111. mesh.Scale = SIZE
  6112. mesh.Offset = VT(0,0,0)
  6113. wave.CFrame = CFRAME
  6114. coroutine.resume(coroutine.create(function(PART)
  6115. for i = 1, WAIT do
  6116. Swait()
  6117. mesh.Scale = mesh.Scale + GROW
  6118. wave.Transparency = wave.Transparency + (1/WAIT)
  6119. if wave.Transparency > 0.99 then
  6120. wave:remove()
  6121. end
  6122. end
  6123. end))
  6124. end
  6125. function Eliminate()
  6126. chatfunc("Come here!")
  6127. ATTACK = true
  6128. Rooted = false
  6129. local HASGRABBED = false
  6130. local WELD = nil
  6131. local TORS = nil
  6132. local hitting = RightArm.Touched:Connect(function(hit)
  6133. if hit.Parent:FindFirstChild("Humanoid") then
  6134. if hit.Parent.Humanoid.Health ~= 0 then
  6135. UNANCHOR = false
  6136. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6137. TORS.Anchored = true
  6138. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  6139. WELD = weldBetween(RightArm,TORS)
  6140. HASGRABBED = true
  6141. chatfunc("Time to die.")
  6142. Rooted = true
  6143. end
  6144. end
  6145. end)
  6146. for i=0, 1, 0.1 / Animation_Speed do
  6147. Swait()
  6148. if HASGRABBED == true then
  6149. break
  6150. end
  6151. 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)
  6152. 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)
  6153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6155. 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)
  6156. 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)
  6157. end
  6158. hitting:disconnect()
  6159. if HASGRABBED == true then
  6160. TORS.Anchored = false
  6161. RootPart.Anchored = true
  6162. for i=0, 2, 0.1 / Animation_Speed do
  6163. Swait()
  6164. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6165. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6166. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6167. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6168. 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)
  6169. 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)
  6170. end
  6171. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(5,3,5))
  6172. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Maroon",VT(6,3,6))
  6173. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Maroon", "Sound", VT(0,0,0))
  6174. SOUNDPART.CFrame = RootPart.CFrame
  6175. Debris:AddItem(SOUNDPART,5)
  6176. CreateSound("260411131", SOUNDPART, 2, 1)
  6177. for i = 1, 15 do
  6178. Slice2(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  6179. end
  6180. for i=0, 2, 0.1 / Animation_Speed do
  6181. Swait()
  6182. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6183. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6184. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6185. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6186. 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)
  6187. 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)
  6188. end
  6189. for i=0, 0.25, 0.1 / Animation_Speed do
  6190. Swait()
  6191. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  6192. 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)
  6193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  6194. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  6195. 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)
  6196. 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)
  6197. end
  6198. if HITFLOOR ~= nil then
  6199. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(70,70,70),85)
  6200. end
  6201. CreateSound("1295446488", Effects, 10, MRANDOM(7, 12) / 10)
  6202. WELD:remove()
  6203. for i = 1, 25 do
  6204. Swait()
  6205. killnearest(RootPart.Position,45,100,Torso.CFrame)
  6206. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(3,30,3))
  6207. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Maroon",VT(10,4,10))
  6208. CreateWave(VT(30,10,30),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Maroon",VT(23,3,23))
  6209. 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)
  6210. 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)
  6211. end
  6212. end
  6213. UNANCHOR = true
  6214. ATTACK = false
  6215. Rooted = false
  6216. end
  6217. function Slice2(SIZE,WAIT,CFRAME,COLOR,GROW)
  6218. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC("Really black"), "Effect", VT(1,1,1), true)
  6219. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  6220. wave.CFrame = CFRAME
  6221. coroutine.resume(coroutine.create(function(PART)
  6222. for i = 1, WAIT do
  6223. Swait()
  6224. mesh.Scale = mesh.Scale * GROW
  6225. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6226. if wave.Transparency > 0.99 then
  6227. wave:remove()
  6228. end
  6229. end
  6230. end))
  6231. end
  6232.  
  6233. function BlackBlast()
  6234. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6235. ATTACK = true
  6236. Rooted = true
  6237. local GYRO = IT("BodyGyro",RootPart)
  6238. GYRO.D = 25
  6239. GYRO.P = 20000
  6240. GYRO.MaxTorque = VT(0,4000000,0)
  6241. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6242. CreateSound(429459101,Torso,5,1.5,false)
  6243. local GYROING = true
  6244. coroutine.resume(coroutine.create(function()
  6245. repeat
  6246. Swait()
  6247. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  6248. until GYROING == false
  6249. GYRO:Remove()
  6250. end))
  6251. for i=0, 1, 0.1 / Animation_Speed do
  6252. Swait()
  6253. 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)
  6254. 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)
  6255. 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)
  6256. 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)
  6257. 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)
  6258. 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)
  6259. end
  6260. for i = 1, 13 do
  6261. 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})
  6262. end
  6263. CreateSound(1368637781,Torso,5,1.5,false)
  6264. 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})
  6265. for index, CHILD in pairs(Character:GetChildren()) do
  6266. if CHILD:IsA("BasePart") then
  6267. CHILD.Transparency = CHILD.Transparency + 1
  6268. elseif CHILD:IsA("Accessory") then
  6269. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6270. end
  6271. end
  6272. GYROING = false
  6273. coroutine.resume(coroutine.create(function()
  6274. coroutine.resume(coroutine.create(function()
  6275. for i=1, 25 do
  6276. Swait()
  6277. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  6278. end
  6279. end))
  6280. repeat
  6281. Swait()
  6282. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  6283. 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)
  6284. 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)
  6285. 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)
  6286. 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)
  6287. 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)
  6288. 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)
  6289. until ATTACK == false
  6290. end))
  6291. coroutine.resume(coroutine.create(function()
  6292. local BULLETCFRAME = RootPart.CFrame
  6293. local EXPLODED = false
  6294. coroutine.resume(coroutine.create(function()
  6295. repeat
  6296. Swait()
  6297. 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})
  6298. 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})
  6299. until EXPLODED == true
  6300. end))
  6301. for i=1, 50 do
  6302. Swait()
  6303. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  6304. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  6305. if RAY then
  6306. ApplyAoEl(BULLETCFRAME.p,25,12,54,350,false)
  6307. 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})
  6308. break
  6309. end
  6310. end
  6311. wait(0.5)
  6312. 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})
  6313. 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})
  6314. for E = 1, 3 do
  6315. for i = 1, 5 do
  6316. 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})
  6317. end
  6318. end
  6319. ApplyAoE(BULLETCFRAME.p,125,25,75,250,false)
  6320. EXPLODED = true
  6321. for i = 1, 15 do
  6322. Swait()
  6323. 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})
  6324. end
  6325. end))
  6326. wait(0.5)
  6327. for index, CHILD in pairs(Character:GetChildren()) do
  6328. if CHILD:IsA("BasePart") then
  6329. CHILD.Transparency = CHILD.Transparency - 1
  6330. elseif CHILD:IsA("Accessory") then
  6331. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6332. end
  6333. end
  6334. ATTACK = false
  6335. Rooted = false
  6336. end
  6337. end
  6338. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  6339. coroutine.resume(coroutine.create(function()
  6340. local FADE = IT("Model",Effects)
  6341. if PARENT ~= nil then
  6342. FADE.Parent = PARENT
  6343. end
  6344. FADE.Name = "FadingEffect"
  6345. for _, c in pairs(Character:GetChildren()) do
  6346. if c.ClassName == "Part" then
  6347. c.CanCollide = false
  6348. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  6349. FADER.CFrame = c.CFrame
  6350. FADER.Color = COLOR
  6351. if FADER.Name == "Head" then
  6352. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  6353. elseif FADER.Name == "HumanoidRootPart" then
  6354. FADE.PrimaryPart = FADER
  6355. FADER.Transparency = 1
  6356. end
  6357. end
  6358. end
  6359. local TRANS = 0.25/TIMER
  6360. local DIST = nil
  6361. if MOVEDIRECTION ~= nil then
  6362. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  6363. end
  6364. for i = 1, TIMER do
  6365. Swait()
  6366. for _, c in pairs(FADE:GetChildren()) do
  6367. if c.ClassName == "Part" then
  6368. c.Transparency = c.Transparency + TRANS
  6369. end
  6370. end
  6371. if MOVEDIRECTION ~= nil then
  6372. local ORI = FADE.PrimaryPart.Orientation
  6373. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  6374. end
  6375. end
  6376. FADE:remove()
  6377. end))
  6378. end
  6379. function R_RANDOM(CFRAME,DIST)
  6380. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  6381. end
  6382.  
  6383. function ApplyAoEl(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6384. for index, CHILD in pairs(workspace:GetDescendants()) do
  6385. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6386. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6387. if HUM then
  6388. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6389. if TORSO then
  6390. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6391. if INSTAKILL == true then
  6392. CHILD:BreakJoints()
  6393. else
  6394. local DMG = MRANDOM(MINDMG,MAXDMG)
  6395. ApplyDamagel(HUM,DMG)
  6396. end
  6397. if FLING > 0 then
  6398. for _, c in pairs(CHILD:GetChildren()) do
  6399. if c:IsA("BasePart") then
  6400. local bv = Instance.new("BodyVelocity")
  6401. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6402. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6403. bv.Parent = c
  6404. Debris:AddItem(bv,0.05)
  6405. end
  6406. end
  6407. end
  6408. end
  6409. end
  6410. end
  6411. end
  6412. end
  6413. end
  6414. function ApplyDamagel(Humanoid,Damage)
  6415. Damage = Damage * DAMAGEMULTIPLIER
  6416. if Humanoid.Health < 0 then
  6417. if Humanoid.Health - Damage > 0 then
  6418. Humanoid.Health = Humanoid.Health - Damage
  6419. else
  6420. Humanoid.Parent:BreakJoints()
  6421. end
  6422. else
  6423. Humanoid.Parent:BreakJoints()
  6424. end
  6425. end
  6426. function NightmareFall()
  6427. if ANIM ~= "Fall" and ANIM ~= "Jump" and DAMAGEMULTIPLIER == 1 then
  6428. ATTACK = true
  6429. Rooted = true
  6430. EQUIPPED = true
  6431. CreateSound(1466932232,Head,10,1,false)
  6432. for i=0, 2, 0.1 / Animation_Speed do
  6433. Swait()
  6434. 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)
  6435. 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)
  6436. 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)
  6437. 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)
  6438. 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)
  6439. 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)
  6440.  
  6441. end
  6442. for i=0, 2, 0.1 / Animation_Speed do
  6443. Swait()
  6444. 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)
  6445. 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)
  6446. 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)
  6447. 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)
  6448. 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)
  6449. 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)
  6450.  
  6451. end
  6452. local SIZE = 0
  6453. local POS = RootPart.Position+VT(0,150,0)
  6454. local BLOWN = false
  6455. coroutine.resume(coroutine.create(function()
  6456. coroutine.resume(coroutine.create(function()
  6457. repeat
  6458. Swait()
  6459. if SIZE > 0 then
  6460. 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})
  6461. 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})
  6462. end
  6463. until BLOWN == true
  6464. end))
  6465. repeat
  6466. Swait()
  6467. 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)
  6468. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6469. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(180), RAD(15), RAD(17)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6470. 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)
  6471. 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)
  6472. 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)
  6473.  
  6474. until ATTACK == false
  6475. end))
  6476. wait(0.2)
  6477. for i = 1, 15 do
  6478. wait(MRANDOM(2,6)/45)
  6479. coroutine.resume(coroutine.create(function()
  6480. local CFRAME = CF(BLADE.Position,POS) * ANGLES(RAD(0), RAD(0), RAD(MRANDOM(-90,90)))
  6481. local HEIGHT = 45/5
  6482. local DISTANCE = (BLADE.Position - POS).Magnitude
  6483. for i = 1, 45 do
  6484. Swait()
  6485. CFRAME = CFRAME * CF(0,(HEIGHT-(i/2.575))/45,-DISTANCE/45)
  6486. 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})
  6487. end
  6488. SIZE = SIZE + 1
  6489. end))
  6490. end
  6491. wait(2.5)
  6492. BLOWN = true
  6493. 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})
  6494. for E = 1, 5 do
  6495. for i = 1, 5 do
  6496. 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})
  6497. end
  6498. end
  6499. CreateSound(288641686,Effects,5,1,false)
  6500. CreateSound(592877506,Effects,5,1,false)
  6501. local HITS = {}
  6502. for index, CHILD in pairs(workspace:GetDescendants()) do
  6503. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6504. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6505. if HUM then
  6506. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6507. if TORSO then
  6508. if (TORSO.Position - RootPart.Position).Magnitude <= 175 then
  6509. local PASS = true
  6510. for E = 1, #HITS do
  6511. if HITS[E] == CHILD then
  6512. PASS = false
  6513. end
  6514. end
  6515. if PASS == true then
  6516. table.insert(HITS,CHILD)
  6517. end
  6518. end
  6519. end
  6520. end
  6521. end
  6522. end
  6523. if #HITS > 0 then
  6524. local DONE = false
  6525. local HUMS = {}
  6526. coroutine.resume(coroutine.create(function()
  6527. for E = 1, #HITS do
  6528. local HUM = HITS[E]:FindFirstChildOfClass("Humanoid")
  6529. table.insert(HUMS,HUM)
  6530. local TORSO = HITS[E]:FindFirstChild("Torso") or HITS[E]:FindFirstChild("UpperTorso")
  6531. local grav = Instance.new("BodyPosition",TORSO)
  6532. grav.D = 850
  6533. grav.P = 4000
  6534. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  6535. grav.Position = TORSO.Position+VT(0,35,0)
  6536. CreateSound(592877506,TORSO,5,0.5,false)
  6537. if TORSO then
  6538. coroutine.resume(coroutine.create(function()
  6539. local B = IT("Attachment",TORSO)
  6540. local ChainLink = IT("Beam",Torso)
  6541. ChainLink.Texture = "rbxassetid://73042633"
  6542. ChainLink.Color = ColorSequence.new(C3(0,0,0))
  6543. ChainLink.TextureSpeed = -1
  6544. ChainLink.FaceCamera = true
  6545. ChainLink.Width0 = 3
  6546. ChainLink.Width1 = 3
  6547. ChainLink.TextureLength = 3
  6548. ChainLink.Attachment0 = A
  6549. ChainLink.Attachment1 = B
  6550. ChainLink.CurveSize0 = 0
  6551. ChainLink.CurveSize1 = 0
  6552. ChainLink.FaceCamera = true
  6553. ChainLink.TextureMode = "Static"
  6554. ChainLink.Transparency = NumberSequence.new(0)
  6555. repeat
  6556. Swait()
  6557. 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})
  6558. until DONE == true or HUM.Health < 1
  6559. B:Remove()
  6560. ChainLink:Remove()
  6561. grav:Remove()
  6562. if HUM.Health < 1 then
  6563. for E = 1, 2 do
  6564. for i = 1, 3 do
  6565. 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})
  6566. end
  6567. end
  6568. 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})
  6569. for _, c in pairs(HITS[E]:GetChildren()) do
  6570. if c:IsA("BasePart") or c:IsA("Accessory") then
  6571. c:remove()
  6572. end
  6573. end
  6574. local BONES = {
  6575. Skull = {MeshId = 36869983,Size = VT(0.7,0.7,0.7)},
  6576. Ribs = {MeshId = 546760032,Size = VT(2.18, 1.884, 1.105)}
  6577. }
  6578. local SELECTABLEBONES = {
  6579. {MeshId = 546760045,Size = VT(0.468, 1.12, 0.346)},
  6580. {MeshId = 546760042,Size = VT(0.366, 0.991, 0.365)},
  6581. {MeshId = 546760029,Size = VT(0.441, 0.799, 0.347)},
  6582. {MeshId = 546760030,Size = VT(0.605, 0.843, 0.4)}
  6583. }
  6584. for i = 1, 9 do
  6585. local CHOSENPIECE = nil
  6586. if i == 1 then
  6587. CHOSENPIECE = BONES.Skull
  6588. elseif i == 2 then
  6589. CHOSENPIECE = BONES.Ribs
  6590. else
  6591. CHOSENPIECE = SELECTABLEBONES[MRANDOM(1,#SELECTABLEBONES)]
  6592. end
  6593. local BONE = CreatePart(3, HITS[E], "Neon", 0, 0, BRICKC("Salmon"), "RIP", CHOSENPIECE.Size, false)
  6594. BONE.CanCollide = true
  6595. BONE.CFrame = TORSO.CFrame*CF(MRANDOM(-10,10)/30,MRANDOM(-10,10)/30,MRANDOM(-10,10)/30)
  6596. if CHOSENPIECE.MeshId == 36869983 then
  6597. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1)/1.5, VT(0,0,0))
  6598. else
  6599. CreateMesh("SpecialMesh", BONE, "FileMesh", CHOSENPIECE.MeshId, "", VT(1,1,1), VT(0,0,0))
  6600. end
  6601. end
  6602. end
  6603. end))
  6604. end
  6605. end
  6606. wait(1)
  6607. for i = 1, 250 do
  6608. Swait()
  6609. for E = 1, #HUMS do
  6610. if HUMS[E] then
  6611. if HUMS[E].Health > 0 then
  6612. HUMS[E].Health = HUMS[E].Health - 0.3
  6613. DAMAGEMULTIPLIER = DAMAGEMULTIPLIER + 0.0025
  6614. 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})
  6615. end
  6616. end
  6617. end
  6618. end
  6619. 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")
  6620. local SKILLTEXT = CreateLabel(SKILLFRAME, "!You have increased damage!", SKILLTEXTCOLOR, SKILLTEXTSIZE2, SKILLFONT, 1, 2, 1, "AAAA")
  6621. coroutine.resume(coroutine.create(function()
  6622. CreateSound(743521450,Cam,5,0.6,false)
  6623. for E = 1, 75 do
  6624. Swait()
  6625. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency - 1/75
  6626. end
  6627. wait(4)
  6628. for E = 1, 25 do
  6629. Swait()
  6630. SKILLTEXT.TextTransparency = SKILLTEXT.TextTransparency + 1/25
  6631. end
  6632. SKILLFRAME:Remove()
  6633. end))
  6634. DONE = true
  6635. for i = 1, 50 do
  6636. wait(0.5)
  6637. for i = 1, 3 do
  6638. 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})
  6639. end
  6640. end
  6641. DAMAGEMULTIPLIER = 1
  6642. end))
  6643. wait(0.2)
  6644. end
  6645. wait(0.4)
  6646. EQUIPPED = false
  6647. ATTACK = false
  6648. Rooted = false
  6649. end
  6650. end
  6651.  
  6652. function Supernova()
  6653. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  6654. if HITFLOOR ~= nil then
  6655. local HITBODIES = {}
  6656. ATTACK = true
  6657. Rooted = true
  6658. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0))
  6659. MakeForm(ABSOLUTE,"Ball")
  6660. CreateSound("429459101", ABSOLUTE, 10, 1)
  6661. for i=0, 4, 0.1 / Animation_Speed do
  6662. Swait()
  6663. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  6664. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  6665. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  6666. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1))
  6667. MakeForm(CHARGE,"Ball")
  6668. CHARGE.Color = C3(1,1,1)
  6669. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  6670. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  6671. 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)
  6672. 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)
  6673. 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)
  6674. 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)
  6675. 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)
  6676. 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)
  6677. end
  6678. CreateSound("907330103", Head, 10, 1.2)
  6679. for i = 1, 75 do
  6680. Swait()
  6681. 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)
  6682. 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)
  6683. 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)
  6684. 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)
  6685. 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)
  6686. 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)
  6687. end
  6688. coroutine.resume(coroutine.create(function()
  6689. for i = 1, 13 do
  6690. for e = 1, 8 do
  6691. Swait(1)
  6692. 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))
  6693. CreateSwirl(ABSOLUTE.Size/4,50,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  6694. end
  6695. for i = 1, 5 do
  6696. 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)
  6697. 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))
  6698. end
  6699. CreateSwirl(ABSOLUTE.Size/4,50,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i))
  6700. CreateSwirl(ABSOLUTE.Size/4,75,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  6701. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  6702. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  6703. killnearest(ABSOLUTE.Position,i*18,i)
  6704. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  6705. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1)
  6706. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  6707. end
  6708. ABSOLUTE.Transparency = 1
  6709. Debris:AddItem(ABSOLUTE,10)
  6710. end))
  6711. ATTACK = false
  6712. Rooted = false
  6713. end
  6714. end
  6715. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  6716. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  6717. wave.Color = COLOR
  6718. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  6719. wave.CFrame = CFRAME
  6720. coroutine.resume(coroutine.create(function(PART)
  6721. for i = 1, WAIT do
  6722. Swait()
  6723. mesh.Scale = mesh.Scale + GROW
  6724. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  6725. if DOESROT == true then
  6726. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  6727. end
  6728. wave.Transparency = wave.Transparency + (0.5/WAIT)
  6729. if wave.Transparency > 0.99 then
  6730. wave:remove()
  6731. end
  6732. end
  6733. end))
  6734. end
  6735.  
  6736. function Melee()
  6737. ATTACK = true
  6738. BLADE.CanCollide = true
  6739. Rooted = false
  6740. EQUIPPED = true
  6741. local HIT = function()
  6742. local HITS = {}
  6743. local TOUCH = BLADE.Touched:Connect(function(hit)
  6744. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  6745. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  6746. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  6747. if TORSO and HUM.Health > 0 then
  6748. local PASS = true
  6749. for i = 1, #HITS do
  6750. if HITS[i] == hit.Parent then
  6751. PASS = false
  6752. end
  6753. end
  6754. table.insert(HITS,hit.Parent)
  6755. if PASS == true then
  6756. ApplyDamage0(HUM,MRANDOM(15,25))
  6757. end
  6758. end
  6759. end
  6760. end)
  6761. return TOUCH
  6762. end
  6763. if COMBO == 1 then
  6764. for i=0, 0.35, 0.1 / Animation_Speed do
  6765. Swait()
  6766. 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)
  6767. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  6768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6769. 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)
  6770. 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)
  6771. 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)
  6772. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6773. end
  6774. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6775. local TOUCHED = HIT()
  6776. for i=0, 0.5, 0.1 / Animation_Speed do
  6777. Swait()
  6778. 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)
  6779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 0.9 / Animation_Speed)
  6780. 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)
  6781. 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)
  6782. 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)
  6783. 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)
  6784. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6785. end
  6786. TOUCHED:Disconnect()
  6787. COMBO = 2
  6788. elseif COMBO == 2 then
  6789. for i=0, 0.35, 0.1 / Animation_Speed do
  6790. Swait()
  6791. 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)
  6792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6793. 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)
  6794. 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)
  6795. 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)
  6796. 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)
  6797. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6798. end
  6799. CreateSound(1489705211,BLADE,MRANDOM(7,8),MRANDOM(8,13)/12,false)
  6800. local TOUCHED = HIT()
  6801. for i=0, 0.35, 0.1 / Animation_Speed do
  6802. Swait()
  6803. 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)
  6804. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6805. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6806. 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)
  6807. 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)
  6808. 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)
  6809. BLADE.CFrame = Clerp(BLADE.CFrame,RightArm.CFrame*CF(0,-8,0) * ANGLES(RAD(180), RAD(90), RAD(0)),0.4)
  6810. end
  6811. TOUCHED:Disconnect()
  6812. for i=0, 0.2, 0.1 / Animation_Speed do
  6813. Swait()
  6814. 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)
  6815. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.8 / Animation_Speed)
  6816. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.25, -0.5) * ANGLES(RAD(85), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6817. 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)
  6818. 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)
  6819. 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)
  6820. BLADE.CFrame = Clerp(BLADE.CFrame,RootPart.CFrame*CF(4,0.3,0) * ANGLES(RAD(195), RAD(-25), RAD(15)),0.4)
  6821. end
  6822. COMBO = 1
  6823. end
  6824. coroutine.resume(coroutine.create(function()
  6825. for i = 1, 50 do
  6826. Swait()
  6827. if ATTACK == true then
  6828. break
  6829. end
  6830. end
  6831. if ATTACK == false then
  6832. COMBO = 1
  6833. end
  6834. end))
  6835. BLADE.CanCollide = false
  6836. ATTACK = false
  6837. Rooted = false
  6838. EQUIPPED = false
  6839. end
  6840.  
  6841. function ApplyDamage0(Humanoid,Damage)
  6842. Damage = Damage * DAMAGEMULTIPLIER
  6843. if Humanoid.Health < 0 then
  6844. if Humanoid.Health - Damage > 0 then
  6845. Humanoid.Health = Humanoid.Health - Damage
  6846. else
  6847. Humanoid.Parent:BreakJoints()
  6848. end
  6849. else
  6850. Humanoid.Parent:BreakJoints()
  6851. end
  6852. end
  6853. function AbyssalShriek()
  6854. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  6855. ATTACK = true
  6856. Rooted = true
  6857. for i=0, 0.2, 0.1 / Animation_Speed do
  6858. Swait()
  6859. 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)
  6860. 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)
  6861. 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)
  6862. 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)
  6863. 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)
  6864. 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)
  6865. end
  6866. coroutine.resume(coroutine.create(function()
  6867. repeat
  6868. Swait()
  6869. 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)
  6870. 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)
  6871. 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)
  6872. 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)
  6873. 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)
  6874. 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)
  6875. until ATTACK == false
  6876. end))
  6877. 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})
  6878. CreateSound(199978176,Head,5,1,false)
  6879. for i = 1, 60 do
  6880. Swait()
  6881. ApplyAoE0(RootPart.Position,17,1,1,0,false)
  6882. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4+Humanoid.HipHeight, Character)
  6883. if HITFLOOR then
  6884. 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})
  6885. end
  6886. local SIZE = VT(1,3,1)
  6887. 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})
  6888. end
  6889. wait(0.2)
  6890. ATTACK = false
  6891. Rooted = false
  6892. end
  6893. end
  6894.  
  6895. function ApplyAoE0(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  6896. for index, CHILD in pairs(workspace:GetDescendants()) do
  6897. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6898. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6899. if HUM then
  6900. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6901. if TORSO then
  6902. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  6903. if INSTAKILL == true then
  6904. CHILD:BreakJoints()
  6905. else
  6906. local DMG = MRANDOM(MINDMG,MAXDMG)
  6907. ApplyDamage0(HUM,DMG)
  6908. end
  6909. if FLING > 0 then
  6910. for _, c in pairs(CHILD:GetChildren()) do
  6911. if c:IsA("BasePart") then
  6912. local bv = Instance.new("BodyVelocity")
  6913. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6914. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  6915. bv.Parent = c
  6916. Debris:AddItem(bv,0.05)
  6917. end
  6918. end
  6919. end
  6920. end
  6921. end
  6922. end
  6923. end
  6924. end
  6925. end
  6926. function AbyssalDash()
  6927. ATTACK = true
  6928. Rooted = true
  6929. UNANCHOR = false
  6930. for i=0, 0.4, 0.1 / Animation_Speed do
  6931. Swait()
  6932. 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)
  6933. 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)
  6934. 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)
  6935. 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)
  6936. 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)
  6937. 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)
  6938. end
  6939. CreateSound(1177785010,Torso,2,1,false)
  6940. CreateSound(971125740,Torso,5,1,false)
  6941. 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})
  6942. for index, CHILD in pairs(Character:GetChildren()) do
  6943. if CHILD:IsA("BasePart") then
  6944. CHILD.Transparency = CHILD.Transparency + 1
  6945. elseif CHILD:IsA("Accessory") then
  6946. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  6947. end
  6948. end
  6949. local HITS = {}
  6950. for i=0, 1, 0.1 / Animation_Speed do
  6951. Swait()
  6952. for index, CHILD in pairs(workspace:GetDescendants()) do
  6953. if CHILD.ClassName == "Model" and CHILD ~= Character then
  6954. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  6955. if HUM then
  6956. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  6957. if TORSO then
  6958. if (TORSO.Position - RootPart.Position).Magnitude <= 25 then
  6959. local PASS = true
  6960. for E = 1, #HITS do
  6961. if HITS[E] == CHILD then
  6962. PASS = false
  6963. end
  6964. end
  6965. if PASS == true then
  6966. local DMG = MRANDOM(25,45)
  6967. ApplyDamage0(HUM,DMG)
  6968. table.insert(HITS,CHILD)
  6969. end
  6970. end
  6971. end
  6972. end
  6973. end
  6974. end
  6975. 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})
  6976. for i = 1, 2 do
  6977. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  6978. CharacterFade(C3(0,0,0),25,R_RANDOM(Torso.CFrame,1.25).p)
  6979. 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)
  6980. 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)
  6981. 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)
  6982. 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)
  6983. 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)
  6984. 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)
  6985. end
  6986. end
  6987. for index, CHILD in pairs(Character:GetChildren()) do
  6988. if CHILD:IsA("BasePart") then
  6989. CHILD.Transparency = CHILD.Transparency - 1
  6990. elseif CHILD:IsA("Accessory") then
  6991. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  6992. end
  6993. end
  6994. for i=1, 25 do
  6995. Swait()
  6996. RootPart.CFrame = RootPart.CFrame*CF(0,0,-((25-i)/25))
  6997. 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)
  6998. 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)
  6999. 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)
  7000. 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)
  7001. 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)
  7002. 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)
  7003. end
  7004. UNANCHOR = true
  7005. ATTACK = false
  7006. Rooted = false
  7007. end
  7008.  
  7009. function ApplyAoE11(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  7010. local CHILDREN = workspace:GetDescendants()
  7011. for index, CHILD in pairs(CHILDREN) do
  7012. if CHILD.ClassName == "Model" and CHILD ~= Character then
  7013. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7014. if HUM then
  7015. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7016. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  7017. if INSTAKILL == true then
  7018. CHILD:BreakJoints()
  7019. else
  7020. local DMG = MRANDOM(MINDMG, MAXDMG)
  7021. ApplyDamage0(HUM, DMG, TORSO)
  7022. end
  7023. if FLING > 0 then
  7024. for _, c in pairs(CHILD:GetChildren()) do
  7025. if c:IsA("BasePart") then
  7026. local bv = Instance.new("BodyVelocity")
  7027. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  7028. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  7029. bv.Parent = c
  7030. Debris:AddItem(bv, 0.05)
  7031. end
  7032. end
  7033. end
  7034. end
  7035. end
  7036. end
  7037. end
  7038. end
  7039.  
  7040. function Taunt2()
  7041. ATTACK = true
  7042. Rooted = true
  7043. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  7044. repeat
  7045. Swait()
  7046. TAUNT.Parent = Torso
  7047. TAUNT.Playing = true
  7048. 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)
  7049. 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)
  7050. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7051. 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)
  7052. 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)
  7053. 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)
  7054. until TAUNT.TimePosition >= 1.25
  7055. for i=0, 1.6, 0.1 / Animation_Speed do
  7056. Swait()
  7057. TAUNT.Parent = Torso
  7058. 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)
  7059. 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)
  7060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  7061. 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)
  7062. 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)
  7063. 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)
  7064. end
  7065. ATTACK = false
  7066. Rooted = false
  7067. end
  7068.  
  7069. function yeetus()
  7070. warn("not finished")
  7071. end
  7072.  
  7073. local PLAYMAINANIM = true
  7074.  
  7075. local HATWELD = nil
  7076. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  7077. PLAYMAINANIM = false
  7078. if WhichPose == "Cast1" then
  7079. for i=0, Time, 0.1 / Animation_Speed do
  7080. Swait()
  7081. if Magic == true then
  7082. 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})
  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(35)), Speed / Animation_Speed)
  7088. 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)
  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(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  7090. 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)
  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 == "Cast2" 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. 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})
  7100. end
  7101. if Gyro ~= nil and Gyro ~= false then
  7102. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7103. end
  7104. 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)
  7105. 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)
  7106. 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)
  7107. 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)
  7108. 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)
  7109. 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)
  7110. end
  7111. elseif WhichPose == "RightArmUp" then
  7112. for i=0, Time, 0.1 / Animation_Speed do
  7113. Swait()
  7114. if Magic == true then
  7115. 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})
  7116. end
  7117. if Gyro ~= nil and Gyro ~= false then
  7118. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7119. end
  7120. 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)
  7121. 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)
  7122. 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)
  7123. 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)
  7124. 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)
  7125. 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)
  7126. end
  7127. elseif WhichPose == "Taunt" then
  7128. for i=0, Time, 0.1 / Animation_Speed do
  7129. Swait()
  7130. 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)
  7131. 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)
  7132. 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)
  7133. 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)
  7134. 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)
  7135. 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)
  7136. end
  7137. HATWELD.Part0 = RightArm
  7138. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  7139. CreateSound(221057812,Torso,10,1,false)
  7140. for i=0, Time*2, 0.1 / Animation_Speed do
  7141. Swait()
  7142. 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)
  7143. 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)
  7144. 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)
  7145. 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)
  7146. 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)
  7147. 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)
  7148. end
  7149. for i=0, Time, 0.1 / Animation_Speed do
  7150. Swait()
  7151. 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)
  7152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  7153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  7154. 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)
  7155. 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)
  7156. 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)
  7157. 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)
  7158. end
  7159. HATWELD.Part0 = Head
  7160. HATWELD.C0 = CF(0,0.35,0)
  7161. elseif WhichPose == "Prepare key" then
  7162. for i=0, Time, 0.1 / Animation_Speed do
  7163. Swait()
  7164. if Gyro ~= nil and Gyro ~= false then
  7165. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7166. end
  7167. 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)
  7168. 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)
  7169. 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)
  7170. 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)
  7171. 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)
  7172. 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)
  7173. end
  7174. elseif WhichPose == "Turn key" then
  7175. for i=0, Time, 0.1 / Animation_Speed do
  7176. Swait()
  7177. if Gyro ~= nil and Gyro ~= false then
  7178. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  7179. end
  7180. 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)
  7181. 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)
  7182. 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)
  7183. 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)
  7184. 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)
  7185. 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)
  7186. end
  7187. end
  7188. PLAYMAINANIM = true
  7189. end
  7190.  
  7191. function Hat()
  7192. ATTACK = true
  7193. Rooted = false
  7194. Pose("Taunt",0.4,1.2,false)
  7195. ATTACK = false
  7196. Rooted = false
  7197. end
  7198.  
  7199. function Prison_Key()
  7200. chatfunc("Be Locked Away From This Dimension in the of Time Space")
  7201. if Mouse.Target ~= nil then
  7202. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7203. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7204. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7205. local GYRO = IT("BodyGyro",RootPart)
  7206. GYRO.D = 750
  7207. GYRO.P = 20000
  7208. GYRO.MaxTorque = VT(0,40000000,0)
  7209. local grav = Instance.new("BodyPosition",TORSO)
  7210. grav.D = 15
  7211. grav.P = 20000
  7212. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  7213. grav.position = TORSO.Position
  7214. local GYRO2 = IT("BodyGyro",TORSO)
  7215. GYRO2.D = 750
  7216. GYRO2.P = 20000
  7217. GYRO2.MaxTorque = VT(0,40000000,0)
  7218. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7219. grav.Name = "Jail"
  7220. local LOCKPARTS = {}
  7221. ATTACK = true
  7222. Rooted = false
  7223. local LOCK = IT("Model",Effects)
  7224. LOCK.Name = "Lock"
  7225. local LOCK2 = IT("Model",LOCK)
  7226. LOCK2.Name = "Metal"
  7227. --CREATE LOCK--
  7228. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  7229. LOCK.PrimaryPart = BASE
  7230. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  7231. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  7232. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  7233. MakeForm(PRT,"Cyl")
  7234. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  7235. PRT.Color = C3(0,0,0)
  7236. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  7237. MakeForm(PRT,"Cyl")
  7238. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  7239. PRT.Color = C3(0,0,0)
  7240. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  7241. for i = 1, 45 do
  7242. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7243. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  7244. end
  7245. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  7246. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  7247. LOCK2.PrimaryPart = PRT
  7248. ---------------
  7249. local CHILDREN = LOCK:GetDescendants()
  7250. for index, CHILD in pairs(CHILDREN) do
  7251. if CHILD:IsA("BasePart") then
  7252. CHILD.Transparency = 1
  7253. end
  7254. end
  7255. for i = 1, 75 do
  7256. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  7257. Swait()
  7258. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7259. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7260. local CHILDREN = LOCK:GetDescendants()
  7261. for index, CHILD in pairs(CHILDREN) do
  7262. if CHILD:IsA("BasePart") then
  7263. CHILD.Transparency = CHILD.Transparency - 1/75
  7264. end
  7265. end
  7266. end
  7267. HUM.DisplayDistanceType = "None"
  7268. local KEY = IT("Model",Effects)
  7269. KEY.Name = "Key"
  7270. --CREATE KEY--
  7271. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  7272. KEY.PrimaryPart = KBASE
  7273. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  7274. local WLD = weldBetween(RightArm,KBASE)
  7275. for i = 1, 45 do
  7276. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  7277. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  7278. weldBetween(KBASE,PRT)
  7279. end
  7280. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7281. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  7282. weldBetween(KBASE,PRT)
  7283. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  7284. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  7285. weldBetween(KBASE,PRT)
  7286. --------------
  7287. Rooted = true
  7288. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  7289. coroutine.resume(coroutine.create(function()
  7290. for i = 1, 10 do
  7291. Swait()
  7292. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  7293. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  7294. end
  7295. CreateSound(1149318312,BASE,5,1,false)
  7296. CreateSound(160772554,BASE,3,1,false)
  7297. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  7298. for i = 1, 4 do
  7299. 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})
  7300. end
  7301. 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})
  7302. wait(1)
  7303. TORSO.Parent.Parent = LOCK
  7304. for i = 1, 75 do
  7305. Swait()
  7306. local CHILDREN = KEY:GetDescendants()
  7307. for index, CHILD in pairs(CHILDREN) do
  7308. if CHILD:IsA("BasePart") then
  7309. CHILD.Transparency = i/25
  7310. end
  7311. end
  7312. local CHILDREN = LOCK:GetDescendants()
  7313. for index, CHILD in pairs(CHILDREN) do
  7314. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  7315. CHILD.Transparency = CHILD.Transparency + 1/75
  7316. elseif CHILD.ClassName == "Decal" then
  7317. CHILD.Transparency = CHILD.Transparency + 1/75
  7318. end
  7319. end
  7320. end
  7321. TORSO.Parent:ClearAllChildren()
  7322. KEY:remove()
  7323. LOCK:remove()
  7324. end))
  7325. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  7326. GYRO:remove()
  7327. ATTACK = false
  7328. Rooted = false
  7329. end
  7330. end
  7331. end
  7332. -------- how to make smite work
  7333. function SpawnSmite(POS)
  7334. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  7335. local EMITPOS = HITPOS
  7336. if HITFLOOR ~= nil then
  7337. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  7338. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  7339. EMITPOS = HITPOS
  7340. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  7341. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  7342. EMITPOS = HITPOS
  7343. end
  7344. end
  7345. if HITFLOOR ~= nil then
  7346. ApplyAoE(EMITPOS,10)
  7347. 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})
  7348. 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})
  7349. 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})
  7350. for i = 1, 5 do
  7351. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  7352. 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})
  7353. end
  7354. end
  7355. end
  7356.  
  7357. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  7358. coroutine.resume(coroutine.create(function()
  7359. local METEOR = IT("Model",Effects)
  7360. METEOR.Name = "Meteorite"
  7361. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7362. METEOR.PrimaryPart = CENTER
  7363. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  7364. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7365. for i = 1, 15 do
  7366. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  7367. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  7368. end
  7369. if ISDEBREE ~= true then
  7370. 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))))
  7371. else
  7372. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7373. end
  7374. local IMPACT = false
  7375. CreateSound(463593339, CENTER, 10, 0.6)
  7376. if SIZE >= 3.5 then
  7377. for i = 1, MRANDOM(3,7) do
  7378. 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)
  7379. end
  7380. end
  7381. for i = 1, 200 do
  7382. Swait()
  7383. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  7384. if HITFLOOR == nil then
  7385. local ORI = CENTER.Orientation
  7386. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  7387. else
  7388. if HITFLOOR.Anchored == true then
  7389. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  7390. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  7391. end
  7392. IMPACT = true
  7393. break
  7394. end
  7395. end
  7396. if IMPACT == true then
  7397. 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})
  7398. 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})
  7399. 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})
  7400. ApplyAoE(CENTER.Position,30*SIZE)
  7401. end
  7402. METEOR:remove()
  7403. end))
  7404. end
  7405. function Meteor_Shower()
  7406. ATTACK = true
  7407. Rooted = false
  7408. CreateSound(1368573150, RightArm, 3, 0.8)
  7409. CreateSound(649634100, Torso, 10, 0.8)
  7410. for i=0, 1.2, 0.1 / Animation_Speed do
  7411. Swait()
  7412. 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})
  7413. 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)
  7414. 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)
  7415. end
  7416. local POS = Mouse.Hit.p
  7417. CreateSound(463593339, Effects, 3, 1)
  7418. coroutine.resume(coroutine.create(function()
  7419. for i = 1, 35 do
  7420. wait(MRANDOM(5,150)/100)
  7421. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  7422. end
  7423. end))
  7424. ATTACK = false
  7425. Rooted = false
  7426. end
  7427.  
  7428. ------ LOL
  7429. function TimesUp()
  7430. CLOCKTARGET = nil
  7431. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7432. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  7433. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  7434. if TORSO then
  7435. ATTACK = true
  7436. Rooted = false
  7437. coroutine.resume(coroutine.create(function()
  7438. repeat
  7439. Swait()
  7440. 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)
  7441. 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)
  7442. 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)
  7443. 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)
  7444. 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)
  7445. 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)
  7446. until ATTACK == false
  7447. end))
  7448. if Effects:FindFirstChild("NeonDoll") then
  7449. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  7450. end
  7451. wait(0.5)
  7452. local FAKECHARACTER = IT("Model",Effects)
  7453. FAKECHARACTER.Name = "NeonDoll"
  7454. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.3,0.3,0.15),false)
  7455. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  7456. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7457. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  7458. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7459. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  7460. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7461. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  7462. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.3,0.15),false)
  7463. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  7464. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Gold", "Part", VT(0.15,0.15,0.15),false)
  7465. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  7466. CreateSound(201858045, TORS, 5, 0.4, false)
  7467. for i = 1, 150 do
  7468. Swait()
  7469. CLOCKSPEED = 1
  7470. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7471. if c.ClassName == "Part" then
  7472. c.Transparency = c.Transparency - 0.5/150
  7473. end
  7474. end
  7475. end
  7476. CLOCKTARGET = HUM
  7477. coroutine.resume(coroutine.create(function()
  7478. repeat Swait() CLOCKSPEED = 30 until CLOCKTARGET == nil
  7479. for i = 1, 25 do
  7480. Swait()
  7481. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  7482. if c.ClassName == "Part" then
  7483. c.Transparency = c.Transparency + 0.5/25
  7484. end
  7485. end
  7486. end
  7487. CLOCKSPEED = 6
  7488. FAKECHARACTER:remove()
  7489. end))
  7490. wait(0.5)
  7491. ATTACK = false
  7492. Rooted = false
  7493. end
  7494. end
  7495. end
  7496.  
  7497. function ChainPunch()
  7498. ATTACK = true
  7499. Rooted = false
  7500. local GYRO = IT("BodyGyro",RootPart)
  7501. GYRO.D = 25
  7502. GYRO.P = 2000
  7503. GYRO.MaxTorque = VT(0,40000,0)
  7504. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7505. repeat
  7506. Swait()
  7507. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  7508. 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)
  7509. 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)
  7510. 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)
  7511. 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)
  7512. 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)
  7513. 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)
  7514. until HOLD == true
  7515. local POS = Mouse.Hit.p
  7516. local CHAINS = false
  7517. local CHAINLINKS = {}
  7518. local A = IT("Attachment",RightArm)
  7519. A.Position = VT(1,-1,0)*SIZE
  7520. A.Orientation = VT(-90, -89.982, 0)
  7521. local B = IT("Attachment",RightArm)
  7522. B.Position = VT(-1,-1,0)*SIZE
  7523. B.Orientation = VT(-90, 89.988, 0)
  7524. local C = IT("Attachment",RightArm)
  7525. C.Position = VT(0.5,-1.3,0)*SIZE
  7526. C.Orientation = VT(-90, -89.982, 0)
  7527. local D = IT("Attachment",RightArm)
  7528. D.Position = VT(-0.5,-1.3,0)*SIZE
  7529. D.Orientation = VT(-90, 89.988, 0)
  7530. local LIGHT = IT("Attachment",RightArm)
  7531. LIGHT.Position = VT(0,-1,0)*SIZE
  7532. local LIGHT2 = IT("PointLight",LIGHT)
  7533. LIGHT2.Range = 7
  7534. LIGHT2.Brightness = 5
  7535. LIGHT2.Color = SKILLTEXTCOLOR
  7536. for i = 1, 2 do
  7537. local TWIST = -2
  7538. local START = A
  7539. local END = B
  7540. if i == 1 then
  7541. START = B
  7542. END = A
  7543. end
  7544. local ChainLink = IT("Beam",Torso)
  7545. ChainLink.Texture = "rbxassetid://73042633"
  7546. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7547. ChainLink.TextureSpeed = 1
  7548. ChainLink.Width0 = 1
  7549. ChainLink.Width1 = 1
  7550. ChainLink.TextureLength = 2.5
  7551. ChainLink.Attachment0 = START
  7552. ChainLink.Attachment1 = END
  7553. ChainLink.CurveSize0 = TWIST
  7554. ChainLink.CurveSize1 = TWIST
  7555. --ChainLink.FaceCamera = true
  7556. ChainLink.Segments = 45
  7557. ChainLink.Transparency = NumberSequence.new(1)
  7558. table.insert(CHAINLINKS,ChainLink)
  7559. end
  7560. for i = 1, 2 do
  7561. local TWIST = -1
  7562. local START = C
  7563. local END = D
  7564. if i == 1 then
  7565. START = D
  7566. END = C
  7567. end
  7568. local ChainLink = IT("Beam",Torso)
  7569. ChainLink.Texture = "rbxassetid://73042633"
  7570. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7571. ChainLink.TextureSpeed = 1
  7572. ChainLink.Width0 = 1
  7573. ChainLink.Width1 = 1
  7574. ChainLink.TextureLength = 5
  7575. ChainLink.Attachment0 = START
  7576. ChainLink.Attachment1 = END
  7577. ChainLink.CurveSize0 = TWIST
  7578. ChainLink.CurveSize1 = TWIST
  7579. --ChainLink.FaceCamera = true
  7580. ChainLink.Segments = 25
  7581. ChainLink.LightEmission = 0.5
  7582. ChainLink.Transparency = NumberSequence.new(1)
  7583. table.insert(CHAINLINKS,ChainLink)
  7584. end
  7585. coroutine.resume(coroutine.create(function()
  7586. repeat
  7587. Swait()
  7588. 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)
  7589. 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)
  7590. 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)
  7591. 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)
  7592. 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)
  7593. 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)
  7594. until CHAINS == true
  7595. repeat
  7596. Swait()
  7597. 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)
  7598. 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)
  7599. 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)
  7600. 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)
  7601. 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)
  7602. 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)
  7603. until ATTACK == false
  7604. for e = 1, 15 do
  7605. Swait()
  7606. for i = 1, #CHAINLINKS do
  7607. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  7608. end
  7609. end
  7610. A:remove()
  7611. B:remove()
  7612. C:remove()
  7613. D:remove()
  7614. end))
  7615. CreateSound(233856115, RightArm, 5, 1.2, false)
  7616. for e = 1, 15 do
  7617. Swait()
  7618. for i = 1, #CHAINLINKS do
  7619. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  7620. end
  7621. end
  7622. CHAINS = true
  7623. Rooted = true
  7624. wait(0.25)
  7625. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  7626. FIST.Color = C3(1, 215/255, 1)
  7627. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  7628. local LIGHT3 = IT("PointLight",FIST)
  7629. LIGHT3.Range = 7
  7630. LIGHT3.Brightness = 5
  7631. LIGHT3.Color = SKILLTEXTCOLOR
  7632. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  7633. local FISTA = IT("Attachment",FIST)
  7634. FISTA.Position = VT(0.062, 0.977, 0)
  7635. local ChainLink = IT("Beam",Torso)
  7636. ChainLink.Texture = "rbxassetid://73042633"
  7637. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  7638. ChainLink.TextureSpeed = 0
  7639. ChainLink.Width0 = 3
  7640. ChainLink.Width1 = 3
  7641. ChainLink.TextureLength = 12
  7642. ChainLink.Attachment0 = LIGHT
  7643. ChainLink.Attachment1 = FISTA
  7644. ChainLink.FaceCamera = true
  7645. ChainLink.Segments = 45
  7646. ChainLink.LightEmission = 0.5
  7647. ChainLink.Transparency = NumberSequence.new(0.25)
  7648. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  7649. for i = 1, 85 do
  7650. Swait()
  7651. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  7652. ChainLink.TextureLength = 12+(i*2)
  7653. ApplyAoE(FIST.Position,10,15,25,100,false)
  7654. 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})
  7655. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  7656. if HITFLOOR ~= nil then
  7657. HITFLOOR:BreakJoints()
  7658. coroutine.resume(coroutine.create(function()
  7659. for i = 1, 15 do
  7660. Swait()
  7661. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  7662. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  7663. 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})
  7664. end
  7665. end))
  7666. break
  7667. end
  7668. end
  7669. coroutine.resume(coroutine.create(function()
  7670. for i = 1, 50 do
  7671. Swait()
  7672. FIST.Transparency = FIST.Transparency + 0.5/50
  7673. LIGHT3.Range = LIGHT3.Range - 7/50
  7674. end
  7675. FIST:remove()
  7676. end))
  7677. LIGHT:remove()
  7678. GYRO:remove()
  7679. ATTACK = false
  7680. Rooted = false
  7681. end
  7682.  
  7683. function WarpMeteor()
  7684. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  7685. if DIST > 180 then
  7686. DIST = 180
  7687. end
  7688. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  7689. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  7690. if HITFLOOR then
  7691. local POS = HITPOS
  7692. ATTACK = true
  7693. Rooted = true
  7694. local WARPED = false
  7695. local SMASHED = false
  7696. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  7697. coroutine.resume(coroutine.create(function()
  7698. repeat
  7699. Swait()
  7700. 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)
  7701. 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)
  7702. 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)
  7703. 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)
  7704. 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)
  7705. 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)
  7706. until WARPED == true
  7707. repeat
  7708. Swait()
  7709. 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)
  7710. 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)
  7711. 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)
  7712. 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)
  7713. 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)
  7714. 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)
  7715. until SMASHED == true
  7716. repeat
  7717. Swait()
  7718. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  7719. 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)
  7720. 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)
  7721. 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)
  7722. 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)
  7723. 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)
  7724. until ATTACK == false
  7725. end))
  7726. VALUE1 = true
  7727. CreateSound(233856115, Torso, 5, 1.6, false)
  7728. for i = 1, 25 do
  7729. Swait()
  7730. for _, c in pairs(Character:GetChildren()) do
  7731. if c.ClassName == "Part" then
  7732. c.Transparency = c.Transparency + 1/25
  7733. end
  7734. end
  7735. for _, c in pairs(Weapon:GetChildren()) do
  7736. if c.ClassName == "Part" then
  7737. c.Transparency = c.Transparency + 1/25
  7738. end
  7739. end
  7740. end
  7741. UNANCHOR = false
  7742. RootPart.Anchored = true
  7743. RootPart.Velocity = VT(0,0,0)
  7744. local ROOTPOS = RootPart.Position
  7745. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  7746. WARPED = true
  7747. for i = 1, 25 do
  7748. Swait()
  7749. for _, c in pairs(Character:GetChildren()) do
  7750. if c.ClassName == "Part" then
  7751. c.Transparency = c.Transparency - 1/25
  7752. end
  7753. end
  7754. for _, c in pairs(Weapon:GetChildren()) do
  7755. if c.ClassName == "Part" then
  7756. c.Transparency = c.Transparency - 1/25
  7757. end
  7758. end
  7759. end
  7760. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  7761. SHELL.CFrame = RootPart.CFrame
  7762. MakeForm(SHELL,"Ball")
  7763. CreateSound(402981977, SHELL, 5, 1.6, false)
  7764. for i = 1, 10 do
  7765. Swait()
  7766. SHELL.Transparency = SHELL.Transparency - 1/10
  7767. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  7768. end
  7769. for i = 1, math.ceil(75/2) do
  7770. Swait()
  7771. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  7772. SHELL.CFrame = CF(RootPart.Position)
  7773. 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})
  7774. end
  7775. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  7776. SHELL.CFrame = CF(RootPart.Position)
  7777. 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})
  7778. 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})
  7779. 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})
  7780. for i = 1, 5 do
  7781. 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})
  7782. end
  7783. SHELL:remove()
  7784. ApplyAoE(RootPart.Position,75,35,75,175,false)
  7785. SMASHED = true
  7786. wait(1)
  7787. VALUE1 = false
  7788. UNANCHOR = true
  7789. ATTACK = false
  7790. Rooted = false
  7791. end
  7792. end
  7793.  
  7794. function PandorasBox()
  7795. 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)
  7796. if HITFLOOR ~= nil then
  7797. ATTACK = true
  7798. Rooted = true
  7799. local RINGSPIN = true
  7800. local CONSTRUCTING = true
  7801. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  7802. RING.Color = C3(0,0,0)
  7803. MakeForm(RING,"Cyl")
  7804. RING.CFrame = CF(HITPOS)
  7805. CreateSound(402981977, RING, 5, 1.2, false)
  7806. coroutine.resume(coroutine.create(function()
  7807. repeat
  7808. Swait()
  7809. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7810. 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)
  7811. 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)
  7812. 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)
  7813. 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)
  7814. 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)
  7815. 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)
  7816. until CONSTRUCTING == false
  7817. repeat
  7818. Swait()
  7819. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7820. until RINGSPIN == false
  7821. for i = 1, 25 do
  7822. Swait()
  7823. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  7824. RING.Size = RING.Size - VT(0.15,0,0.15)
  7825. --DECAL.Transparency = DECAL.Transparency + 1/25
  7826. RING.Transparency = RING.Transparency + 1/25
  7827. end
  7828. RING:remove()
  7829. end))
  7830. for i = 1, 15 do
  7831. Swait()
  7832. RING.Size = RING.Size + VT(0.75,0,0.75)
  7833. RING.Transparency = RING.Transparency - 1/15
  7834. end
  7835. local BOXSPIN = true
  7836. local PANDORASBOX = IT("Model",Effects)
  7837. PANDORASBOX.Name = "Pandora's Box"
  7838. local BOX = IT("Model",PANDORASBOX)
  7839. BOX.Name = "Body"
  7840. local LID = IT("Model",PANDORASBOX)
  7841. LID.Name = "Lid"
  7842. --BUILDING THE BOX--
  7843. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  7844. BASE.Color = C3(0,0,0)
  7845. PANDORASBOX.PrimaryPart = BASE
  7846. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  7847. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7848. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  7849. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7850. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  7851. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7852. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  7853. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  7854. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  7855. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7856. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  7857. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7858. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  7859. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7860. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  7861. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7862. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  7863. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7864. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  7865. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7866. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  7867. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7868. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  7869. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7870. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  7871. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7872. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  7873. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  7874. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  7875. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7876. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  7877. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  7878. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  7879. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7880. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  7881. -------------
  7882. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  7883. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  7884. LID.PrimaryPart = LIDPART
  7885. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7886. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  7887. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  7888. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  7889. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7890. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  7891. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  7892. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  7893. local DECAL = IT("Decal",LIDPART)
  7894. DECAL.Face = "Top"
  7895. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  7896. DECAL.Color3 = C3(0,0,0)
  7897. --BUILDING THE BOX--
  7898. coroutine.resume(coroutine.create(function()
  7899. repeat
  7900. Swait()
  7901. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  7902. until BOXSPIN == false
  7903. end))
  7904. for i = 1, 25 do
  7905. Swait()
  7906. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  7907. end
  7908. wait(0.5)
  7909. BOXSPIN = false
  7910. CONSTRUCTING = false
  7911. coroutine.resume(coroutine.create(function()
  7912. 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})
  7913. --[[for i = 1, 45 do
  7914. Swait()
  7915. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  7916. end-
  7917. LID:remove()]]--
  7918. for _, c in pairs(LID:GetChildren()) do
  7919. if c.ClassName == "Part" then
  7920. c.Anchored = false
  7921. c.CanCollide = true
  7922. if c ~= LIDPART then
  7923. weldBetween(LIDPART,c)
  7924. end
  7925. end
  7926. end
  7927. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  7928. Debris:AddItem(LID,15)
  7929. wait(0.5)
  7930. local RANDOMEFFECT = MRANDOM(1,4)
  7931. if RANDOMEFFECT == 1 then
  7932. for i = 1, 45 do
  7933. wait((2-(i/15))/15)
  7934. 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})
  7935. end
  7936. wait(1)
  7937. 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})
  7938. 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})
  7939. 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})
  7940. for i = 1, 5 do
  7941. 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})
  7942. end
  7943. ApplyAoE(BASE.Position,50,1,200,375,false)
  7944. ApplyAoE(BASE.Position,250,35,75,175,false)
  7945. elseif RANDOMEFFECT == 2 then
  7946. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  7947. FIELD.CFrame = BASE.CFrame
  7948. MakeForm(FIELD,"Ball")
  7949. for i = 1, 50 do
  7950. Swait()
  7951. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  7952. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  7953. end
  7954. wait(0.2)
  7955. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  7956. coroutine.resume(coroutine.create(function()
  7957. for i = 1, 75 do
  7958. Swait()
  7959. LOOP.Volume = LOOP.Volume + 10/75
  7960. LOOP.Parent = FIELD
  7961. local CHILDREN = workspace:GetDescendants()
  7962. for index, CHILD in pairs(CHILDREN) do
  7963. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7964. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7965. if HUM then
  7966. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7967. if TORSO then
  7968. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7969. HUM.Health = HUM.Health - 0.1
  7970. TORSO.Velocity = VT(0,5,0)
  7971. HUM.PlatformStand = true
  7972. if TORSO.RotVelocity.Magnitude < 15 then
  7973. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7974. end
  7975. end
  7976. end
  7977. end
  7978. end
  7979. end
  7980. FIELD.Size = FIELD.Size + VT(3,3,3)
  7981. FIELD.Transparency = FIELD.Transparency + 0.8/75
  7982. end
  7983. for i = 1, 500 do
  7984. Swait()
  7985. LOOP.Parent = FIELD
  7986. local CHILDREN = workspace:GetDescendants()
  7987. for index, CHILD in pairs(CHILDREN) do
  7988. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  7989. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  7990. if HUM then
  7991. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  7992. if TORSO then
  7993. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  7994. TORSO.Velocity = VT(0,5,0)
  7995. HUM.Health = HUM.Health - 0.1
  7996. HUM.PlatformStand = true
  7997. if TORSO.RotVelocity.Magnitude < 15 then
  7998. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  7999. end
  8000. end
  8001. end
  8002. end
  8003. end
  8004. end
  8005. end
  8006. for i = 1, 25 do
  8007. Swait()
  8008. LOOP.Volume = LOOP.Volume + 10/25
  8009. LOOP.Parent = FIELD
  8010. local CHILDREN = workspace:GetDescendants()
  8011. for index, CHILD in pairs(CHILDREN) do
  8012. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8013. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8014. if HUM then
  8015. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8016. if TORSO then
  8017. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  8018. TORSO.Velocity = VT(0,5,0)
  8019. HUM.Health = HUM.Health - 0.1
  8020. HUM.PlatformStand = false
  8021. if TORSO.RotVelocity.Magnitude < 15 then
  8022. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  8023. end
  8024. end
  8025. end
  8026. end
  8027. end
  8028. end
  8029. FIELD.Size = FIELD.Size - VT(3,3,3)
  8030. FIELD.Transparency = FIELD.Transparency + 0.2/25
  8031. end
  8032. FIELD:remove()
  8033. end))
  8034. elseif RANDOMEFFECT == 3 then
  8035. for i = 1, 10 do
  8036. wait(0.15)
  8037. 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})
  8038. coroutine.resume(coroutine.create(function()
  8039. local MINION = CLONE:Clone()
  8040. MINION.Parent = Effects
  8041. MINION.Name = "Shadow"
  8042. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  8043. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  8044. for _, c in pairs(MINION:GetChildren()) do
  8045. if c.ClassName == "Part" then
  8046. c.Material = "Neon"
  8047. c.Color = C3(0,0,0)
  8048. c.Transparency = 0.25
  8049. if c.Name == "Head" then
  8050. c:ClearAllChildren()
  8051. local MSH = IT("BlockMesh",c)
  8052. MSH.Scale = VT(0.5,1,1)
  8053. end
  8054. end
  8055. end
  8056. local TORSO = MINION.Torso
  8057. local HUMAN = MINION.Humanoid
  8058. HUMAN.WalkSpeed = 20
  8059. HUMAN.MaxHealth = math.huge
  8060. HUMAN.Health = math.huge
  8061. HUMAN.DisplayDistanceType = "None"
  8062. HUMAN.Died:connect(function()
  8063. MINION:remove()
  8064. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  8065. end)
  8066. wait(1)
  8067. local findNearestTorso = function(POS)
  8068. local list = game.Workspace:GetDescendants()
  8069. local torso = nil
  8070. local dist = 500
  8071. local temp = nil
  8072. local human = nil
  8073. local temp2 = nil
  8074. for x = 1, #list do
  8075. temp2 = list[x]
  8076. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  8077. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  8078. human = temp2:findFirstChildOfClass("Humanoid")
  8079. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  8080. if (temp.Position - POS).magnitude < dist then
  8081. torso = temp
  8082. dist = (temp.Position - POS).magnitude
  8083. end
  8084. end
  8085. end
  8086. end
  8087. return torso, dist
  8088. end
  8089. for i = 1, 40 do
  8090. if HUMAN.Health == 0 then
  8091. break
  8092. end
  8093. wait(0.3)
  8094. local target,dist= findNearestTorso(TORSO.Position)
  8095. if target then
  8096. HUMAN:MoveTo(target.Position)
  8097. if dist < 25 then
  8098. CreateSound(348663022, TORSO, 10, 1, true)
  8099. wait(2)
  8100. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  8101. --ANIM:Play()
  8102. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  8103. ApplyAoE(TORSO.Position,10,0,0,85,true)
  8104. 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})
  8105. for i = 1, 5 do
  8106. 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})
  8107. end
  8108. break
  8109. end
  8110. end
  8111. end
  8112. MINION:remove()
  8113. end))
  8114. end
  8115. elseif RANDOMEFFECT == 4 then
  8116. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  8117. FIELD.Color = C3(0,0,0)
  8118. FIELD.CFrame = BASE.CFrame
  8119. MakeForm(FIELD,"Ball")
  8120. FIELD.CanCollide = true
  8121. for i = 1, 50 do
  8122. Swait()
  8123. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  8124. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  8125. end
  8126. wait(0.2)
  8127. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  8128. coroutine.resume(coroutine.create(function()
  8129. local E = 0
  8130. for i = 1, 75 do
  8131. E = E + 1
  8132. Swait()
  8133. if E >= 35 then
  8134. E = 0
  8135. 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})
  8136. end
  8137. LOOP.Volume = LOOP.Volume + 10/75
  8138. LOOP.Parent = FIELD
  8139. local CHILDREN = workspace:GetDescendants()
  8140. for index, CHILD in pairs(CHILDREN) do
  8141. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8142. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8143. if HUM then
  8144. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8145. if TORSO then
  8146. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8147. for _, c in pairs(CHILD:GetChildren()) do
  8148. if c:IsA("BasePart") then
  8149. local bv = Instance.new("BodyVelocity")
  8150. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8151. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8152. bv.Parent = c
  8153. Debris:AddItem(bv,0.05)
  8154. end
  8155. end
  8156. HUM.Health = HUM.Health - 0.3
  8157. end
  8158. end
  8159. end
  8160. end
  8161. end
  8162. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  8163. end
  8164. for i = 1, 180 do
  8165. E = E + 1
  8166. Swait()
  8167. if E >= 35 then
  8168. E = 0
  8169. 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})
  8170. end
  8171. LOOP.Parent = FIELD
  8172. local CHILDREN = workspace:GetDescendants()
  8173. for index, CHILD in pairs(CHILDREN) do
  8174. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  8175. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8176. if HUM then
  8177. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8178. if TORSO then
  8179. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  8180. for _, c in pairs(CHILD:GetChildren()) do
  8181. if c:IsA("BasePart") then
  8182. local bv = Instance.new("BodyVelocity")
  8183. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8184. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  8185. bv.Parent = c
  8186. Debris:AddItem(bv,0.05)
  8187. end
  8188. end
  8189. HUM.Health = HUM.Health - 0.3
  8190. end
  8191. end
  8192. end
  8193. end
  8194. end
  8195. end
  8196. ApplyAoE(FIELD.Position,40,15,20,375,false)
  8197. 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})
  8198. for i = 1, 5 do
  8199. 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})
  8200. end
  8201. FIELD:remove()
  8202. end))
  8203. elseif RANDOMEFFECT == 5 then
  8204. end
  8205. wait(0.5)
  8206. for i = 1, 25 do
  8207. Swait()
  8208. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  8209. end
  8210. PANDORASBOX:remove()
  8211. RINGSPIN = false
  8212. end))
  8213. ATTACK = false
  8214. Rooted = false
  8215. end
  8216. end
  8217.  
  8218. function Taunt()
  8219. ATTACK = true
  8220. local LAUGH = nil
  8221. coroutine.resume(coroutine.create(function()
  8222. repeat
  8223. Swait()
  8224. 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)
  8225. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  8226. 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)
  8227. 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)
  8228. 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)
  8229. 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)
  8230. until LAUGH ~= nil
  8231. repeat
  8232. Swait()
  8233. LAUGH.Parent = Head
  8234. 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)
  8235. 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)
  8236. 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)
  8237. 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)
  8238. 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)
  8239. 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)
  8240. until LAUGH.Playing == false
  8241. ATTACK = false
  8242. end))
  8243. wait(0.1)
  8244. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  8245. end
  8246. function SpawnTrail(FROM,TO,BIG)
  8247. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  8248. MakeForm(TRAIL,"Cyl")
  8249. local DIST = (FROM - TO).Magnitude
  8250. if BIG == true then
  8251. TRAIL.Size = VT(0.5,DIST,0.5)
  8252. else
  8253. TRAIL.Size = VT(0.25,DIST,0.25)
  8254. end
  8255. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  8256. coroutine.resume(coroutine.create(function()
  8257. for i = 1, 5 do
  8258. Swait()
  8259. TRAIL.Transparency = TRAIL.Transparency + 0.1
  8260. end
  8261. TRAIL:remove()
  8262. end))
  8263. end
  8264. local A = IT("Attachment",RightBarrel)
  8265. A.Position = VT(0,-2.5,0)
  8266. local B = IT("Attachment",RightBarrel)
  8267. B.Position = VT(0,2.5,0)
  8268. local Trail = IT("Trail",RightBarrel)
  8269. Trail.Attachment0 = A
  8270. Trail.Attachment1 = B
  8271. Trail.Lifetime = 0.2
  8272. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  8273. Trail.Transparency = NumberSequence.new(0, 1)
  8274. Trail.Enabled = false
  8275. function Execute()
  8276. ATTACK = true
  8277. Rooted = false
  8278. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  8279. Part.Color = C3(0,0,0)
  8280. MakeForm(Part,"Wedge")
  8281. Part.CanCollide = true
  8282. 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))
  8283. for i=0, 0.1, 0.1 / Animation_Speed do
  8284. Swait()
  8285. 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)
  8286. 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)
  8287. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8288. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8289. 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)
  8290. 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)
  8291. end
  8292. Trail.Enabled = true
  8293. CreateSound(541909867, Barrel, 7, 1, false)
  8294. local TOCH = Part.Touched:Connect(function(hit)
  8295. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  8296. Kill(hit.Parent)
  8297. end
  8298. end)
  8299. for i=0, 0.35, 0.1 / Animation_Speed do
  8300. Swait()
  8301. 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)
  8302. 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)
  8303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8305. 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)
  8306. 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)
  8307. end
  8308. TOCH:disconnect()
  8309. Trail.Enabled = false
  8310. for i=0, 0.35, 0.1 / Animation_Speed do
  8311. Swait()
  8312. 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)
  8313. 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)
  8314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  8315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  8316. 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)
  8317. 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)
  8318. end
  8319. Part:remove()
  8320. ATTACK = false
  8321. Rooted = false
  8322. end
  8323.  
  8324. function Final_Limit()
  8325. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  8326. if HITFLOOR ~= nil then
  8327. do
  8328. local HITBODIES = {}
  8329. ATTACK = true
  8330. Rooted = true
  8331. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  8332. ABSOLUTE.Color = C3(0, 0, 0)
  8333. MakeForm(ABSOLUTE, "Ball")
  8334. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  8335. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  8336. for i = 0, 4, 0.1 / Animation_Speed do
  8337. Swait()
  8338. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  8339. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  8340. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  8341. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  8342. MakeForm(CHARGE, "Ball")
  8343. CHARGE.Color = C3(0, 0, 0)
  8344. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  8345. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  8346. 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)
  8347. 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)
  8348. 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)
  8349. 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)
  8350. 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)
  8351. 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)
  8352. end
  8353. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, "Really black", "BatWings", VT(2, 2, 2))
  8354. WING.Color = C3(0, 0, 0)
  8355. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8356. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  8357. for i = 1, 15 do
  8358. Swait()
  8359. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8360. WING.Transparency = WING.Transparency - 0.06666666666666667
  8361. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  8362. 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)
  8363. 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)
  8364. 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)
  8365. 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)
  8366. 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)
  8367. 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)
  8368. end
  8369. for i = 1, 15 do
  8370. Swait()
  8371. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8372. WING.Transparency = WING.Transparency - 0.06666666666666667
  8373. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  8374. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  8375. 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)
  8376. 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)
  8377. 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)
  8378. 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)
  8379. 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)
  8380. 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)
  8381. end
  8382. coroutine.resume(coroutine.create(function()
  8383. local LOOP = 0
  8384. local ech = 0
  8385. for i = 1, 250 do
  8386. LOOP = LOOP + 1
  8387. Swait()
  8388. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  8389. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  8390. 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)
  8391. if LOOP == 25 then
  8392. LOOP = 0
  8393. ech = ech + 1
  8394. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  8395. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  8396. for i = 1, 5 do
  8397. 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))
  8398. 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))
  8399. end
  8400. end
  8401. end
  8402. for i = 1, 10 do
  8403. Swait()
  8404. WING.Transparency = WING.Transparency + 0.1
  8405. end
  8406. WING:remove()
  8407. for i = 1, 10 do
  8408. Swait()
  8409. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  8410. end
  8411. ABSOLUTE:remove()
  8412. end))
  8413. ATTACK = false
  8414. Rooted = false
  8415. end
  8416. end
  8417. end
  8418.  
  8419. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  8420. local CHILDREN = workspace:GetDescendants()
  8421. for index, CHILD in pairs(CHILDREN) do
  8422. if CHILD.ClassName == "Model" and CHILD ~= Character then
  8423. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  8424. if HUM then
  8425. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  8426. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  8427. if EBANISH == true then
  8428. Banish(CHILD)
  8429. else
  8430. local DMG = MRANDOM(MINDMG, MAXDMG)
  8431. ApplyDamage(HUM, DMG, TORSO)
  8432. end
  8433. if FLING > 0 then
  8434. for _, c in pairs(CHILD:GetChildren()) do
  8435. if c:IsA("BasePart") then
  8436. local bv = Instance.new("BodyVelocity")
  8437. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  8438. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  8439. bv.Parent = c
  8440. Debris:AddItem(bv, 0.05)
  8441. end
  8442. end
  8443. end
  8444. end
  8445. end
  8446. end
  8447. end
  8448. end
  8449.  
  8450. function Eon_Fire()
  8451. ATTACK = true
  8452. Rooted = true
  8453. local GYRO = IT("BodyGyro", RootPart)
  8454. GYRO.D = 15
  8455. GYRO.P = 2000
  8456. GYRO.MaxTorque = VT(0, 4000000, 0)
  8457. CreateSound("341301115", Head, 5, 1.1)
  8458. CreateSound("93724183", Head, 6, 1)
  8459. for i = 1, 200 do
  8460. Swait()
  8461. WACKYEFFECT({
  8462. Time = MRANDOM(5, 15),
  8463. EffectType = "Round Slash",
  8464. Size = VT(0, 0, 0),
  8465. Size2 = VT(0.12, 0, 0.12),
  8466. Transparency = 0.5,
  8467. Transparency2 = 1,
  8468. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8469. MoveToPos = nil,
  8470. RotationX = MRANDOM(-50, 50) / 50,
  8471. RotationY = MRANDOM(-50, 50) / 10,
  8472. RotationZ = MRANDOM(-50, 50) / 50,
  8473. Material = "Neon",
  8474. Color = color,
  8475. SoundID = nil,
  8476. SoundPitch = nil,
  8477. SoundVolume = nil
  8478. })
  8479. WACKYEFFECT({
  8480. Time = MRANDOM(5, 15),
  8481. EffectType = "Round Slash",
  8482. Size = VT(0, 0, 0),
  8483. Size2 = VT(0.1, 0, 0.1),
  8484. Transparency = 0.5,
  8485. Transparency2 = 1,
  8486. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8487. MoveToPos = nil,
  8488. RotationX = MRANDOM(-50, 50) / 50,
  8489. RotationY = MRANDOM(-50, 50) / 10,
  8490. RotationZ = MRANDOM(-50, 50) / 50,
  8491. Material = "Neon",
  8492. Color = color,
  8493. SoundID = nil,
  8494. SoundPitch = nil,
  8495. SoundVolume = nil
  8496. })
  8497. WACKYEFFECT({
  8498. Time = MRANDOM(5, 15),
  8499. EffectType = "Round Slash",
  8500. Size = VT(0, 0, 0),
  8501. Size2 = VT(0.16, 0, 0.16),
  8502. Transparency = 0.5,
  8503. Transparency2 = 1,
  8504. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8505. MoveToPos = nil,
  8506. RotationX = MRANDOM(-50, 50) / 50,
  8507. RotationY = MRANDOM(-50, 50) / 10,
  8508. RotationZ = MRANDOM(-50, 50) / 50,
  8509. Material = "Neon",
  8510. Color = color,
  8511. SoundID = nil,
  8512. SoundPitch = nil,
  8513. SoundVolume = nil
  8514. })
  8515. WACKYEFFECT({
  8516. Time = 5,
  8517. EffectType = "Sphere",
  8518. Size = VT(i, i, i) / 150,
  8519. Size2 = VT(0, 0, 0),
  8520. Transparency = 0.5,
  8521. Transparency2 = 1,
  8522. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8523. MoveToPos = nil,
  8524. RotationX = 0,
  8525. RotationY = 0,
  8526. RotationZ = 0,
  8527. Material = "Neon",
  8528. Color = color,
  8529. SoundID = nil,
  8530. SoundPitch = nil,
  8531. SoundVolume = nil
  8532. })
  8533. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8534. 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)
  8535. 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)
  8536. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8537. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8538. 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)
  8539. 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)
  8540. end
  8541. GYRO:remove()
  8542. for i = 0, 0.3, 0.1 / Animation_Speed do
  8543. Swait()
  8544. WACKYEFFECT({
  8545. Time = 25,
  8546. EffectType = "Sphere",
  8547. Size = VT(200, 200, 200) / 150,
  8548. Size2 = VT(0, 0, 0),
  8549. Transparency = 0.5,
  8550. Transparency2 = 1,
  8551. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8552. MoveToPos = nil,
  8553. RotationX = 0,
  8554. RotationY = 0,
  8555. RotationZ = 0,
  8556. Material = "Neon",
  8557. Color = color,
  8558. SoundID = nil,
  8559. SoundPitch = nil,
  8560. SoundVolume = nil
  8561. })
  8562. 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)
  8563. 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)
  8564. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8565. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8566. 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)
  8567. 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)
  8568. end
  8569. coroutine.resume(coroutine.create(function()
  8570. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
  8571. MakeForm(FIREBALL, "Ball")
  8572. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8573. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8574. for i = 1, 500 do
  8575. Swait()
  8576. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8577. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8578. if HITFLOOR ~= nil then
  8579. break
  8580. end
  8581. end
  8582. CreateSound(325132788, Effects, 8, 1, false)
  8583. for i = 1, 120 do
  8584. Swait()
  8585. WACKYEFFECT({
  8586. Time = 85,
  8587. EffectType = "Sphere",
  8588. Size = FIREBALL.Size,
  8589. Size2 = VT(0, 1000, 0),
  8590. Transparency = 0.5,
  8591. Transparency2 = 1,
  8592. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8593. MoveToPos = nil,
  8594. RotationX = MRANDOM(-50, 50) / 10,
  8595. RotationY = MRANDOM(-50, 50) / 10,
  8596. RotationZ = MRANDOM(-50, 50) / 10,
  8597. Material = "Neon",
  8598. Color = color,
  8599. SoundID = nil,
  8600. SoundPitch = nil,
  8601. SoundVolume = nil
  8602. })
  8603. FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
  8604. end
  8605. Swait(5)
  8606. ApplyAoE5(FIREBALL.Position, 435, 65, 65, 600, true)
  8607. for i = 1, 10 do
  8608. WACKYEFFECT({
  8609. Time = 85 + 5 * i,
  8610. EffectType = "Slash",
  8611. Size = VT(3, 0, 3),
  8612. Size2 = VT(12, 0, 12),
  8613. Transparency = 0.5,
  8614. Transparency2 = 1,
  8615. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8616. MoveToPos = nil,
  8617. RotationX = MRANDOM(-50, 50) / 50,
  8618. RotationY = MRANDOM(-50, 50) / 10,
  8619. RotationZ = MRANDOM(-50, 50) / 50,
  8620. Material = "Neon",
  8621. Color = C3(1, 1, 1),
  8622. SoundID = nil,
  8623. SoundPitch = nil,
  8624. SoundVolume = nil
  8625. })
  8626. WACKYEFFECT({
  8627. Time = 185 + 5 * i,
  8628. EffectType = "Swirl",
  8629. Size = VT(15, 15, 15),
  8630. Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
  8631. Transparency = 0.5,
  8632. Transparency2 = 1,
  8633. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8634. MoveToPos = nil,
  8635. RotationX = MRANDOM(-50, 50) / 50,
  8636. RotationY = MRANDOM(-50, 50) / 10,
  8637. RotationZ = MRANDOM(-50, 50) / 50,
  8638. Material = "Neon",
  8639. Color = C3(1, 0.5, 0.5),
  8640. SoundID = nil,
  8641. SoundPitch = nil,
  8642. SoundVolume = nil
  8643. })
  8644. WACKYEFFECT({
  8645. Time = 285 + 5 * i,
  8646. EffectType = "Round Slash",
  8647. Size = VT(3, 0, 3),
  8648. Size2 = VT(12, 0, 12),
  8649. Transparency = 0.5,
  8650. Transparency2 = 1,
  8651. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8652. MoveToPos = nil,
  8653. RotationX = MRANDOM(-50, 50) / 50,
  8654. RotationY = MRANDOM(-50, 50) / 10,
  8655. RotationZ = MRANDOM(-50, 50) / 50,
  8656. Material = "Neon",
  8657. Color = color,
  8658. SoundID = nil,
  8659. SoundPitch = nil,
  8660. SoundVolume = nil
  8661. })
  8662. WACKYEFFECT({
  8663. Time = 285 + 5 * i,
  8664. EffectType = "Sphere",
  8665. Size = VT(650, 650, 650),
  8666. Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
  8667. Transparency = 0.5,
  8668. Transparency2 = 1,
  8669. CFrame = FIREBALL.CFrame,
  8670. MoveToPos = nil,
  8671. RotationX = 0,
  8672. RotationY = 0,
  8673. RotationZ = 0,
  8674. Material = "Neon",
  8675. Color = color,
  8676. SoundID = nil,
  8677. SoundPitch = 0,
  8678. SoundVolume = 0
  8679. })
  8680. end
  8681. wait(1)
  8682. WACKYEFFECT({
  8683. Time = 75,
  8684. EffectType = "Sphere",
  8685. Size = VT(350, 350, 350),
  8686. Size2 = VT(4500, 4500, 4500),
  8687. Transparency = 0.8,
  8688. Transparency2 = 1,
  8689. CFrame = FIREBALL.CFrame,
  8690. MoveToPos = nil,
  8691. RotationX = 0,
  8692. RotationY = 0,
  8693. RotationZ = 0,
  8694. Material = "Neon",
  8695. Color = C3(1, 1, 1),
  8696. SoundID = nil,
  8697. SoundPitch = 0,
  8698. SoundVolume = 0
  8699. })
  8700. for i = 1, 15 do
  8701. Swait()
  8702. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  8703. WACKYEFFECT({
  8704. Time = 85,
  8705. EffectType = "Sphere",
  8706. Size = VT(75, 75, 75),
  8707. Size2 = VT(0, 2500, 0),
  8708. Transparency = 0.5,
  8709. Transparency2 = 1,
  8710. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8711. MoveToPos = nil,
  8712. RotationX = MRANDOM(-50, 50) / 10,
  8713. RotationY = MRANDOM(-50, 50) / 10,
  8714. RotationZ = MRANDOM(-50, 50) / 10,
  8715. Material = "Neon",
  8716. Color = color,
  8717. SoundID = nil,
  8718. SoundPitch = nil,
  8719. SoundVolume = nil
  8720. })
  8721. end
  8722. FIREBALL:remove()
  8723. end))
  8724. WACKYEFFECT({
  8725. Time = 25,
  8726. EffectType = "Ring",
  8727. Size = VT(0, 0, 0),
  8728. Size2 = VT(3.75, 3.75, 0),
  8729. Transparency = 0.7,
  8730. Transparency2 = 1,
  8731. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8732. MoveToPos = nil,
  8733. RotationX = 0,
  8734. RotationY = 0,
  8735. RotationZ = 0,
  8736. Material = "Neon",
  8737. Color = color,
  8738. SoundID = nil,
  8739. SoundPitch = nil,
  8740. SoundVolume = nil
  8741. })
  8742. WACKYEFFECT({
  8743. Time = 50,
  8744. EffectType = "Ring",
  8745. Size = VT(0, 0, 0),
  8746. Size2 = VT(15, 15, 0),
  8747. Transparency = 0.7,
  8748. Transparency2 = 1,
  8749. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  8750. MoveToPos = nil,
  8751. RotationX = 0,
  8752. RotationY = 0,
  8753. RotationZ = 0,
  8754. Material = "Neon",
  8755. Color = color,
  8756. SoundID = nil,
  8757. SoundPitch = nil,
  8758. SoundVolume = nil
  8759. })
  8760. for i = 0, 0.3, 0.1 / Animation_Speed do
  8761. Swait()
  8762. 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)
  8763. 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)
  8764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8766. 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)
  8767. 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)
  8768. end
  8769. ATTACK = false
  8770. Rooted = false
  8771. end
  8772.  
  8773. function UEon_Fire()
  8774. ATTACK = true
  8775. Rooted = true
  8776. local GYRO = IT("BodyGyro", RootPart)
  8777. GYRO.D = 15
  8778. GYRO.P = 2000
  8779. GYRO.MaxTorque = VT(0, 4000000, 0)
  8780. CreateSound("341301115", Head, 5, 1.1)
  8781. CreateSound("93724183", Head, 6, 1)
  8782. for i = 1, 200 do
  8783. Swait()
  8784. WACKYEFFECT({
  8785. Time = MRANDOM(5, 15),
  8786. EffectType = "Round Slash",
  8787. Size = VT(0, 0, 0),
  8788. Size2 = VT(80.12, 0, 80.12),
  8789. Transparency = 0.5,
  8790. Transparency2 = 0,
  8791. CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8792. MoveToPos = nil,
  8793. RotationX = MRANDOM(-50, 50) / 50,
  8794. RotationY = MRANDOM(-50, 50) / 10,
  8795. RotationZ = MRANDOM(-50, 50) / 50,
  8796. Material = "Neon",
  8797. Color = color,
  8798. SoundID = nil,
  8799. SoundPitch = nil,
  8800. SoundVolume = nil
  8801. })
  8802. WACKYEFFECT({
  8803. Time = MRANDOM(5, 15),
  8804. EffectType = "Round Slash",
  8805. Size = VT(0, 0, 0),
  8806. Size2 = VT(80.1, 0, 80.1),
  8807. Transparency = 0.5,
  8808. Transparency2 = 1,
  8809. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
  8810. MoveToPos = nil,
  8811. RotationX = MRANDOM(-150, 150) / 150,
  8812. RotationY = MRANDOM(-150, 150) / 110,
  8813. RotationZ = MRANDOM(-150, 150) / 150,
  8814. Material = "Neon",
  8815. Color = color,
  8816. SoundID = nil,
  8817. SoundPitch = nil,
  8818. SoundVolume = nil
  8819. })
  8820. WACKYEFFECT({
  8821. Time = MRANDOM(5, 15),
  8822. EffectType = "Round Slash",
  8823. Size = VT(0, 0, 0),
  8824. Size2 = VT(80.16, 0, 80.16),
  8825. Transparency = 0.5,
  8826. Transparency2 = 1,
  8827. CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
  8828. MoveToPos = nil,
  8829. RotationX = MRANDOM(-150, 150) / 150,
  8830. RotationY = MRANDOM(-150, 150) / 110,
  8831. RotationZ = MRANDOM(-150, 150) / 150,
  8832. Material = "Neon",
  8833. Color = color,
  8834. SoundID = nil,
  8835. SoundPitch = nil,
  8836. SoundVolume = nil
  8837. })
  8838. WACKYEFFECT({
  8839. Time = 5,
  8840. EffectType = "Sphere",
  8841. Size = VT(i, i, i) / 150,
  8842. Size2 = VT(0, 0, 0),
  8843. Transparency = 0.5,
  8844. Transparency2 = 0,
  8845. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8846. MoveToPos = nil,
  8847. RotationX = 0,
  8848. RotationY = 0,
  8849. RotationZ = 0,
  8850. Material = "Neon",
  8851. Color = color,
  8852. SoundID = nil,
  8853. SoundPitch = nil,
  8854. SoundVolume = nil
  8855. })
  8856. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  8857. 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)
  8858. 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)
  8859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  8860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  8861. 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)
  8862. 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)
  8863. end
  8864. GYRO:remove()
  8865. for i = 0, 0.3, 0.1 / Animation_Speed do
  8866. Swait()
  8867. WACKYEFFECT({
  8868. Time = 25,
  8869. EffectType = "Sphere",
  8870. Size = VT(111200, 111200, 111200) / 11150,
  8871. Size2 = VT(0, 0, 0),
  8872. Transparency = 0.5,
  8873. Transparency2 = 1,
  8874. CFrame = Head.CFrame * CF(0, -0.25, -1),
  8875. MoveToPos = nil,
  8876. RotationX = 0,
  8877. RotationY = 0,
  8878. RotationZ = 0,
  8879. Material = "Neon",
  8880. Color = color,
  8881. SoundID = nil,
  8882. SoundPitch = nil,
  8883. SoundVolume = nil
  8884. })
  8885. 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)
  8886. 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)
  8887. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  8888. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  8889. 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)
  8890. 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)
  8891. end
  8892. coroutine.resume(coroutine.create(function()
  8893. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(10, 10, 10))
  8894. MakeForm(FIREBALL, "Ball")
  8895. local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
  8896. FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
  8897. for i = 1, 500 do
  8898. Swait()
  8899. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  8900. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
  8901. if HITFLOOR ~= nil then
  8902. break
  8903. end
  8904. end
  8905. CreateSound(325132788, Effects, 8, 1, false)
  8906. for i = 1, 120 do
  8907. Swait()
  8908. WACKYEFFECT({
  8909. Time = 85,
  8910. EffectType = "Sphere",
  8911. Size = FIREBALL.Size,
  8912. Size2 = VT(0, 1000000, 0),
  8913. Transparency = 0.5,
  8914. Transparency2 = 0,
  8915. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8916. MoveToPos = nil,
  8917. RotationX = MRANDOM(-150, 150) / 110,
  8918. RotationY = MRANDOM(-150, 150) / 110,
  8919. RotationZ = MRANDOM(-150, 150) / 110,
  8920. Material = "Neon",
  8921. Color = color,
  8922. SoundID = nil,
  8923. SoundPitch = nil,
  8924. SoundVolume = nil
  8925. })
  8926. FIREBALL.Size = FIREBALL.Size - VT(100000, 100000, 100000) / 12000000
  8927. end
  8928. Swait(5)
  8929. ApplyAoE5(FIREBALL.Position, 43500000, 6500000, 6500000, 60000000, true)
  8930. for i = 1, 10 do
  8931. WACKYEFFECT({
  8932. Time = 85 + 5 * i,
  8933. EffectType = "Slash",
  8934. Size = VT(113, 0, 113),
  8935. Size2 = VT(1200000, 0, 1200000),
  8936. Transparency = 0.5,
  8937. Transparency2 = 0,
  8938. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8939. MoveToPos = nil,
  8940. RotationX = MRANDOM(-150, 150) / 150,
  8941. RotationY = MRANDOM(-150, 150) / 110,
  8942. RotationZ = MRANDOM(-150, 150) / 150,
  8943. Material = "Neon",
  8944. Color = C3(1, 1, 1),
  8945. SoundID = nil,
  8946. SoundPitch = nil,
  8947. SoundVolume = nil
  8948. })
  8949. WACKYEFFECT({
  8950. Time = 185 + 5 * i,
  8951. EffectType = "Swirl",
  8952. Size = VT(1000005, 1500000, 1500000),
  8953. Size2 = VT(70000000, 70000000, 70000000) + VT(1500000, 1500000, 1500000) * i,
  8954. Transparency = 0.5,
  8955. Transparency2 = 1,
  8956. CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  8957. MoveToPos = nil,
  8958. RotationX = MRANDOM(-50, 50) / 50,
  8959. RotationY = MRANDOM(-50, 50) / 10,
  8960. RotationZ = MRANDOM(-50, 50) / 50,
  8961. Material = "Neon",
  8962. Color = C3(1, 0.5, 0.5),
  8963. SoundID = nil,
  8964. SoundPitch = nil,
  8965. SoundVolume = nil
  8966. })
  8967. WACKYEFFECT({
  8968. Time = 285 + 5 * i,
  8969. EffectType = "Round Slash",
  8970. Size = VT(300000, 0, 300000),
  8971. Size2 = VT(1200000, 0, 1200000),
  8972. Transparency = 0.5,
  8973. Transparency2 = 1,
  8974. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  8975. MoveToPos = nil,
  8976. RotationX = MRANDOM(-50, 50) / 50,
  8977. RotationY = MRANDOM(-50, 50) / 10,
  8978. RotationZ = MRANDOM(-50, 50) / 50,
  8979. Material = "Neon",
  8980. Color = color,
  8981. SoundID = nil,
  8982. SoundPitch = nil,
  8983. SoundVolume = nil
  8984. })
  8985. WACKYEFFECT({
  8986. Time = 285 + 5 * i,
  8987. EffectType = "Sphere",
  8988. Size = VT(6500000, 6500000, 6500000),
  8989. Size2 = VT(7500000, 7500000, 7500000) + VT(1500000, 1500000, 1500000) * i,
  8990. Transparency = 0.5,
  8991. Transparency2 = 1,
  8992. CFrame = FIREBALL.CFrame,
  8993. MoveToPos = nil,
  8994. RotationX = 0,
  8995. RotationY = 0,
  8996. RotationZ = 0,
  8997. Material = "Neon",
  8998. Color = color,
  8999. SoundID = nil,
  9000. SoundPitch = 0,
  9001. SoundVolume = 0
  9002. })
  9003. end
  9004. wait(1)
  9005. WACKYEFFECT({
  9006. Time = 75,
  9007. EffectType = "Sphere",
  9008. Size = VT(35000000, 35000000, 35000000),
  9009. Size2 = VT(450000000, 450000000, 450000000),
  9010. Transparency = 0.8,
  9011. Transparency2 = 1,
  9012. CFrame = FIREBALL.CFrame,
  9013. MoveToPos = nil,
  9014. RotationX = 0,
  9015. RotationY = 0,
  9016. RotationZ = 0,
  9017. Material = "Neon",
  9018. Color = C3(1, 1, 1),
  9019. SoundID = nil,
  9020. SoundPitch = 0,
  9021. SoundVolume = 0
  9022. })
  9023. for i = 1, 15 do
  9024. Swait()
  9025. ApplyAoE5(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, true)
  9026. WACKYEFFECT({
  9027. Time = 85,
  9028. EffectType = "Sphere",
  9029. Size = VT(7500000, 7500000, 7500000),
  9030. Size2 = VT(0, 250000000, 0),
  9031. Transparency = 0.5,
  9032. Transparency2 = 1,
  9033. CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  9034. MoveToPos = nil,
  9035. RotationX = MRANDOM(-50, 50) / 10,
  9036. RotationY = MRANDOM(-50, 50) / 10,
  9037. RotationZ = MRANDOM(-50, 50) / 10,
  9038. Material = "Neon",
  9039. Color = color,
  9040. SoundID = nil,
  9041. SoundPitch = nil,
  9042. SoundVolume = nil
  9043. })
  9044. end
  9045. FIREBALL:remove()
  9046. end))
  9047. WACKYEFFECT({
  9048. Time = 25,
  9049. EffectType = "Ring",
  9050. Size = VT(0, 0, 0),
  9051. Size2 = VT(3.7555, 3.7555, 0),
  9052. Transparency = 0.7,
  9053. Transparency2 = 1,
  9054. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9055. MoveToPos = nil,
  9056. RotationX = 0,
  9057. RotationY = 0,
  9058. RotationZ = 0,
  9059. Material = "Neon",
  9060. Color = color,
  9061. SoundID = nil,
  9062. SoundPitch = nil,
  9063. SoundVolume = nil
  9064. })
  9065. WACKYEFFECT({
  9066. Time = 50,
  9067. EffectType = "Ring",
  9068. Size = VT(0, 0, 0),
  9069. Size2 = VT(1500000, 1500000, 0),
  9070. Transparency = 0.7,
  9071. Transparency2 = 1,
  9072. CFrame = Head.CFrame * CF(0, -0.25, -0.75),
  9073. MoveToPos = nil,
  9074. RotationX = 0,
  9075. RotationY = 0,
  9076. RotationZ = 0,
  9077. Material = "Neon",
  9078. Color = color,
  9079. SoundID = nil,
  9080. SoundPitch = nil,
  9081. SoundVolume = nil
  9082. })
  9083. for i = 0, 0.3, 0.1 / Animation_Speed do
  9084. Swait()
  9085. 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)
  9086. 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)
  9087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9089. 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)
  9090. 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)
  9091. end
  9092. ATTACK = false
  9093. Rooted = false
  9094. end
  9095. 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))
  9096. MakeForm(Eye,"Ball")
  9097.  
  9098. function AttackTemplate()
  9099. ATTACK = true
  9100. Rooted = false
  9101. for i=0, 1, 0.1 / Animation_Speed do
  9102. Swait()
  9103. 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)
  9104. 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)
  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.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9108. 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)
  9109. 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)
  9110. end
  9111. ATTACK = false
  9112. Rooted = false
  9113. end
  9114.  
  9115. function VoidWarp()
  9116. ATTACK = true
  9117. Rooted = false
  9118. for i=0, 0.2, 0.1 / Animation_Speed do
  9119. Swait()
  9120. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9121. 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)
  9122. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9125. 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)
  9126. 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)
  9127. end
  9128. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  9129. CreateSound("1208650519", Torso, 10, 2.5)
  9130. local GUI,GUI2 = CreateGUICircle(Torso)
  9131. for i = 1, 50 do
  9132. Swait()
  9133. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9134. GUI2.Rotation = GUI2.Rotation + i/10
  9135. end
  9136. CastWarpOutlines(Character)
  9137. local POS = Torso.Position
  9138. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  9139. Swait()
  9140. CreateSound("1177785010", Torso, 10, 1)
  9141. coroutine.resume(coroutine.create(function()
  9142. for i = 1, 50 do
  9143. Swait()
  9144. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  9145. GUI2.Rotation = GUI2.Rotation - i/10
  9146. end
  9147. end))
  9148. ATTACK = false
  9149. Rooted = false
  9150. end
  9151.  
  9152. local asd = Instance.new("ParticleEmitter")
  9153. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  9154. asd.LightEmission = .1
  9155. asd.Size = NumberSequence.new(0.2)
  9156. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  9157. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  9158. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  9159. asd.Transparency = bbb
  9160. asd.Size = aaa
  9161. asd.ZOffset = .9
  9162. asd.Acceleration = Vector3.new(0, -15, 0)
  9163. asd.LockedToPart = false
  9164. asd.EmissionDirection = "Back"
  9165. asd.Lifetime = NumberRange.new(1, 2)
  9166. asd.Rotation = NumberRange.new(-100, 100)
  9167. asd.RotSpeed = NumberRange.new(-100, 100)
  9168. asd.Speed = NumberRange.new(25,35)
  9169. asd.Enabled = false
  9170. asd.VelocitySpread = 5
  9171.  
  9172. function getbloody(victim,amount)
  9173. local PART = IT("Part",Effects)
  9174. PART.Transparency = 1
  9175. PART.Size = victim.Size
  9176. PART.Anchored = true
  9177. PART.CanCollide = false
  9178. PART.CFrame = CF(victim.Position,Torso.Position)
  9179. local HITPLAYERSOUNDS = {"356551938","264486467"}
  9180. Debris:AddItem(PART,5)
  9181. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  9182. local prtcl = asd:Clone()
  9183. prtcl.Parent = PART
  9184. prtcl:Emit(amount*10)
  9185. end
  9186.  
  9187. function impale(chain,hit)
  9188. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  9189. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  9190. if humanoid.Health ~= 0 then
  9191. hit.Parent:BreakJoints()
  9192. getbloody(hit,0)
  9193. local prtcl = asd:Clone()
  9194. prtcl.Parent = chain
  9195. prtcl.Enabled = true
  9196. prtcl.Speed = NumberRange.new(0)
  9197. prtcl.Size = NumberSequence.new(0.2)
  9198. end
  9199. end
  9200. end
  9201.  
  9202. function clerp(a, b, t)
  9203. return a:lerp(b, t)
  9204. end
  9205.  
  9206. function newBezier(startpos, pos2, pos3, endpos, t)
  9207. local A = clerp(startpos, pos2, t)
  9208. local B = clerp(pos2, pos3, t)
  9209. local C = clerp(pos3, endpos, t)
  9210. local lerp1 = clerp(A, B, t)
  9211. local lerp2 = clerp(B, C, t)
  9212. local cubic = clerp(lerp1, lerp2, t)
  9213. return cubic
  9214. end
  9215.  
  9216. function VoidChain()
  9217. ATTACK = true
  9218. Rooted = false
  9219. for i=0, 2, 0.1 / Animation_Speed do
  9220. turnto(Mouse.Hit.p)
  9221. Swait()
  9222. 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)
  9223. 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)
  9224. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  9226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  9227. 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)
  9228. 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)
  9229. end
  9230. CreateSound("1208650519", RightArm, 10, 2)
  9231. local RING = CreateMagicCircle()
  9232. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  9233. for i = 1, 5 do
  9234. turnto(Mouse.Hit.p)
  9235. Swait()
  9236. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9237. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9238. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9239. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  9240. RING.Size = RING.Size + VT(1,0,1)
  9241. end
  9242. coroutine.resume(coroutine.create(function()
  9243. local POS = Mouse.Hit.p
  9244. local A = IT("Attachment",RING)
  9245. for i = 1, 15 do
  9246. Swait(MRANDOM(0,5))
  9247. coroutine.resume(coroutine.create(function()
  9248. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9249. --print("Chain start")
  9250. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9251. Front.CanCollide = true
  9252. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  9253. local B = IT("Attachment",Front)
  9254. local ChainLink = IT("Beam",RING)
  9255. ChainLink.Texture = "rbxassetid://1262544869"
  9256. ChainLink.TextureSpeed = 0
  9257. ChainLink.FaceCamera = true
  9258. ChainLink.Width0 = 3
  9259. ChainLink.Attachment0 = A
  9260. ChainLink.Attachment1 = B
  9261. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9262. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9263. ChainLink.TextureMode = "Static"
  9264. local bv = Instance.new("BodyVelocity")
  9265. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9266. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9267. bv.Parent = Front
  9268. bv.Name = "MOVE"
  9269. --print("Chain made")
  9270. coroutine.resume(coroutine.create(function()
  9271. Swait(50)
  9272. bv:remove()
  9273. local POS = Front.Position
  9274. Front.CanCollide = false
  9275. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9276. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9277. for i = 0, 1, 0.07 do
  9278. Swait()
  9279. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9280. end
  9281. Front:remove()
  9282. ChainLink:remove()
  9283. end))
  9284. local harm = Front.Touched:Connect(function(hit)
  9285. impale(Front,hit)
  9286. end)
  9287. end))
  9288. end
  9289. Swait(60)
  9290. for i = 1, 5 do
  9291. Swait()
  9292. RING.Size = RING.Size - VT(1,0,1)
  9293. end
  9294. RING:remove()
  9295. end))
  9296. ATTACK = false
  9297. Rooted = false
  9298. end
  9299.  
  9300. function VortexLeash()
  9301. ATTACK = true
  9302. Rooted = true
  9303. for i=0, 1, 0.1 / Animation_Speed do
  9304. Swait()
  9305. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9306. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9307. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9308. 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)
  9309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  9310. 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)
  9311. 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)
  9312. end
  9313. local RING = CreateMagicCircle()
  9314. CreateSound("1208650519", RING, 10, 1.5)
  9315. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  9316. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  9317. for i = 1, 75 do
  9318. Swait()
  9319. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  9320. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9321. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9322. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  9323. RING.Size = RING.Size + VT(1,0,1)
  9324. end
  9325. coroutine.resume(coroutine.create(function()
  9326. for i = 1, 450 do
  9327. Swait(2)
  9328. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  9329. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9330. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9331. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  9332. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  9333. local A = IT("Attachment",RING)
  9334. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  9335. coroutine.resume(coroutine.create(function()
  9336. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  9337. --print("Chain start")
  9338. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  9339. Front.CanCollide = false
  9340. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  9341. local B = IT("Attachment",Front)
  9342. local ChainLink = IT("Beam",RING)
  9343. ChainLink.Texture = "rbxassetid://1262544869"
  9344. ChainLink.TextureSpeed = 0
  9345. ChainLink.FaceCamera = true
  9346. ChainLink.Width0 = 3
  9347. ChainLink.Attachment0 = A
  9348. ChainLink.Attachment1 = B
  9349. ChainLink.CurveSize0 = MRANDOM(-5,5)
  9350. ChainLink.CurveSize1 = MRANDOM(-5,5)
  9351. ChainLink.TextureMode = "Static"
  9352. local bv = Instance.new("BodyVelocity")
  9353. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9354. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  9355. bv.Parent = Front
  9356. bv.Name = "MOVE"
  9357. --print("Chain made")
  9358. coroutine.resume(coroutine.create(function()
  9359. Swait(50)
  9360. bv:remove()
  9361. local POS = Front.Position
  9362. Front.CanCollide = false
  9363. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9364. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  9365. for i = 0, 1, 0.07 do
  9366. Swait()
  9367. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  9368. end
  9369. Front:remove()
  9370. ChainLink:remove()
  9371. end))
  9372. local harm = Front.Touched:Connect(function(hit)
  9373. impale(Front,hit)
  9374. end)
  9375. end))
  9376. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  9377. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  9378. end
  9379. Swait(65)
  9380. for i = 1, 75 do
  9381. Swait()
  9382. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  9383. RING.Size = RING.Size - VT(1,0,1)
  9384. end
  9385. RING:remove()
  9386. end))
  9387. ATTACK = false
  9388. Rooted = false
  9389. end
  9390.  
  9391. function VortexBarrier()
  9392. ATTACK = true
  9393. Rooted = true
  9394. chatfunc("PRISON...",15)
  9395. for i=0, 2, 0.1 / Animation_Speed do
  9396. Swait()
  9397. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9398. 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)
  9399. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9400. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  9401. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  9402. 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)
  9403. 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)
  9404. end
  9405. for i=0, 0.5, 0.1 / Animation_Speed do
  9406. Swait()
  9407. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  9408. 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)
  9409. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  9410. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  9411. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  9412. 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)
  9413. 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)
  9414. end
  9415. chatfunc("BARRIER!!!",2)
  9416. CreateSound("1208650519", Effects, 10, 1)
  9417. local GUI,GUI2 = CreateGUICircle(Torso)
  9418. local GUI3,GUI4 = CreateGUICircle(Torso)
  9419. for i = 1, 200 do
  9420. Swait()
  9421. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9422. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9423. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9424. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  9425. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  9426. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  9427. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  9428. GUI2.Rotation = GUI2.Rotation + i/10
  9429. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  9430. GUI4.Rotation = GUI4.Rotation - i/10
  9431. end
  9432. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  9433. Swait(25)
  9434. for i = 1, 100 do
  9435. Swait()
  9436. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  9437. GUI2.Rotation = GUI2.Rotation - i/5
  9438. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  9439. GUI4.Rotation = GUI4.Rotation + i/5
  9440. end
  9441. GUI:remove()
  9442. GUI3:remove()
  9443. ATTACK = false
  9444. Rooted = false
  9445. end
  9446.  
  9447. function ApplyKill(POSITION,RANGE,BRUTAL)
  9448. local CHILDREN = workspace:GetDescendants()
  9449. for index, CHILD in pairs(CHILDREN) do
  9450. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9451. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9452. if HUM then
  9453. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9454. if TORSO then
  9455. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  9456. if BRUTAL == true then
  9457. Banish(CHILD)
  9458. else
  9459. CHILD:BreakJoints()
  9460. end
  9461. end
  9462. end
  9463. end
  9464. end
  9465. end
  9466. end
  9467.  
  9468.  
  9469. function RedStar()
  9470. ATTACK = true
  9471. Rooted = true
  9472. local SPOTS = {}
  9473. for i = 1, 15 do
  9474. Swait()
  9475. 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)
  9476. 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)
  9477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9478. 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)
  9479. end
  9480. 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})
  9481. for i=0, 0.5, 0.1 / Animation_Speed do
  9482. Swait()
  9483. 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)
  9484. 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)
  9485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9486. 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)
  9487. end
  9488. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9489. table.insert(SPOTS,HITPOS)
  9490. CreateSound(145080998, Hole, 2, 1, false)
  9491. 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})
  9492. coroutine.resume(coroutine.create(function()
  9493. local POS = Mouse.Hit.p
  9494. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9495. MakeForm(RAY,"Cyl")
  9496. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  9497. MakeForm(SPHERE,"Ball")
  9498. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  9499. MakeForm(SHIELD,"Ball")
  9500. SHIELD.CFrame = CF(POS)
  9501. RAY.CFrame = CF(POS)
  9502. SPHERE.CFrame = CF(POS)
  9503. CreateSound(440145570, SPHERE, 10, 0.8, false)
  9504. CreateSound(415700134, SPHERE, 10, 0.8, false)
  9505. for i = 1, 200 do
  9506. Swait()
  9507. 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})
  9508. 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})
  9509. 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})
  9510. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  9511. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  9512. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  9513. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  9514. end
  9515. for i = 1, 45 do
  9516. Swait()
  9517. RAY.Transparency = RAY.Transparency + 1/45
  9518. SPHERE.Transparency = RAY.Transparency
  9519. SHIELD.Transparency = SPHERE.Transparency + 1/45
  9520. end
  9521. RAY:remove()
  9522. SHIELD:remove()
  9523. SPHERE:remove()
  9524. end))
  9525. ATTACK = false
  9526. Rooted = false
  9527. end
  9528.  
  9529.  
  9530.  
  9531. function lightning()
  9532. ATTACK = true
  9533. Rooted = true
  9534. local SPOTS = {}
  9535. local BULLETS = 0
  9536. repeat
  9537. BULLETS = BULLETS + 1
  9538. for i = 1, 15 do
  9539. Swait()
  9540. 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)
  9541. 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)
  9542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  9543. 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)
  9544. end
  9545. until KEYHOLD == false
  9546. for i = 1, BULLETS do
  9547. for i=0, 0.5, 0.1 / Animation_Speed do
  9548. Swait()
  9549. 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)
  9550. 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)
  9551. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9552. 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)
  9553. end
  9554. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  9555. table.insert(SPOTS,HITPOS)
  9556.  
  9557. for i=0, 0.35, 0.1 / Animation_Speed do
  9558. Swait()
  9559.  
  9560. 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)
  9561. 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)
  9562. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9563. 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)
  9564. end
  9565. end
  9566. coroutine.resume(coroutine.create(function()
  9567. for i = 1, #SPOTS do
  9568. wait(0.1)
  9569. coroutine.resume(coroutine.create(function()
  9570. local SPOT = SPOTS[i]
  9571. 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})
  9572. local POSITION = BOLT.Pos
  9573. ApplyAoE2(POSITION,75/2,0,0,350,true)
  9574. 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})
  9575. 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})
  9576. 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})
  9577. end))
  9578. end
  9579. end))
  9580. ATTACK = false
  9581. Rooted = false
  9582. end
  9583.  
  9584. function Shot()
  9585. ATTACK = true
  9586. Rooted = false
  9587. Weapon.Parent = Character
  9588. 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})
  9589. for i=0, 0.4, 0.1 / Animation_Speed do
  9590. Swait()
  9591. turnto(Mouse.Hit.p)
  9592. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  9593. 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)
  9594. 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)
  9595. 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)
  9596. 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)
  9597. 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)
  9598. end
  9599. repeat
  9600. for i=0, 0.2, 0.1 / Animation_Speed do
  9601. Swait()
  9602. turnto(Mouse.Hit.p)
  9603. 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)
  9604. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  9605. 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)
  9606. 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)
  9607. 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)
  9608. end
  9609. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  9610. SpawnTrail(Hole.Position,POS)
  9611. if HIT ~= nil then
  9612. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  9613. Banish(HIT.Parent)
  9614. end
  9615. end
  9616. 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})
  9617. 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})
  9618. 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})
  9619. 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})
  9620. for i=0, 0.3, 0.1 / Animation_Speed do
  9621. Swait()
  9622. 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)
  9623. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  9624. 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)
  9625. 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)
  9626. 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)
  9627. end
  9628. until KEYHOLD == false
  9629. Weapon.Parent = Character
  9630. 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})
  9631. 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})
  9632. ATTACK = false
  9633. Rooted = false
  9634. end
  9635.  
  9636. function Lunar_Blast()
  9637. local HITBODIES = {}
  9638. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
  9639. 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)
  9640. CENTER.CFrame = CF(ECH)
  9641. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
  9642. RAY.Color = C3(0.05,0.05,0.15)
  9643. MakeForm(RAY,"Cyl")
  9644. RAY.CFrame = CF(ECH)
  9645. for i = 1, 75 do
  9646. Swait()
  9647. RAY.Transparency = RAY.Transparency - 1/75
  9648. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  9649. 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))
  9650. end
  9651. killnearest(ECH,25,25)
  9652. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  9653. for i = 1, 25 do
  9654. 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))
  9655. end
  9656. CreateSound("168586621", CENTER, 10, 0.8)
  9657. RAY:remove()
  9658. Debris:AddItem(CENTER,5)
  9659. end
  9660.  
  9661. function shakes(power,length)
  9662. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  9663. local var = script.Shaker:Clone()
  9664. var.Parent = v.PlayerGui
  9665. local pw = var.Shakeval
  9666. local lgth = var.MultLength
  9667. pw.Value = power
  9668. lgth.Value = length
  9669. var.Disabled = false
  9670. end
  9671. end
  9672.  
  9673. function SuperStomp()
  9674. ATTACK = true
  9675. Rooted = true
  9676. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  9677. coroutine.resume(coroutine.create(function()
  9678. Swait(65)
  9679. shakes(1,1)
  9680. CreateSound(262562442,RightLeg,60,1,false)
  9681. CreateFlyingDebree(HITFLOOR,CF(HITPOS),10,VT(5,5,5),4,125)
  9682. 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})
  9683. 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})
  9684. ApplyAoE(HITPOS,35,35,50,75,false)
  9685. end))
  9686. CreateSound(163619849,RightLeg,10,1,false)
  9687. for i=0, 2, 0.1 / Animation_Speed do
  9688. 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})
  9689. Swait()
  9690. 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)
  9691. 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)
  9692. 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)
  9693. 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)
  9694. 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)
  9695. 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)
  9696. end
  9697. for i=0, 1, 0.1 / Animation_Speed do
  9698. Swait()
  9699. 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)
  9700. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  9701. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(105), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9702. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.2*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-105), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9703. 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)
  9704. 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)
  9705. end
  9706. ATTACK = false
  9707. Rooted = false
  9708. end
  9709.  
  9710.  
  9711. function Bullet_Rain()
  9712. ATTACK = true
  9713. Rooted = true
  9714. Weapon.Parent = Character
  9715. 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})
  9716. for i=0, 0.6, 0.1 / Animation_Speed do
  9717. Swait()
  9718. 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)
  9719. 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)
  9720. 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)
  9721. 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)
  9722. 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)
  9723. end
  9724. local DONE = false
  9725. local GATE = nil
  9726. local GATESPIN = true
  9727. coroutine.resume(coroutine.create(function()
  9728. repeat
  9729. Swait()
  9730. if GATE ~= nil then
  9731. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  9732. end
  9733. until GATESPIN == false
  9734. end))
  9735. coroutine.resume(coroutine.create(function()
  9736. repeat
  9737. Swait()
  9738. 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)
  9739. 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)
  9740. 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)
  9741. 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)
  9742. 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)
  9743. until DONE == true
  9744. Swait(10)
  9745. for i = 1, 75 do
  9746. Swait(1.5)
  9747. local FIRED = false
  9748. local CHILDREN = workspace:GetDescendants()
  9749. for index, CHILD in pairs(CHILDREN) do
  9750. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9751. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9752. if HUM then
  9753. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9754. if TORSO then
  9755. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  9756. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  9757. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  9758. 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})
  9759. 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})
  9760. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9761. ApplyAoE(CFRAME.p,3,0.25,1,2,false)
  9762. FIRED = true
  9763. break
  9764. end
  9765. end
  9766. end
  9767. end
  9768. end
  9769. if FIRED == false then
  9770. 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)))
  9771. 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})
  9772. 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})
  9773. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  9774. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  9775. if HITBOD ~= nil then
  9776. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  9777. ApplyAoE(HITBOD,3,0.25,1,0,false)
  9778. end
  9779. end
  9780. end
  9781. end
  9782. for i = 1, 45 do
  9783. Swait()
  9784. GATE.Size = GATE.Size - VT(3,0,3)
  9785. end
  9786. GATESPIN = false
  9787. GATE:remove()
  9788. end))
  9789. Swait(5)
  9790. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p, (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 15, Character)
  9791. GATE = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Gate", VT(0,0,0))
  9792. local DECAL = IT("Decal",GATE)
  9793. DECAL.Texture = "http://www.roblox.com/asset/?id=0"
  9794. DECAL.Face = "Top"
  9795. GATE.CFrame = CF(HITPOS)
  9796. CreateSound(160772554, GATE, 7, 1.3, false)
  9797. for i = 1, 45 do
  9798. Swait()
  9799. GATE.Size = GATE.Size + VT(3,0,3)
  9800. end
  9801. CreateSound(145080998, Hole, 7, 1, false)
  9802. 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})
  9803. 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})
  9804. 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})
  9805. ATTACK = false
  9806. Rooted = false
  9807. DONE = true
  9808. end
  9809.  
  9810.  
  9811. function Needle()
  9812. ATTACK = true
  9813. Rooted = true
  9814. local GYRO = IT("BodyGyro",RootPart)
  9815. GYRO.D = 2
  9816. GYRO.P = 2000
  9817. GYRO.MaxTorque = VT(0,4000000,0)
  9818. local NEEDGYRO = true
  9819. coroutine.resume(coroutine.create(function()
  9820. repeat
  9821. Swait()
  9822. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  9823. until NEEDGYRO == false
  9824. GYRO:Remove()
  9825. end))
  9826. for i=0, 0.3, 0.1 / Animation_Speed do
  9827. Swait()
  9828. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9832. 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)
  9833. 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)
  9834. end
  9835. for i=0, 1, 0.1 / Animation_Speed do
  9836. Swait()
  9837. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9838. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9839. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9841. 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)
  9842. 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)
  9843. end
  9844. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  9845. 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})
  9846. NEEDGYRO = false
  9847. if HIT then
  9848. local NEEDLE = IT("Model",Effects)
  9849. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  9850. MakeForm(BASE,"Cyl")
  9851. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  9852. weldBetween(BASE,HIT)
  9853. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  9854. MakeForm(FLUID,"Cyl")
  9855. FLUID.CFrame = BASE.CFrame
  9856. weldBetween(BASE,FLUID)
  9857. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  9858. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  9859. weldBetween(BASE,PART)
  9860. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  9861. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  9862. weldBetween(BASE,PART)
  9863. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  9864. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  9865. weldBetween(BASE,PART)
  9866. Debris:AddItem(NEEDLE,7)
  9867. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  9868. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  9869. coroutine.resume(coroutine.create(function()
  9870. for i = 1, 500 do
  9871. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  9872. if HUMAN.Health == 0 then
  9873. break
  9874. end
  9875. Swait(2)
  9876. end
  9877. if HUMAN.Health == 0 then
  9878. local CHILD = HUMAN.Parent
  9879. if CHILD:FindFirstChild("Torso") then
  9880. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  9881. Ragdoll(CHILD,Torso,true)
  9882. elseif CHILD:FindFirstChild("UpperTorso") then
  9883. R15Ragdoll(CHILD,true)
  9884. end
  9885. end
  9886. end))
  9887. end
  9888. end
  9889. for i=0, 1, 0.1 / Animation_Speed do
  9890. Swait()
  9891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  9893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9895. 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)
  9896. 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)
  9897. end
  9898. ATTACK = false
  9899. Rooted = false
  9900. end
  9901.  
  9902. function Buzzsaw()
  9903. ATTACK = true
  9904. Rooted = false
  9905. local ARMSPEED = 0.1
  9906. local TARGET = nil
  9907. local ROOT = nil
  9908. local HUMAN = nil
  9909. local DIST = 4
  9910. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  9911. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  9912. local BLADE = true
  9913. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  9914. coroutine.resume(coroutine.create(function()
  9915. repeat
  9916. Swait()
  9917. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  9918. until BLADE == false
  9919. SAWBLADE:remove()
  9920. end))
  9921. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  9922. for i=0, 1, 0.1 / Animation_Speed do
  9923. Swait()
  9924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  9927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9928. 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)
  9929. 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)
  9930. end
  9931. for i=0, 2, 0.1 / Animation_Speed do
  9932. Swait()
  9933. local CHILDREN = workspace:GetDescendants()
  9934. for index, CHILD in pairs(CHILDREN) do
  9935. if CHILD.ClassName == "Model" and CHILD ~= Character then
  9936. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  9937. if HUM then
  9938. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9939. if TORSO and HUM.Health > 0 then
  9940. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  9941. DIST = (TORSO.Position - RightArm.Position).Magnitude
  9942. ROOT = TORSO
  9943. HUMAN = HUM
  9944. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  9945. end
  9946. end
  9947. end
  9948. end
  9949. end
  9950. if ROOT then
  9951. break
  9952. end
  9953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9955. 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)
  9956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9957. 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)
  9958. 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)
  9959. end
  9960. if ROOT then
  9961. ARMSPEED = 0.03
  9962. Rooted = true
  9963. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  9964. repeat
  9965. HUMAN.Health = HUMAN.Health - 0.5
  9966. Swait()
  9967. ROOT.Anchored = true
  9968. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  9969. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  9970. 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)
  9971. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  9972. 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)
  9973. 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)
  9974. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  9975. ROOT.Anchored = false
  9976. if HUMAN.Health == 0 then
  9977. if ROOT.Name ~= "Torso" then
  9978. ROOT:remove()
  9979. end
  9980. if TARGET.Name == "Torso" then
  9981. Ragdoll(HUMAN.Parent,Torso,true)
  9982. elseif TARGET.Name == "UpperTorso" then
  9983. R15Ragdoll(HUMAN.Parent,true)
  9984. end
  9985. end
  9986. end
  9987. BLADE = false
  9988. ATTACK = false
  9989. Rooted = false
  9990. end
  9991.  
  9992. --//=================================\\
  9993. --|| ASSIGN THINGS TO KEYS
  9994. --\\=================================//
  9995.  
  9996. function MouseDown(Mouse)
  9997. if ATTACK == false then
  9998. Execute()
  9999. end
  10000. end
  10001.  
  10002.  
  10003. function KeyDown(Key)
  10004. KEYHOLD = true
  10005. if Key == "z" and ATTACK == false then
  10006. Banisher_Bullet()
  10007. end
  10008.  
  10009. if Key == "q" and ATTACK == false then
  10010. VoidChain()
  10011. end
  10012.  
  10013. if Key == "v" and ATTACK == false then
  10014. lightning()
  10015. end
  10016.  
  10017. if Key == "b" and ATTACK == false then
  10018. yeetus()
  10019. end
  10020.  
  10021. if Key == "one" and ATTACK == false then
  10022. Prison_Key()
  10023. end
  10024.  
  10025. if Key == "two" and ATTACK == false then
  10026. Final_Limit()
  10027. end
  10028.  
  10029. if Key == "three" and ATTACK == false then
  10030. Eon_Fire()
  10031. end
  10032.  
  10033. if Key == "four" and ATTACK == false then
  10034. UEon_Fire()
  10035. end
  10036.  
  10037. if Key == "seven" and ATTACK == false then
  10038. VoidWarp()
  10039. end
  10040.  
  10041. if Key == "eight" and ATTACK == false then
  10042. VortexLeash()
  10043. end
  10044.  
  10045. if Key == "nine" and ATTACK == false then
  10046. VortexBarrier()
  10047. end
  10048.  
  10049. if Key == "five" and ATTACK == false then
  10050. SuperStomp()
  10051. end
  10052.  
  10053. if Key == "six" and ATTACK == false then
  10054. Meteor_Shower()
  10055. end
  10056.  
  10057.  
  10058. if Key == "k" and ATTACK == false then
  10059. Eliminate()
  10060. end
  10061.  
  10062. if Key == "c" and ATTACK == false then
  10063. RedStar()
  10064. end
  10065.  
  10066. if Key == "l" and ATTACK == false then
  10067. PandorasBox()
  10068. end
  10069.  
  10070. if Key == "t" and ATTACK == false then
  10071. Taunt2()
  10072. end
  10073.  
  10074. if Key == "e" and ATTACK == false then
  10075. Lunar_Blast()
  10076. end
  10077.  
  10078. if Key == "f" and ATTACK == false then
  10079. Bullet_Rain()
  10080. end
  10081.  
  10082. if Key == "h" and ATTACK == false then
  10083. WarpMeteor()
  10084. end
  10085.  
  10086. if Key == "n" and ATTACK == false then
  10087. Buzzsaw()
  10088. end
  10089.  
  10090.  
  10091. if Key == "j" and ATTACK == false then
  10092. Nuke()
  10093. end
  10094.  
  10095. if Key == "y" and ATTACK == false then
  10096. Needle()
  10097. end
  10098.  
  10099. if Key == "r" and ATTACK == false then
  10100. TimesUp()
  10101. end
  10102.  
  10103. if Key == "u" and ATTACK == false then
  10104. Shot()
  10105. end
  10106.  
  10107. if Key == "x" and ATTACK == false then
  10108. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  10109. TOBANISH = {}
  10110. end
  10111.  
  10112. if Key == "p" and ATTACK == false then
  10113. TakeOnMe()
  10114. end
  10115.  
  10116. if Key == "g" and ATTACK == false then
  10117. Deathzone()
  10118. end
  10119. end
  10120.  
  10121. function KeyUp(Key)
  10122. KEYHOLD = false
  10123. end
  10124.  
  10125. Mouse.Button1Down:connect(function(NEWKEY)
  10126. MouseDown(NEWKEY)
  10127. end)
  10128. Mouse.Button1Up:connect(function(NEWKEY)
  10129. MouseUp(NEWKEY)
  10130. end)
  10131. Mouse.KeyDown:connect(function(NEWKEY)
  10132. KeyDown(NEWKEY)
  10133. end)
  10134. Mouse.KeyUp:connect(function(NEWKEY)
  10135. KeyUp(NEWKEY)
  10136. end)
  10137. --//=================================\\
  10138. --\\=================================//
  10139.  
  10140.  
  10141. function unanchor()
  10142. if UNANCHOR == true then
  10143. g = Character:GetChildren()
  10144. for i = 1, #g do
  10145. if g[i].ClassName == "Part" then
  10146. g[i].Anchored = false
  10147. end
  10148. end
  10149. end
  10150. end
  10151.  
  10152. --//=================================\\
  10153. --|| SOME TAG EDIT
  10154. --\\=================================//
  10155.  
  10156. m = game.Players.janndwayne
  10157. char = m.Character
  10158. local txt = Instance.new("BillboardGui", char)
  10159. txt.Adornee = char.Head
  10160. txt.Name = "_status"
  10161. txt.Size = UDim2.new(2, 0, 1.2, 0)
  10162. txt.StudsOffset = Vector3.new(-9, 8, 0)
  10163. local text = Instance.new("TextLabel", txt)
  10164. text.Size = UDim2.new(10, 0, 7, 0)
  10165. text.FontSize = "Size24"
  10166. text.TextScaled = true
  10167. text.TextTransparency = 0
  10168. text.BackgroundTransparency = 1
  10169. text.TextTransparency = 0
  10170. text.TextStrokeTransparency = 0
  10171. text.Font = "Antique"
  10172. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  10173. v = Instance.new("Part")
  10174. v.Name = "ColorBrick"
  10175. v.Parent = m.Character
  10176. v.FormFactor = "Symmetric"
  10177. v.Anchored = true
  10178. v.CanCollide = false
  10179. v.BottomSurface = "Smooth"
  10180. v.TopSurface = "Smooth"
  10181. v.Size = Vector3.new(10, 5, 3)
  10182. v.Transparency = 1
  10183. v.CFrame = char.Torso.CFrame
  10184. v.BrickColor = BrickColor.new("Really black")
  10185. v.Transparency = 1
  10186. v.Shape = "Block"
  10187. spawn(function()
  10188. local TweenService = game:GetService("TweenService")
  10189. 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)}
  10190. local Int = 0
  10191. while wait(0.5) do
  10192. if Int == #Colours then Int = 0 end
  10193. Int = Int+1
  10194. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  10195. end
  10196. end)
  10197. text.Text = "Sirius Deo"
  10198.  
  10199. --//=================================\\
  10200. --|| WRAP THE WHOLE SCRIPT UP
  10201. --\\=================================//
  10202.  
  10203.  
  10204. Humanoid.Changed:connect(function(Jump)
  10205. if Jump == "Jump" and (Disable_Jump == true) then
  10206. Humanoid.Jump = false
  10207. end
  10208. end)
  10209.  
  10210. local CONNECT = nil
  10211.  
  10212.  
  10213. while true do
  10214. Swait()
  10215. ANIMATE.Parent = nil
  10216. if Character:FindFirstChildOfClass("Humanoid") == nil then
  10217. Humanoid = IT("Humanoid",Character)
  10218. end
  10219. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  10220. v:Stop();
  10221. end
  10222. SINE = SINE + CHANGE
  10223. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  10224. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  10225. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  10226. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  10227.  
  10228. if ANIM == "Walk" and TORSOVELOCITY > 3 then
  10229. 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)
  10230. 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)
  10231. 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)
  10232. 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)
  10233. 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)
  10234. 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)
  10235. end
  10236. if TORSOVERTICALVELOCITY > 3 and HITFLOOR == nil then
  10237. ANIM = "Jump"
  10238. if ATTACK == false then
  10239. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  10240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  10241. 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)
  10242. 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)
  10243. 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)
  10244. 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)
  10245. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10246. 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)
  10247. 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)
  10248. 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)
  10249. end
  10250. elseif TORSOVERTICALVELOCITY < -3 and HITFLOOR == nil then
  10251. ANIM = "Fall"
  10252. if ATTACK == false then
  10253. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  10255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  10256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  10257. 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)
  10258. 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)
  10259. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10260. 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)
  10261. 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)
  10262. 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)
  10263. end
  10264. elseif TORSOVELOCITY < 3 and HITFLOOR ~= nil then
  10265. ANIM = "Idle"
  10266. if ATTACK == false then
  10267. 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)
  10268. 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)
  10269. 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)
  10270. 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)
  10271. 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)
  10272. 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)
  10273. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10274. 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)
  10275. 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)
  10276. 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)
  10277. end
  10278. elseif TORSOVELOCITY > 3 and HITFLOOR ~= nil then
  10279. ANIM = "Walk"
  10280. if ATTACK == false then
  10281. 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)
  10282. 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)
  10283. 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)
  10284. 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)
  10285. 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)
  10286. 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)
  10287. handleweld.C1 = clerp(handleweld.C1, CFrame.new(0, -1.5, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  10288. 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)
  10289. 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)
  10290. 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)
  10291. end
  10292. end
  10293. unanchor()
  10294. Humanoid.MaxHealth = "inf"
  10295. Humanoid.Health = "inf"
  10296. if Rooted == false then
  10297. Disable_Jump = false
  10298. Humanoid.WalkSpeed = Speed
  10299. elseif Rooted == true then
  10300. Disable_Jump = true
  10301. Humanoid.WalkSpeed = 0
  10302. end
  10303. for _, c in pairs(Character:GetDescendants()) do
  10304. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  10305. if c:FindFirstChildOfClass("SpecialMesh") then
  10306. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  10307. end
  10308.  
  10309.  
  10310. elseif c.ClassName == "Part" and c.Name == "Eye" then
  10311. c.Color = Color3.fromRGB(cR,cG,cB)
  10312. c.Material = "Neon"
  10313. end
  10314.  
  10315. if c == Head then
  10316. if c:FindFirstChild("face") then
  10317. c.face:remove()
  10318. end
  10319. end
  10320. end
  10321. sick.Parent = Torso
  10322. sick:resume()
  10323. sick.Volume = 5
  10324. sick.Pitch = 1
  10325. sick.SoundId = "rbxassetid://0"
  10326. sick.Name = "BanishV3Music"
  10327. end
  10328.  
  10329. --//=================================\\
  10330. --\\=================================//
  10331.  
  10332.  
  10333.  
  10334.  
  10335.  
  10336. --//====================================================\\--
  10337. --|| END OF SCRIPT
  10338. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement