Advertisement
5sdfsadgaq5465

mod switcher v1

May 17th, 2019
1,388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. Player = game:GetService("Players").LocalPlayer
  145. PlayerGui = Player.PlayerGui
  146. Cam = workspace.CurrentCamera
  147. Backpack = Player.Backpack
  148. Character = Player.Character
  149. Humanoid = Character.Humanoid
  150. Mouse = Player:GetMouse()
  151. RootPart = Character["HumanoidRootPart"]
  152. Torso = Character["Torso"]
  153. Head = Character["Head"]
  154. RightArm = Character["Right Arm"]
  155. LeftArm = Character["Left Arm"]
  156. RightLeg = Character["Right Leg"]
  157. LeftLeg = Character["Left Leg"]
  158. RootJoint = RootPart["RootJoint"]
  159. Neck = Torso["Neck"]
  160. RightShoulder = Torso["Right Shoulder"]
  161. LeftShoulder = Torso["Left Shoulder"]
  162. RightHip = Torso["Right Hip"]
  163. LeftHip = Torso["Left Hip"]
  164. local TIME = 0
  165. local sick = Instance.new("Sound",Torso)
  166. sick.Parent = Torso
  167. sick.Playing = true
  168. sick.Looped = true
  169. sick.Volume = 5
  170. sick.Pitch = 1
  171. sick.TimePosition = 0
  172. sick.SoundId = "rbxassetid://969583926"
  173.  
  174. IT = Instance.new
  175. CF = CFrame.new
  176. VT = Vector3.new
  177. RAD = math.rad
  178. C3 = Color3.new
  179. UD2 = UDim2.new
  180. BRICKC = BrickColor.new
  181. ANGLES = CFrame.Angles
  182. EULER = CFrame.fromEulerAnglesXYZ
  183. COS = math.cos
  184. ACOS = math.acos
  185. SIN = math.sin
  186. ASIN = math.asin
  187. ABS = math.abs
  188. MRANDOM = math.random
  189. FLOOR = math.floor
  190.  
  191. --//=================================\\
  192. --|| USEFUL VALUES
  193. --\\=================================//
  194.  
  195. Animation_Speed = 3
  196. local FORCERESET = false
  197. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  198. local SIZE = 1
  199. local Speed = 16
  200. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  201. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  202. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  203. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  204. local DAMAGEMULTIPLIER = 1
  205. local ANIM = "Idle"
  206. local ATTACK = false
  207. local EQUIPPED = false
  208. local HOLD = false
  209. local COMBO = 1
  210. local Rooted = false
  211. local SINE = 0
  212. local KEYHOLD = false
  213. local CHANGE = 2 / Animation_Speed
  214. local WALKINGANIM = false
  215. local VALUE1 = false
  216. local VALUE2 = false
  217. local ROBLOXIDLEANIMATION = IT("Animation")
  218. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  219. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  220. --ROBLOXIDLEANIMATION.Parent = Humanoid
  221. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  222. WEAPONGUI.Name = "BanishV3Gui"
  223. local Weapon = IT("Folder", Character)
  224. Weapon.Name = "Weapon"
  225. local Weapon2 = IT("Folder", Character)
  226. Weapon2.Name = "Weapon2"
  227. local DeadEye = IT("Folder", Character)
  228. DeadEye.Name = "DeadEye"
  229. local HM = IT("Folder", Character)
  230. HM.Name = "HM"
  231. local Pan = IT("Folder", Character)
  232. Pan.Name = "Pan"
  233. local Pan2 = IT("Folder", Character)
  234. Pan2.Name = "Pan2"
  235. local FaceGradient = IT("Folder", Character)
  236. FaceGradient.Name = "FaceGradient"
  237. local black = IT("Folder", Character)
  238. black.Name = "black"
  239. local Heads = IT("Folder", Character)
  240. Heads.Name = "Heads"
  241. local Effects = IT("Folder", Character)
  242. Effects.Name = "Effects"
  243. local ANIMATOR = Humanoid.Animator
  244. local ANIMATE = Character:FindFirstChild("Animate")
  245. local UNANCHOR = true
  246. local CLOCKLOOP = 0
  247. local CLOCKTARGET = nil
  248. local CLOCKSPEED = 0
  249. script.Parent = WEAPONGUI
  250. local HITFLOOR = nil
  251. local INTRO = false
  252. local INSTANT = false
  253. local LEFTWINGS = {}
  254. local RIGHTWINGS = {}
  255. local BODY = {}
  256. local TOBANISH = {}
  257. script.Parent = PlayerGui
  258. local MODE = "GoodCop"
  259.  
  260. --//=================================\\
  261. --\\=================================//
  262.  
  263. local plr = Player
  264. local char = plr.Character
  265. local hum = char.Humanoid
  266.  
  267. -------------------------------------------------------
  268. --Start Good Stuff--
  269. -------------------------------------------------------
  270. cam = game.Workspace.CurrentCamera
  271. CF = CFrame.new
  272. angles = CFrame.Angles
  273. attack = false
  274. Euler = CFrame.fromEulerAnglesXYZ
  275. Rad = math.rad
  276. IT = Instance.new
  277. BrickC = BrickColor.new
  278. Cos = math.cos
  279. Acos = math.acos
  280. Sin = math.sin
  281. Asin = math.asin
  282. Abs = math.abs
  283. Mrandom = math.random
  284. Floor = math.floor
  285.  
  286. --//=================================\\
  287. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  288. --\\=================================//
  289.  
  290. ArtificialHB = Instance.new("BindableEvent", script)
  291. ArtificialHB.Name = "ArtificialHB"
  292.  
  293. script:WaitForChild("ArtificialHB")
  294.  
  295. frame = Frame_Speed
  296. tf = 0
  297. allowframeloss = false
  298. tossremainder = false
  299. lastframe = tick()
  300. script.ArtificialHB:Fire()
  301.  
  302. game:GetService("RunService").Heartbeat:connect(function(s, p)
  303. tf = tf + s
  304. if tf >= frame then
  305. if allowframeloss then
  306. script.ArtificialHB:Fire()
  307. lastframe = tick()
  308. else
  309. for i = 1, math.floor(tf / frame) do
  310. script.ArtificialHB:Fire()
  311. end
  312. lastframe = tick()
  313. end
  314. if tossremainder then
  315. tf = 0
  316. else
  317. tf = tf - frame * math.floor(tf / frame)
  318. end
  319. end
  320. end)
  321.  
  322. --//=================================\\
  323. --\\=================================//
  324.  
  325. --//=================================\\
  326. --|| CUSTOMIZATION
  327. --\\=================================//
  328.  
  329. local function weldBetween(a, b)
  330. local weldd = Instance.new("ManualWeld")
  331. weldd.Part0 = a
  332. weldd.Part1 = b
  333. weldd.C0 = CFrame.new()
  334. weldd.C1 = b.CFrame:inverse() * a.CFrame
  335. weldd.Parent = a
  336. return weldd
  337. end
  338.  
  339. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  340. local acs = Instance.new("Part")
  341. acs.CanCollide = false
  342. acs.Anchored = false
  343. acs.Size = Vector3.new(0,0,0)
  344. acs.CFrame = attachmentpart.CFrame
  345. acs.Parent = Character
  346. acs.BrickColor = color
  347. local meshs = Instance.new("SpecialMesh")
  348. meshs.MeshId = mesh
  349. meshs.TextureId = texture
  350. meshs.Parent = acs
  351. meshs.Scale = scale
  352. meshs.Offset = offset
  353. weldBetween(attachmentpart,acs)
  354. end
  355.  
  356. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  357. if TYPE == "Gem" then
  358. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  359. acs.Anchored = false
  360. acs.CanCollide = false
  361. acs.CFrame = PART.CFrame
  362. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  363. weldBetween(PART,acs)
  364. elseif TYPE == "Skull" then
  365. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  366. acs.Anchored = false
  367. acs.CanCollide = false
  368. acs.CFrame = PART.CFrame
  369. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  370. weldBetween(PART,acs)
  371. elseif TYPE == "Eye" then
  372. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  373. acs.Anchored = false
  374. acs.CanCollide = false
  375. acs.CFrame = PART.CFrame
  376. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  377. weldBetween(PART,acs)
  378. end
  379. end
  380.  
  381.  
  382. Class_Name = "Sin Unleashed"
  383. Weapon_Name = "Add-ons"
  384.  
  385. Custom_Colors = {
  386. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  387. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  388.  
  389. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  390. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  391. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  392. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  393. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  394.  
  395. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  396. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  397. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  398. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  399. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  400. }
  401.  
  402.  
  403. Player_Size = 1 --Size of the player.
  404. Animation_Speed = 2
  405. Animation_Speed2 = 1
  406. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  407.  
  408. local Speed = 28
  409. Humanoid.JumpPower = 80
  410. local Effects2 = {}
  411.  
  412. --//=================================\\
  413. --|| END OF CUSTOMIZATION
  414. --\\=================================//
  415.  
  416. --//=================================\\
  417. --|| SOME FUNCTIONS
  418. --\\=================================//
  419.  
  420. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  421. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  422. end
  423.  
  424. function PositiveAngle(NUMBER)
  425. if NUMBER >= 0 then
  426. NUMBER = 0
  427. end
  428. return NUMBER
  429. end
  430.  
  431. function NegativeAngle(NUMBER)
  432. if NUMBER <= 0 then
  433. NUMBER = 0
  434. end
  435. return NUMBER
  436. end
  437.  
  438. function Swait(NUMBER)
  439. if NUMBER == 0 or NUMBER == nil then
  440. ArtificialHB.Event:wait()
  441. else
  442. for i = 1, NUMBER do
  443. ArtificialHB.Event:wait()
  444. end
  445. end
  446. end
  447.  
  448. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  449. local NEWMESH = IT(MESH)
  450. if MESH == "SpecialMesh" then
  451. NEWMESH.MeshType = MESHTYPE
  452. if MESHID ~= "nil" and MESHID ~= "" then
  453. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  454. end
  455. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  456. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  457. end
  458. end
  459. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  460. NEWMESH.Scale = SCALE
  461. NEWMESH.Parent = PARENT
  462. return NEWMESH
  463. end
  464.  
  465. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  466. local NEWPART = IT("Part")
  467. NEWPART.formFactor = FORMFACTOR
  468. NEWPART.Reflectance = REFLECTANCE
  469. NEWPART.Transparency = TRANSPARENCY
  470. NEWPART.CanCollide = false
  471. NEWPART.Locked = true
  472. NEWPART.Anchored = true
  473. if ANCHOR == false then
  474. NEWPART.Anchored = false
  475. end
  476. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  477. NEWPART.Name = NAME
  478. NEWPART.Size = SIZE
  479. NEWPART.Position = Torso.Position
  480. NEWPART.Material = MATERIAL
  481. NEWPART:BreakJoints()
  482. NEWPART.Parent = PARENT
  483. return NEWPART
  484. end
  485.  
  486. local function weldBetween(a, b)
  487. local weldd = Instance.new("ManualWeld")
  488. weldd.Part0 = a
  489. weldd.Part1 = b
  490. weldd.C0 = CFrame.new()
  491. weldd.C1 = b.CFrame:inverse() * a.CFrame
  492. weldd.Parent = a
  493. return weldd
  494. end
  495.  
  496.  
  497. function QuaternionFromCFrame(cf)
  498. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  499. local trace = m00 + m11 + m22
  500. if trace > 0 then
  501. local s = math.sqrt(1 + trace)
  502. local recip = 0.5 / s
  503. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  504. else
  505. local i = 0
  506. if m11 > m00 then
  507. i = 1
  508. end
  509. if m22 > (i == 0 and m00 or m11) then
  510. i = 2
  511. end
  512. if i == 0 then
  513. local s = math.sqrt(m00 - m11 - m22 + 1)
  514. local recip = 0.5 / s
  515. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  516. elseif i == 1 then
  517. local s = math.sqrt(m11 - m22 - m00 + 1)
  518. local recip = 0.5 / s
  519. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  520. elseif i == 2 then
  521. local s = math.sqrt(m22 - m00 - m11 + 1)
  522. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  523. end
  524. end
  525. end
  526.  
  527. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  528. local xs, ys, zs = x + x, y + y, z + z
  529. local wx, wy, wz = w * xs, w * ys, w * zs
  530. local xx = x * xs
  531. local xy = x * ys
  532. local xz = x * zs
  533. local yy = y * ys
  534. local yz = y * zs
  535. local zz = z * zs
  536. 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))
  537. end
  538.  
  539. function QuaternionSlerp(a, b, t)
  540. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  541. local startInterp, finishInterp;
  542. if cosTheta >= 0.0001 then
  543. if (1 - cosTheta) > 0.0001 then
  544. local theta = ACOS(cosTheta)
  545. local invSinTheta = 1 / SIN(theta)
  546. startInterp = SIN((1 - t) * theta) * invSinTheta
  547. finishInterp = SIN(t * theta) * invSinTheta
  548. else
  549. startInterp = 1 - t
  550. finishInterp = t
  551. end
  552. else
  553. if (1 + cosTheta) > 0.0001 then
  554. local theta = ACOS(-cosTheta)
  555. local invSinTheta = 1 / SIN(theta)
  556. startInterp = SIN((t - 1) * theta) * invSinTheta
  557. finishInterp = SIN(t * theta) * invSinTheta
  558. else
  559. startInterp = t - 1
  560. finishInterp = t
  561. end
  562. end
  563. 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
  564. end
  565.  
  566. function Clerp(a, b, t)
  567. local qa = {QuaternionFromCFrame(a)}
  568. local qb = {QuaternionFromCFrame(b)}
  569. local ax, ay, az = a.x, a.y, a.z
  570. local bx, by, bz = b.x, b.y, b.z
  571. local _t = 1 - t
  572. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  573. end
  574.  
  575. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  576. local frame = IT("Frame")
  577. frame.BackgroundTransparency = TRANSPARENCY
  578. frame.BorderSizePixel = BORDERSIZEPIXEL
  579. frame.Position = POSITION
  580. frame.Size = SIZE
  581. frame.BackgroundColor3 = COLOR
  582. frame.BorderColor3 = BORDERCOLOR
  583. frame.Name = NAME
  584. frame.Parent = PARENT
  585. return frame
  586. end
  587.  
  588. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  589. local label = IT("TextLabel")
  590. label.BackgroundTransparency = 1
  591. label.Size = UD2(1, 0, 1, 0)
  592. label.Position = UD2(0, 0, 0, 0)
  593. label.TextColor3 = TEXTCOLOR
  594. label.TextStrokeTransparency = STROKETRANSPARENCY
  595. label.TextTransparency = TRANSPARENCY
  596. label.FontSize = TEXTFONTSIZE
  597. label.Font = TEXTFONT
  598. label.BorderSizePixel = BORDERSIZEPIXEL
  599. label.TextScaled = false
  600. label.Text = TEXT
  601. label.Name = NAME
  602. label.Parent = PARENT
  603. return label
  604. end
  605.  
  606. function NoOutlines(PART)
  607. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  608. end
  609.  
  610. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  611. local NEWWELD = IT(TYPE)
  612. NEWWELD.Part0 = PART0
  613. NEWWELD.Part1 = PART1
  614. NEWWELD.C0 = C0
  615. NEWWELD.C1 = C1
  616. NEWWELD.Parent = PARENT
  617. return NEWWELD
  618. end
  619.  
  620. local S = IT("Sound")
  621. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  622. local NEWSOUND = nil
  623. coroutine.resume(coroutine.create(function()
  624. NEWSOUND = S:Clone()
  625. NEWSOUND.Parent = PARENT
  626. NEWSOUND.Volume = VOLUME
  627. NEWSOUND.Pitch = PITCH
  628. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  629. NEWSOUND:play()
  630. if DOESLOOP == true then
  631. NEWSOUND.Looped = true
  632. else
  633. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  634. NEWSOUND:remove()
  635. end
  636. end))
  637. return NEWSOUND
  638. end
  639.  
  640. function CFrameFromTopBack(at, top, back)
  641. local right = top:Cross(back)
  642. 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)
  643. end
  644.  
  645. --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})
  646. function WACKYEFFECT(Table)
  647. local TYPE = (Table.EffectType or "Sphere")
  648. local SIZE = (Table.Size or VT(1,1,1))
  649. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  650. local TRANSPARENCY = (Table.Transparency or 0)
  651. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  652. local CFRAME = (Table.CFrame or Torso.CFrame)
  653. local MOVEDIRECTION = (Table.MoveToPos or nil)
  654. local ROTATION1 = (Table.RotationX or 0)
  655. local ROTATION2 = (Table.RotationY or 0)
  656. local ROTATION3 = (Table.RotationZ or 0)
  657. local MATERIAL = (Table.Material or "Neon")
  658. local COLOR = (Table.Color or C3(1,1,1))
  659. local TIME = (Table.Time or 45)
  660. local SOUNDID = (Table.SoundID or nil)
  661. local SOUNDPITCH = (Table.SoundPitch or nil)
  662. local SOUNDVOLUME = (Table.SoundVolume or nil)
  663. coroutine.resume(coroutine.create(function()
  664. local PLAYSSOUND = false
  665. local SOUND = nil
  666. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  667. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  668. PLAYSSOUND = true
  669. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  670. end
  671. EFFECT.Color = COLOR
  672. local MSH = nil
  673. if TYPE == "Sphere" then
  674. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  675. elseif TYPE == "Block" then
  676. MSH = IT("BlockMesh",EFFECT)
  677. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  678. elseif TYPE == "Wave" then
  679. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  680. elseif TYPE == "Ring" then
  681. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  682. elseif TYPE == "Slash" then
  683. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  684. elseif TYPE == "Round Slash" then
  685. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  686. elseif TYPE == "Swirl" then
  687. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  688. elseif TYPE == "Skull" then
  689. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  690. elseif TYPE == "Crystal" then
  691. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  692. end
  693. if MSH ~= nil then
  694. local MOVESPEED = nil
  695. if MOVEDIRECTION ~= nil then
  696. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  697. end
  698. local GROWTH = SIZE - ENDSIZE
  699. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  700. if TYPE == "Block" then
  701. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  702. else
  703. EFFECT.CFrame = CFRAME
  704. end
  705. for LOOP = 1, TIME+1 do
  706. Swait()
  707. MSH.Scale = MSH.Scale - GROWTH/TIME
  708. if TYPE == "Wave" then
  709. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  710. end
  711. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  712. if TYPE == "Block" then
  713. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  714. else
  715. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  716. end
  717. if MOVEDIRECTION ~= nil then
  718. local ORI = EFFECT.Orientation
  719. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  720. EFFECT.Orientation = ORI
  721. end
  722. end
  723. if PLAYSSOUND == false then
  724. EFFECT:remove()
  725. else
  726. SOUND.Stopped:Connect(function()
  727. EFFECT:remove()
  728. end)
  729. end
  730. else
  731. if PLAYSSOUND == false then
  732. EFFECT:remove()
  733. else
  734. repeat Swait() until SOUND.Playing == false
  735. EFFECT:remove()
  736. end
  737. end
  738. end))
  739. end
  740. for _, c in pairs(Character:GetChildren()) do
  741. if c.ClassName == "Part" then
  742. table.insert(BODY,{c,Character})
  743. for _, q in pairs(c:GetChildren()) do
  744. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  745. table.insert(BODY,{q,c})
  746. end
  747. end
  748. end
  749. end
  750.  
  751. function refit()
  752. Character.Parent = workspace
  753. for e = 1, #BODY do
  754. if BODY[e] ~= nil then
  755. local STUFF = BODY[e]
  756. local PART = STUFF[1]
  757. local PARENT = STUFF[2]
  758. PART.Parent = PARENT
  759. end
  760. end
  761. end
  762.  
  763. function MakeForm(PART,TYPE)
  764. if TYPE == "Cyl" then
  765. local MSH = IT("CylinderMesh",PART)
  766. elseif TYPE == "Ball" then
  767. local MSH = IT("SpecialMesh",PART)
  768. MSH.MeshType = "Sphere"
  769. elseif TYPE == "Wedge" then
  770. local MSH = IT("SpecialMesh",PART)
  771. MSH.MeshType = "Wedge"
  772. end
  773. end
  774.  
  775. function SpawnTrail(FROM,TO,BIG)
  776. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  777. MakeForm(TRAIL,"Cyl")
  778. local DIST = (FROM - TO).Magnitude
  779. if BIG == true then
  780. TRAIL.Size = VT(0.5,DIST,0.5)
  781. else
  782. TRAIL.Size = VT(0.25,DIST,0.25)
  783. end
  784. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  785. coroutine.resume(coroutine.create(function()
  786. for i = 1, 5 do
  787. Swait()
  788. TRAIL.Transparency = TRAIL.Transparency + 0.1
  789. end
  790. TRAIL:remove()
  791. end))
  792. end
  793.  
  794. Debris = game:GetService("Debris")
  795.  
  796. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  797. local DIRECTION = CF(StartPos,EndPos).lookVector
  798. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  799. end
  800.  
  801. function turnto(position)
  802. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  803. end
  804. local asd = Instance.new("ParticleEmitter")
  805. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  806. asd.LightEmission = .1
  807. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  808. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  809. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  810. asd.Transparency = bbb
  811. asd.Size = aaa
  812. asd.ZOffset = .9
  813. asd.Acceleration = Vector3.new(0, -15, 0)
  814. asd.LockedToPart = false
  815. asd.EmissionDirection = "Back"
  816. asd.Lifetime = NumberRange.new(1, 2)
  817. asd.Rotation = NumberRange.new(-100, 100)
  818. asd.RotSpeed = NumberRange.new(-100, 100)
  819. asd.Speed = NumberRange.new(10)
  820. asd.Enabled = false
  821. asd.VelocitySpread = 999
  822.  
  823. function getbloody(victim,amount)
  824. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  825. PART.CFrame = victim.CFrame
  826. local HITPLAYERSOUNDS = {"356551938","264486467"}
  827. Debris:AddItem(PART,5)
  828. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  829. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  830. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  831. local prtcl = asd:Clone()
  832. prtcl.Parent = PART
  833. prtcl:Emit(amount*10)
  834. end
  835.  
  836. local Particle = IT("ParticleEmitter",nil)
  837. Particle.Enabled = false
  838. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  839. Particle.LightEmission = 0.5
  840. Particle.Rate = 150
  841. Particle.ZOffset = 1
  842. Particle.Rotation = NumberRange.new(-180, 180)
  843. Particle.RotSpeed = NumberRange.new(-180, 180)
  844. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  845. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0.4,0,0))
  846.  
  847. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  848. function ParticleEmitter(Table)
  849. local PRTCL = Particle:Clone()
  850. local Speed = Table.Speed or 5
  851. local Drag = Table.Drag or 0
  852. local Size1 = Table.Size1 or 1
  853. local Size2 = Table.Size2 or 5
  854. local Lifetime1 = Table.Lifetime1 or 1
  855. local Lifetime2 = Table.Lifetime2 or 1.5
  856. local Parent = Table.Parent or Torso
  857. local Emit = Table.Emit or 100
  858. local Offset = Table.Offset or 360
  859. local Acel = Table.Acel or VT(0,0,0)
  860. local Enabled = Table.Enabled or false
  861. PRTCL.Parent = Parent
  862. PRTCL.Size = NumberSequence.new(Size1,Size2)
  863. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  864. PRTCL.Speed = NumberRange.new(Speed)
  865. PRTCL.VelocitySpread = Offset
  866. PRTCL.Drag = Drag
  867. PRTCL.Acceleration = Acel
  868. if Enabled == false then
  869. PRTCL:Emit(Emit)
  870. Debris:AddItem(PRTCL,Lifetime2)
  871. else
  872. PRTCL.Enabled = true
  873. end
  874. return PRTCL
  875. end
  876.  
  877. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  878. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  879. end
  880.  
  881. function PositiveAngle(NUMBER)
  882. if NUMBER >= 0 then
  883. NUMBER = 0
  884. end
  885. return NUMBER
  886. end
  887.  
  888. function NegativeAngle(NUMBER)
  889. if NUMBER <= 0 then
  890. NUMBER = 0
  891. end
  892. return NUMBER
  893. end
  894.  
  895. function Swait(NUMBER)
  896. if NUMBER == 0 or NUMBER == nil then
  897. ArtificialHB.Event:wait()
  898. else
  899. for i = 1, NUMBER do
  900. ArtificialHB.Event:wait()
  901. end
  902. end
  903. end
  904.  
  905. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  906. local NEWMESH = IT(MESH)
  907. if MESH == "SpecialMesh" then
  908. NEWMESH.MeshType = MESHTYPE
  909. if MESHID ~= "nil" and MESHID ~= "" then
  910. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  911. end
  912. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  913. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  914. end
  915. end
  916. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  917. NEWMESH.Scale = SCALE
  918. NEWMESH.Parent = PARENT
  919. return NEWMESH
  920. end
  921.  
  922. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  923. local NEWPART = IT("Part")
  924. NEWPART.formFactor = FORMFACTOR
  925. NEWPART.Reflectance = REFLECTANCE
  926. NEWPART.Transparency = TRANSPARENCY
  927. NEWPART.CanCollide = false
  928. NEWPART.Locked = true
  929. NEWPART.Anchored = true
  930. if ANCHOR == false then
  931. NEWPART.Anchored = false
  932. end
  933. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  934. NEWPART.Name = NAME
  935. NEWPART.Size = SIZE
  936. NEWPART.Position = Torso.Position
  937. NEWPART.Material = MATERIAL
  938. NEWPART:BreakJoints()
  939. NEWPART.Parent = PARENT
  940. return NEWPART
  941. end
  942.  
  943. local function weldBetween(a, b)
  944. local weldd = Instance.new("ManualWeld")
  945. weldd.Part0 = a
  946. weldd.Part1 = b
  947. weldd.C0 = CFrame.new()
  948. weldd.C1 = b.CFrame:inverse() * a.CFrame
  949. weldd.Parent = a
  950. return weldd
  951. end
  952.  
  953.  
  954. function QuaternionFromCFrame(cf)
  955. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  956. local trace = m00 + m11 + m22
  957. if trace > 0 then
  958. local s = math.sqrt(1 + trace)
  959. local recip = 0.5 / s
  960. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  961. else
  962. local i = 0
  963. if m11 > m00 then
  964. i = 1
  965. end
  966. if m22 > (i == 0 and m00 or m11) then
  967. i = 2
  968. end
  969. if i == 0 then
  970. local s = math.sqrt(m00 - m11 - m22 + 1)
  971. local recip = 0.5 / s
  972. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  973. elseif i == 1 then
  974. local s = math.sqrt(m11 - m22 - m00 + 1)
  975. local recip = 0.5 / s
  976. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  977. elseif i == 2 then
  978. local s = math.sqrt(m22 - m00 - m11 + 1)
  979. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  980. end
  981. end
  982. end
  983.  
  984. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  985. local xs, ys, zs = x + x, y + y, z + z
  986. local wx, wy, wz = w * xs, w * ys, w * zs
  987. local xx = x * xs
  988. local xy = x * ys
  989. local xz = x * zs
  990. local yy = y * ys
  991. local yz = y * zs
  992. local zz = z * zs
  993. 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))
  994. end
  995.  
  996. function QuaternionSlerp(a, b, t)
  997. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  998. local startInterp, finishInterp;
  999. if cosTheta >= 0.0001 then
  1000. if (1 - cosTheta) > 0.0001 then
  1001. local theta = ACOS(cosTheta)
  1002. local invSinTheta = 1 / SIN(theta)
  1003. startInterp = SIN((1 - t) * theta) * invSinTheta
  1004. finishInterp = SIN(t * theta) * invSinTheta
  1005. else
  1006. startInterp = 1 - t
  1007. finishInterp = t
  1008. end
  1009. else
  1010. if (1 + cosTheta) > 0.0001 then
  1011. local theta = ACOS(-cosTheta)
  1012. local invSinTheta = 1 / SIN(theta)
  1013. startInterp = SIN((t - 1) * theta) * invSinTheta
  1014. finishInterp = SIN(t * theta) * invSinTheta
  1015. else
  1016. startInterp = t - 1
  1017. finishInterp = t
  1018. end
  1019. end
  1020. 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
  1021. end
  1022.  
  1023. function Clerp(a, b, t)
  1024. local qa = {QuaternionFromCFrame(a)}
  1025. local qb = {QuaternionFromCFrame(b)}
  1026. local ax, ay, az = a.x, a.y, a.z
  1027. local bx, by, bz = b.x, b.y, b.z
  1028. local _t = 1 - t
  1029. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1030. end
  1031.  
  1032. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1033. local frame = IT("Frame")
  1034. frame.BackgroundTransparency = TRANSPARENCY
  1035. frame.BorderSizePixel = BORDERSIZEPIXEL
  1036. frame.Position = POSITION
  1037. frame.Size = SIZE
  1038. frame.BackgroundColor3 = COLOR
  1039. frame.BorderColor3 = BORDERCOLOR
  1040. frame.Name = NAME
  1041. frame.Parent = PARENT
  1042. return frame
  1043. end
  1044.  
  1045. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1046. local label = IT("TextLabel")
  1047. label.BackgroundTransparency = 1
  1048. label.Size = UD2(1, 0, 1, 0)
  1049. label.Position = UD2(0, 0, 0, 0)
  1050. label.TextColor3 = TEXTCOLOR
  1051. label.TextStrokeTransparency = STROKETRANSPARENCY
  1052. label.TextTransparency = TRANSPARENCY
  1053. label.FontSize = TEXTFONTSIZE
  1054. label.Font = TEXTFONT
  1055. label.BorderSizePixel = BORDERSIZEPIXEL
  1056. label.TextScaled = false
  1057. label.Text = TEXT
  1058. label.Name = NAME
  1059. label.Parent = PARENT
  1060. return label
  1061. end
  1062.  
  1063. function NoOutlines(PART)
  1064. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1065. end
  1066.  
  1067. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1068. local NEWWELD = IT(TYPE)
  1069. NEWWELD.Part0 = PART0
  1070. NEWWELD.Part1 = PART1
  1071. NEWWELD.C0 = C0
  1072. NEWWELD.C1 = C1
  1073. NEWWELD.Parent = PARENT
  1074. return NEWWELD
  1075. end
  1076.  
  1077. local S = IT("Sound")
  1078. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1079. local NEWSOUND = nil
  1080. coroutine.resume(coroutine.create(function()
  1081. NEWSOUND = S:Clone()
  1082. NEWSOUND.Parent = PARENT
  1083. NEWSOUND.Volume = VOLUME
  1084. NEWSOUND.Pitch = PITCH
  1085. NEWSOUND.SoundId = "rbxassetid://"..ID
  1086. NEWSOUND:play()
  1087. if DOESLOOP == true then
  1088. NEWSOUND.Looped = true
  1089. else
  1090. repeat wait(1) until NEWSOUND.Playing == false
  1091. NEWSOUND:remove()
  1092. end
  1093. end))
  1094. return NEWSOUND
  1095. end
  1096.  
  1097. function CFrameFromTopBack(at, top, back)
  1098. local right = top:Cross(back)
  1099. 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)
  1100. end
  1101.  
  1102. function R_RANDOM(CFRAME,DIST)
  1103. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1104. end
  1105.  
  1106. --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, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1107. function WACKYEFFECT(Table)
  1108. local TYPE = (Table.EffectType or "Sphere")
  1109. local SIZE = (Table.Size or VT(1,1,1))
  1110. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1111. local TRANSPARENCY = (Table.Transparency or 0)
  1112. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1113. local CFRAME = (Table.CFrame or Torso.CFrame)
  1114. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1115. local ROTATION1 = (Table.RotationX or 0)
  1116. local ROTATION2 = (Table.RotationY or 0)
  1117. local ROTATION3 = (Table.RotationZ or 0)
  1118. local MATERIAL = (Table.Material or "Neon")
  1119. local COLOR = (Table.Color or C3(1,1,1))
  1120. local TIME = (Table.Time or 45)
  1121. local SOUNDID = (Table.SoundID or nil)
  1122. local SOUNDPITCH = (Table.SoundPitch or nil)
  1123. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1124. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  1125. local BOOMERANG = (Table.Boomerang or 0)
  1126. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  1127. coroutine.resume(coroutine.create(function()
  1128. local PLAYSSOUND = false
  1129. local SOUND = nil
  1130. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1131. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1132. PLAYSSOUND = true
  1133. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1134. end
  1135. EFFECT.Color = COLOR
  1136. local MSH = nil
  1137. if TYPE == "Sphere" then
  1138. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1139. elseif TYPE == "Block" or TYPE == "Box" then
  1140. MSH = IT("BlockMesh",EFFECT)
  1141. MSH.Scale = SIZE
  1142. elseif TYPE == "Wave" then
  1143. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1144. elseif TYPE == "Ring" then
  1145. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1146. elseif TYPE == "Slash" then
  1147. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1148. elseif TYPE == "Round Slash" then
  1149. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1150. elseif TYPE == "Swirl" then
  1151. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  1152. elseif TYPE == "Skull" then
  1153. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1154. elseif TYPE == "Crystal" then
  1155. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1156. end
  1157. if MSH ~= nil then
  1158. local BOOMR1 = 1+BOOMERANG/50
  1159. local BOOMR2 = 1+SIZEBOOMERANG/50
  1160. local MOVESPEED = nil
  1161. if MOVEDIRECTION ~= nil then
  1162. if USEBOOMERANGMATH == true then
  1163. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  1164. else
  1165. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  1166. end
  1167. end
  1168. local GROWTH = nil
  1169. if USEBOOMERANGMATH == true then
  1170. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  1171. else
  1172. GROWTH = (SIZE - ENDSIZE)
  1173. end
  1174. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1175. if TYPE == "Block" then
  1176. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1177. else
  1178. EFFECT.CFrame = CFRAME
  1179. end
  1180. if USEBOOMERANGMATH == true then
  1181. for LOOP = 1, TIME+1 do
  1182. Swait()
  1183. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  1184. if TYPE == "Wave" then
  1185. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1186. end
  1187. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1188. if TYPE == "Block" then
  1189. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1190. else
  1191. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1192. end
  1193. if MOVEDIRECTION ~= nil then
  1194. local ORI = EFFECT.Orientation
  1195. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  1196. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  1197. end
  1198. end
  1199. else
  1200. for LOOP = 1, TIME+1 do
  1201. Swait()
  1202. MSH.Scale = MSH.Scale - GROWTH/TIME
  1203. if TYPE == "Wave" then
  1204. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  1205. end
  1206. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1207. if TYPE == "Block" then
  1208. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1209. else
  1210. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1211. end
  1212. if MOVEDIRECTION ~= nil then
  1213. local ORI = EFFECT.Orientation
  1214. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1215. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  1216. end
  1217. end
  1218. end
  1219. EFFECT.Transparency = 1
  1220. if PLAYSSOUND == false then
  1221. EFFECT:remove()
  1222. else
  1223. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1224. EFFECT:remove()
  1225. end
  1226. else
  1227. if PLAYSSOUND == false then
  1228. EFFECT:remove()
  1229. else
  1230. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1231. EFFECT:remove()
  1232. end
  1233. end
  1234. end))
  1235. end
  1236.  
  1237.  
  1238. local HATWELD = nil
  1239. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1240. PLAYMAINANIM = false
  1241. if WhichPose == "Cast1" then
  1242. for i=0, Time, 0.1 / Animation_Speed do
  1243. Swait()
  1244. if Magic == true then
  1245. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1246. end
  1247. if Gyro ~= nil and Gyro ~= false then
  1248. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1249. end
  1250. 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)
  1251. 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)
  1252. 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)
  1253. 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)
  1254. 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)
  1255. 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)
  1256. end
  1257. elseif WhichPose == "Cast2" then
  1258. for i=0, Time, 0.1 / Animation_Speed do
  1259. Swait()
  1260. if Magic == true then
  1261. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1262. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1263. end
  1264. if Gyro ~= nil and Gyro ~= false then
  1265. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1266. end
  1267. 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)
  1268. 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)
  1269. 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)
  1270. 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)
  1271. 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)
  1272. 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)
  1273. end
  1274. elseif WhichPose == "RightArmUp" then
  1275. for i=0, Time, 0.1 / Animation_Speed do
  1276. Swait()
  1277. if Magic == true then
  1278. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1279. end
  1280. if Gyro ~= nil and Gyro ~= false then
  1281. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1282. end
  1283. 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)
  1284. 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)
  1285. 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)
  1286. 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)
  1287. 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)
  1288. 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)
  1289. end
  1290. elseif WhichPose == "Taunt" then
  1291. for i=0, Time, 0.1 / Animation_Speed do
  1292. Swait()
  1293. 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)
  1294. 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)
  1295. 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)
  1296. 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)
  1297. 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)
  1298. 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)
  1299. end
  1300. HATWELD.Part0 = RightArm
  1301. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1302. CreateSound(221057812,Torso,10,1,false)
  1303. for i=0, Time*2, 0.1 / Animation_Speed do
  1304. Swait()
  1305. 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)
  1306. 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)
  1307. 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)
  1308. 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)
  1309. 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)
  1310. 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)
  1311. end
  1312. for i=0, Time, 0.1 / Animation_Speed do
  1313. Swait()
  1314. 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)
  1315. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1316. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1317. 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)
  1318. 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)
  1319. 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)
  1320. 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)
  1321. end
  1322. HATWELD.Part0 = Head
  1323. HATWELD.C0 = CF(0,0.35,0)
  1324. elseif WhichPose == "Prepare key" then
  1325. for i=0, Time, 0.1 / Animation_Speed do
  1326. Swait()
  1327. if Gyro ~= nil and Gyro ~= false then
  1328. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1329. end
  1330. 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)
  1331. 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)
  1332. 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)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. end
  1337. elseif WhichPose == "Turn key" then
  1338. for i=0, Time, 0.1 / Animation_Speed do
  1339. Swait()
  1340. if Gyro ~= nil and Gyro ~= false then
  1341. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1342. end
  1343. 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)
  1344. 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)
  1345. 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)
  1346. 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)
  1347. 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)
  1348. 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)
  1349. end
  1350. end
  1351. PLAYMAINANIM = true
  1352. end
  1353.  
  1354.  
  1355. function MakeForm(PART,TYPE)
  1356. if TYPE == "Cyl" then
  1357. local MSH = IT("CylinderMesh",PART)
  1358. elseif TYPE == "Ball" then
  1359. local MSH = IT("SpecialMesh",PART)
  1360. MSH.MeshType = "Sphere"
  1361. elseif TYPE == "Wedge" then
  1362. local MSH = IT("SpecialMesh",PART)
  1363. MSH.MeshType = "Wedge"
  1364. end
  1365. end
  1366.  
  1367. Debris = game:GetService("Debris")
  1368.  
  1369. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1370. local DIRECTION = CF(StartPos,EndPos).lookVector
  1371. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1372. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  1373. end
  1374.  
  1375. local DECAL = IT("Decal")
  1376. function MagicRing()
  1377. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),true)
  1378. local MESH = IT("BlockMesh",RING)
  1379. local BOTTOMTEXTURE = DECAL:Clone()
  1380. BOTTOMTEXTURE.Parent = RING
  1381. BOTTOMTEXTURE.Face = "Bottom"
  1382. BOTTOMTEXTURE.Name = "BottomTexture"
  1383. local TOPTEXTURE = DECAL:Clone()
  1384. TOPTEXTURE.Parent = RING
  1385. TOPTEXTURE.Face = "Top"
  1386. TOPTEXTURE.Name = "TopTexture"
  1387. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  1388. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1208118228"
  1389. BOTTOMTEXTURE.Color3 = C3(0,0,0)
  1390. TOPTEXTURE.Color3 = C3(0,0,0)
  1391. return RING,MESH,TOPTEXTURE,BOTTOMTEXTURE
  1392. end
  1393.  
  1394. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  1395. coroutine.resume(coroutine.create(function()
  1396. local FADE = IT("Model",Effects)
  1397. if PARENT ~= nil then
  1398. FADE.Parent = PARENT
  1399. end
  1400. FADE.Name = "FadingEffect"
  1401. for _, c in pairs(Character:GetChildren()) do
  1402. if c.ClassName == "Part" then
  1403. c.CanCollide = false
  1404. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
  1405. FADER.CFrame = c.CFrame
  1406. FADER.Color = COLOR
  1407. if FADER.Name == "Head" then
  1408. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  1409. elseif FADER.Name == "HumanoidRootPart" then
  1410. FADE.PrimaryPart = FADER
  1411. FADER.Transparency = 1
  1412. end
  1413. end
  1414. end
  1415. local TRANS = 0.25/TIMER
  1416. local DIST = nil
  1417. if MOVEDIRECTION ~= nil then
  1418. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  1419. end
  1420. for i = 1, TIMER do
  1421. Swait()
  1422. for _, c in pairs(FADE:GetChildren()) do
  1423. if c.ClassName == "Part" then
  1424. c.Transparency = c.Transparency + TRANS
  1425. end
  1426. end
  1427. if MOVEDIRECTION ~= nil then
  1428. local ORI = FADE.PrimaryPart.Orientation
  1429. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  1430. end
  1431. end
  1432. FADE:remove()
  1433. end))
  1434. end
  1435.  
  1436. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1437. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1438. end
  1439.  
  1440. function PositiveAngle(NUMBER)
  1441. if NUMBER >= 0 then
  1442. NUMBER = 0
  1443. end
  1444. return NUMBER
  1445. end
  1446.  
  1447. function NegativeAngle(NUMBER)
  1448. if NUMBER <= 0 then
  1449. NUMBER = 0
  1450. end
  1451. return NUMBER
  1452. end
  1453.  
  1454. function Swait(NUMBER)
  1455. if NUMBER == 0 or NUMBER == nil then
  1456. ArtificialHB.Event:wait()
  1457. else
  1458. for i = 1, NUMBER do
  1459. ArtificialHB.Event:wait()
  1460. end
  1461. end
  1462. end
  1463.  
  1464. function QuaternionFromCFrame(cf)
  1465. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1466. local trace = m00 + m11 + m22
  1467. if trace > 0 then
  1468. local s = math.sqrt(1 + trace)
  1469. local recip = 0.5 / s
  1470. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1471. else
  1472. local i = 0
  1473. if m11 > m00 then
  1474. i = 1
  1475. end
  1476. if m22 > (i == 0 and m00 or m11) then
  1477. i = 2
  1478. end
  1479. if i == 0 then
  1480. local s = math.sqrt(m00 - m11 - m22 + 1)
  1481. local recip = 0.5 / s
  1482. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1483. elseif i == 1 then
  1484. local s = math.sqrt(m11 - m22 - m00 + 1)
  1485. local recip = 0.5 / s
  1486. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1487. elseif i == 2 then
  1488. local s = math.sqrt(m22 - m00 - m11 + 1)
  1489. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1490. end
  1491. end
  1492. end
  1493.  
  1494. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1495. local xs, ys, zs = x + x, y + y, z + z
  1496. local wx, wy, wz = w * xs, w * ys, w * zs
  1497. local xx = x * xs
  1498. local xy = x * ys
  1499. local xz = x * zs
  1500. local yy = y * ys
  1501. local yz = y * zs
  1502. local zz = z * zs
  1503. 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))
  1504. end
  1505.  
  1506. function QuaternionSlerp(a, b, t)
  1507. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1508. local startInterp, finishInterp;
  1509. if cosTheta >= 0.0001 then
  1510. if (1 - cosTheta) > 0.0001 then
  1511. local theta = ACOS(cosTheta)
  1512. local invSinTheta = 1 / SIN(theta)
  1513. startInterp = SIN((1 - t) * theta) * invSinTheta
  1514. finishInterp = SIN(t * theta) * invSinTheta
  1515. else
  1516. startInterp = 1 - t
  1517. finishInterp = t
  1518. end
  1519. else
  1520. if (1 + cosTheta) > 0.0001 then
  1521. local theta = ACOS(-cosTheta)
  1522. local invSinTheta = 1 / SIN(theta)
  1523. startInterp = SIN((t - 1) * theta) * invSinTheta
  1524. finishInterp = SIN(t * theta) * invSinTheta
  1525. else
  1526. startInterp = t - 1
  1527. finishInterp = t
  1528. end
  1529. end
  1530. 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
  1531. end
  1532.  
  1533. function Clerp(a, b, t)
  1534. local qa = {QuaternionFromCFrame(a)}
  1535. local qb = {QuaternionFromCFrame(b)}
  1536. local ax, ay, az = a.x, a.y, a.z
  1537. local bx, by, bz = b.x, b.y, b.z
  1538. local _t = 1 - t
  1539. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1540. end
  1541.  
  1542. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1543. local frame = IT("Frame")
  1544. frame.BackgroundTransparency = TRANSPARENCY
  1545. frame.BorderSizePixel = BORDERSIZEPIXEL
  1546. frame.Position = POSITION
  1547. frame.Size = SIZE
  1548. frame.BackgroundColor3 = COLOR
  1549. frame.BorderColor3 = BORDERCOLOR
  1550. frame.Name = NAME
  1551. frame.Parent = PARENT
  1552. return frame
  1553. end
  1554.  
  1555. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1556. local label = IT("TextLabel")
  1557. label.BackgroundTransparency = 1
  1558. label.Size = UD2(1, 0, 1, 0)
  1559. label.Position = UD2(0, 0, 0, 0)
  1560. label.TextColor3 = TEXTCOLOR
  1561. label.TextStrokeTransparency = STROKETRANSPARENCY
  1562. label.TextTransparency = TRANSPARENCY
  1563. label.FontSize = TEXTFONTSIZE
  1564. label.Font = TEXTFONT
  1565. label.BorderSizePixel = BORDERSIZEPIXEL
  1566. label.TextScaled = false
  1567. label.Text = TEXT
  1568. label.Name = NAME
  1569. label.Parent = PARENT
  1570. return label
  1571. end
  1572.  
  1573. function NoOutlines(PART)
  1574. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1575. end
  1576.  
  1577.  
  1578. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1579. local NEWWELD = IT(TYPE)
  1580. NEWWELD.Part0 = PART0
  1581. NEWWELD.Part1 = PART1
  1582. NEWWELD.C0 = C0
  1583. NEWWELD.C1 = C1
  1584. NEWWELD.Parent = PARENT
  1585. return NEWWELD
  1586. end
  1587.  
  1588. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1589. local NEWSOUND = nil
  1590. coroutine.resume(coroutine.create(function()
  1591. NEWSOUND = IT("Sound", PARENT)
  1592. NEWSOUND.Volume = VOLUME
  1593. NEWSOUND.Pitch = PITCH
  1594. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1595. Swait()
  1596. NEWSOUND:play()
  1597. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1598. end))
  1599. return NEWSOUND
  1600. end
  1601.  
  1602. function CFrameFromTopBack(at, top, back)
  1603. local right = top:Cross(back)
  1604. 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)
  1605. end
  1606.  
  1607. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1608. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1609. local mesh = IT("SpecialMesh",wave)
  1610. mesh.MeshType = "FileMesh"
  1611. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1612. mesh.Scale = SIZE
  1613. mesh.Offset = VT(0,0,-SIZE.X/8)
  1614. wave.CFrame = CFRAME
  1615. coroutine.resume(coroutine.create(function(PART)
  1616. for i = 1, WAIT do
  1617. Swait()
  1618. mesh.Scale = mesh.Scale + GROW
  1619. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1620. if DOESROT == true then
  1621. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1622. end
  1623. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1624. if wave.Transparency > 0.99 then
  1625. wave:remove()
  1626. end
  1627. end
  1628. end))
  1629. end
  1630.  
  1631. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1632. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1633. local mesh = IT("SpecialMesh",wave)
  1634. mesh.MeshType = "FileMesh"
  1635. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1636. mesh.Scale = SIZE
  1637. --mesh.Offset = VT(0,0,-SIZE.X/8)
  1638. wave.CFrame = CFRAME
  1639. coroutine.resume(coroutine.create(function(PART)
  1640. for i = 1, WAIT do
  1641. Swait()
  1642. mesh.Scale = mesh.Scale + GROW
  1643. --mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1644. if DOESROT == true then
  1645. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1646. end
  1647. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1648. if wave.Transparency > 0.99 then
  1649. wave:remove()
  1650. end
  1651. end
  1652. end))
  1653. end
  1654.  
  1655. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1656. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1657. local mesh = IT("SpecialMesh",wave)
  1658. mesh.MeshType = "FileMesh"
  1659. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1660. mesh.Scale = SIZE
  1661. wave.CFrame = CFRAME
  1662. coroutine.resume(coroutine.create(function(PART)
  1663. for i = 1, WAIT do
  1664. Swait()
  1665. mesh.Scale = mesh.Scale + GROW
  1666. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1667. if DOESROT == true then
  1668. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1669. end
  1670. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1671. if wave.Transparency > 0.99 then
  1672. wave:remove()
  1673. end
  1674. end
  1675. end))
  1676. end
  1677.  
  1678.  
  1679. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  1680. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1681. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1682. wave.CFrame = CFRAME
  1683. coroutine.resume(coroutine.create(function(PART)
  1684. for i = 1, WAIT do
  1685. Swait()
  1686. mesh.Scale = mesh.Scale * GROW
  1687. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1688. if wave.Transparency > 0.99 then
  1689. wave:remove()
  1690. end
  1691. end
  1692. end))
  1693. end
  1694.  
  1695. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1696. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1697. local mesh = IT("SpecialMesh",wave)
  1698. mesh.MeshType = "Sphere"
  1699. mesh.Scale = SIZE
  1700. mesh.Offset = VT(0,0,0)
  1701. wave.CFrame = CFRAME
  1702. coroutine.resume(coroutine.create(function(PART)
  1703. for i = 1, WAIT do
  1704. Swait()
  1705. mesh.Scale = mesh.Scale + GROW
  1706. wave.Transparency = wave.Transparency + (1/WAIT)
  1707. if wave.Transparency > 0.99 then
  1708. wave:remove()
  1709. end
  1710. end
  1711. end))
  1712. end
  1713.  
  1714. function MakeForm(PART,TYPE)
  1715. if TYPE == "Cyl" then
  1716. local MSH = IT("CylinderMesh",PART)
  1717. elseif TYPE == "Ball" then
  1718. local MSH = IT("SpecialMesh",PART)
  1719. MSH.MeshType = "Sphere"
  1720. elseif TYPE == "Wedge" then
  1721. local MSH = IT("SpecialMesh",PART)
  1722. MSH.MeshType = "Wedge"
  1723. end
  1724. end
  1725.  
  1726. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1727. if FLOOR ~= nil then
  1728. coroutine.resume(coroutine.create(function()
  1729. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  1730. PART.CFrame = CF(POSITION)
  1731. for i = 1, 45 do
  1732. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1733. RingPiece.Material = FLOOR.Material
  1734. RingPiece.Color = FLOOR.Color
  1735. 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)))
  1736. Debris:AddItem(RingPiece,SWAIT/100)
  1737. end
  1738. PART:remove()
  1739. end))
  1740. end
  1741. end
  1742.  
  1743. function CheckTableForString(Table, String)
  1744. for i, v in pairs(Table) do
  1745. if string.find(string.lower(String), string.lower(v)) then
  1746. return true
  1747. end
  1748. end
  1749. return false
  1750. end
  1751.  
  1752. function CheckIntangible(Hit)
  1753. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1754. if Hit and Hit.Parent then
  1755. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1756. return true
  1757. end
  1758. end
  1759. return false
  1760. end
  1761.  
  1762. Debris = game:GetService("Debris")
  1763.  
  1764. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1765. local Direction = CFrame.new(StartPos, Vec).lookVector
  1766. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1767. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1768. if RayHit and CheckIntangible(RayHit) then
  1769. if DelayIfHit then
  1770. wait()
  1771. end
  1772. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1773. end
  1774. return RayHit, RayPos, RayNormal
  1775. end
  1776.  
  1777. function turnto(position)
  1778. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1779. end
  1780.  
  1781. function CameraEnshaking(Length, Intensity)
  1782. coroutine.resume(coroutine.create(function()
  1783. local intensity = 1 * Intensity
  1784. local rotM = 0.01 * Intensity
  1785. for i = 0, Length, 0.1 do
  1786. Swait()
  1787. intensity = intensity - 0.05 * Intensity / Length
  1788. rotM = rotM - 5.0E-4 * Intensity / Length
  1789. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1790. 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)
  1791. end
  1792. hum.CameraOffset = Vector3.new(0, 0, 0)
  1793. end))
  1794. end
  1795.  
  1796.  
  1797. --//=================================\\
  1798. --|| WEAPON CREATION
  1799. --\\=================================//
  1800.  
  1801.  
  1802.  
  1803. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1804. local TORSO = Torso
  1805. local HUM = Humanoid
  1806. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1807. coroutine.wrap(function()
  1808. VT = Vector3.new
  1809. MRANDOM = math.random
  1810. local A = TIME
  1811. local B = INTENSITY
  1812. local C = true
  1813. local HUMANOID = Humanoid
  1814. local TIMER = A or 35
  1815. local SHAKE = B or 5
  1816. local FADE = C or true
  1817. if HUMANOID then
  1818. local FADER = SHAKE / TIMER
  1819. for i = 1, TIMER do
  1820. wait()
  1821. 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)
  1822. end
  1823. HUMANOID.CameraOffset = VT(0, 0, 0)
  1824. end
  1825.  
  1826. end)()
  1827. end
  1828. end
  1829.  
  1830.  
  1831. --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})
  1832. function WACKYEFFECT(Table)
  1833. local TYPE = (Table.EffectType or "Sphere")
  1834. local SIZE = (Table.Size or VT(1,1,1))
  1835. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1836. local TRANSPARENCY = (Table.Transparency or 0)
  1837. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1838. local CFRAME = (Table.CFrame or Torso.CFrame)
  1839. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1840. local ROTATION1 = (Table.RotationX or 0)
  1841. local ROTATION2 = (Table.RotationY or 0)
  1842. local ROTATION3 = (Table.RotationZ or 0)
  1843. local MATERIAL = (Table.Material or "Neon")
  1844. local COLOR = (Table.Color or C3(1,1,1))
  1845. local TIME = (Table.Time or 45)
  1846. local SOUNDID = (Table.SoundID or nil)
  1847. local SOUNDPITCH = (Table.SoundPitch or nil)
  1848. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1849. coroutine.resume(coroutine.create(function()
  1850. local PLAYSSOUND = false
  1851. local SOUND = nil
  1852. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Lime green"), "Effect", VT(1,1,1), true)
  1853. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1854. PLAYSSOUND = true
  1855. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1856. end
  1857. EFFECT.Color = COLOR
  1858. local MSH = nil
  1859. if TYPE == "Sphere" then
  1860. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1861. elseif TYPE == "Block" then
  1862. MSH = IT("BlockMesh",EFFECT)
  1863. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1864. elseif TYPE == "Wave" then
  1865. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1866. elseif TYPE == "Ring" then
  1867. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1868. elseif TYPE == "Slash" then
  1869. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1870. elseif TYPE == "Round Slash" then
  1871. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1872. elseif TYPE == "Swirl" then
  1873. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1874. elseif TYPE == "Skull" then
  1875. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1876. elseif TYPE == "Crystal" then
  1877. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1878. end
  1879. if MSH ~= nil then
  1880. local MOVESPEED = nil
  1881. if MOVEDIRECTION ~= nil then
  1882. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1883. end
  1884. local GROWTH = SIZE - ENDSIZE
  1885. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1886. if TYPE == "Block" then
  1887. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1888. else
  1889. EFFECT.CFrame = CFRAME
  1890. end
  1891. for LOOP = 1, TIME+1 do
  1892. Swait()
  1893. MSH.Scale = MSH.Scale - GROWTH/TIME
  1894. if TYPE == "Wave" then
  1895. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1896. end
  1897. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1898. if TYPE == "Block" then
  1899. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1900. else
  1901. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1902. end
  1903. if MOVEDIRECTION ~= nil then
  1904. local ORI = EFFECT.Orientation
  1905. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1906. EFFECT.Orientation = ORI
  1907. end
  1908. end
  1909. if PLAYSSOUND == false then
  1910. EFFECT:remove()
  1911. else
  1912. SOUND.Stopped:Connect(function()
  1913. EFFECT:remove()
  1914. end)
  1915. end
  1916. else
  1917. if PLAYSSOUND == false then
  1918. EFFECT:remove()
  1919. else
  1920. repeat Swait() until SOUND.Playing == false
  1921. EFFECT:remove()
  1922. end
  1923. end
  1924. end))
  1925. end
  1926.  
  1927.  
  1928. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1929. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1930. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1931. wave.CFrame = CFRAME
  1932. coroutine.resume(coroutine.create(function(PART)
  1933. for i = 1, WAIT do
  1934. Swait()
  1935. mesh.Scale = mesh.Scale + GROW
  1936. if DOESROT == true then
  1937. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1938. end
  1939. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1940. if wave.Transparency > 0.99 then
  1941. wave:remove()
  1942. end
  1943. end
  1944. end))
  1945. end
  1946. --EYE-
  1947.  
  1948. for i = 1, 35 do
  1949. local FACE = CreatePart(3, FaceGradient, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1950. FACE.Color = C3(0,0,0)
  1951. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1952. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1953. end
  1954. --EYE1-
  1955. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  1956. MakeForm(Eye,"Ball")
  1957. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1958. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  1959. MakeForm(Eye,"Ball")
  1960. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1961. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1962. MakeForm(Eye,"Ball")
  1963. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1964. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1965. MakeForm(Eye,"Ball")
  1966. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1967. --EYE2-
  1968. local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  1969. MakeForm(Eye,"Ball")
  1970. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1971. local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.6,0.1,1)/2,false)
  1972. MakeForm(Eye,"Ball")
  1973. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1974. local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  1975. MakeForm(Eye,"Ball")
  1976. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1977. local Eye = CreatePart(3, Weapon2, "Neon", 0, 0, "Really black", "Eye", VT(0.1,1,1)/2,false)
  1978. MakeForm(Eye,"Ball")
  1979. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1980.  
  1981. --SS--
  1982.  
  1983.  
  1984.  
  1985. --EXE--
  1986. local EXE = Instance.new("Shirt")
  1987. EXE.ShirtTemplate = "rbxassetid://676428254"
  1988. EXE.Parent = Character
  1989. EXE.Name = "Cloth"
  1990. local LOL = Instance.new("Pants")
  1991. LOL.PantsTemplate = "rbxassetid://676428351"
  1992. LOL.Parent = Character
  1993. LOL.Name = "Cloth"
  1994.  
  1995. --DeadEye--
  1996.  
  1997. local Handle = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  1998. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1999. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  2000. MakeForm(Part,"Wedge")
  2001. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2002. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  2003. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2004. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2005. MakeForm(Part,"Cyl")
  2006. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2007. for i = 1, 8 do
  2008. local Piece = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2009. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2010. end
  2011. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2012. MakeForm(Part,"Wedge")
  2013. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2014. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  2015. MakeForm(Part,"Cyl")
  2016. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2017. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2018. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2019. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  2020. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2021. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  2022. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  2023. local RightBarrel = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  2024. MakeForm(RightBarrel,"Cyl")
  2025. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  2026. local Part = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  2027. MakeForm(Part,"Wedge")
  2028. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2029. local RightHole = CreatePart(3, DeadEye, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2030. MakeForm(RightHole,"Cyl")
  2031. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  2032.  
  2033.  
  2034.  
  2035. --Heads--
  2036.  
  2037.  
  2038. local Hair = CreatePart(3, Heads, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  2039. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2040. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  2041. local Hair = CreatePart(3, Heads, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  2042. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2043. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  2044.  
  2045.  
  2046. --banblack--
  2047.  
  2048.  
  2049. --Ban--
  2050.  
  2051. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2052. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2053. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2054. MakeForm(Part,"Wedge")
  2055. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2056. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2057. MakeForm(Part,"Wedge")
  2058. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2059. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2060. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2061. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2062. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2063. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2064. MakeForm(Part,"Cyl")
  2065. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2066. for i = 1, 8 do
  2067. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2068. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2069. end
  2070. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2071. MakeForm(Part,"Cyl")
  2072. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2073. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2074. MakeForm(Part,"Ball")
  2075. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2076. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2077. MakeForm(Part,"Wedge")
  2078. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2079. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2080. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2081. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2082. MakeForm(Part,"Cyl")
  2083. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2084. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2085. MakeForm(Part,"Cyl")
  2086. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2087. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2088. MakeForm(Part,"Cyl")
  2089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2090. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  2091. MakeForm(Part,"Wedge")
  2092. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  2093. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2094. MakeForm(Part,"Cyl")
  2095. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2096. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  2097. MakeForm(Part,"Wedge")
  2098. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2099. local LASTPART = Handle
  2100. for i = 1, 10 do
  2101. if LASTPART == Handle then
  2102. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2103. LASTPART = Part
  2104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2105. else
  2106. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2107. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2108. LASTPART = Part
  2109. end
  2110. end
  2111.  
  2112. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  2113. MakeForm(Barrel,"Cyl")
  2114. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2115. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2116. MakeForm(Part,"Cyl")
  2117. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2118. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2119. MakeForm(Part,"Wedge")
  2120. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2121. local Hole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2122. MakeForm(Hole,"Cyl")
  2123. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2.5, 0), CF(0, 0, 0))
  2124. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2125. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2126. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2127. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2128. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2129. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2130. coroutine.resume(coroutine.create(function()
  2131. while wait() do
  2132. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2133. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2134. end
  2135. end))
  2136.  
  2137.  
  2138. for _, c in pairs(Weapon:GetDescendants()) do
  2139. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2140. c.Material = "Glass"
  2141. c.Color = C3(0,0,0)
  2142. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2143. c.Color = C3(1,0,0)
  2144. c.Material = "Neon"
  2145. end
  2146. end
  2147.  
  2148. for _, c in pairs(Weapon2:GetDescendants()) do
  2149. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2150. c.Material = "Glass"
  2151. c.Color = C3(0,0,0)
  2152. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2153. c.Color = C3(0,0,0)
  2154. c.Material = "Neon"
  2155. end
  2156. end
  2157.  
  2158. for _, c in pairs(DeadEye:GetDescendants()) do
  2159. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2160. c.Material = "Neon"
  2161. c.Color = C3(0,0,0)
  2162. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2163. c.Color = C3(1,0,0)
  2164. c.Material = "Neon"
  2165. end
  2166. end
  2167.  
  2168.  
  2169. for _, c in pairs(HM:GetDescendants()) do
  2170. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2171. c.Material = "Neon"
  2172. c.Color = C3(0,0,0)
  2173. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2174. c.Color = C3(1,0,0)
  2175. c.Material = "Neon"
  2176. end
  2177. end
  2178.  
  2179. for _, c in pairs(Heads:GetDescendants()) do
  2180. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2181. c.Material = "Neon"
  2182. c.Color = C3(0,0,0)
  2183. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2184. c.Color = C3(1,0,0)
  2185. c.Material = "Neon"
  2186. end
  2187. end
  2188.  
  2189. for _, c in pairs(Pan:GetDescendants()) do
  2190. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2191. c.Material = "Neon"
  2192. c.Color = C3(0,0,0)
  2193. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2194. c.Color = C3(1,0,0)
  2195. c.Material = "Neon"
  2196. end
  2197. end
  2198.  
  2199. Weapon.Parent = Character
  2200. for _, c in pairs(Weapon:GetChildren()) do
  2201. if c.ClassName == "Part" then
  2202. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2203. end
  2204. end
  2205.  
  2206.  
  2207. for _, c in pairs(Weapon:GetChildren()) do
  2208. if c.ClassName == "Part" then
  2209. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2210. end
  2211. end
  2212.  
  2213. Weapon.Parent = Character
  2214. Weapon2.Parent = nil
  2215. DeadEye.Parent = nil
  2216. black.Parent = nil
  2217.  
  2218.  
  2219. function ParticleEmitter(Table)
  2220. local PRTCL = Particle:Clone()
  2221. local Speed = Table.Speed or 5
  2222. local Drag = Table.Drag or 0
  2223. local Size1 = Table.Size1 or 1
  2224. local Size2 = Table.Size2 or 5
  2225. local Lifetime1 = Table.Lifetime1 or 1
  2226. local Lifetime2 = Table.Lifetime2 or 1.5
  2227. local Parent = Table.Parent or Torso
  2228. local Emit = Table.Emit or 100
  2229. local Offset = Table.Offset or 360
  2230. local Acel = Table.Acel or VT(0,0,0)
  2231. local Enabled = Table.Enabled or false
  2232. PRTCL.Parent = Parent
  2233. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2234. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2235. PRTCL.Speed = NumberRange.new(Speed)
  2236. PRTCL.VelocitySpread = Offset
  2237. PRTCL.Drag = Drag
  2238. PRTCL.Acceleration = Acel
  2239. if Enabled == false then
  2240. PRTCL:Emit(Emit)
  2241. Debris:AddItem(PRTCL,Lifetime2)
  2242. else
  2243. PRTCL.Enabled = true
  2244. end
  2245. return PRTCL
  2246. end
  2247.  
  2248. Weapon.Parent = Character
  2249. for _, c in pairs(Weapon:GetChildren()) do
  2250. if c.ClassName == "Part" then
  2251. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2252. end
  2253. end
  2254.  
  2255. local SKILLTEXTCOLOR = C3(0,0,0)
  2256. local SKILLFONT = "SciFi"
  2257. local SKILLTEXTSIZE = 7
  2258.  
  2259. Humanoid.Died:connect(function()
  2260. ATTACK = true
  2261. end)
  2262.  
  2263.  
  2264. function printbye(Name)
  2265. local MESSAGES = {"NameClan Jail, "}
  2266. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2267. end
  2268.  
  2269. workspace.ChildAdded:connect(function(instance)
  2270. for BANISH = 1, #TOBANISH do
  2271. if TOBANISH[BANISH] ~= nil then
  2272. if instance.Name == TOBANISH[BANISH] then
  2273. coroutine.resume(coroutine.create(function()
  2274. printbye(instance.Name)
  2275. instance:ClearAllChildren()
  2276. Debris:AddItem(instance,0.0005)
  2277. end))
  2278. end
  2279. end
  2280. end
  2281. end)
  2282.  
  2283. --//=================================\\
  2284. --|| DAMAGE FUNCTIONS
  2285. --\\=================================//
  2286.  
  2287. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2288. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2289. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2290. local BODYGYRO = IT("BodyGyro", STATPART)
  2291. local BODYPOSITION = IT("BodyPosition", STATPART)
  2292. BODYPOSITION.P = 2000
  2293. BODYPOSITION.D = 100
  2294. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2295. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2296. game:GetService("Debris"):AddItem(STATPART ,5)
  2297. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2298. BILLBOARDGUI.Adornee = STATPART
  2299. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2300. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2301. BILLBOARDGUI.AlwaysOnTop = false
  2302. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2303. TEXTLABEL.BackgroundTransparency = 1
  2304. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2305. TEXTLABEL.Text = TEXT
  2306. TEXTLABEL.Font = "SciFi"
  2307. TEXTLABEL.FontSize="Size42"
  2308. TEXTLABEL.TextColor3 = COLOR
  2309. TEXTLABEL.TextStrokeTransparency = 1
  2310. TEXTLABEL.TextScaled = true
  2311. TEXTLABEL.TextWrapped = true
  2312. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2313. if LABELTYPE == "Normal" then
  2314. for i = 1, 30 do
  2315. Swait()
  2316. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  2317. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2318. end
  2319. elseif LABELTYPE == "Debuff" then
  2320. for i = 1, 30 do
  2321. Swait()
  2322. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  2323. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2324. end
  2325. elseif LABELTYPE == "Shock" then
  2326. local ORIGIN = STATPART.Position
  2327. for i = 1, 30 do
  2328. Swait()
  2329. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  2330. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  2331. end
  2332. end
  2333. THEPART.Parent = nil
  2334. end),STATPART, BODYPOSITION, TEXTLABEL)
  2335. end
  2336. --//=================================\\
  2337. --|| DAMAGING
  2338. --\\=================================//
  2339. --Pan--
  2340.  
  2341. function ApplyDamage(Humanoid,Damage,TorsoPart)
  2342. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2343. defence.Name = ("HitBy"..Player.Name)
  2344. game:GetService("Debris"):AddItem(defence, 0.001)
  2345. Damage = Damage * DAMAGEMULTIPLIER
  2346. if Humanoid.Health ~= 0 then
  2347. local CritChance = MRANDOM(1,100)
  2348. if Damage > Humanoid.Health then
  2349. Damage = math.ceil(Humanoid.Health)
  2350. if Damage == 0 then
  2351. Damage = 0.1
  2352. end
  2353. end
  2354. Humanoid.Health = Humanoid.Health - Damage
  2355. end
  2356. end
  2357.  
  2358. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2359. local CHILDREN = workspace:GetDescendants()
  2360. for index, CHILD in pairs(CHILDREN) do
  2361. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2362. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2363. if HUM then
  2364. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2365. if TORSO then
  2366. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2367. if INSTAKILL == true then
  2368. CHILD:BreakJoints()
  2369. else
  2370. local DMG = MRANDOM(MINDMG,MAXDMG)
  2371. ApplyDamage(HUM,DMG,TORSO)
  2372. end
  2373. if FLING > 0 then
  2374. for _, c in pairs(CHILD:GetChildren()) do
  2375. if c:IsA("BasePart") then
  2376. local bv = Instance.new("BodyVelocity")
  2377. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2378. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2379. bv.Parent = c
  2380. Debris:AddItem(bv,0.05)
  2381. end
  2382. end
  2383. end
  2384. end
  2385. end
  2386. end
  2387. end
  2388. end
  2389. end
  2390.  
  2391. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2392. local CHILDREN = workspace:GetDescendants()
  2393. for index, CHILD in pairs(CHILDREN) do
  2394. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2395. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2396. if HUM then
  2397. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2398. if TORSO then
  2399. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2400. if INSTAKILL == true then
  2401. CHILD:BreakJoints()
  2402. else
  2403. local DMG = MRANDOM(MINDMG,MAXDMG)
  2404. ApplyDamage(HUM,DMG,TORSO)
  2405. end
  2406. if FLING > 0 then
  2407. for _, c in pairs(CHILD:GetChildren()) do
  2408. if c:IsA("BasePart") then
  2409. local bv = Instance.new("BodyVelocity")
  2410. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2411. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2412. bv.Parent = c
  2413. Debris:AddItem(bv,0.05)
  2414. end
  2415. end
  2416. end
  2417. end
  2418. end
  2419. end
  2420. end
  2421. end
  2422. end
  2423.  
  2424. ----
  2425.  
  2426. function KillChildren(v)
  2427. v:BreakJoints()
  2428. for _, c in pairs(v:GetChildren()) do
  2429. if c:IsA("BasePart") then
  2430. if c.Transparency < 1 then
  2431. if c:FindFirstChildOfClass("Decal") then
  2432. c:FindFirstChildOfClass("Decal"):remove()
  2433. end
  2434. particles(c)
  2435. c.PE.Enabled = true
  2436. c.Parent = Effects
  2437. c.CanCollide = false
  2438. c.Material = "Neon"
  2439. c.Color = C3(1,0,0)
  2440. c.Transparency = 1
  2441. local grav = Instance.new("BodyPosition",c)
  2442. grav.P = 20000
  2443. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2444. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2445. grav.Name = "GravityForce"
  2446. coroutine.resume(coroutine.create(function()
  2447. for i = 1, 20 do
  2448. Swait()
  2449. c.Transparency = c.Transparency + 1/20
  2450. end
  2451. c.PE.Enabled = false
  2452. Debris:AddItem(c,2)
  2453. end))
  2454. end
  2455. end
  2456. end
  2457. end
  2458.  
  2459. function ApplyAoE(POSITION,RANGE)
  2460. local CHILDREN = workspace:GetDescendants()
  2461. for index, CHILD in pairs(CHILDREN) do
  2462. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2463. local LISTED = false
  2464. for LIST = 1, #WHITELIST do
  2465. if WHITELIST[LIST] ~= nil then
  2466. if CHILD.Name == WHITELIST[LIST] then
  2467. LISTED = true
  2468. end
  2469. end
  2470. end
  2471. if LISTED == false then
  2472. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2473. if HUM then
  2474. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2475. if TORSO then
  2476. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  2477. KillChildren(CHILD)
  2478. end
  2479. end
  2480. end
  2481. end
  2482. end
  2483. end
  2484. end
  2485.  
  2486. function killnearest(position,range,maxstrength,direction)
  2487. for i,v in ipairs(workspace:GetChildren()) do
  2488. local body = v:GetChildren()
  2489. for part = 1, #body do
  2490. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2491. if(body[part].Position - position).Magnitude < range then
  2492. if v.ClassName == "Model" then
  2493. --v:BreakJoints()
  2494. end
  2495. local POS = position
  2496. coroutine.resume(coroutine.create(function()
  2497. body[part].Anchored = true
  2498. body[part].Parent = Effects
  2499. body[part].CanCollide = true
  2500. local SIZE = body[part].Size
  2501. body[part].Material = "Neon"
  2502. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  2503. for i = 1, 75 do
  2504. Swait()
  2505. body[part].Transparency = 10
  2506. body[part].Color = C3(1,0,0)
  2507. body[part].Size = VT(0,0,0)
  2508. body[part].TextureID = ""
  2509. body[part].remove()
  2510. end
  2511. coroutine.resume(coroutine.create(function()
  2512.  
  2513. end))
  2514. body[part].Anchored = false
  2515. body[part].Velocity = direction.lookVector*maxstrength
  2516. end))
  2517. end
  2518. end
  2519. end
  2520. if v.ClassName == "Part" then
  2521. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2522. local POS = position
  2523. coroutine.resume(coroutine.create(function()
  2524. v.Anchored = true
  2525. v.Parent = Effects
  2526. local SIZE = v.Size
  2527. v.Material = "Neon"
  2528. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  2529. v.Anchored = false
  2530. v.Velocity = direction.lookVector*maxstrength
  2531. end))
  2532. end
  2533. end
  2534. end
  2535. end
  2536.  
  2537. --//=================================\\
  2538. --|| TRANSFORMATIONS
  2539. --\\=================================//
  2540.  
  2541. function Switch()
  2542. ATTACK = true
  2543. Rooted = true
  2544. if MODE == "GoodCop" then
  2545. for i=0, 0.3, 0.1 / Animation_Speed do
  2546. Swait()
  2547. 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)
  2548. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2550. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2551. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2553. end
  2554. for i=0, 3, 0.1 / Animation_Speed do
  2555. Swait()
  2556. 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)
  2557. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2559. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2560. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2561. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2562. end
  2563. Epic(4,4)
  2564. for i=0, 0.5, 0.1 / Animation_Speed do
  2565. Swait()
  2566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(10), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(10), RAD(0), RAD(-65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2572. end
  2573. Epic(4,4)
  2574. for i=0, 0.5, 0.1 / Animation_Speed do
  2575. Swait()
  2576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(-65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(10), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2582. end
  2583. Epic(4,4)
  2584. for i=0, 0.5, 0.1 / Animation_Speed do
  2585. Swait()
  2586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(30), RAD(0), RAD(-65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2592. end
  2593. Epic(4,4)
  2594. for i=0, 0.5, 0.1 / Animation_Speed do
  2595. Swait()
  2596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(-65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2602. end
  2603. Epic(4,4)
  2604. for i=0, 0.5, 0.1 / Animation_Speed do
  2605. Swait()
  2606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-65)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(25), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(25), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2612. end
  2613. for i=0, 0.5, 0.1 / Animation_Speed do
  2614. Swait()
  2615. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  2616. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2617. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2618. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2619. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(25), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2620. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(25), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2621. end
  2622. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6 * Player_Size, Character)
  2623. WACKYEFFECT({Time = 80, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(250,250,250), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil , SoundPitch = 1.2, SoundVolume = 4})
  2624. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil , SoundPitch = 1.2, SoundVolume = 4})
  2625. Epic(6,6)
  2626. coroutine.resume(coroutine.create(function()
  2627. for e=1,#HITBODIES do
  2628. Swait()
  2629. if HITBODIES[e]~=nil then
  2630. local BOD = HITBODIES[e]
  2631. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2632. if TORS then
  2633. Slice("Thin",0.5,35,CF(TORS.Position,Torso.Position)*ANGLES(RAD(0),RAD(-90),RAD(0)),"Really red",VT(0.01,0,0.01))
  2634. local HUM = BOD:FindFirstChildOfClass("Humanoid")
  2635. if HUM then
  2636. ApplyDamage(HUM,3,2,1.3)
  2637. end
  2638. end
  2639. end
  2640. end
  2641. HITBODIES = {}
  2642. end))
  2643. SprayBlood(Head.CFrame*CF(0,-Head.Size.Y,0).p,Head.CFrame*CF(MRANDOM(-15,15),-Head.Size.Y*2,MRANDOM(-15,15)).p,25,true,HITBODIES)
  2644. for i=0, 1, 0.1 / Animation_Speed do
  2645. Swait()
  2646. SprayBlood(Head.CFrame*CF(0,-Head.Size.Y,0).p,Head.CFrame*CF(MRANDOM(-15,15),-Head.Size.Y*2,MRANDOM(-15,15)).p,25,true,HITBODIES)
  2647. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2651. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-25), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2652. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-25), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2653. end
  2654. MODE = "Killbot"
  2655. sick.SoundId = "rbxassetid://589621652"
  2656. Weapon.Parent = nil
  2657. Weapon2.Parent = nil
  2658. elseif MODE == "Killbot" then
  2659. for i=0, 1, 0.1 / Animation_Speed do
  2660. Swait()
  2661. 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)
  2662. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2663. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2664. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2665. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2666. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2667. end
  2668. CameraEnshaking(1,45)
  2669. CreateSound(363808674, Torso, 6, 1, false)
  2670. for i=0, 0.5, 0.1 / Animation_Speed do
  2671. Swait()
  2672. 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)
  2673. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  2674. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2675. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2676. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2677. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2678. end
  2679. CameraEnshaking(1,45)
  2680. CreateSound(363808674, Torso, 6, 1, false)
  2681. for i=0, 0.5, 0.1 / Animation_Speed do
  2682. Swait()
  2683. 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)
  2684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2687. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2689. end
  2690. MODE = "GoodCop"
  2691. sick.SoundId = "rbxassetid://969583926"
  2692. sick.TimePosition = 9
  2693. Weapon.Parent = Character
  2694. Weapon2.Parent = nil
  2695. end
  2696. ATTACK = false
  2697. Rooted = false
  2698. end
  2699.  
  2700. function Switch4()
  2701. ATTACK = true
  2702. Rooted = true
  2703. if MODE == "GoodCop" then
  2704. -- Animation --
  2705. coroutine.resume(coroutine.create(function()
  2706. CameraEnshaking(5, 15)
  2707. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2708. ---WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(75,75,75), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 0.6, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255, 0/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2709. Swait(25)
  2710. ---ApplyAoE(HITPOS,10,5,10,20,false)
  2711. WACKYEFFECT({Time = 10, 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, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
  2712. Swait(7.5)
  2713. ---ApplyAoE(HITPOS,10,5,10,20,false)
  2714. ---WACKYEFFECT({Time = 10, 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, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
  2715. Swait(7.5)
  2716. ---ApplyAoE(HITPOS,10,5,10,20,false)
  2717. ---WACKYEFFECT({Time = 10, 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, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
  2718. Swait(7.5)
  2719. ---ApplyAoE(HITPOS,10,5,10,20,false)
  2720. ---WACKYEFFECT({Time = 10, 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, 0/255, 0/255), SoundID = 743521450, SoundPitch = 1, SoundVolume = 6})
  2721. end))
  2722. sick.SoundId = "rbxassetid://534861083"
  2723. for i=0, 1.5, 0.1 / Animation_Speed do
  2724. Swait()
  2725. 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)
  2726. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2727. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(80), RAD(75), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2729. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2730. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2731. end
  2732. for i=0, 1.5, 0.1 / Animation_Speed do
  2733. Swait()
  2734. 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)
  2735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2738. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2739. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2740. end
  2741. MODE = "Superior"
  2742. Weapon.Parent = nil
  2743. Weapon2.Parent = nil
  2744. elseif MODE == "Superior" then
  2745. for i=0, 1, 0.1 / Animation_Speed do
  2746. Swait()
  2747. 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)
  2748. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2751. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2753. end
  2754. CameraEnshaking(1,45)
  2755. CreateSound(363808674, Torso, 6, 1, false)
  2756. for i=0, 0.5, 0.1 / Animation_Speed do
  2757. Swait()
  2758. 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)
  2759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  2760. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2762. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2763. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2764. end
  2765. CameraEnshaking(1,45)
  2766. CreateSound(363808674, Torso, 6, 1, false)
  2767. for i=0, 0.5, 0.1 / Animation_Speed do
  2768. Swait()
  2769. 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)
  2770. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2771. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2772. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2773. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2774. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2775. end
  2776. MODE = "GoodCop"
  2777. sick.SoundId = "rbxassetid://969583926"
  2778. sick.TimePosition = 9
  2779. Weapon.Parent = Character
  2780. Weapon2.Parent = nil
  2781. end
  2782. ATTACK = false
  2783. Rooted = false
  2784. end
  2785.  
  2786.  
  2787. function Switch2()
  2788. ATTACK = true
  2789. Rooted = true
  2790. if MODE == "GoodCop" then
  2791. for i=0, 0.3, 0.1 / Animation_Speed do
  2792. Swait()
  2793. 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)
  2794. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2797. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2798. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2799. end
  2800. for i=0, 1, 0.1 / Animation_Speed do
  2801. Swait()
  2802. 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)
  2803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2806. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2808. end
  2809. CreateSound(363808674, Torso, 6, 1, false)
  2810. for i=0, 0.6, 0.1 / Animation_Speed do
  2811. Swait()
  2812. 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)
  2813. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2816. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2817. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2818. end
  2819. CreateSound(363808674, Torso, 6, 1, false)
  2820. for i=0, 0.6, 0.1 / Animation_Speed do
  2821. Swait()
  2822. 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)
  2823. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2826. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2827. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2828. end
  2829. CreateSound(363808674, Torso, 6, 1, false)
  2830. for i=0, 0.6, 0.1 / Animation_Speed do
  2831. Swait()
  2832. 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)
  2833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2836. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2838. end
  2839. CreateSound(363808674, Torso, 6, 1, false)
  2840. for i=0, 0.6, 0.1 / Animation_Speed do
  2841. Swait()
  2842. 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)
  2843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2845. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2846. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2847. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2848. end
  2849. MODE = "DeadEye"
  2850. sick.SoundId = "rbxassetid://1335404496"
  2851. sick.TimePosition = 0
  2852. Weapon.Parent = nil
  2853. Weapon2.Parent = nil
  2854. DeadEye.Parent = Character
  2855. elseif MODE == "DeadEye" then
  2856. for i=0, 1, 0.1 / Animation_Speed do
  2857. Swait()
  2858. 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)
  2859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2862. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2864. end
  2865. CameraEnshaking(1,45)
  2866. CreateSound(363808674, Torso, 6, 1, false)
  2867. for i=0, 0.5, 0.1 / Animation_Speed do
  2868. Swait()
  2869. 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)
  2870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  2871. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2872. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2873. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2874. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2875. end
  2876. CameraEnshaking(1,45)
  2877. CreateSound(363808674, Torso, 6, 1, false)
  2878. for i=0, 0.5, 0.1 / Animation_Speed do
  2879. Swait()
  2880. 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)
  2881. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2882. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2883. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2884. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2885. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2886. end
  2887. MODE = "GoodCop"
  2888. sick.SoundId = "rbxassetid://969583926"
  2889. sick.TimePosition = 9
  2890. Weapon.Parent = Character
  2891. Weapon2.Parent = nil
  2892. DeadEye.Parent = nil
  2893. end
  2894. ATTACK = false
  2895. Rooted = false
  2896. end
  2897.  
  2898. function Switch3()
  2899. ATTACK = true
  2900. Rooted = true
  2901. if MODE == "GoodCop" then
  2902. -- Animation --
  2903. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2904. coroutine.resume(coroutine.create(function()
  2905. WACKYEFFECT({Time = 50, EffectType = "Box", Size = VT(8.5,0,8.5), Size2 = VT(8.5,12.5,8.5), Transparency = 0.3, Transparency2 = 0, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = nil, SoundPitch = 0.9, SoundVolume = 8})
  2906. wait(0.8)
  2907. WACKYEFFECT({Time = 60, EffectType = "Box", Size = VT(8.5,12.5,8.5), Size2 = VT(8.5,0,8.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = nil, SoundPitch = 0.9, SoundVolume = 8})
  2908. wait(0.7)
  2909. WACKYEFFECT({Time = 185, EffectType = "Box", Size = VT(12,0.22,12)*2, Size2 = VT(0,0.22,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 1820267018, SoundPitch = 0.9, SoundVolume = 8})
  2910. CameraEnshaking(2, 35)
  2911. WACKYEFFECT({Time = 105, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(70,70,70)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 144699494, SoundPitch = 1, SoundVolume = 15})
  2912. ---ApplyAoE(HITPOS,50,25,75,30,false)
  2913. WACKYEFFECT({Time = 80, EffectType = "Wave", Size = VT(0,0.11,0), Size2 = VT(500,0.11,500), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 1, SoundVolume = 15})
  2914. end))
  2915. sick.SoundId = "rbxassetid://1494340971"
  2916. for i=0, 1.5, 0.1 / Animation_Speed do
  2917. Swait()
  2918. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(20), RAD(0), RAD(140)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-20), RAD(0), RAD(-140)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2922. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2923. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2924. end
  2925. for i=0, 3, 0.1 / Animation_Speed do
  2926. Swait()
  2927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 9999 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  2928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(50), RAD(125)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(-50), RAD(-125)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2931. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.71) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30)), 1 / Animation_Speed)
  2933. end
  2934. for i=0, 1.8, 0.1 / Animation_Speed do
  2935. Swait()
  2936. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.9 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(135), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  2937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2938. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.4*SIZE, 0.5) * ANGLES(RAD(-50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2939. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.95*SIZE, -0.85) * ANGLES(RAD(150), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2940. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), 0.09) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2941. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.41) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2942. end
  2943. MODE = "black"
  2944. Weapon.Parent = nil
  2945. Weapon2.Parent = nil
  2946. DeadEye.Parent = nil
  2947. black.Parent = Character
  2948. elseif MODE == "black" then
  2949. for i=0, 1, 0.1 / Animation_Speed do
  2950. Swait()
  2951. 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)
  2952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2955. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2957. end
  2958. CameraEnshaking(1,45)
  2959. CreateSound(363808674, Torso, 6, 1, false)
  2960. for i=0, 0.5, 0.1 / Animation_Speed do
  2961. Swait()
  2962. 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)
  2963. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  2964. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2965. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2966. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2967. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2968. end
  2969. CameraEnshaking(1,45)
  2970. CreateSound(363808674, Torso, 6, 1, false)
  2971. for i=0, 0.5, 0.1 / Animation_Speed do
  2972. Swait()
  2973. 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)
  2974. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2975. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2976. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2977. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2978. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2979. end
  2980. MODE = "GoodCop"
  2981. sick.SoundId = "rbxassetid://969583926"
  2982. sick.TimePosition = 9
  2983. Weapon.Parent = Character
  2984. Weapon2.Parent = nil
  2985. DeadEye.Parent = nil
  2986. black.Parent = nil
  2987. end
  2988. ATTACK = false
  2989. Rooted = false
  2990. end
  2991.  
  2992.  
  2993. function Epic(SHAKE,TIMER)
  2994. coroutine.resume(coroutine.create(function()
  2995. local FADER = SHAKE/TIMER
  2996. for i = 1, TIMER do
  2997. wait()
  2998. 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)
  2999. end
  3000. Humanoid.CameraOffset = VT(0,0,0)
  3001. end))
  3002. end
  3003.  
  3004.  
  3005. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  3006. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  3007. if HITFLOOR ~= nil then
  3008. if HITFLOOR.Parent ~= Effects and HITFLOOR.Parent ~= Character then
  3009. if HITFLOOR.Name == "BloodPuddle" then
  3010. local DIST = (Position - HITFLOOR.Position).Magnitude
  3011. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  3012. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  3013. end
  3014. else
  3015. if HITFLOOR.Anchored == true then
  3016. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2,0,2))
  3017. BLOOD.CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))
  3018. MakeForm(BLOOD,"Cyl")
  3019. coroutine.resume(coroutine.create(function()
  3020. Swait(75)
  3021. while true do
  3022. Swait()
  3023. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  3024. if BLOOD.Size.Z < 0.051 then
  3025. BLOOD:remove()
  3026. break
  3027. end
  3028. end
  3029. end))
  3030. end
  3031. end
  3032. end
  3033. end
  3034. end
  3035.  
  3036.  
  3037. function SprayBlood(POSITION,DIRECTION,BloodSize,DoesTable,Table)
  3038. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  3039. BLOOD.CFrame = CF(POSITION)
  3040. MakeForm(BLOOD,"Ball")
  3041. local bv = Instance.new("BodyVelocity",BLOOD)
  3042. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3043. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3),MRANDOM(-3,3)/30,MRANDOM(-3,3))).lookVector*65
  3044. bv.Name = "MOVE"
  3045. Debris:AddItem(bv,0.05)
  3046. coroutine.resume(coroutine.create(function()
  3047. local HASTOUCHEDGROUND = false
  3048. local HIT = BLOOD.Touched:Connect(function(hit)
  3049. if hit.Anchored == true then
  3050. HASTOUCHEDGROUND = true
  3051. if DoesTable == true then
  3052. AddChildrenToTable(BLOOD.Position,workspace,15,Table)
  3053. end
  3054. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  3055. end
  3056. end)
  3057. for i = 1, 75 do
  3058. Swait()
  3059. if i > 5 then
  3060. BLOOD.CanCollide = true
  3061. end
  3062. if HASTOUCHEDGROUND == true then
  3063. break
  3064. end
  3065. end
  3066. BLOOD:remove()
  3067. end))
  3068. end
  3069.  
  3070. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  3071. for _, c in pairs(PARENT:GetChildren()) do
  3072. if c.ClassName == "Model" then
  3073. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  3074. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  3075. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  3076. if (TORSO.Position - FROM).Magnitude < DIST then
  3077. table.insert(TABLE,c)
  3078. end
  3079. AddChildrenToTable(FROM,c,DIST,TABLE)
  3080. elseif c.ClassName == "Folder" then
  3081. AddChildrenToTable(FROM,c,DIST,TABLE)
  3082. end
  3083. end
  3084. end
  3085. end
  3086.  
  3087. --//=================================\\
  3088. --|| ATTACK FUNCTIONS AND STUFF
  3089. --\\=================================//
  3090.  
  3091.  
  3092. function PAW_HAHA(LOC,AIMTO,OUCH)
  3093. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
  3094. for i = 1, 4 do
  3095. local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
  3096. local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
  3097. local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
  3098. local DISTANCE = (POS - LOC).Magnitude
  3099. if HIT then
  3100. local HUM = nil
  3101. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  3102. HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
  3103. elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3104. HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
  3105. end
  3106. if HUM then
  3107. ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
  3108. end
  3109. end
  3110. WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
  3111. WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3112. end
  3113. end
  3114.  
  3115. function OhnoItsAShotgun()
  3116. local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
  3117. CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
  3118. return SHOOTgun
  3119. end
  3120.  
  3121. local TOBANISH = {}
  3122.  
  3123. function Intro()
  3124. ATTACK = true
  3125. Rooted = true
  3126. coroutine.resume(coroutine.create(function()
  3127. wait(7)
  3128.  
  3129. Swait(30)
  3130. Weapon.Parent = Character
  3131. Swait(30)
  3132. Weapon.Parent = nil
  3133. Weapon2.Parent = Character
  3134. Swait(30)
  3135. Weapon2.Parent = nil
  3136. DeadEye.Parent = Character
  3137. Swait(30)
  3138. DeadEye.Parent = nil
  3139. Weapon.Parent = Character
  3140. end))
  3141. repeat
  3142. Swait()
  3143. 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)), 0.15 / Animation_Speed)
  3144. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3145. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  3146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3147. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  3148. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.1 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0 - 2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  3149. until sick.TimePosition > 14
  3150. repeat
  3151. Swait()
  3152. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  3153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 1 * SIZE, 1 * SIZE) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  3155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  3156. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  3157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  3158. until sick.TimePosition > 16
  3159. repeat
  3160. Swait()
  3161. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, -1 * SIZE) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  3162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 1*SIZE, -0.3*SIZE) * ANGLES(RAD(0.98), RAD(-119.59 + 2.5 * SIN(SINE / 25)), RAD(-175.39 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3165. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.3 * SIZE, -1 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -0.3 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3167. until sick.TimePosition > 20.7
  3168. TRANSFORMED = true
  3169. ATTACK = false
  3170. Rooted = false
  3171. end
  3172.  
  3173. function InsaneCameraText()
  3174. local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.13, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "SNAP!!")
  3175. local FACEME = {"PLZZZZ","MAX-LOCAL DANG","HAHAHA","BY NAMECLAN??!","IWANNAEATTOMYUM","AM I PRETTY?","YA HAHAH","PANDORA EDIT??!!","I CAN'T DO IT ANYMORE","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS","PLZ DON'T LEAK THIS"}
  3176. local INSANITYGUIS = {}
  3177. for e = 1, 28 do
  3178. for i = 1, 22 do
  3179. local MURDERFRAME = FRAME:Clone()
  3180. MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
  3181. MURDERFRAME.Parent = WEAPONGUI
  3182. table.insert(INSANITYGUIS,MURDERFRAME)
  3183. end
  3184. end
  3185. coroutine.resume(coroutine.create(function()
  3186. while true do
  3187. wait()
  3188. coroutine.resume(coroutine.create(function()
  3189. local COLOR = C3(MRANDOM(100,255)/255,0,0)
  3190. local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
  3191. local SHOW = ""
  3192. for i = 1,string.len(APPEARTEXT),1 do
  3193. local STRING = string.sub(APPEARTEXT,i,i)
  3194. if MRANDOM(1,2) == 1 then
  3195. SHOW = SHOW..string.lower(STRING)
  3196. else
  3197. SHOW = SHOW..STRING
  3198. end
  3199. end
  3200. local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
  3201. local TEXT = CreateLabel(PARENT, SHOW, COLOR, 7, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
  3202. for i = 1, 15 do
  3203. Swait()
  3204. TEXT.Rotation = MRANDOM(-15,15)
  3205. TEXT.TextTransparency = TEXT.TextTransparency - 1/15
  3206. end
  3207. for i = 1, 15 do
  3208. Swait()
  3209. TEXT.Rotation = MRANDOM(-15,15)
  3210. TEXT.TextTransparency = TEXT.TextTransparency + 1/15
  3211. end
  3212. TEXT:Remove()
  3213. end))
  3214. end
  3215. end))
  3216. FRAME:remove()
  3217. end
  3218.  
  3219.  
  3220. function swait(num)
  3221. if num == 0 or num == nil then
  3222. ArtificialHB.Event:wait()
  3223. else
  3224. for i = 0, num do
  3225. ArtificialHB.Event:wait()
  3226. end
  3227. end
  3228. end
  3229.  
  3230. function Chatter(Text,Timer)
  3231. local chat = coroutine.wrap(function()
  3232. if Character:FindFirstChild("SpeechBoard")~= nil then
  3233. Character:FindFirstChild("SpeechBoard"):destroy()
  3234. end
  3235. local naeeym2 = IT("BillboardGui",Character)
  3236. naeeym2.Size = UD2(0,100,0,40)
  3237. naeeym2.StudsOffset = Vector3.new(0,2,0)
  3238. naeeym2.Adornee = Character.Head
  3239. naeeym2.Name = "SpeechBoard"
  3240. naeeym2.AlwaysOnTop = true
  3241. local tecks2 = IT("TextLabel",naeeym2)
  3242. tecks2.BackgroundTransparency = 1
  3243. tecks2.BorderSizePixel = 0
  3244. tecks2.Text = ""
  3245. tecks2.Font = "Legacy"
  3246. tecks2.TextSize = 15
  3247. tecks2.TextStrokeTransparency = 0
  3248. tecks2.TextColor3 = Color3.new(1,1,1)
  3249. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  3250. tecks2.Size = UDim2.new(1,0,0.5,0)
  3251. for i = 1,string.len(Text),1 do
  3252. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  3253. tecks2.Text = string.sub(Text,1,i)
  3254. wait(Timer)
  3255. end
  3256. wait(1)
  3257. naeeym2:Destroy()
  3258. end)
  3259. chat()
  3260. end
  3261.  
  3262. function chatfunc(text)
  3263. local chat = coroutine.wrap(function()
  3264. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3265. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3266. end
  3267. local Bill = Instance.new("BillboardGui",Character)
  3268. Bill.Size = UDim2.new(0,100,0,40)
  3269. Bill.StudsOffset = Vector3.new(0,3,0)
  3270. Bill.Adornee = Character.Head
  3271. Bill.Name = "TalkingBillBoard"
  3272. local Hehe = Instance.new("TextLabel",Bill)
  3273. Hehe.BackgroundTransparency = 1
  3274. Hehe.BorderSizePixel = 0
  3275. Hehe.Text = ""
  3276. Hehe.Font = "Fantasy"
  3277. Hehe.TextSize = 40
  3278. Hehe.TextStrokeTransparency = 0
  3279. Hehe.Size = UDim2.new(1,0,0.5,0)
  3280. coroutine.resume(coroutine.create(function()
  3281. while Hehe ~= nil do
  3282. wait()
  3283. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  3284. Hehe.Rotation = math.random(-5,5)
  3285. Hehe.TextColor3 = Color3.new(1,0,0)
  3286. Hehe.TextStrokeColor3 = Color3.new(1,0,0)
  3287. end
  3288. end))
  3289. for i = 1,string.len(text),1 do
  3290. wait()
  3291. Hehe.Text = string.sub(text,1,i)
  3292. end
  3293. wait(1.5)--Re[math.random(1, 93)]
  3294. for i = 0, 1, .025 do
  3295. wait()
  3296. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  3297. Hehe.TextStrokeTransparency = i
  3298. Hehe.TextTransparency = i
  3299. end
  3300. Bill:Destroy()
  3301. end)
  3302. chat()
  3303. end
  3304.  
  3305. function onChatted(msg)
  3306. chatfunc(msg)
  3307. end
  3308.  
  3309. chatfunc("Hmmmmmm...")
  3310.  
  3311. function printbye(Name)
  3312. local MESSAGES = {"BE GONE FROM HERE AND DONT RETURN, "}
  3313. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  3314. end
  3315.  
  3316. workspace.ChildAdded:connect(function(instance)
  3317. for BANISH = 1, #TOBANISH do
  3318. if TOBANISH[BANISH] ~= nil then
  3319. if instance.Name == TOBANISH[BANISH] then
  3320. coroutine.resume(coroutine.create(function()
  3321. printbye(instance.Name)
  3322. instance:ClearAllChildren()
  3323. Debris:AddItem(instance,0.0005)
  3324. end))
  3325. end
  3326. end
  3327. end
  3328. end)
  3329.  
  3330. function Banish(Foe)
  3331. if Foe then
  3332. coroutine.resume(coroutine.create(function()
  3333. --if game.Players:FindFirstChild(Foe.Name) then
  3334. table.insert(TOBANISH,Foe.Name)
  3335. printbye(Foe.Name)
  3336. --end
  3337. Foe.Archivable = true
  3338. local CLONE = Foe:Clone()
  3339. Foe:Destroy()
  3340. CLONE.Parent = Effects
  3341. CLONE:BreakJoints()
  3342. local MATERIALS = {"Glass","Neon"}
  3343. for _, c in pairs(CLONE:GetDescendants()) do
  3344. if c:IsA("BasePart") then
  3345. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  3346. CreateSound(340722848, c, 10, 1, false)
  3347. end
  3348. c.Anchored = true
  3349. c.Transparency = c.Transparency + 0.2
  3350. c.Material = MATERIALS[MRANDOM(1,2)]
  3351. c.Color = C3(0,255,0)
  3352. if c.ClassName == "MeshPart" then
  3353. c.TextureID = ""
  3354. end
  3355. if c:FindFirstChildOfClass("SpecialMesh") then
  3356. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3357. end
  3358. if c:FindFirstChildOfClass("Decal") then
  3359. c:FindFirstChildOfClass("Decal"):remove()
  3360. end
  3361. c.Name = "Banished"
  3362. c.CanCollide = false
  3363. else
  3364. c:remove()
  3365. end
  3366. end
  3367. local A = false
  3368. for i = 1, 35 do
  3369. if A == false then
  3370. A = true
  3371. elseif A == true then
  3372. A = false
  3373. end
  3374. for _, c in pairs(CLONE:GetDescendants()) do
  3375. if c:IsA("BasePart") then
  3376. c.Anchored = true
  3377. c.Material = MATERIALS[MRANDOM(1,2)]
  3378. c.Transparency = c.Transparency + 0.8/35
  3379. if A == false then
  3380. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3381. elseif A == true then
  3382. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  3383. end
  3384. end
  3385. end
  3386. Swait()
  3387. end
  3388. CLONE:remove()
  3389. end))
  3390. end
  3391. end
  3392.  
  3393. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  3394. local DIRECTION = CF(StartPos,EndPos).lookVector
  3395. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  3396. end
  3397.  
  3398. function SpawnTrail(FROM,TO,BIG)
  3399. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Trail", VT(0,0,0))
  3400. MakeForm(TRAIL,"Cyl")
  3401. local DIST = (FROM - TO).Magnitude
  3402. if BIG == true then
  3403. TRAIL.Size = VT(0.15,DIST,0.15)
  3404. else
  3405. TRAIL.Size = VT(0.45,DIST,0.45)
  3406. end
  3407. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  3408. coroutine.resume(coroutine.create(function()
  3409. for i = 1, 5 do
  3410. Swait()
  3411. TRAIL.Transparency = TRAIL.Transparency + 0.1
  3412. end
  3413. TRAIL:remove()
  3414. end))
  3415. end
  3416.  
  3417. local asd = Instance.new("ParticleEmitter")
  3418. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  3419. asd.LightEmission = .1
  3420. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  3421. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  3422. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  3423. asd.Transparency = bbb
  3424. asd.Size = aaa
  3425. asd.ZOffset = .9
  3426. asd.Acceleration = Vector3.new(0, -15, 0)
  3427. asd.LockedToPart = false
  3428. asd.EmissionDirection = "Back"
  3429. asd.Lifetime = NumberRange.new(1, 2)
  3430. asd.Rotation = NumberRange.new(-100, 100)
  3431. asd.RotSpeed = NumberRange.new(-100, 100)
  3432. asd.Speed = NumberRange.new(10)
  3433. asd.Enabled = false
  3434. asd.VelocitySpread = 999
  3435.  
  3436. function getbloody(victim,amount)
  3437. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  3438. PART.CFrame = victim.CFrame
  3439. local HITPLAYERSOUNDS = {"356551938","264486467"}
  3440. Debris:AddItem(PART,5)
  3441. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3442. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3443. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  3444. local prtcl = asd:Clone()
  3445. prtcl.Parent = PART
  3446. prtcl:Emit(amount*10)
  3447. end
  3448.  
  3449. function Kill2(Char)
  3450. local NewCharacter = IT("Model",Effects)
  3451. NewCharacter.Name = "Ow im ded ;-;"
  3452. for _, c in pairs(Char:GetDescendants()) do
  3453. if c:IsA("BasePart") and c.Transparency == 0 then
  3454. if c.Parent == Char then
  3455. getbloody(c,5)
  3456. end
  3457. local SIZE = c.Size
  3458. c:BreakJoints()
  3459. c.Material = "Neon"
  3460. c.Color = C3(1,0,0)
  3461. c.CanCollide = true
  3462. c.Transparency = 0.3
  3463. if c:FindFirstChildOfClass("SpecialMesh") then
  3464. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  3465. end
  3466. if c.Name == "Head" then
  3467. c:ClearAllChildren()
  3468. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  3469. end
  3470. if c.ClassName == "MeshPart" then
  3471. c.TextureID = ""
  3472. end
  3473. if c:FindFirstChildOfClass("BodyPosition") then
  3474. c:FindFirstChildOfClass("BodyPosition"):remove()
  3475. end
  3476. if c:FindFirstChildOfClass("ParticleEmitter") then
  3477. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3478. end
  3479. c.Parent = NewCharacter
  3480. c.Name = "DeadPart"
  3481. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  3482. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  3483.  
  3484. end
  3485. end
  3486. Char:remove()
  3487. Debris:AddItem(NewCharacter,5)
  3488. end
  3489.  
  3490. function BulletDetection(FROM,TO,BRUTAL)
  3491. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  3492. coroutine.resume(coroutine.create(function()
  3493. if AIMHIT ~= nil then
  3494. if AIMHIT.Parent ~= Character then
  3495. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3496. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3497. if BRUTAL == true then
  3498. Kill2(AIMHIT.Parent)
  3499. else
  3500. getbloody(AIMHIT,15)
  3501. AIMHIT.Parent:BreakJoints()
  3502. if AIMHIT.Name == "Head" then
  3503. AIMHIT.Name = "HEADSHOT"
  3504. AIMHIT:remove()
  3505. end
  3506. end
  3507. else
  3508. if BRUTAL == true then
  3509. Kill2(AIMHIT.Parent.Parent)
  3510. else
  3511. Banish(AIMHIT.Parent.Parent)
  3512. end
  3513. end
  3514. end
  3515. end
  3516. end
  3517. end))
  3518. SpawnTrail(FROM,AIMPOS)
  3519. return AIMHIT,AIMPOS,NORMAL
  3520. end
  3521.  
  3522. function BulletDetection2(FROM,TO,BRUTAL)
  3523. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  3524. coroutine.resume(coroutine.create(function()
  3525. if AIMHIT ~= nil then
  3526. if AIMHIT.Parent ~= Character then
  3527. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3528. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  3529. if BRUTAL == true then
  3530. Banish(AIMHIT.Parent)
  3531. else
  3532. getbloody(AIMHIT,15)
  3533. AIMHIT.Parent:BreakJoints()
  3534. if AIMHIT.Name == "Head" then
  3535. AIMHIT.Name = "HEADSHOT"
  3536. AIMHIT:remove()
  3537. end
  3538. end
  3539. else
  3540. if BRUTAL == true then
  3541. Banish(AIMHIT.Parent.Parent)
  3542. else
  3543. Kill2(AIMHIT.Parent.Parent)
  3544. end
  3545. end
  3546. end
  3547. end
  3548. end
  3549. end))
  3550. SpawnTrail(FROM,AIMPOS)
  3551. return AIMHIT,AIMPOS,NORMAL
  3552. end
  3553.  
  3554. function ApplyAoE2(POSITION,RANGE,ISBANISH)
  3555. local CHILDREN = workspace:GetDescendants()
  3556. for index, CHILD in pairs(CHILDREN) do
  3557. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3558. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3559. if HUM then
  3560. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3561. if TORSO then
  3562. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3563. if ISBANISH == true then
  3564. Banish(CHILD)
  3565. else
  3566. if ISBANISH == "Gravity" then
  3567. HUM.PlatformStand = true
  3568. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3569. local grav = Instance.new("BodyPosition",TORSO)
  3570. grav.D = 15
  3571. grav.P = 20000
  3572. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3573. grav.position = TORSO.Position
  3574. grav.Name = "V3BanishForce"..Player.Name
  3575. else
  3576. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  3577. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  3578. end
  3579. else
  3580. HUM.PlatformStand = false
  3581. end
  3582. end
  3583. elseif ISBANISH == "Gravity" then
  3584. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  3585. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  3586. HUM.PlatformStand = false
  3587. end
  3588. end
  3589. end
  3590. end
  3591. end
  3592. end
  3593. end
  3594.  
  3595. function CORRUPTEDBURNINGBULLETS()
  3596. ATTACK = true
  3597. Rooted = false
  3598. repeat
  3599. local GYRO = IT("BodyGyro",RootPart)
  3600. GYRO.D = 175
  3601. GYRO.P = 20000
  3602. GYRO.MaxTorque = VT(0,40000,0)
  3603. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3604. if COMBO == 1 then
  3605. COMBO = 2
  3606. for i=0, 0, 0.1 / Animation_Speed do
  3607. Swait()
  3608. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3609. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3610. 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)
  3611. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3613. 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)
  3614. 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)
  3615. end
  3616. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3617. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3618. CreateSound(275326592, LeftHole, 7, 1, false)
  3619. BulletDetection2(LeftHole.Position,Mouse.Hit.p,true)
  3620. for i=0, 0, 0.1 / Animation_Speed do
  3621. Swait()
  3622. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3623. 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)
  3624. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3625. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3626. 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)
  3627. 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)
  3628. end
  3629. elseif COMBO == 2 then
  3630. COMBO = 1
  3631. for i=0, 0.1, 0.1 / Animation_Speed do
  3632. Swait()
  3633. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3634. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3635. 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)
  3636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3638. 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)
  3639. 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)
  3640. end
  3641. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3642. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3643. CreateSound(275326592, RightHole, 7, 1, false)
  3644. BulletDetection2(RightHole.Position,Mouse.Hit.p,true)
  3645. for i=0, 0.1, 0.1 / Animation_Speed do
  3646. Swait()
  3647. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3648. 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)
  3649. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3650. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3651. 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)
  3652. 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)
  3653. end
  3654. end
  3655. GYRO:remove()
  3656. until KEYHOLD == false
  3657. ATTACK = false
  3658. Rooted = false
  3659. end
  3660.  
  3661. function CORRUPTEDLETHALBULLETS()
  3662. ATTACK = true
  3663. Rooted = false
  3664. repeat
  3665. local GYRO = IT("BodyGyro",RootPart)
  3666. GYRO.D = 175
  3667. GYRO.P = 20000
  3668. GYRO.MaxTorque = VT(0,40000,0)
  3669. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3670. if COMBO == 1 then
  3671. COMBO = 2
  3672. for i=0, 0, 0.1 / Animation_Speed do
  3673. Swait()
  3674. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3675. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3676. 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)
  3677. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3678. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3679. 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)
  3680. 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)
  3681. end
  3682. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3683. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3684. CreateSound(1590205662, LeftHole, 7, 1, false)
  3685. BulletDetection(LeftHole.Position,Mouse.Hit.p,true)
  3686. for i=0, 0, 0.1 / Animation_Speed do
  3687. Swait()
  3688. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3689. 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)
  3690. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3691. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3692. 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)
  3693. 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)
  3694. end
  3695. elseif COMBO == 2 then
  3696. COMBO = 1
  3697. for i=0, 0.1, 0.1 / Animation_Speed do
  3698. Swait()
  3699. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3700. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3701. 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)
  3702. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3703. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3704. 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)
  3705. 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)
  3706. end
  3707. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3708. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3709. CreateSound(1590205662, RightHole, 7, 1, false)
  3710. BulletDetection(RightHole.Position,Mouse.Hit.p,true)
  3711. for i=0, 0.1, 0.1 / Animation_Speed do
  3712. Swait()
  3713. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3714. 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)
  3715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3717. 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)
  3718. 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)
  3719. end
  3720. end
  3721. GYRO:remove()
  3722. until KEYHOLD == false
  3723. ATTACK = false
  3724. Rooted = false
  3725. end
  3726.  
  3727. function CORRUPTEDLETHALBULLETS2()
  3728. ATTACK = true
  3729. Rooted = false
  3730. repeat
  3731. local GYRO = IT("BodyGyro",RootPart)
  3732. GYRO.D = 175
  3733. GYRO.P = 20000
  3734. GYRO.MaxTorque = VT(0,40000,0)
  3735. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3736. for i=0, 0.5, 0.5 / Animation_Speed do
  3737. Swait()
  3738. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3739. turnto(Mouse.Hit.p)
  3740. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3741. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3742. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3743. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3744. 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)
  3745. 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)
  3746. end
  3747. for i=0, 0.3, 5 / Animation_Speed do
  3748. Swait()
  3749. turnto(Mouse.Hit.p)
  3750. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3751. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3752. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3753. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3754. 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)
  3755. 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)
  3756. end
  3757. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3758. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3759. CreateSound(1590205662, RightArm, 7, 1, false)
  3760. BulletDetection(RightHole.Position,Mouse.Hit.p,true)
  3761. for i=0, 0.4, 5 / Animation_Speed do
  3762. Swait()
  3763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3767. 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)
  3768. 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)
  3769. end
  3770. GYRO:remove()
  3771. until KEYHOLD == false
  3772. ATTACK = false
  3773. Rooted = false
  3774. end
  3775.  
  3776.  
  3777. function Corrupted_Burn()
  3778. ATTACK = true
  3779. Rooted = true
  3780. for i=0, 1, 0.1 / Animation_Speed do
  3781. Swait()
  3782. 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)
  3783. 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)
  3784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3786. 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)
  3787. 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)
  3788. end
  3789. coroutine.resume(coroutine.create(function()
  3790. local POS = Mouse.Hit.p
  3791. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  3792. MakeForm(RAY,"Cyl")
  3793. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Hot pink", "Strike", VT(0,0,0))
  3794. MakeForm(SPHERE,"Ball")
  3795. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3796. MakeForm(SHIELD,"Ball")
  3797. SHIELD.CFrame = CF(POS)
  3798. RAY.CFrame = CF(POS)
  3799. SPHERE.CFrame = CF(POS)
  3800. CreateSound(440145570, SPHERE, 10, 0.8, false)
  3801. CreateSound(415700134, SPHERE, 10, 0.8, false)
  3802. for i = 1, 200 do
  3803. Swait()
  3804. 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})
  3805. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3806. SPHERE.Size = SPHERE.Size + VT(5,5,5)
  3807. SHIELD.Size = SPHERE.Size + VT(10,10,10)
  3808. ApplyAoE2(SPHERE.Position,SPHERE.Size.X/5,true)
  3809. end
  3810. for i = 1, 45 do
  3811. Swait()
  3812. RAY.Transparency = RAY.Transparency + 1/45
  3813. SPHERE.Transparency = RAY.Transparency
  3814. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3815. end
  3816. RAY:remove()
  3817. SHIELD:remove()
  3818. SPHERE:remove()
  3819. end))
  3820. for i=0, 1, 0.1 / Animation_Speed do
  3821. Swait()
  3822. 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)
  3823. 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)
  3824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3826. 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)
  3827. 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)
  3828. end
  3829. ATTACK = false
  3830. Rooted = false
  3831. end
  3832.  
  3833. local Weapon = IT("Model")
  3834. Weapon.Name = "Adds"
  3835.  
  3836. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0,0,0),false)
  3837. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3838.  
  3839. function MagicSpheres(SIZE,WAIT,CFRAME,COLOR,GROW)
  3840. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3841. local mesh = IT("SpecialMesh",wave)
  3842. mesh.MeshType = "Sphere"
  3843. mesh.Scale = SIZE
  3844. mesh.Offset = VT(0,0,0)
  3845. wave.CFrame = CFRAME
  3846. coroutine.resume(coroutine.create(function(PART)
  3847. for i = 1, WAIT do
  3848. Swait()
  3849. mesh.Scale = mesh.Scale + GROW
  3850. wave.Transparency = wave.Transparency + (1/WAIT)
  3851. if wave.Transparency > 0.99 then
  3852. wave:remove()
  3853. end
  3854. end
  3855. end))
  3856. end
  3857.  
  3858. function Warp()
  3859. ATTACK = true
  3860. Rooted = true
  3861. UNANCHOR = false
  3862. RootPart.Anchored = true
  3863. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Really red",VT(2,2,2))
  3864. MagicSpheres(VT(0,0,0),15,Eon.CFrame,"Royal Purple",VT(2,2,2))
  3865. for i=0, 0.5, 0.1 / Animation_Speed do
  3866. Swait()
  3867. WACKYEFFECT({
  3868. Time = 5,
  3869. EffectType = "Round Slash",
  3870. Size = VT(0, 0, 0),
  3871. Size2 = VT(0.01, 0, 0.01),
  3872. Transparency = 0.5,
  3873. Transparency2 = 1,
  3874. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3875. MoveToPos = nil,
  3876. RotationX = MRANDOM(-50, 50) / 10,
  3877. RotationY = MRANDOM(-50, 50) / 10,
  3878. RotationZ = MRANDOM(-50, 50) / 10,
  3879. Material = "Neon",
  3880. Color = C3(1, 0, 0),
  3881. SoundID = nil,
  3882. SoundPitch = nil,
  3883. SoundVolume = nil
  3884. })
  3885. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
  3886. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3887. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3888. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3889. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3890. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3891. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3892. end
  3893. for i = 1, 10 do
  3894. Swait()
  3895. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
  3896. end
  3897. for i=0, 1, 0.1 / Animation_Speed do
  3898. Swait()
  3899. WACKYEFFECT({
  3900. Time = 5,
  3901. EffectType = "Round Slash",
  3902. Size = VT(0, 0, 0),
  3903. Size2 = VT(0.01, 0, 0.01),
  3904. Transparency = 0.5,
  3905. Transparency2 = 1,
  3906. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3907. MoveToPos = nil,
  3908. RotationX = MRANDOM(-50, 50) / 10,
  3909. RotationY = MRANDOM(-50, 50) / 10,
  3910. RotationZ = MRANDOM(-50, 50) / 10,
  3911. Material = "Neon",
  3912. Color = C3(1, 0, 0),
  3913. SoundID = nil,
  3914. SoundPitch = nil,
  3915. SoundVolume = nil
  3916. })
  3917. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Crimson",VT(0.5,0,0.5))
  3918. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3922. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3923. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3924. end
  3925. local ORIGIN = RootPart.Position
  3926. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN)
  3927. for i=0, 1, 0.1 / Animation_Speed do
  3928. Swait()
  3929. WACKYEFFECT({
  3930. Time = 5,
  3931. EffectType = "Round Slash",
  3932. Size = VT(0, 0, 0),
  3933. Size2 = VT(0.01, 0, 0.01),
  3934. Transparency = 0.5,
  3935. Transparency2 = 1,
  3936. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  3937. MoveToPos = nil,
  3938. RotationX = MRANDOM(-50, 50) / 10,
  3939. RotationY = MRANDOM(-50, 50) / 10,
  3940. RotationZ = MRANDOM(-50, 50) / 10,
  3941. Material = "Neon",
  3942. Color = C3(1, 0, 0),
  3943. SoundID = nil,
  3944. SoundPitch = nil,
  3945. SoundVolume = nil
  3946. })
  3947. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Really black",VT(0.5,0,0.5))
  3948. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3949. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3950. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3951. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3952. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3953. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3954. end
  3955. UNANCHOR = true
  3956. RootPart.Anchored = false
  3957. for i = 1, 10 do
  3958. Swait()
  3959. MagicSpheres(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Hot pink",VT(0.5,0,0.5))
  3960. end
  3961. ATTACK = false
  3962. Rooted = false
  3963. end
  3964.  
  3965. function Neckless()
  3966. local TARGET = Mouse.Target
  3967. if TARGET ~= nil then
  3968. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  3969. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  3970. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  3971. if ROOT and HUM.Health > 0 then
  3972. local FOE = Mouse.Target.Parent
  3973. local HEAD = FOE:FindFirstChild("Head")
  3974. if HEAD then
  3975. ATTACK = true
  3976. Rooted = false
  3977. CharacterFade(C3(0,0,0),150)
  3978. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  3979. for _, c in pairs(FOE:GetChildren()) do
  3980. if c.ClassName == "Part" then
  3981. c.Anchored = true
  3982. end
  3983. end
  3984. CreateSound(235097614, Torso, 2, 3, false)
  3985. for i=0, 0.5, 0.1 / Animation_Speed do
  3986. Swait()
  3987. 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)
  3988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3991. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3992. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  3993. end
  3994. if ROOT.Name == "HumanoidRootPart" then
  3995. ROOT:remove()
  3996. end
  3997. FOE:BreakJoints()
  3998. ApplyDamage(HUM,0,true)
  3999. CreateSound(363808674, HEAD, 5, 1, false)
  4000. ROOT.Anchored = false
  4001. for i=0, 0.5, 0.1 / Animation_Speed do
  4002. Swait()
  4003. 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)
  4004. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  4005. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4006. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4007. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4008. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4009. end
  4010. for _, c in pairs(FOE:GetChildren()) do
  4011. if c.ClassName == "Part" then
  4012. c.Anchored = false
  4013. end
  4014. end
  4015. ATTACK = false
  4016. Rooted = false
  4017. end
  4018. end
  4019. end
  4020. end
  4021. end
  4022. function BraveSpeed()
  4023. CreateSound(235097614, Torso, 0.2, 3, false)
  4024. for i = 1, 7 do
  4025. CharacterFade(C3(0,0,0),25+(i*10))
  4026. RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
  4027. end
  4028. end
  4029. function Slashed()
  4030. local TARGET = Mouse.Target
  4031. if TARGET ~= nil then
  4032. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  4033. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  4034. local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  4035. if ROOT and HUM.Health > 0 then
  4036. local FOE = Mouse.Target.Parent
  4037. ATTACK = true
  4038. coroutine.resume(coroutine.create(function()
  4039. repeat
  4040. Swait()
  4041. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  4042. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  4043. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4044. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4045. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4046. until ATTACK == false
  4047. end))
  4048. for i=0, 0.2, 0.1 / Animation_Speed do
  4049. Swait()
  4050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4051. end
  4052. for i=0, 1.2, 0.1 / Animation_Speed do
  4053. Swait()
  4054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4055. end
  4056. CreateSound(971125740, LeftArm, 5, 1, false)
  4057. for i=0, 0.1, 0.1 / Animation_Speed do
  4058. Swait()
  4059. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4061. end
  4062. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
  4063. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  4064. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  4065. coroutine.resume(coroutine.create(function()
  4066. for i = 1, 5 do
  4067. Chunks(ROOT)
  4068. end
  4069. local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  4070. FAKEROOT1.CanCollide = true
  4071. local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  4072. FAKEROOT2.CanCollide = true
  4073. FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
  4074. FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
  4075. ROOT:Remove()
  4076. ApplyDamage(HUM,0,true)
  4077. end))
  4078. for i=0, 0.4, 0.1 / Animation_Speed do
  4079. Swait()
  4080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4081. end
  4082. ATTACK = false
  4083. end
  4084. end
  4085. end
  4086. end
  4087. function Dirtface()
  4088. local TARGET = Mouse.Target
  4089. if TARGET ~= nil then
  4090. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  4091. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  4092. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  4093. if ROOT and HUM.Health > 0 then
  4094. local FOE = Mouse.Target.Parent
  4095. local HEAD = FOE:FindFirstChild("Head")
  4096. local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
  4097. if HEAD and HITFLOOR then
  4098. ATTACK = true
  4099. Rooted = true
  4100. CharacterFade(C3(0,0,0),150)
  4101. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  4102. ROOT.Anchored = true
  4103. CreateSound(235097614, Torso, 2, 3, false)
  4104. for i=0, 0.4, 0.1 / Animation_Speed do
  4105. Swait()
  4106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  4108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4110. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4112. end
  4113. for i=0, 0.1, 0.1 / Animation_Speed do
  4114. Swait()
  4115. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  4116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4119. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4121. end
  4122. ROOT.Anchored = false
  4123. UNANCHOR = false
  4124. local DEAD = false
  4125. local CFRAME = RootPart.CFrame
  4126. CreateSound(260411131, Torso, 2, 3, false)
  4127. coroutine.resume(coroutine.create(function()
  4128. repeat
  4129. Swait()
  4130. RootPart.CFrame = CFRAME
  4131. HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  4132. HEAD.Velocity = VT(0,0,0)
  4133. HUM.PlatformStand = true
  4134. until DEAD == true
  4135. end))
  4136. for i=0, 0.2, 0.1 / Animation_Speed do
  4137. Swait()
  4138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  4139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  4140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  4141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4142. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4144. end
  4145. for i=0, 1, 0.1 / Animation_Speed do
  4146. Swait()
  4147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  4148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  4149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4151. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4153. end
  4154. local ERUPT = function()
  4155. local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
  4156. if HITFLOOR then
  4157. for i = 1, 5 do
  4158. CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
  4159. end
  4160. Chunks(HEAD)
  4161. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
  4162. end
  4163. end
  4164. local ATE = false
  4165. local DEPTH = 1
  4166. coroutine.resume(coroutine.create(function()
  4167. repeat
  4168. Swait()
  4169. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
  4170. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
  4171. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4172. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4173. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  4174. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  4175. until ATE == true
  4176. end))
  4177. wait()
  4178. ERUPT()
  4179. wait(2)
  4180. ERUPT()
  4181. DEPTH = 2
  4182. wait(2)
  4183. ERUPT()
  4184. DEPTH = 2.5
  4185. wait(3)
  4186. ERUPT()
  4187. ERUPT()
  4188. HEAD:remove()
  4189. DEAD = true
  4190. ApplyDamage(HUM,0,true)
  4191. wait(0.2)
  4192. ATE = true
  4193. UNANCHOR = true
  4194. ATTACK = false
  4195. Rooted = false
  4196. end
  4197. end
  4198. end
  4199. end
  4200. end
  4201.  
  4202.  
  4203. function ApplyAoE5(POSITION, RANGE, MINDMG, MAXDMG, FLING, EBANISH)
  4204. local CHILDREN = workspace:GetDescendants()
  4205. for index, CHILD in pairs(CHILDREN) do
  4206. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4207. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4208. if HUM then
  4209. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4210. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  4211. if EBANISH == true then
  4212. Banish(CHILD)
  4213. else
  4214. local DMG = MRANDOM(MINDMG, MAXDMG)
  4215. ApplyDamage(HUM, DMG, TORSO)
  4216. end
  4217. if FLING > 0 then
  4218. for _, c in pairs(CHILD:GetChildren()) do
  4219. if c:IsA("BasePart") then
  4220. local bv = Instance.new("BodyVelocity")
  4221. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4222. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  4223. bv.Parent = c
  4224. Debris:AddItem(bv, 0.05)
  4225. end
  4226. end
  4227. end
  4228. end
  4229. end
  4230. end
  4231. end
  4232. end
  4233.  
  4234. local A = IT("Attachment",RightBarrel)
  4235. A.Position = VT(0,-2.5,0)
  4236. local B = IT("Attachment",RightBarrel)
  4237. B.Position = VT(0,2.5,0)
  4238. local Trail = IT("Trail",RightBarrel)
  4239. Trail.Attachment0 = A
  4240. Trail.Attachment1 = B
  4241. Trail.Lifetime = 0.2
  4242. Trail.Color = ColorSequence.new(BRICKC"Crimson".Color)
  4243. Trail.Transparency = NumberSequence.new(0, 1)
  4244. Trail.Enabled = false
  4245.  
  4246. function Execute()
  4247. ATTACK = true
  4248. Rooted = false
  4249. local Part = CreatePart(3, Character, "Neon", 0, 0, "Crimson", "Part", VT(0,1,4),false)
  4250. Part.Color = C3(0,0,0)
  4251. MakeForm(Part,"Wedge")
  4252. Part.CanCollide = true
  4253. 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))
  4254. for i=0, 1, 0.1 / Animation_Speed do
  4255. Swait()
  4256. 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)
  4257. 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)
  4258. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4259. 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)
  4260. 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)
  4261. 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)
  4262. end
  4263. Trail.Enabled = true
  4264. CreateSound(541909867, RightBarrel, 7, 1, false)
  4265. local TOCH = Part.Touched:Connect(function(hit)
  4266. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  4267. Banish(hit.Parent)
  4268. end
  4269. end)
  4270. for i=0, 0.35, 0.1 / Animation_Speed do
  4271. Swait()
  4272. 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)
  4273. 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)
  4274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4275. 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)
  4276. 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)
  4277. 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)
  4278. end
  4279. TOCH:disconnect()
  4280. Trail.Enabled = false
  4281. for i=0, 0.35, 0.1 / Animation_Speed do
  4282. Swait()
  4283. 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)
  4284. 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)
  4285. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4286. 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)
  4287. 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)
  4288. 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)
  4289. end
  4290. Part:remove()
  4291. ATTACK = false
  4292. Rooted = false
  4293. end
  4294.  
  4295. local DECAL = IT("Decal")
  4296. function MakeRing()
  4297. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  4298. local MSH = IT("BlockMesh", RING)
  4299. local TOP = DECAL:Clone()
  4300. local BOTTOM = DECAL:Clone()
  4301. TOP.Parent = RING
  4302. BOTTOM.Parent = RING
  4303. TOP.Face = "Top"
  4304. BOTTOM.Face = "Bottom"
  4305. TOP.Texture = "http://www.roblox.com/asset/?id=647661410"
  4306. BOTTOM.Texture = "http://www.roblox.com/asset/?id=647661410"
  4307. local function REMOVE()
  4308. coroutine.resume(coroutine.create(function()
  4309. local SIZE = MSH.Scale.X
  4310. for i = 1, 35 do
  4311. Swait()
  4312. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  4313. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  4314. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  4315. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  4316. end
  4317. RING:remove()
  4318. end))
  4319. end
  4320. return RING, MSH, REMOVE
  4321. end
  4322.  
  4323. function ApplyAoE(POSITION,RANGE,ISBANISH)
  4324. local CHILDREN = workspace:GetDescendants()
  4325. for index, CHILD in pairs(CHILDREN) do
  4326. if CHILD.ClassName == "Model" and CHILD ~= Character then
  4327. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  4328. if HUM then
  4329. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  4330. if TORSO then
  4331. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  4332. if ISBANISH == true then
  4333. Banish(CHILD)
  4334. else
  4335. if ISBANISH == "Gravity" then
  4336. HUM.PlatformStand = true
  4337. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4338. local grav = Instance.new("BodyPosition",TORSO)
  4339. grav.D = 15
  4340. grav.P = 20000
  4341. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  4342. grav.position = TORSO.Position
  4343. grav.Name = "V3BanishForce"..Player.Name
  4344. else
  4345. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  4346. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  4347. end
  4348. else
  4349. HUM.PlatformStand = false
  4350. end
  4351. end
  4352. elseif ISBANISH == "Gravity" then
  4353. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  4354. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  4355. HUM.PlatformStand = false
  4356. end
  4357. end
  4358. end
  4359. end
  4360. end
  4361. end
  4362. end
  4363.  
  4364. function Smite()
  4365. local RING, MESH, DELET = MakeRing()
  4366. local POS = Mouse.Hit.p
  4367. RING.CFrame = CF(Mouse.Hit.p + VT(MRANDOM(-25, 25), 200, MRANDOM(-25, 25)), Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  4368. for i = 1, 45 do
  4369. Swait()
  4370. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  4371. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4372. end
  4373. local HITFLOOR, HITPOS = Raycast(RING.Position, CF(RING.Position, RING.CFrame * CF(0, -1, 0).p).lookVector, 500, Character)
  4374. if HITFLOOR then
  4375. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really black"), "Beam", VT(0, 0, 0), true)
  4376. MakeForm(BEAM, "Cyl")
  4377. local DIST = (RING.Position - HITPOS).Magnitude
  4378. BEAM.Size = VT(0, DIST, 0)
  4379. BEAM.CFrame = CF(RING.Position, HITPOS) * CF(0, 0, -DIST / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  4380. for i = 1, 5 do
  4381. WACKYEFFECT({
  4382. EffectType = "Wave",
  4383. Size = VT(25, 0, 25),
  4384. Size2 = VT(40, 0, 40) + VT(i * 6, i / 5, i * 6),
  4385. Transparency = 0,
  4386. Transparency2 = 1,
  4387. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  4388. MoveToPos = nil,
  4389. RotationX = 0,
  4390. RotationY = 3,
  4391. RotationZ = 0,
  4392. Material = "Neon",
  4393. Color = C3(1, 0, 0),
  4394. SoundID = nil,
  4395. SoundPitch = nil,
  4396. SoundVolume = nil
  4397. })
  4398. WACKYEFFECT({
  4399. EffectType = "Round Slash",
  4400. Size = VT(3, 0, 3) / 13,
  4401. Size2 = (VT(3, 0, 3) + VT(i, 0, i)) / 5,
  4402. Transparency = 0,
  4403. Transparency2 = 1,
  4404. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-35, 35)), RAD(0), RAD(MRANDOM(-35, 35))),
  4405. MoveToPos = nil,
  4406. RotationX = 0,
  4407. RotationY = 0,
  4408. RotationZ = 0,
  4409. Material = "Neon",
  4410. Color = C3(1, 0, 1),
  4411. SoundID = nil,
  4412. SoundPitch = nil,
  4413. SoundVolume = nil
  4414. })
  4415. WACKYEFFECT({
  4416. Time = 35,
  4417. EffectType = "Sphere",
  4418. Size = VT(22, 22, 22),
  4419. Size2 = VT(45, 45, 45) + VT(i * 5, i * 5, i * 5),
  4420. Transparency = 0,
  4421. Transparency2 = 1,
  4422. CFrame = CF(HITPOS),
  4423. MoveToPos = nil,
  4424. RotationX = 0,
  4425. RotationY = 0,
  4426. RotationZ = 0,
  4427. Material = "Neon",
  4428. Color = C3(0, .7, 0),
  4429. SoundID = 459523898,
  4430. SoundPitch = MRANDOM(9, 12) / 10,
  4431. SoundVolume = 10
  4432. })
  4433. end
  4434. ApplyAoE(HITPOS, 50, true)
  4435. for i = 1, 25 do
  4436. Swait()
  4437. BEAM.Size = BEAM.Size + VT(0.15, 0, 0.15)
  4438. BEAM.Transparency = BEAM.Transparency + 0.04
  4439. end
  4440. BEAM:remove()
  4441. end
  4442. wait(0.2)
  4443. DELET()
  4444. end
  4445.  
  4446. function CorruptedBurningBeam()
  4447. ATTACK = true
  4448. Rooted = false
  4449. chatfunc("Why Dont You Just Leave My Sights Already")
  4450. local GYRO = IT("BodyGyro", RootPart)
  4451. GYRO.D = 20
  4452. GYRO.P = 4000
  4453. GYRO.MaxTorque = VT(0, 40000, 0)
  4454. local RING, MESH, DELET = MakeRing()
  4455. local POS = RootPart.Position + VT(0, 25, 0)
  4456. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  4457. CreateSound(459523787, RING, 8, 1, false)
  4458. local BLASTS = {468991944, 468991990}
  4459. coroutine.resume(coroutine.create(function()
  4460. local E = 0
  4461. repeat
  4462. E = E + 5
  4463. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  4464. Swait()
  4465. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  4466. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  4467. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
  4468. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4469. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4470. 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)
  4471. 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)
  4472. until ATTACK == false
  4473. GYRO:remove()
  4474. DELET()
  4475. end))
  4476. for i = 1, 50 do
  4477. Swait()
  4478. MESH.Scale = MESH.Scale + VT(22, 0, 22)
  4479. end
  4480. for i = 1, 25 do
  4481. Swait()
  4482. WACKYEFFECT({
  4483. Time = 15,
  4484. EffectType = "Sphere",
  4485. Size = VT(4, 4, 4),
  4486. Size2 = VT(0, 0, 0),
  4487. Transparency = 1,
  4488. Transparency2 = 0,
  4489. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  4490. MoveToPos = RING.Position,
  4491. RotationX = 0,
  4492. RotationY = 0,
  4493. RotationZ = 0,
  4494. Material = "Neon",
  4495. Color = C3(1, 0, 0),
  4496. SoundID = nil,
  4497. SoundPitch = nil,
  4498. SoundVolume = nil
  4499. })
  4500. end
  4501. local LOOP = 0
  4502. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Dark indigo"), "Beam", VT(0, 0, 0), true)
  4503. MakeForm(BEAM, "Cyl")
  4504. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  4505. repeat
  4506. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  4507. if DISTANCE < 2000 then
  4508. BEAM.Size = VT(10 + 2 * COS(SINE / 4), DISTANCE, 10 + 2 * COS(SINE / 4))
  4509. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  4510. ApplyAoE(Mouse.Hit.p, 35, true)
  4511. WACKYEFFECT({
  4512. Time = 35,
  4513. EffectType = "Sphere",
  4514. Size = VT(10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4), 10 + 2 * COS(SINE / 4)) * 2,
  4515. Size2 = VT(5, 75, 5),
  4516. Transparency = 0,
  4517. Transparency2 = 1,
  4518. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  4519. MoveToPos = nil,
  4520. RotationX = 0,
  4521. RotationY = 0,
  4522. RotationZ = 0,
  4523. Material = "Neon",
  4524. Color = C3(0, 0, 0),
  4525. SoundID = nil,
  4526. SoundPitch = MRANDOM(9, 12) / 10,
  4527. SoundVolume = 10
  4528. })
  4529. Swait()
  4530. LOOP = LOOP + 1
  4531. end
  4532. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  4533. coroutine.resume(coroutine.create(function()
  4534. for i = 1, 15 do
  4535. Swait()
  4536. BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
  4537. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  4538. end
  4539. BEAM:remove()
  4540. end))
  4541. ATTACK = false
  4542. Rooted = false
  4543. end
  4544.  
  4545. function nope()
  4546. ATTACK = true
  4547. Rooted = false
  4548. Chatter("Why you use this script for abuse?")
  4549. for i=0, 5, 0.1 / Animation_Speed do
  4550. Swait()
  4551. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(20 * COS(SINE / 7))), 0.5 / Animation_Speed)
  4553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 - 0.1 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  4554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 - 0.1 * COS(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  4555. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.05 * COS(SINE / 12),-0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4556. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.05 * COS(SINE / 12),-0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  4557. end
  4558. ATTACK = false
  4559. Rooted = false
  4560. end
  4561.  
  4562.  
  4563. function PlanetaryDevastation()
  4564. ATTACK = true
  4565. Rooted = true
  4566. chatfunc("Burn In My Special Hell")
  4567. local SIZE = 1
  4568. local GYRO = IT("BodyGyro", RootPart)
  4569. GYRO.D = 20
  4570. GYRO.P = 4000
  4571. GYRO.MaxTorque = VT(0, 40000, 0)
  4572. local RING, MESH, DELET = MakeRing()
  4573. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  4574. RING.CFrame = CF(HITPOS)
  4575. for i = 0, 0.6, 0.1 / Animation_Speed do
  4576. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  4577. Swait()
  4578. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  4579. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4580. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  4581. 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)
  4582. 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)
  4583. end
  4584. local BLASTS = {468991944, 468991990}
  4585. coroutine.resume(coroutine.create(function()
  4586. local CFRAME = RootPart.CFrame
  4587. for i = 1, 100 do
  4588. CFRAME = CFRAME * CF(0, 0, -35)
  4589. do
  4590. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  4591. if HITFLOOR then
  4592. Swait()
  4593. do
  4594. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  4595. coroutine.resume(coroutine.create(function()
  4596. local RING, MESH, DELET = MakeRing()
  4597. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  4598. for i = 1, 25 do
  4599. Swait()
  4600. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  4601. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  4602. end
  4603. ApplyAoE(RING.Position, 65, true)
  4604. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  4605. WACKYEFFECT({
  4606. Time = 25,
  4607. EffectType = "Sphere",
  4608. Size = VT(22, 22, 22),
  4609. Size2 = VT(85, 85, 85),
  4610. Transparency = 0,
  4611. Transparency2 = 1,
  4612. CFrame = CF(RING.Position),
  4613. MoveToPos = nil,
  4614. RotationX = 0,
  4615. RotationY = 0,
  4616. RotationZ = 0,
  4617. Material = "Neon",
  4618. Color = C3(1, 0, 0),
  4619. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  4620. SoundPitch = MRANDOM(9, 12) / 10,
  4621. SoundVolume = 10
  4622. })
  4623. for e = 1, 3 do
  4624. WACKYEFFECT({
  4625. EffectType = "Wave",
  4626. Size = VT(25, 0, 25),
  4627. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  4628. Transparency = 0,
  4629. Transparency2 = 1,
  4630. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  4631. MoveToPos = nil,
  4632. RotationX = 0,
  4633. RotationY = 3,
  4634. RotationZ = 0,
  4635. Material = "Neon",
  4636. Color = C3(1, 0, 1),
  4637. SoundID = nil,
  4638. SoundPitch = nil,
  4639. SoundVolume = nil
  4640. })
  4641. WACKYEFFECT({
  4642. Time = 35,
  4643. EffectType = "Sphere",
  4644. Size = VT(22, 45, 22),
  4645. Size2 = VT(25, 45 + e * 75, 25),
  4646. Transparency = 0,
  4647. Transparency2 = 1,
  4648. CFrame = CF(RING.Position) * TURN,
  4649. MoveToPos = nil,
  4650. RotationX = 0,
  4651. RotationY = 0,
  4652. RotationZ = 0,
  4653. Material = "Neon",
  4654. Color = C3(0, .5, 0),
  4655. SoundID = nil,
  4656. SoundPitch = MRANDOM(9, 12) / 10,
  4657. SoundVolume = 10
  4658. })
  4659. end
  4660. wait(0.3)
  4661. DELET()
  4662. end))
  4663. end
  4664. end
  4665. end
  4666. end
  4667. end))
  4668. Rooted = false
  4669. DELET()
  4670. GYRO:remove()
  4671. ATTACK = false
  4672. Rooted = false
  4673. end
  4674.  
  4675. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  4676. if FLOOR ~= nil then
  4677. for i = 1, AMOUNT do
  4678. do
  4679. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  4680. DEBREE.Material = FLOOR.Material
  4681. DEBREE.Color = FLOOR.Color
  4682. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  4683. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  4684. coroutine.resume(coroutine.create(function()
  4685. Swait(15)
  4686. DEBREE.Parent = workspace
  4687. DEBREE.CanCollide = true
  4688. Debris:AddItem(DEBREE, SWAIT)
  4689. end))
  4690. end
  4691. end
  4692. end
  4693. end
  4694.  
  4695. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  4696. if FLOOR ~= nil then
  4697. for i = 1, AMOUNT do
  4698. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
  4699. DEBREE.Material = FLOOR.Material
  4700. DEBREE.Color = FLOOR.Color
  4701. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  4702. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  4703. coroutine.resume(coroutine.create(function()
  4704. Swait(15)
  4705. DEBREE.Parent = workspace
  4706. DEBREE.CanCollide = true
  4707. Debris:AddItem(DEBREE,SWAIT)
  4708. end))
  4709. end
  4710. end
  4711. end
  4712.  
  4713. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  4714. if FLOOR ~= nil then
  4715. coroutine.resume(coroutine.create(function()
  4716. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Lime green", "DebreeCenter", VT(0,0,0))
  4717. PART.CFrame = CF(POSITION)
  4718. for i = 1, 45 do
  4719. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
  4720. RingPiece.Material = FLOOR.Material
  4721. RingPiece.Color = FLOOR.Color
  4722. 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)))
  4723. Debris:AddItem(RingPiece,SWAIT)
  4724. end
  4725. PART:remove()
  4726. end))
  4727. end
  4728. end
  4729.  
  4730. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  4731. if FLOOR ~= nil then
  4732. coroutine.resume(coroutine.create(function()
  4733. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  4734. PART.CFrame = CF(POSITION)
  4735. for i = 1, 45 do
  4736. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  4737. RingPiece.Material = FLOOR.Material
  4738. RingPiece.Color = FLOOR.Color
  4739. 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)))
  4740. Debris:AddItem(RingPiece, SWAIT)
  4741. end
  4742. PART:remove()
  4743. end))
  4744. end
  4745. end
  4746.  
  4747. function BIGSMASH()
  4748. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 10, 0), Mouse.Hit.p - VT(0, 10, 0)).lookVector, 25, Character)
  4749. chatfunc("Die.")
  4750. if HITFLOOR then
  4751. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  4752. CreateSound("1295446488", Torso, 5, 1)
  4753. for i = 1, 5 do
  4754. WACKYEFFECT({
  4755. Time = MRANDOM(15, 35),
  4756. EffectType = "Round Slash",
  4757. Size = VT(0, 0, 0),
  4758. Size2 = VT(0.3, 0, 0.3),
  4759. Transparency = 0.5,
  4760. Transparency2 = 1,
  4761. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  4762. MoveToPos = nil,
  4763. RotationX = MRANDOM(-50, 50) / 10,
  4764. RotationY = MRANDOM(-50, 50) / 10,
  4765. RotationZ = MRANDOM(-50, 50) / 10,
  4766. Material = "Neon",
  4767. Color = C3(1, 1, 1),
  4768. SoundID = nil,
  4769. SoundPitch = nil,
  4770. SoundVolume = nil
  4771. })
  4772. end
  4773. ATTACK = true
  4774. Rooted = true
  4775. UNANCHOR = false
  4776. RootPart.Anchored = true
  4777. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  4778. for i = 1, 5 do
  4779. WACKYEFFECT({
  4780. Time = MRANDOM(15, 35),
  4781. EffectType = "Round Slash",
  4782. Size = VT(0, 0, 0),
  4783. Size2 = VT(0.3, 0, 0.3),
  4784. Transparency = 0.5,
  4785. Transparency2 = 1,
  4786. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  4787. MoveToPos = nil,
  4788. RotationX = MRANDOM(-50, 50) / 10,
  4789. RotationY = MRANDOM(-50, 50) / 10,
  4790. RotationZ = MRANDOM(-50, 50) / 10,
  4791. Material = "Neon",
  4792. Color = C3(1, 1, 1),
  4793. SoundID = nil,
  4794. SoundPitch = nil,
  4795. SoundVolume = nil
  4796. })
  4797. end
  4798. for i = 0, 0.2, 0.1 / Animation_Speed do
  4799. Swait()
  4800. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  4801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  4806. end
  4807. for i = 0, 1, 0.1 / Animation_Speed do
  4808. Swait()
  4809. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  4810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  4811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  4812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  4813. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  4814. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  4815. end
  4816. for i = 1, 10 do
  4817. Swait()
  4818. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  4819. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  4820. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  4821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  4822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  4823. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  4824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  4825. end
  4826. for i = 0, 0.2, 0.1 / Animation_Speed do
  4827. Swait()
  4828. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  4829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  4830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  4831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  4832. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4834. end
  4835. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  4836. if HITFLOOR then
  4837. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  4838. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  4839. for index, CHILD in pairs(CHILDREN) do
  4840. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  4841. for i = 1, 5 do
  4842. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  4843. CHILD:remove()
  4844. end
  4845. end
  4846. end
  4847. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4848. SOUNDPART.CFrame = CF(HITPOS)
  4849. Debris:AddItem(SOUNDPART, 5)
  4850. CreateSound("130972023", SOUNDPART, 6, 3)
  4851. CreateSound("182765513", SOUNDPART, 6, 1)
  4852. WACKYEFFECT({
  4853. EffectType = "Ring",
  4854. Size = VT(0, 0, 0),
  4855. Size2 = VT(1, 1, 0),
  4856. Transparency = 0.7,
  4857. Transparency2 = 1,
  4858. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4859. MoveToPos = nil,
  4860. RotationX = 0,
  4861. RotationY = 0,
  4862. RotationZ = 0,
  4863. Material = "Neon",
  4864. Color = C3(1, 1, 1),
  4865. SoundID = nil,
  4866. SoundPitch = nil,
  4867. SoundVolume = nil
  4868. })
  4869. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4870. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  4871. for index, CHILD in pairs(CHILDREN) do
  4872. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  4873. for i = 1, 5 do
  4874. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  4875. CHILD:remove()
  4876. end
  4877. end
  4878. end
  4879. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4880. SOUNDPART.CFrame = CF(HITPOS)
  4881. Debris:AddItem(SOUNDPART, 5)
  4882. CreateSound("130972023", SOUNDPART, 6, 3)
  4883. CreateSound("182765513", SOUNDPART, 6, 1)
  4884. WACKYEFFECT({
  4885. EffectType = "Ring",
  4886. Size = VT(0, 0, 0),
  4887. Size2 = VT(1, 1, 0),
  4888. Transparency = 0.7,
  4889. Transparency2 = 1,
  4890. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4891. MoveToPos = nil,
  4892. RotationX = 0,
  4893. RotationY = 0,
  4894. RotationZ = 0,
  4895. Material = "Neon",
  4896. Color = C3(1, 1, 1),
  4897. SoundID = nil,
  4898. SoundPitch = nil,
  4899. SoundVolume = nil
  4900. })
  4901. elseif HITFLOOR.Anchored == false then
  4902. if HITFLOOR.Parent ~= workspace then
  4903. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  4904. for index, CHILD in pairs(CHILDREN) do
  4905. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  4906. for i = 1, 5 do
  4907. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  4908. end
  4909. CHILD:remove()
  4910. end
  4911. end
  4912. else
  4913. for i = 1, 5 do
  4914. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  4915. end
  4916. HITFLOOR:remove()
  4917. end
  4918. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4919. SOUNDPART.CFrame = CF(HITPOS)
  4920. Debris:AddItem(SOUNDPART, 5)
  4921. CreateSound("130972023", SOUNDPART, 10, 3)
  4922. CreateSound("178452217", SOUNDPART, 6, 1)
  4923. WACKYEFFECT({
  4924. EffectType = "Ring",
  4925. Size = VT(0, 0, 0),
  4926. Size2 = VT(1, 1, 0),
  4927. Transparency = 0.7,
  4928. Transparency2 = 1,
  4929. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4930. MoveToPos = nil,
  4931. RotationX = 0,
  4932. RotationY = 0,
  4933. RotationZ = 0,
  4934. Material = "Neon",
  4935. Color = C3(1, 1, 1),
  4936. SoundID = nil,
  4937. SoundPitch = nil,
  4938. SoundVolume = nil
  4939. })
  4940. else
  4941. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4942. SOUNDPART.CFrame = CF(HITPOS)
  4943. Debris:AddItem(SOUNDPART, 5)
  4944. CreateSound("130972023", SOUNDPART, 10, 1)
  4945. CreateSound("130972023", SOUNDPART, 6, 0.7)
  4946. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  4947. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  4948. ApplyAoE5(HITPOS, 15, 45, 75, 75, true)
  4949. ApplyAoE5(HITPOS, 25, 25, 35, 35, true)
  4950. for i = 1, 5 do
  4951. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  4952. end
  4953. for i = 1, 5 do
  4954. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  4955. end
  4956. end
  4957. end
  4958. for i = 0, 1.2, 0.1 / Animation_Speed do
  4959. Swait()
  4960. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  4961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  4962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  4963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  4964. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4966. end
  4967. ATTACK = false
  4968. Rooted = false
  4969. UNANCHOR = true
  4970. RootPart.Anchored = false
  4971. end
  4972. end
  4973.  
  4974.  
  4975. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  4976. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  4977. local mesh = IT("SpecialMesh",wave)
  4978. mesh.MeshType = "Sphere"
  4979. mesh.Scale = SIZE
  4980. mesh.Offset = VT(0,0,0)
  4981. wave.CFrame = CFRAME
  4982. coroutine.resume(coroutine.create(function(PART)
  4983. for i = 1, WAIT do
  4984. Swait()
  4985. mesh.Scale = mesh.Scale + GROW
  4986. wave.Transparency = wave.Transparency + (1/WAIT)
  4987. if wave.Transparency > 0.99 then
  4988. wave:remove()
  4989. end
  4990. end
  4991. end))
  4992. end
  4993.  
  4994. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  4995. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  4996. local mesh = IT("SpecialMesh",wave)
  4997. mesh.MeshType = "FileMesh"
  4998. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4999. mesh.Scale = SIZE
  5000. mesh.Offset = VT(0,0,0)
  5001. wave.CFrame = CFRAME
  5002. coroutine.resume(coroutine.create(function(PART)
  5003. for i = 1, WAIT do
  5004. Swait()
  5005. mesh.Scale = mesh.Scale + GROW
  5006. if DOESROT == true then
  5007. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  5008. end
  5009. wave.Transparency = wave.Transparency + (0.5/WAIT)
  5010. if wave.Transparency > 0.99 then
  5011. wave:remove()
  5012. end
  5013. end
  5014. end))
  5015. end
  5016.  
  5017.  
  5018. function ApplyAoE4(POSITION, RANGE, MINDMG, MAXDMG, FLING, IZBANISH)
  5019. local CHILDREN = workspace:GetDescendants()
  5020. for index, CHILD in pairs(CHILDREN) do
  5021. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5022. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5023. if HUM then
  5024. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5025. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  5026. if IZBANISH == true then
  5027. Banish(CHILD)
  5028. else
  5029. local DMG = MRANDOM(MINDMG, MAXDMG)
  5030. ApplyDamage(HUM, DMG, TORSO)
  5031. end
  5032. if FLING > 0 then
  5033. for _, c in pairs(CHILD:GetChildren()) do
  5034. if c:IsA("BasePart") then
  5035. local bv = Instance.new("BodyVelocity")
  5036. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5037. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  5038. bv.Parent = c
  5039. Debris:AddItem(bv, 0.05)
  5040. end
  5041. end
  5042. end
  5043. end
  5044. end
  5045. end
  5046. end
  5047. end
  5048.  
  5049. function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
  5050. local CHILDREN = workspace:GetDescendants()
  5051. for index, CHILD in pairs(CHILDREN) do
  5052. if CHILD.ClassName == "Model" and CHILD ~= Character then
  5053. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  5054. if HUM then
  5055. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  5056. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  5057. if KILLD == true then
  5058. Kill2(CHILD)
  5059. else
  5060. local DMG = MRANDOM(MINDMG, MAXDMG)
  5061. ApplyDamage(HUM, DMG, TORSO)
  5062. end
  5063. if FLING > 0 then
  5064. for _, c in pairs(CHILD:GetChildren()) do
  5065. if c:IsA("BasePart") then
  5066. local bv = Instance.new("BodyVelocity")
  5067. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5068. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  5069. bv.Parent = c
  5070. Debris:AddItem(bv, 0.05)
  5071. end
  5072. end
  5073. end
  5074. end
  5075. end
  5076. end
  5077. end
  5078. end
  5079.  
  5080. function Complete_Control()
  5081. ATTACK = true
  5082. Rooted = true
  5083. chatfunc("Do Not Try To Get Evade This.")
  5084. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Crimson",VT(100,100,100))
  5085. CreateSound("1137548130", Effects, 10, 1)
  5086. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Maroon",VT(500,500,500))
  5087. ApplyAoE4(Torso.Position, 9999, 0, 0, 0, true)
  5088. ATTACK = false
  5089. Rooted = false
  5090. end
  5091.  
  5092. function Taunt()
  5093. ATTACK = true
  5094. Rooted = false
  5095. for i=0, 2, 0.1 / Animation_Speed do
  5096. Swait()
  5097. 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)
  5098. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 1 / Animation_Speed)
  5099. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5100. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5101. 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)), 1 / Animation_Speed)
  5102. 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)), 1 / Animation_Speed)
  5103. end
  5104. CreateSound(300208779, Head, 5, 1, false)
  5105. for i=0, 4, 0.1 / Animation_Speed do
  5106. Swait()
  5107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  5108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, - 0.1 * COS(SINE / 3)) * ANGLES(RAD(-21), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(-32), RAD(0), RAD(0)), 1 / Animation_Speed)
  5111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  5112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(-32), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  5113. end
  5114. ATTACK = false
  5115. Rooted = false
  5116. end
  5117.  
  5118. function Taunt3()
  5119. ATTACK = true
  5120. Rooted = true
  5121. local TAUNT = CreateSound(189035671, Torso, 7, 1, false)
  5122. repeat
  5123. Swait()
  5124. TAUNT.Parent = Torso
  5125. TAUNT.Playing = true
  5126. 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)
  5127. 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)
  5128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5129. 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)
  5130. 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)
  5131. 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)
  5132. until TAUNT.TimePosition >= 1.25
  5133. for i=0, 1.6, 0.1 / Animation_Speed do
  5134. Swait()
  5135. TAUNT.Parent = Torso
  5136. 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)
  5137. 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)
  5138. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5139. 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)
  5140. 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)
  5141. 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)
  5142. end
  5143. ATTACK = false
  5144. Rooted = false
  5145. end
  5146.  
  5147. function TomYumTaunt()
  5148. ATTACK = true
  5149. Rooted = true
  5150. for i=0, 1, 0.1 / Animation_Speed do
  5151. Swait()
  5152. 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)
  5153. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  5154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5155. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5156. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5158. end
  5159. CameraEnshaking(1,45)
  5160. CreateSound(363808674, Torso, 6, 1, false)
  5161. for i=0, 0.5, 0.1 / Animation_Speed do
  5162. Swait()
  5163. 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)
  5164. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(25)), 1 / Animation_Speed)
  5165. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5166. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5167. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5168. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5169. end
  5170. CameraEnshaking(1,45)
  5171. CreateSound(363808674, Torso, 6, 1, false)
  5172. for i=0, 0.5, 0.1 / Animation_Speed do
  5173. Swait()
  5174. 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)
  5175. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(35), RAD(0), RAD(-25)), 1 / Animation_Speed)
  5176. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(40), RAD(-50), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5177. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40), RAD(-50), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5178. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5179. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5180. end
  5181. ATTACK = false
  5182. Rooted = false
  5183. end
  5184.  
  5185. function Warp()
  5186. ATTACK = true
  5187. Rooted = true
  5188. coroutine.resume(coroutine.create(function()
  5189. Swait(38)
  5190. WACKYEFFECT({Time = 50, EffectType = "Box", Size = VT(20,20,20)*SIZE, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(153, 0/255, 153), SoundID = 289556450, SoundPitch = 0.96, SoundVolume = 10})
  5191. end))
  5192. for i=0, 0.5, 0.1 / Animation_Speed do
  5193. Swait()
  5194. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5195. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5196. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5197. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5198. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5199. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5200. end
  5201. for i=0, 1, 0.1 / Animation_Speed do
  5202. Swait()
  5203. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 10) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5204. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5205. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5206. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5207. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5208. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5209. end
  5210. local ORIGIN = RootPart.Position
  5211. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,4,0),ORIGIN)
  5212. for i=0, 0.3, 0.1 / Animation_Speed do
  5213. Swait()
  5214. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  5215. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5216. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5217. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5*SIZE, -0.8*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5218. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5219. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5220. end
  5221. RootPart.Anchored = false
  5222. ATTACK = false
  5223. Rooted = false
  5224. end
  5225.  
  5226. function Bullet()
  5227. ATTACK = true
  5228. Rooted = false
  5229. Weapon2.Parent = Character
  5230. for i=0, 0.4, 0.1 / Animation_Speed do
  5231. Swait()
  5232. turnto(Mouse.Hit.p)
  5233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  5234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  5235. 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)
  5236. 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)
  5237. 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)
  5238. 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)
  5239. end
  5240. repeat
  5241. for i=0, 0.2, 0.1 / Animation_Speed do
  5242. Swait()
  5243. turnto(Mouse.Hit.p)
  5244. 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)
  5245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(-10), RAD(0), RAD(-32)), 0.5 / Animation_Speed)
  5246. 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)
  5247. 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)
  5248. 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)
  5249. end
  5250. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  5251. SpawnTrail(Hole.Position,POS)
  5252. ApplyAoE3(POS,1,3,100,20,false)
  5253. if HIT ~= nil then
  5254. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  5255. end
  5256. end
  5257. ---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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5258. ---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(0,0,0), SoundID = 213603013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5259. ---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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5260. ---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(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  5261. for i=0, 0.3, 0.1 / Animation_Speed do
  5262. Swait()
  5263. 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)
  5264. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.4) * ANGLES(RAD(5), RAD(0), RAD(-32)), 0.25 / Animation_Speed)
  5265. 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)
  5266. 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)
  5267. 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)
  5268. end
  5269. until KEYHOLD == false
  5270. Weapon2.Parent = nil
  5271. ATTACK = false
  5272. Rooted = false
  5273. end
  5274.  
  5275.  
  5276. function AttackTemplate()
  5277. ATTACK = true
  5278. Rooted = false
  5279. for i=0, 1, 0.1 / Animation_Speed do
  5280. Swait()
  5281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  5282. 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.1 / Animation_Speed)
  5283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  5284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  5285. 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)
  5286. 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)
  5287. end
  5288. ATTACK = false
  5289. Rooted = false
  5290. end
  5291.  
  5292. function GoldenPunch()
  5293. ATTACK = true
  5294. Rooted = false
  5295. local SPEED = Speed
  5296. Speed = 8
  5297. for i=0, 4, 1 / Animation_Speed do
  5298. Swait()
  5299. turnto(Mouse.Hit.p)
  5300. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-1/15,-1/15,-1/15))
  5301. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-2/15,-2/15,-2/15))
  5302. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  5303. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  5304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5306. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5307. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5308. end
  5309. for i=0, 0.15, 1 / Animation_Speed do
  5310. Swait()
  5311. turnto(Mouse.Hit.p)
  5312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  5313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  5314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5315. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5316. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5317. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5318. end
  5319. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really black", "Punch", VT(50,50,50),false)
  5320. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  5321. PART.Shape = "Ball"
  5322. local bv = Instance.new("BodyVelocity")
  5323. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5324. bv.velocity = RootPart.CFrame.lookVector*600
  5325. bv.Parent = PART
  5326. bv.Name = "PROJECTILEVELOCITY"
  5327. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5))
  5328. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(3,0.2,3))
  5329. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2,0.6,2))
  5330. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(2.2,0.6,2.2))
  5331. CreateSound("824687369", Effects, 10, MRANDOM(10, 12) / 10)
  5332. CreateSound("159882598", Effects, 10, MRANDOM(10, 10) / 10)
  5333. coroutine.resume(coroutine.create(function()
  5334. for i = 1, 10 do
  5335. Swait()
  5336. PART.Transparency = PART.Transparency + 0.2/10
  5337. PART.Size = PART.Size + VT(5,5,5)
  5338. ApplyAoE3(PART.Position,35,10,99999,99999,false)
  5339. end
  5340. PART:Destroy()
  5341. end))
  5342. for i=0, 1, 0.1 / Animation_Speed do
  5343. Swait()
  5344. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  5345. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  5346. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5347. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  5348. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  5349. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  5350. end
  5351. Speed = SPEED
  5352. ATTACK = false
  5353. Rooted = false
  5354. end
  5355.  
  5356. function GoldenGrasp()
  5357. ATTACK = true
  5358. Rooted = false
  5359. local HASGRABBED = false
  5360. local WELD = nil
  5361. local TORS = nil
  5362. local hitting = RightArm.Touched:connect(function(hit)
  5363. if hit.Parent:FindFirstChild("Humanoid") then
  5364. if hit.Parent.Humanoid.Health ~= 0 then
  5365. UNANCHOR = false
  5366. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  5367. TORS.Anchored = true
  5368. TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0))
  5369. WELD = weldBetween(RightArm,TORS)
  5370. HASGRABBED = true
  5371. Rooted = true
  5372. end
  5373. end
  5374. end)
  5375. for i=0, 1, 0.1 / Animation_Speed do
  5376. Swait()
  5377. if HASGRABBED == true then
  5378. break
  5379. end
  5380. 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)
  5381. 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)
  5382. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  5383. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5384. 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)
  5385. 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)
  5386. end
  5387. hitting:disconnect()
  5388. if HASGRABBED == true then
  5389. TORS.Anchored = false
  5390. RootPart.Anchored = true
  5391. for i=0, 2, 0.1 / Animation_Speed do
  5392. Swait()
  5393. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  5396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5397. 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)
  5398. 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)
  5399. end
  5400. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.5,0.3,0.5))
  5401. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Pearl",VT(0.6,0.3,0.6))
  5402. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  5403. SOUNDPART.CFrame = RootPart.CFrame
  5404. Debris:AddItem(SOUNDPART,5)
  5405. CreateSound("1295446488", SOUNDPART, 2, 1)
  5406. for i = 1, 15 do
  5407. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Pearl", 1 + MRANDOM(1,30)/15)
  5408. end
  5409. for i=0, 2, 0.1 / Animation_Speed do
  5410. Swait()
  5411. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5412. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5413. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  5414. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5415. 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)
  5416. 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)
  5417. end
  5418. for i=0, 0.25, 0.1 / Animation_Speed do
  5419. Swait()
  5420. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / Animation_Speed)
  5421. 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)
  5422. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5423. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  5424. 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)
  5425. 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)
  5426. end
  5427. if HITFLOOR ~= nil then
  5428. CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85)
  5429. end
  5430. CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10)
  5431. WELD:remove()
  5432. for i = 1, 25 do
  5433. Swait()
  5434. killnearest(RootPart.Position,45,100,Torso.CFrame)
  5435. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3))
  5436. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Really black",VT(1,0.4,1))
  5437. CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Really black",VT(2.3,0.3,2.3))
  5438. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  5439. Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Really black", 1 + MRANDOM(1,30)/15)
  5440. end
  5441. end
  5442. UNANCHOR = true
  5443. ATTACK = false
  5444. Rooted = false
  5445. end
  5446.  
  5447. function Mach20()
  5448. local ORIGIN = RootPart.Position
  5449. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  5450. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  5451. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  5452. SOUNDPART.CFrame = RootPart.CFrame
  5453. Debris:AddItem(SOUNDPART,5)
  5454. CreateSound("1295446488", SOUNDPART, 2, 1)
  5455. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  5456. Swait()
  5457. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4))
  5458. CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6))
  5459. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  5460. SOUNDPART.CFrame = RootPart.CFrame
  5461. Debris:AddItem(SOUNDPART,5)
  5462. CreateSound("1295446488", SOUNDPART, 2, 1)
  5463. if MRANDOM(1,8) == 1 then
  5464. ATTACK = true
  5465. Rooted = true
  5466. local FRUITSTABLE = {
  5467. {MeshId = "16190555", TextureId = "16190577", Color = "Really red"},
  5468. {MeshId = "119574562", TextureId = "64374853", Color = "New Yeller"},
  5469. {MeshId = "24394186", TextureId = "24394178", Color = "Brown"}
  5470. }
  5471. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  5472. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  5473. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  5474. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  5475. weldBetween(RightArm,FRUITMODEL)
  5476. for i=0, 4, 0.1 / Animation_Speed do
  5477. Swait()
  5478. 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)
  5479. 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)
  5480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5482. 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)
  5483. 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)
  5484. end
  5485. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  5486. FRUITMODEL:remove()
  5487. for i = 1, 15 do
  5488. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  5489. end
  5490. for i=0, 0.5, 0.1 / Animation_Speed do
  5491. Swait()
  5492. 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)
  5493. 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)
  5494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  5495. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5496. 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)
  5497. 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)
  5498. end
  5499. ATTACK = false
  5500. Rooted = false
  5501. end
  5502. end
  5503.  
  5504. function ImplosionCollision()
  5505. ATTACK = true
  5506. Rooted = true
  5507. CreateSound("1548599511", Character, 10, 1)
  5508. for i=0, 8, 0.1 / Animation_Speed do
  5509. Swait()
  5510. turnto(Mouse.Hit.p)
  5511. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  5512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  5513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  5515. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  5517. end
  5518.  
  5519. CreateSound("1548599962", Character, 10, 1)
  5520. for i=0, 0.15, 0.1 / Animation_Speed do
  5521. Swait()
  5522. turnto(Mouse.Hit.p)
  5523. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  5524. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  5525. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5526. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5527. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5528. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  5529. end
  5530. MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.04,-0.04,-0.04))
  5531. MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Really black",VT(-0.035,-0.035,-0.035))
  5532. coroutine.resume(coroutine.create(function()
  5533. Swait(100)
  5534. for i = 1, 5 do
  5535. MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Really black",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i))))
  5536. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(4.5*i,0.2,4.5*i))
  5537. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(5*i,0.2,5*i))
  5538. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(4*i,0.6,4*i))
  5539. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(5.2*i,0.6,5.2*i))
  5540. end
  5541. ApplyAoE3(RootPart.Position,99999,99999,99999,99999,false)
  5542. for i = 1, 5 do
  5543. CreateSound("824687369", Effects, 10, MRANDOM(5, 8) / 2)
  5544. CreateSound("824687369", Effects, 10, MRANDOM(5, 8) / 3)
  5545. end
  5546. coroutine.resume(coroutine.create(function()
  5547. for i = 1, 50 do
  5548. Swait()
  5549. for i = 1, 1 do
  5550. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/5)
  5551. end
  5552. for i = 1, 2 do
  5553. Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Really black", 1 + MRANDOM(1,30)/3)
  5554. end
  5555. end
  5556. end))
  5557. end))
  5558. for i=0, 4, 0.1 / Animation_Speed do
  5559. Swait()
  5560. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  5561. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  5562. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  5563. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  5564. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  5565. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  5566. end
  5567. ATTACK = false
  5568. Rooted = false
  5569. end
  5570.  
  5571. --SS--
  5572.  
  5573. function VoidedTaunt()
  5574. ATTACK = true
  5575. Rooted = true
  5576. local LAUGHS = {834001699,834001752,834001797,834001828}
  5577. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 30, 1, false)
  5578. coroutine.resume(coroutine.create(function()
  5579. for i=0, 3, 0.1 / Animation_Speed do
  5580. Swait()
  5581. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(0), RAD(180), RAD(0)), 0.2 / Animation_Speed)
  5582. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0), RAD(0 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
  5583. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(20 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  5584. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-40 + 11 * COS(SINE / 1)), RAD(0), RAD(-20 + 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  5585. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20 + 11 * COS(SINE / 1))), 0.2 / Animation_Speed)
  5586. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  5587. end
  5588. ATTACK = false
  5589. Rooted = false
  5590. end))
  5591. end
  5592.  
  5593. function MagicMissiles()
  5594. ATTACK = true
  5595. Rooted = true
  5596. local SELECTING = true
  5597. local SPOTS = {}
  5598. coroutine.resume(coroutine.create(function()
  5599. local LOOP = 0
  5600. repeat
  5601. LOOP = LOOP + 1
  5602. Swait()
  5603. if LOOP >= 10 then
  5604. LOOP = 0
  5605. for i = 1, #SPOTS do
  5606. if SPOTS[i] ~= nil then
  5607. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5608. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5609. end
  5610. end
  5611. end
  5612. 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)
  5613. 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)
  5614. 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)
  5615. 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)
  5616. 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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5617. 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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5618. until SELECTING == false
  5619. Rooted = false
  5620. repeat
  5621. LOOP = LOOP + 1
  5622. Swait()
  5623. if LOOP >= 10 then
  5624. LOOP = 0
  5625. for i = 1, #SPOTS do
  5626. if SPOTS[i] ~= nil then
  5627. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5628. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5629. end
  5630. end
  5631. end
  5632. 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)
  5633. 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)
  5634. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5635. 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)
  5636. 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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5637. 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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5638. until ATTACK == false
  5639. end))
  5640. repeat
  5641. repeat Swait() until HOLD == true
  5642. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  5643. if DIST > 99999 then
  5644. DIST = 99999
  5645. end
  5646. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  5647. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  5648. if HITFLOOR ~= nil then
  5649. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  5650. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  5651. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5652. end
  5653. repeat Swait() until HOLD == false
  5654. until #SPOTS == 1
  5655. SELECTING = false
  5656. for i = 1, #SPOTS do
  5657. if SPOTS[i] ~= nil then
  5658. local POS = SPOTS[i]
  5659. coroutine.resume(coroutine.create(function()
  5660. local MISSILE = IT("Model",Effects)
  5661. MISSILE.Name = "Missile"
  5662. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,2,2))
  5663. MakeForm(BASEPART,"Cyl")
  5664. MISSILE.PrimaryPart = BASEPART
  5665. BASEPART.CFrame = POS*CF(0,-30*3,0)
  5666. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2,4,2))
  5667. MakeForm(HEAD,"Ball")
  5668. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  5669. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Miduim stone gray", "Part", VT(2.5,0.1,2.5))
  5670. MakeForm(TAIL,"Cyl")
  5671. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  5672. for i = 1, 10 do
  5673. Swait()
  5674. for _, c in pairs(MISSILE:GetChildren()) do
  5675. if c.ClassName == "Part" then
  5676. c.Transparency = c.Transparency - 1/10
  5677. end
  5678. end
  5679. end
  5680. for i = 1, 15*1.5 do
  5681. Swait()
  5682. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  5683. end
  5684. ApplyAoE3(BASEPART.CFrame.p,20,35,45,75,false)
  5685. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  5686. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
  5687. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5688. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5689. MISSILE:remove()
  5690. end))
  5691. end
  5692. end
  5693. wait(0.6)
  5694. ATTACK = false
  5695. Rooted = false
  5696. end
  5697.  
  5698.  
  5699.  
  5700. function ManiacMissiles()
  5701. ATTACK = true
  5702. Rooted = true
  5703. local SELECTING = true
  5704. local SPOTS = {}
  5705. coroutine.resume(coroutine.create(function()
  5706. local LOOP = 0
  5707. repeat
  5708. LOOP = LOOP + 1
  5709. Swait()
  5710. if LOOP >= 10 then
  5711. LOOP = 0
  5712. for i = 1, #SPOTS do
  5713. if SPOTS[i] ~= nil then
  5714. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5715. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5716. end
  5717. end
  5718. end
  5719. 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)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. 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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5724. 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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5725. until SELECTING == false
  5726. Rooted = false
  5727. repeat
  5728. LOOP = LOOP + 1
  5729. Swait()
  5730. if LOOP >= 10 then
  5731. LOOP = 0
  5732. for i = 1, #SPOTS do
  5733. if SPOTS[i] ~= nil then
  5734. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5735. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5736. end
  5737. end
  5738. end
  5739. 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)
  5740. 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)
  5741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5742. 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)
  5743. 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(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5744. 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(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  5745. until ATTACK == false
  5746. end))
  5747. repeat
  5748. repeat Swait() until HOLD == true
  5749. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  5750. if DIST > 99999 then
  5751. DIST = 99999
  5752. end
  5753. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  5754. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  5755. if HITFLOOR ~= nil then
  5756. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  5757. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  5758. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5759. end
  5760. repeat Swait() until HOLD == false
  5761. until #SPOTS == 1
  5762. SELECTING = false
  5763. for i = 1, #SPOTS do
  5764. if SPOTS[i] ~= nil then
  5765. local POS = SPOTS[i]
  5766. coroutine.resume(coroutine.create(function()
  5767. local MISSILE = IT("Model",Effects)
  5768. MISSILE.Name = "Missile"
  5769. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2,2,2))
  5770. MakeForm(BASEPART,"Cyl")
  5771. MISSILE.PrimaryPart = BASEPART
  5772. BASEPART.CFrame = POS*CF(0,-30*3,0)
  5773. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2,4,2))
  5774. MakeForm(HEAD,"Ball")
  5775. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  5776. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Dirt brown", "Part", VT(2.5,0.1,2.5))
  5777. MakeForm(TAIL,"Cyl")
  5778. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  5779. for i = 1, 10 do
  5780. Swait()
  5781. for _, c in pairs(MISSILE:GetChildren()) do
  5782. if c.ClassName == "Part" then
  5783. c.Transparency = c.Transparency - 1/10
  5784. end
  5785. end
  5786. end
  5787. for i = 1, 15*1.5 do
  5788. Swait()
  5789. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  5790. end
  5791. ApplyAoE3(BASEPART.CFrame.p,20,35,45,75,false)
  5792. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  5793. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 100})
  5794. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5795. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(81, 69, 69), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  5796. MISSILE:remove()
  5797. end))
  5798. end
  5799. end
  5800. wait(0.6)
  5801. ATTACK = false
  5802. Rooted = false
  5803. end
  5804.  
  5805.  
  5806. local Cooldown1 = false
  5807.  
  5808. function Teleport()
  5809. ATTACK = true
  5810. Rooted = false
  5811. for i=0, 0.5, 0.1 / Animation_Speed do
  5812. Swait()
  5813. 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)
  5814. 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)
  5815. end
  5816. for e = 1, #BODY do
  5817. if BODY[e] ~= nil then
  5818. local STUFF = BODY[e]
  5819. local PART = STUFF[1]
  5820. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  5821. local PRT = PART:Clone()
  5822. PRT.Anchored = true
  5823. PRT.CanCollide = false
  5824. PRT.Material = "Neon"
  5825. PRT.Color = C3(1,1,1)
  5826. PRT.Name = "WarpEffect"
  5827. PRT.Parent = Effects
  5828. PRT.CFrame = PART.CFrame
  5829. PRT:BreakJoints()
  5830. if PRT:FindFirstChildOfClass("Sound") then
  5831. PRT:FindFirstChildOfClass("Sound"):remove()
  5832. end
  5833. if PRT:FindFirstChildOfClass("Decal") then
  5834. PRT:FindFirstChildOfClass("Decal"):remove()
  5835. end
  5836. coroutine.resume(coroutine.create(function()
  5837. for i = 1, 100 do
  5838. Swait()
  5839. PRT.Transparency = PRT.Transparency + 1/100
  5840. end
  5841. PRT:remove()
  5842. end))
  5843. end
  5844. end
  5845. end
  5846. CreateSound(217767125, Torso, 10, 1)
  5847. local POS = RootPart.Orientation
  5848. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  5849. RootPart.Orientation = POS
  5850. RootJoint.Parent = RootPart
  5851. for i=0, 0.5, 0.1 / Animation_Speed do
  5852. Swait()
  5853. 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)
  5854. 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)
  5855. end
  5856. for i=0, 0.1, 0.1 / Animation_Speed do
  5857. Swait()
  5858. 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)
  5859. end
  5860. ATTACK = false
  5861. Rooted = false
  5862. end
  5863.  
  5864. function Prison_Key()
  5865. if Mouse.Target ~= nil then
  5866. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5867. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  5868. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  5869. local GYRO = IT("BodyGyro",RootPart)
  5870. GYRO.D = 750
  5871. GYRO.P = 20000
  5872. GYRO.MaxTorque = VT(0,40000000,0)
  5873. local grav = Instance.new("BodyPosition",TORSO)
  5874. grav.D = 15
  5875. grav.P = 20000
  5876. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  5877. grav.position = TORSO.Position
  5878. local GYRO2 = IT("BodyGyro",TORSO)
  5879. GYRO2.D = 750
  5880. GYRO2.P = 20000
  5881. GYRO2.MaxTorque = VT(0,40000000,0)
  5882. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  5883. grav.Name = "Jail"
  5884. local LOCKPARTS = {}
  5885. ATTACK = true
  5886. Rooted = false
  5887. local LOCK = IT("Model",Effects)
  5888. LOCK.Name = "Lock"
  5889. local LOCK2 = IT("Model",LOCK)
  5890. LOCK2.Name = "Metal"
  5891. --CREATE LOCK--
  5892. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Keylock", VT(3, 2.5, 1))
  5893. LOCK.PrimaryPart = BASE
  5894. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  5895. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Keylock", VT(3, 1, 3))
  5896. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  5897. MakeForm(PRT,"Cyl")
  5898. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Hole", VT(1, 1, 1))
  5899. PRT.Color = C3(0,0,0)
  5900. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  5901. MakeForm(PRT,"Cyl")
  5902. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Alder", "Hole", VT(0.5, 1, 1))
  5903. PRT.Color = C3(0,0,0)
  5904. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  5905. for i = 1, 45 do
  5906. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Alder", "Keylock", VT(0.5, 0.5, 0.5))
  5907. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  5908. end
  5909. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Alder", "Keylock", VT(0.5, 0.5, 0.5))
  5910. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  5911. LOCK2.PrimaryPart = PRT
  5912. ---------------
  5913. local CHILDREN = LOCK:GetDescendants()
  5914. for index, CHILD in pairs(CHILDREN) do
  5915. if CHILD:IsA("BasePart") then
  5916. CHILD.Transparency = 1
  5917. end
  5918. end
  5919. for i = 1, 75 do
  5920. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  5921. Swait()
  5922. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  5923. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  5924. local CHILDREN = LOCK:GetDescendants()
  5925. for index, CHILD in pairs(CHILDREN) do
  5926. if CHILD:IsA("BasePart") then
  5927. CHILD.Transparency = CHILD.Transparency - 1/75
  5928. end
  5929. end
  5930. end
  5931. HUM.DisplayDistanceType = "None"
  5932. local KEY = IT("Model",Effects)
  5933. KEY.Name = "Key"
  5934. --CREATE KEY--
  5935. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "KeyBase", VT(0.1, 1, 0.1),false)
  5936. KEY.PrimaryPart = KBASE
  5937. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  5938. local WLD = weldBetween(RightArm,KBASE)
  5939. for i = 1, 45 do
  5940. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.1, 0.1, 0.1),false)
  5941. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  5942. weldBetween(KBASE,PRT)
  5943. end
  5944. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  5945. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  5946. weldBetween(KBASE,PRT)
  5947. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  5948. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  5949. weldBetween(KBASE,PRT)
  5950. --------------
  5951. Rooted = true
  5952. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  5953. coroutine.resume(coroutine.create(function()
  5954. for i = 1, 10 do
  5955. Swait()
  5956. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  5957. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  5958. end
  5959. CreateSound(1149318312,BASE,5,1,false)
  5960. CreateSound(160772554,BASE,3,1,false)
  5961. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  5962. for i = 1, 4 do
  5963. 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"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  5964. end
  5965. 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"Alder".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  5966. wait(1)
  5967. TORSO.Parent.Parent = LOCK
  5968. for i = 1, 75 do
  5969. Swait()
  5970. local CHILDREN = KEY:GetDescendants()
  5971. for index, CHILD in pairs(CHILDREN) do
  5972. if CHILD:IsA("BasePart") then
  5973. CHILD.Transparency = i/25
  5974. end
  5975. end
  5976. local CHILDREN = LOCK:GetDescendants()
  5977. for index, CHILD in pairs(CHILDREN) do
  5978. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  5979. CHILD.Transparency = CHILD.Transparency + 1/75
  5980. elseif CHILD.ClassName == "Decal" then
  5981. CHILD.Transparency = CHILD.Transparency + 1/75
  5982. end
  5983. end
  5984. end
  5985. TORSO.Parent:ClearAllChildren()
  5986. KEY:remove()
  5987. LOCK:remove()
  5988. end))
  5989. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  5990. GYRO:remove()
  5991. ATTACK = false
  5992. Rooted = false
  5993. end
  5994. end
  5995. end
  5996.  
  5997. function BulletRoller()
  5998. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  5999. if HITFLOOR then
  6000. ATTACK = true
  6001. Rooted = true
  6002. local bv = Instance.new("BodyVelocity")
  6003. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6004. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  6005. bv.Parent = RootPart
  6006. local GYRO = IT("BodyGyro",RootPart)
  6007. GYRO.D = 2
  6008. GYRO.P = 20000
  6009. GYRO.MaxTorque = VT(0,4000000,0)
  6010. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  6011. CreateSound(145486992,Torso,10,0.85,false)
  6012. for i=0, 0.05, 0.1 / Animation_Speed do
  6013. Swait()
  6014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  6015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  6016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6018. if ANIM == "Fall" or ANIM == "Jump" then
  6019. 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)
  6020. 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)
  6021. else
  6022. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6023. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  6024. end
  6025. end
  6026. bv:Remove()
  6027. local E = 360/15
  6028. for i = 1, 15 do
  6029. Swait()
  6030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  6031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  6032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6034. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6035. 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)
  6036. end
  6037. Cooldown1 = true
  6038. local LANDED = nil
  6039. local POS = nil
  6040. coroutine.resume(coroutine.create(function()
  6041. repeat
  6042. Swait()
  6043. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  6044. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6046. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6047. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6048. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6049. until LANDED ~= nil
  6050. end))
  6051. repeat
  6052. Swait()
  6053. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  6054. if HITFLOOR then
  6055. LANDED = HITFLOOR
  6056. POS = HITPOS
  6057. end
  6058. until LANDED ~= nil
  6059. GYRO:remove()
  6060. Swait(4)
  6061. for i=0, 0.5, 0.1 / Animation_Speed do
  6062. Swait()
  6063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  6064. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6065. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6066. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6067. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6068. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6069. end
  6070. local AMMO = 0
  6071. repeat
  6072. AMMO = AMMO + 1
  6073. for i=0, 0.1, 0.05 / Animation_Speed do
  6074. Swait()
  6075. turnto(Mouse.Hit.p)
  6076. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  6077. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6079. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6080. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6081. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6082. end
  6083. ---WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6084. ---WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6085. CreateSound(1590205662, RightArm, 7, 1, false)
  6086. BulletDetection(RightHole.Position,Mouse.Hit.p,true)
  6087. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  6088. for i=0, 0.075, 0.05 / Animation_Speed do
  6089. Swait()
  6090. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  6091. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6094. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6095. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6096. end
  6097. until AMMO == 9
  6098. ATTACK = false
  6099. Rooted = false
  6100. wait(0.3)
  6101. Cooldown1 = false
  6102. end
  6103. end
  6104.  
  6105. function Fury()
  6106. ATTACK = true
  6107. Rooted = false
  6108. if EQUIPPED == false then
  6109. Rooted = true
  6110. for i = 0, 0.3, 0.1 / Animation_Speed do
  6111. Swait()
  6112. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0.01 * SIZE, -0.01 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  6113. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  6114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6116. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, 0.2 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(5), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6117. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6118. end
  6119. local TOUCH = RightLeg.Touched:Connect(function(HIT)
  6120. if HIT.Anchored == false and (HIT.Parent:FindFirstChildOfClass("Humanoid") or HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  6121. HIT:BreakJoints()
  6122. end
  6123. end)
  6124. for i = 0, 0.1, 0.1 / Animation_Speed do
  6125. Swait()
  6126. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  6127. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  6128. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6129. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6130. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  6131. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  6132. end
  6133. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 * SIZE, Character)
  6134. if HITFLOOR then
  6135. for i = 1, 5 do
  6136. WACKYEFFECT({
  6137. Time = 25,
  6138. EffectType = "Wave",
  6139. Size = VT(0, 0, 5),
  6140. Size2 = VT(15 + i * 3, 0, 15 + i * 3),
  6141. Transparency = 0.7,
  6142. Transparency2 = 1,
  6143. CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  6144. MoveToPos = nil,
  6145. RotationX = 0,
  6146. RotationY = 0,
  6147. RotationZ = 0,
  6148. Material = "Neon",
  6149. Color = C3(1, 1, 1),
  6150. SoundID = nil,
  6151. SoundPitch = nil,
  6152. SoundVolume = nil
  6153. })
  6154. end
  6155. ApplyAoE(HITPOS, 25, 35, 45, 45, false)
  6156. CreateSound(765590102, RightLeg, 6, 1, false)
  6157. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 10, VT(2, 2, 2), 5, 75, false)
  6158. end
  6159. TOUCH:Disconnect()
  6160. for i = 0, 0.2, 0.1 / Animation_Speed do
  6161. Swait()
  6162. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  6163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  6164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6166. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  6167. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  6168. end
  6169. else
  6170. do
  6171. local GYRO = IT("BodyGyro", RootPart)
  6172. GYRO.D = 2
  6173. GYRO.P = 20000
  6174. GYRO.MaxTorque = VT(0, 4000000, 0)
  6175. coroutine.resume(coroutine.create(function()
  6176. repeat
  6177. Swait()
  6178. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  6179. until ATTACK == false
  6180. GYRO:Remove()
  6181. end))
  6182. local FIRING = true
  6183. local SHOOTING = false
  6184. local TIMER = 70
  6185. CreateSound(1498950813, HELDGUN, 6, 1, false)
  6186. for i = 0, 0.2, 0.1 / Animation_Speed do
  6187. Swait()
  6188. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  6189. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  6190. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6191. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6192. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6193. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6194. end
  6195. local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
  6196. if SHOOTING == false then
  6197. HOLD = true
  6198. repeat
  6199. SHOOTING = true
  6200. local GUNPOS = HELDGUN.CFrame * GUNOFFSET.p
  6201. local HIT, POS, NORMAL = CastProperRay(GUNPOS, Mouse.Hit.p, 1000, Character)
  6202. local DISTANCE = (POS - GUNPOS).Magnitude
  6203. if HIT then
  6204. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  6205. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  6206. HIT.CFrame = HIT.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  6207. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  6208. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 99)
  6209. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.1, 0.1, 0.1), 5, 35, true)
  6210. end
  6211. elseif HIT.Anchored == true then
  6212. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.2, 0.2, 0.2), 5, 35, true)
  6213. end
  6214. end
  6215. SHAKECAM(GUNPOS, 8, 5, 3)
  6216. SHAKECAM(POS, 10, 6, 6)
  6217. WACKYEFFECT({
  6218. Time = 6,
  6219. EffectType = "Block",
  6220. Size = VT(2, 2, 2),
  6221. Size2 = VT(4, 4, 4),
  6222. Transparency = 0,
  6223. Transparency2 = 1,
  6224. CFrame = CF(GUNPOS),
  6225. MoveToPos = nil,
  6226. RotationX = 0,
  6227. RotationY = 0,
  6228. RotationZ = 0,
  6229. Material = "Neon",
  6230. Color = C3(1, 1, 0),
  6231. SoundID = 213603013,
  6232. SoundPitch = 0.9,
  6233. SoundVolume = 10
  6234. })
  6235. for i = 0, 0.3, 0.1 / Animation_Speed do
  6236. Swait()
  6237. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  6238. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  6239. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6240. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6241. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6242. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6243. end
  6244. for i = 0, 0.5, 0.1 / Animation_Speed do
  6245. Swait()
  6246. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  6247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  6248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6250. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6251. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6252. end
  6253. until HOLD == false
  6254. SHOOTING = false
  6255. end
  6256. end)
  6257. repeat
  6258. Swait()
  6259. if SHOOTING == false then
  6260. TIMER = TIMER - 1
  6261. if TIMER <= 0 then
  6262. FIRING = false
  6263. end
  6264. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  6265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  6266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6268. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  6270. end
  6271. until FIRING == false and SHOOTING == false
  6272. MOUSE:Disconnect()
  6273. end
  6274. end
  6275. ATTACK = false
  6276. Rooted = false
  6277. end
  6278.  
  6279. function banra()
  6280. ATTACK = true
  6281. Rooted = false
  6282. for i=0, 0.4, 5 / Animation_Speed do
  6283. Swait()
  6284. turnto(Mouse.Hit.p)
  6285. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  6286. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  6287. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6288. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6289. 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)
  6290. 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)
  6291. end
  6292. repeat
  6293. for i=0, 0.2, 5 / Animation_Speed do
  6294. Swait()
  6295. turnto(Mouse.Hit.p)
  6296. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  6297. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  6298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6300. 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)
  6301. 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)
  6302. end
  6303. local HIT,POS = CastProperRay(RightArm.Position, Mouse.Hit.p, 1000, Character)
  6304. SpawnTrail(RightArm.Position,POS)
  6305. if HIT ~= nil then
  6306. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  6307. Banish(HIT.Parent)
  6308. end
  6309. end
  6310. ---WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 1, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = RightArm.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  6311. ---WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 1, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 743521450, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 100000})
  6312. ---WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  6313. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(POS,RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  6314. for i=0, 0.3, 5 / Animation_Speed do
  6315. Swait()
  6316. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  6317. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  6318. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6319. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6320. 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)
  6321. 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)
  6322. end
  6323. until KEYHOLD == false
  6324. ATTACK = false
  6325. Rooted = false
  6326. end
  6327.  
  6328. function Punch()
  6329. ATTACK = true
  6330. Rooted = false
  6331. for i=0, 0.2, 0.1 / Animation_Speed do
  6332. Swait()
  6333. 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)
  6334. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  6335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0+ 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(150), RAD(35), RAD(-5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0 + 0.15 * COS(SINE / 12), -0.2) * ANGLES(RAD(130), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  6337. 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)), 1 / Animation_Speed)
  6338. 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)), 1 / Animation_Speed)
  6339. end
  6340. VALUE1 = true
  6341. if COMBO == 1 then
  6342. COMBO = 2
  6343. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  6344. ApplyAoE3(LeftArm.Position,3,5,30,15,false)
  6345. for i=0, 0.3, 0.1 / Animation_Speed do
  6346. Swait()
  6347. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  6348. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  6349. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 2 / Animation_Speed)
  6350. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6351. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6352. 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)
  6353. 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)
  6354. end
  6355. elseif COMBO == 2 then
  6356. COMBO = 1
  6357. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  6358. ApplyAoE3(RightArm.Position,3,5,30,15,false)
  6359. for i=0, 0.3, 0.1 / Animation_Speed do
  6360. Swait()
  6361. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  6362. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 2 / Animation_Speed)
  6363. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-80)), 2 / Animation_Speed)
  6364. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6365. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6366. 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)
  6367. 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)
  6368. end
  6369. end
  6370. VALUE1 = false
  6371. ATTACK = false
  6372. Rooted = false
  6373. end
  6374.  
  6375. function Kick()
  6376. ATTACK = true
  6377. Rooted = false
  6378. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  6379. ApplyAoE3(RightLeg.Position,3,5,30,15,false)
  6380. for i=0, 0.5, 0.1 / Animation_Speed do
  6381. Swait()
  6382. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(45)), 2 / Animation_Speed)
  6383. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-45)), 2 / Animation_Speed)
  6384. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6385. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6386. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  6387. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  6388. end
  6389. CreateSound("199150686", Torso, 1, MRANDOM(11,13)/10)
  6390. ApplyAoE3(LeftLeg.Position,3,5,30,15,false)
  6391. for i=0, 0.5, 0.1 / Animation_Speed do
  6392. Swait()
  6393. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-45)), 2 / Animation_Speed)
  6394. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 2 / Animation_Speed)
  6395. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  6396. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  6397. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  6398. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-38), RAD(0), RAD(0)), 2 / Animation_Speed)
  6399. end
  6400. ATTACK = false
  6401. Rooted = false
  6402. end
  6403. --//=================================\\
  6404. --|| ASSIGN THINGS TO KEYS
  6405. --\\=================================//
  6406.  
  6407. function MouseDown(Mouse)
  6408. HOLD = true
  6409. if ATTACK == false then
  6410. end
  6411. end
  6412.  
  6413. function MouseUp(Mouse)
  6414. HOLD = false
  6415. end
  6416.  
  6417. function KeyDown(Key)
  6418. KEYHOLD = true
  6419. if Key == "z" and ATTACK == false then
  6420. if MODE == "Killbot" then
  6421. Bullet()
  6422. elseif MODE == "GoodCop" then
  6423. GoldenPunch()
  6424. elseif MODE == "DeadEye" then
  6425. CORRUPTEDLETHALBULLETS2()
  6426. elseif MODE == "Superior" then
  6427. ManiacMissiles()
  6428. elseif MODE == "black" then
  6429. MagicMissiles()
  6430. end
  6431. end
  6432.  
  6433. if Key == "x" and ATTACK == false then
  6434. if MODE == "black" then
  6435. Warp()
  6436. elseif MODE == "GoodCop" then
  6437. ImplosionCollision()
  6438. elseif MODE == "Superior" then
  6439. Prison_Key()
  6440. elseif MODE == "DeadEye" then
  6441. BulletRoller()
  6442. end
  6443. end
  6444.  
  6445. if Key == "c" and ATTACK == false then
  6446. if MODE == "black" then
  6447. Corrupted_Burn()
  6448. elseif MODE == "DeadEye" then
  6449. Teleport()
  6450. elseif MODE == "GoodCop" then
  6451. Mach20()
  6452. end
  6453. end
  6454.  
  6455. if Key == "v" and ATTACK == false then
  6456. if MODE == "GoodCopt" then
  6457.  
  6458. elseif MODE == "black" then
  6459. PlanetaryDevastation()
  6460. end
  6461. end
  6462.  
  6463. if Key == "t" and ATTACK == false then
  6464. if MODE == "Killbot" then
  6465. nope()
  6466. elseif MODE == "GoodCop" then
  6467. TomYumTaunt()
  6468. elseif MODE == "DeadEye" then
  6469. Taunt()
  6470. elseif MODE == "black" then
  6471. VoidedTaunt()
  6472. end
  6473. end
  6474.  
  6475. if Key == "q" and ATTACK == false then
  6476. Punch()
  6477. end
  6478.  
  6479. if Key == "e" and ATTACK == false then
  6480. Kick()
  6481. end
  6482.  
  6483. if Key == "f" and ATTACK == false then
  6484. banra()
  6485. end
  6486.  
  6487. if Key == "p" and ATTACK == false then
  6488. Switch()
  6489. end
  6490.  
  6491. if Key == "l" and ATTACK == false then
  6492. Switch4()
  6493. end
  6494.  
  6495. if Key == "u" and ATTACK == false then
  6496. Switch2()
  6497. end
  6498.  
  6499. if Key == "y" and ATTACK == false then
  6500. Switch3()
  6501. end
  6502.  
  6503. end
  6504.  
  6505. function KeyUp(Key)
  6506. KEYHOLD = false
  6507. end
  6508.  
  6509. Mouse.Button1Down:connect(function(NEWKEY)
  6510. MouseDown(NEWKEY)
  6511. end)
  6512. Mouse.Button1Up:connect(function(NEWKEY)
  6513. MouseUp(NEWKEY)
  6514. end)
  6515. Mouse.KeyDown:connect(function(NEWKEY)
  6516. KeyDown(NEWKEY)
  6517. end)
  6518. Mouse.KeyUp:connect(function(NEWKEY)
  6519. KeyUp(NEWKEY)
  6520. end)
  6521.  
  6522. --//=================================\\
  6523. --\\=================================//
  6524.  
  6525.  
  6526. function unanchor()
  6527. if UNANCHOR == true then
  6528. g = Character:GetChildren()
  6529. for i = 1, #g do
  6530. if g[i].ClassName == "Part" then
  6531. g[i].Anchored = false
  6532. end
  6533. end
  6534. end
  6535. end
  6536.  
  6537.  
  6538. --//=================================\\
  6539. --|| WRAP THE WHOLE SCRIPT UP
  6540. --\\=================================//
  6541.  
  6542. Humanoid.Changed:connect(function(Jump)
  6543. if Jump == "Jump" and (Disable_Jump == true) then
  6544. Humanoid.Jump = false
  6545. end
  6546. end)
  6547.  
  6548. while true do
  6549. Swait()
  6550. script.Parent = WEAPONGUI
  6551. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  6552. v:Stop();
  6553. end
  6554. ANIMATE.Parent = nil
  6555. SINE = SINE + CHANGE*1.5
  6556. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  6557. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  6558. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  6559. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  6560. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  6561. if MODE == "GoodCop" then
  6562. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6563. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6564. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.5 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.3 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  6565. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.5 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.3 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  6566. elseif MODE == "Superior" then
  6567. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6568. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6569. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6570. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6571. elseif MODE == "Killbot" then
  6572. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6573. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6574. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  6575. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  6576. elseif MODE == "DeadEye" then
  6577. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6578. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6579. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6580. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  6581. end
  6582. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  6583. if MODE == "GoodCop" then
  6584. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6585. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6586. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  6587. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  6588. elseif MODE == "Superior" then
  6589. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6590. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6591. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6592. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6593. elseif MODE == "Killbot" then
  6594. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6595. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6596. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  6597. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  6598. elseif MODE == "DeadEye" then
  6599. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6600. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6601. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6602. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6603.  
  6604. end
  6605. end
  6606. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  6607. ANIM = "Jump"
  6608. if ATTACK == false then
  6609. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6610. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  6611. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6613. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  6614. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  6615. end
  6616. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  6617. ANIM = "Fall"
  6618. if ATTACK == false then
  6619. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6620. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6623. 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)
  6624. 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)
  6625. end
  6626. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  6627. ANIM = "Idle"
  6628. if ATTACK == false then
  6629. if MODE == "GoodCop" then
  6630. Speed = 20
  6631. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(5 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6632. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 12)), RAD(0)), 0.5 / Animation_Speed)
  6633. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 - 0.1 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(0), RAD(-100)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  6634. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3 - 0.1 * COS(SINE / 12), -0.35) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  6635. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(7 * COS(SINE / 12)), RAD(85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6636. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(7 * COS(SINE / 12)), RAD(-85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  6637. elseif MODE == "Superior" then
  6638. Speed = 10
  6639. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  6640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed)
  6641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6643. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  6644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  6645. if MRANDOM(1,35) == 1 then
  6646. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*2) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  6647. end
  6648. elseif MODE == "Killbot" then
  6649. Speed = 10
  6650. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 4)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6651. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  6652. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  6653. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.1 * COS(SINE / 4), 0.25 - 0.025 * COS(SINE / 5)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  6654. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6655. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 4), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  6656. elseif MODE == "DeadEye" then
  6657. Speed = 12
  6658. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6659. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 12) + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(10 * COS(SINE / 12)), RAD(0)), 0.15 / Animation_Speed)
  6660. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.2, 0.5 - 0.15 * COS(SINE / 12), -0.4) * ANGLES(RAD(50 - 10.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(-36)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6661. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(180 - 3.5 * SIN(SINE / 12)), RAD(0 - 8.5 * SIN(SINE / 12)), RAD(20 + 8.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  6662. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6663. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6664. elseif MODE == "black" then
  6665. Speed = 16
  6666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  6667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
  6668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  6669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  6670. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6671. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6672. end
  6673. end
  6674. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  6675. ANIM = "Walk"
  6676. if ATTACK == false then
  6677. if MODE == "GoodCop" then
  6678. Speed = 26
  6679. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  6680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  6681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50 * COS(SINE / (WALKSPEEDVALUE))), RAD(-5), RAD(-30 * COS(SINE / (WALKSPEEDVALUE)))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 * COS(SINE / (WALKSPEEDVALUE))), RAD(5), RAD(-30 * COS(SINE / (WALKSPEEDVALUE)))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6683. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6684. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6685. elseif MODE == "Superior" then
  6686. Speed = 16
  6687. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
  6688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
  6689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6691. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  6692. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  6693. elseif MODE == "Killbot" then
  6694. Speed = 30
  6695. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  6696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  6697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6699. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6701. elseif MODE == "DeadEye" then
  6702. Speed = 16
  6703. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(-15-7 * COS(SINE / (WALKSPEEDVALUE)))), 0.15 / Animation_Speed)
  6704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(15+7 * COS(SINE / (WALKSPEEDVALUE)))), 0.15 / Animation_Speed)
  6705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0 - 3.5 * SIN(SINE / 12)), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  6706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(3 - 3.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 6 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6707. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  6708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  6709. elseif MODE == "black" then
  6710. Speed = 16
  6711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  6712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  6713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.6*SIZE, -0.35*SIZE) * ANGLES(RAD(175), RAD(0 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-35 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6715. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  6717. end
  6718. end
  6719. end
  6720. unanchor()
  6721. Humanoid.MaxHealth = "inf"
  6722. Humanoid.Health = "inf"
  6723. if Rooted == false then
  6724. Disable_Jump = false
  6725. Humanoid.WalkSpeed = Speed
  6726. elseif Rooted == true then
  6727. Disable_Jump = true
  6728. Humanoid.WalkSpeed = 0
  6729. end
  6730. refit()
  6731. local MATHS = {"a","o","m","F","e","t","t","y"}
  6732. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  6733. if Character:FindFirstChildOfClass("Accessory") then
  6734. Character:FindFirstChildOfClass("Accessory"):remove()
  6735. elseif Character:FindFirstChildOfClass("Hat") then
  6736. Character:FindFirstChildOfClass("Hat"):remove()
  6737. end
  6738. if Head:FindFirstChild("face") then
  6739. Head.face.Texture = "rbxassetid://403870689"
  6740. end
  6741. for _, c in pairs(Character:GetChildren()) do
  6742. if c.ClassName == "Part" and c.Name ~= "Eye" then
  6743. c.Color = C3(21,71,109)
  6744. c.Material = "Neon"
  6745. if c:FindFirstChildOfClass("ParticleEmitter") then
  6746. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  6747. end
  6748. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  6749. c:remove()
  6750. end
  6751. end
  6752. end
  6753.  
  6754. --//=================================\\
  6755. --\\=================================//
  6756.  
  6757.  
  6758.  
  6759.  
  6760.  
  6761. --//====================================================\\--
  6762. --|| END OF SCRIPT
  6763. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement