Advertisement
Christoffer07700Extr

FE Infectist

Jul 24th, 2019
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.45 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. return RealPlayer[Index]
  88. end
  89. end;
  90. __tostring = function(self)
  91. return RealPlayer.Name
  92. end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. if Service:lower() == "players" then
  102. return setmetatable({},{
  103. __index = function (self2,Index2)
  104. local RealService = RealGame:GetService(Service)
  105. local Type2 = type(Index2)
  106. if Type2 == "function" then
  107. return function (self,...)
  108. return RealService[Index2](RealService,...)
  109. end
  110. else
  111. if Index2:lower() == "localplayer" then
  112. return Sandbox(owner)
  113. end
  114. return RealService[Index2]
  115. end
  116. end;
  117. __tostring = function(self)
  118. return RealGame:GetService(Service).Name
  119. end
  120. })
  121. elseif Service:lower() == "contextactionservice" then
  122. return InternalData["ContextActionService"]
  123. elseif Service:lower() == "contextactionservice" then
  124. return InternalData["UserInputService"]
  125. elseif Service:lower() == "runservice" then
  126. return setmetatable({},{
  127. __index = function(self2,Index2)
  128. local RealService = RealGame:GetService(Service)
  129. local Type2 = type(Index2)
  130. if Type2 == "function" then
  131. return function (self,...)
  132. return RealService[Index2](RealService,...)
  133. end
  134. else
  135. if Index2:lower() == "bindtorenderstep" then
  136. return function (self,Name,Priority,Function)
  137. return RealGame:GetService("RunService").Stepped:Connect(Function)
  138. end
  139. end
  140. if Index2:lower() == "renderstepped" then
  141. return RealService["Stepped"]
  142. end
  143. return RealService[Index2]
  144. end
  145. end
  146. })
  147. else
  148. return RealGame:GetService(Service)
  149. end
  150. end
  151. end
  152. return function (self,...)
  153. return RealGame[Index](RealGame,...)
  154. end
  155. else
  156. if game:GetService(Index) then
  157. return game:GetService(Index)
  158. end
  159. return RealGame[Index]
  160. end
  161. else
  162. return nil
  163. end
  164. end
  165. });Game = game;owner = game:GetService("Players").LocalPlayer
  166. print("Complete! Running...")
  167.  
  168. Player = game.Players.LocalPlayer
  169. Character = Player.Character
  170. local txt = Instance.new("BillboardGui", Character)
  171. txt.Adornee = Character.Head
  172. txt.Name = "_status"
  173. txt.Size = UDim2.new(2, 0, 1.2, 0)
  174. txt.StudsOffset = Vector3.new(-9, 10, 0)
  175. local text = Instance.new("TextLabel", txt)
  176. text.Size = UDim2.new(10, 0, 7, 0)
  177. text.FontSize = "Size24"
  178. text.TextScaled = true
  179. text.TextTransparency = 0
  180. text.BackgroundTransparency = 1
  181. text.TextTransparency = 0
  182. text.TextStrokeTransparency = 0
  183. text.Font = "Antique"
  184. text.TextStrokeColor3 = Color3.new(1,0,0)
  185. text.Text = "Infectist"
  186.  
  187. --//====================================================\\--
  188. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  189. --\\====================================================//--
  190.  
  191. script:ClearAllChildren()
  192. wait(0.2)
  193.  
  194. Player = game:GetService("Players").LocalPlayer
  195. PlayerGui = Player.PlayerGui
  196. Cam = workspace.CurrentCamera
  197. Backpack = Player.Backpack
  198. Character = Player.Character
  199. Humanoid = Character.Humanoid
  200. Mouse = Player:GetMouse()
  201. RootPart = Character["HumanoidRootPart"]
  202. Torso = Character["Torso"]
  203. Head = Character["Head"]
  204. RightArm = Character["Right Arm"]
  205. LeftArm = Character["Left Arm"]
  206. RightLeg = Character["Right Leg"]
  207. LeftLeg = Character["Left Leg"]
  208. RootJoint = RootPart["RootJoint"]
  209. Neck = Torso["Neck"]
  210. RightShoulder = Torso["Right Shoulder"]
  211. LeftShoulder = Torso["Left Shoulder"]
  212. RightHip = Torso["Right Hip"]
  213. LeftHip = Torso["Left Hip"]
  214. local TIME = 0
  215. local sick = Instance.new("Sound",Torso)
  216.  
  217. IT = Instance.new
  218. CF = CFrame.new
  219. VT = Vector3.new
  220. RAD = math.rad
  221. C3 = Color3.new
  222. UD2 = UDim2.new
  223. BRICKC = BrickColor.new
  224. ANGLES = CFrame.Angles
  225. EULER = CFrame.fromEulerAnglesXYZ
  226. COS = math.cos
  227. ACOS = math.acos
  228. SIN = math.sin
  229. ASIN = math.asin
  230. ABS = math.abs
  231. MRANDOM = math.random
  232. FLOOR = math.floor
  233.  
  234. --//=================================\\
  235. --|| USEFUL VALUES
  236. --\\=================================//
  237.  
  238. Animation_Speed = 3
  239. local FORCERESET = false
  240. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  241. local Speed = 18
  242. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  243. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  244. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  245. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  246. local DAMAGEMULTIPLIER = 1
  247. local ANIM = "Idle"
  248. local ATTACK = false
  249. local EQUIPPED = false
  250. local HOLD = false
  251. local COMBO = 1
  252. local Rooted = false
  253. local SINE = 0
  254. local KEYHOLD = false
  255. local CHANGE = 2 / Animation_Speed
  256. local WALKINGANIM = false
  257. local VALUE1 = false
  258. local VALUE2 = false
  259. local ROBLOXIDLEANIMATION = IT("Animation")
  260. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  261. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  262. --ROBLOXIDLEANIMATION.Parent = Humanoid
  263. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  264. WEAPONGUI.Name = "BanishV3Gui"
  265. local Weapon = IT("Model")
  266. Weapon.Name = "Adds"
  267. local Effects = IT("Folder", Weapon)
  268. Effects.Name = "Effects"
  269. local KnifeM = IT("Model")
  270. KnifeM.Name = "KAdds"
  271. local ANIMATOR = Humanoid.Animator
  272. local ANIMATE = Character:FindFirstChild("Animate")
  273. local UNANCHOR = true
  274. local TOBANISH = {}
  275. script.Parent = PlayerGui
  276. local FADERS = true
  277. local MODE = "Infectist"
  278. local SONG = 494139763
  279. local VOLUME = 3.5
  280. local PITCH = 1
  281. local SIZE = 1
  282. local GHOSTS = {}
  283. ANIMATE:remove()
  284. Character.Archivable = true
  285. script.Parent = WEAPONGUI
  286. local GHOSTBASE = Character:Clone()
  287. GHOSTBASE.Parent = nil
  288. GHOSTBASE.Name = "Infected"
  289. for _, c in pairs(GHOSTBASE:GetChildren()) do
  290. if c.ClassName == "Part" and c.Transparency < 1 then
  291. c.Color = C3(0,0,0)
  292. if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then
  293. c:remove()
  294. end
  295. end
  296. end
  297. local Effects = IT("Folder", Character)
  298. Effects.Name = "Effects"
  299. Character.Archivable = false
  300. local BODY = {}
  301. local SHOCKSOUND = 1544280726
  302. local RINGSOUND = 340505360
  303. local ULTHIT = 412831137
  304.  
  305. --//=================================\\
  306. --\\=================================//
  307.  
  308.  
  309. --//=================================\\
  310. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  311. --\\=================================//
  312.  
  313. ArtificialHB = Instance.new("BindableEvent", script)
  314. ArtificialHB.Name = "ArtificialHB"
  315.  
  316. script:WaitForChild("ArtificialHB")
  317.  
  318. frame = Frame_Speed
  319. tf = 0
  320. allowframeloss = false
  321. tossremainder = false
  322. lastframe = tick()
  323. script.ArtificialHB:Fire()
  324.  
  325. game:GetService("RunService").Heartbeat:connect(function(s, p)
  326. tf = tf + s
  327. if tf >= frame then
  328. if allowframeloss then
  329. script.ArtificialHB:Fire()
  330. lastframe = tick()
  331. else
  332. for i = 1, math.floor(tf / frame) do
  333. script.ArtificialHB:Fire()
  334. end
  335. lastframe = tick()
  336. end
  337. if tossremainder then
  338. tf = 0
  339. else
  340. tf = tf - frame * math.floor(tf / frame)
  341. end
  342. end
  343. end)
  344.  
  345. --//=================================\\
  346. --\\=================================//
  347.  
  348. --//=================================\\
  349. --|| SOME FUNCTIONS
  350. --\\=================================//
  351.  
  352. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  353. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  354. end
  355.  
  356. function PositiveAngle(NUMBER)
  357. if NUMBER >= 0 then
  358. NUMBER = 0
  359. end
  360. return NUMBER
  361. end
  362.  
  363. function NegativeAngle(NUMBER)
  364. if NUMBER <= 0 then
  365. NUMBER = 0
  366. end
  367. return NUMBER
  368. end
  369.  
  370. function Swait(NUMBER)
  371. if NUMBER == 0 or NUMBER == nil then
  372. ArtificialHB.Event:wait()
  373. else
  374. for i = 1, NUMBER do
  375. ArtificialHB.Event:wait()
  376. end
  377. end
  378. end
  379.  
  380. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  381. local NEWMESH = IT(MESH)
  382. if MESH == "SpecialMesh" then
  383. NEWMESH.MeshType = MESHTYPE
  384. if MESHID ~= "nil" and MESHID ~= "" then
  385. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  386. end
  387. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  388. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  389. end
  390. end
  391. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  392. NEWMESH.Scale = SCALE
  393. NEWMESH.Parent = PARENT
  394. return NEWMESH
  395. end
  396.  
  397. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  398. local NEWPART = IT("Part")
  399. NEWPART.formFactor = FORMFACTOR
  400. NEWPART.Reflectance = REFLECTANCE
  401. NEWPART.Transparency = TRANSPARENCY
  402. NEWPART.CanCollide = false
  403. NEWPART.Locked = true
  404. NEWPART.Anchored = true
  405. if ANCHOR == false then
  406. NEWPART.Anchored = false
  407. end
  408. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  409. NEWPART.Name = NAME
  410. NEWPART.Size = SIZE
  411. NEWPART.Position = Torso.Position
  412. NEWPART.Material = MATERIAL
  413. NEWPART:BreakJoints()
  414. NEWPART.Parent = PARENT
  415. return NEWPART
  416. end
  417.  
  418. local function weldBetween(a, b)
  419. local weldd = Instance.new("ManualWeld")
  420. weldd.Part0 = a
  421. weldd.Part1 = b
  422. weldd.C0 = CFrame.new()
  423. weldd.C1 = b.CFrame:inverse() * a.CFrame
  424. weldd.Parent = a
  425. return weldd
  426. end
  427.  
  428.  
  429. function QuaternionFromCFrame(cf)
  430. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  431. local trace = m00 + m11 + m22
  432. if trace > 0 then
  433. local s = math.sqrt(1 + trace)
  434. local recip = 0.5 / s
  435. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  436. else
  437. local i = 0
  438. if m11 > m00 then
  439. i = 1
  440. end
  441. if m22 > (i == 0 and m00 or m11) then
  442. i = 2
  443. end
  444. if i == 0 then
  445. local s = math.sqrt(m00 - m11 - m22 + 1)
  446. local recip = 0.5 / s
  447. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  448. elseif i == 1 then
  449. local s = math.sqrt(m11 - m22 - m00 + 1)
  450. local recip = 0.5 / s
  451. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  452. elseif i == 2 then
  453. local s = math.sqrt(m22 - m00 - m11 + 1)
  454. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  455. end
  456. end
  457. end
  458.  
  459. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  460. local xs, ys, zs = x + x, y + y, z + z
  461. local wx, wy, wz = w * xs, w * ys, w * zs
  462. local xx = x * xs
  463. local xy = x * ys
  464. local xz = x * zs
  465. local yy = y * ys
  466. local yz = y * zs
  467. local zz = z * zs
  468. 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))
  469. end
  470.  
  471. function QuaternionSlerp(a, b, t)
  472. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  473. local startInterp, finishInterp;
  474. if cosTheta >= 0.0001 then
  475. if (1 - cosTheta) > 0.0001 then
  476. local theta = ACOS(cosTheta)
  477. local invSinTheta = 1 / SIN(theta)
  478. startInterp = SIN((1 - t) * theta) * invSinTheta
  479. finishInterp = SIN(t * theta) * invSinTheta
  480. else
  481. startInterp = 1 - t
  482. finishInterp = t
  483. end
  484. else
  485. if (1 + cosTheta) > 0.0001 then
  486. local theta = ACOS(-cosTheta)
  487. local invSinTheta = 1 / SIN(theta)
  488. startInterp = SIN((t - 1) * theta) * invSinTheta
  489. finishInterp = SIN(t * theta) * invSinTheta
  490. else
  491. startInterp = t - 1
  492. finishInterp = t
  493. end
  494. end
  495. 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
  496. end
  497.  
  498. function Clerp(a, b, t)
  499. local qa = {QuaternionFromCFrame(a)}
  500. local qb = {QuaternionFromCFrame(b)}
  501. local ax, ay, az = a.x, a.y, a.z
  502. local bx, by, bz = b.x, b.y, b.z
  503. local _t = 1 - t
  504. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  505. end
  506.  
  507. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  508. local frame = IT("Frame")
  509. frame.BackgroundTransparency = TRANSPARENCY
  510. frame.BorderSizePixel = BORDERSIZEPIXEL
  511. frame.Position = POSITION
  512. frame.Size = SIZE
  513. frame.BackgroundColor3 = COLOR
  514. frame.BorderColor3 = BORDERCOLOR
  515. frame.Name = NAME
  516. frame.Parent = PARENT
  517. return frame
  518. end
  519.  
  520. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  521. local label = IT("TextLabel")
  522. label.BackgroundTransparency = 1
  523. label.Size = UD2(1, 0, 1, 0)
  524. label.Position = UD2(0, 0, 0, 0)
  525. label.TextColor3 = TEXTCOLOR
  526. label.TextStrokeTransparency = STROKETRANSPARENCY
  527. label.TextTransparency = TRANSPARENCY
  528. label.FontSize = TEXTFONTSIZE
  529. label.Font = TEXTFONT
  530. label.BorderSizePixel = BORDERSIZEPIXEL
  531. label.TextScaled = false
  532. label.Text = TEXT
  533. label.Name = NAME
  534. label.Parent = PARENT
  535. return label
  536. end
  537.  
  538. function NoOutlines(PART)
  539. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  540. end
  541.  
  542. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  543. local NEWWELD = IT(TYPE)
  544. NEWWELD.Part0 = PART0
  545. NEWWELD.Part1 = PART1
  546. NEWWELD.C0 = C0
  547. NEWWELD.C1 = C1
  548. NEWWELD.Parent = PARENT
  549. return NEWWELD
  550. end
  551.  
  552. local S = IT("Sound")
  553. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  554. local NEWSOUND = nil
  555. coroutine.resume(coroutine.create(function()
  556. NEWSOUND = S:Clone()
  557. NEWSOUND.Parent = PARENT
  558. NEWSOUND.Volume = VOLUME
  559. NEWSOUND.Pitch = PITCH
  560. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  561. NEWSOUND:play()
  562. if DOESLOOP == true then
  563. NEWSOUND.Looped = true
  564. else
  565. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  566. NEWSOUND:remove()
  567. end
  568. end))
  569. return NEWSOUND
  570. end
  571.  
  572. function CFrameFromTopBack(at, top, back)
  573. local right = top:Cross(back)
  574. 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)
  575. end
  576.  
  577. --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})
  578. function WACKYEFFECT(Table)
  579. local TYPE = (Table.EffectType or "Sphere")
  580. local SIZE = (Table.Size or VT(1,1,1))
  581. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  582. local TRANSPARENCY = (Table.Transparency or 0)
  583. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  584. local CFRAME = (Table.CFrame or Torso.CFrame)
  585. local MOVEDIRECTION = (Table.MoveToPos or nil)
  586. local ROTATION1 = (Table.RotationX or 0)
  587. local ROTATION2 = (Table.RotationY or 0)
  588. local ROTATION3 = (Table.RotationZ or 0)
  589. local MATERIAL = (Table.Material or "Neon")
  590. local COLOR = (Table.Color or C3(1,1,1))
  591. local TIME = (Table.Time or 45)
  592. local SOUNDID = (Table.SoundID or nil)
  593. local SOUNDPITCH = (Table.SoundPitch or nil)
  594. local SOUNDVOLUME = (Table.SoundVolume or nil)
  595. coroutine.resume(coroutine.create(function()
  596. local PLAYSSOUND = false
  597. local SOUND = nil
  598. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  599. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  600. PLAYSSOUND = true
  601. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  602. end
  603. EFFECT.Color = COLOR
  604. local MSH = nil
  605. if TYPE == "Sphere" then
  606. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  607. elseif TYPE == "Block" then
  608. MSH = IT("BlockMesh",EFFECT)
  609. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  610. elseif TYPE == "Wave" then
  611. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  612. elseif TYPE == "Ring" then
  613. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  614. elseif TYPE == "Slash" then
  615. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  616. elseif TYPE == "Round Slash" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  618. elseif TYPE == "Swirl" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  620. elseif TYPE == "Skull" then
  621. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  622. elseif TYPE == "Crystal" then
  623. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  624. end
  625. if MSH ~= nil then
  626. local MOVESPEED = nil
  627. if MOVEDIRECTION ~= nil then
  628. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  629. end
  630. local GROWTH = SIZE - ENDSIZE
  631. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  632. if TYPE == "Block" then
  633. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  634. else
  635. EFFECT.CFrame = CFRAME
  636. end
  637. for LOOP = 1, TIME+1 do
  638. Swait()
  639. MSH.Scale = MSH.Scale - GROWTH/TIME
  640. if TYPE == "Wave" then
  641. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  642. end
  643. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  644. if TYPE == "Block" then
  645. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  646. else
  647. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  648. end
  649. if MOVEDIRECTION ~= nil then
  650. local ORI = EFFECT.Orientation
  651. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  652. EFFECT.Orientation = ORI
  653. end
  654. end
  655. if PLAYSSOUND == false then
  656. EFFECT:remove()
  657. else
  658. SOUND.Stopped:Connect(function()
  659. EFFECT:remove()
  660. end)
  661. end
  662. else
  663. if PLAYSSOUND == false then
  664. EFFECT:remove()
  665. else
  666. repeat Swait() until SOUND.Playing == false
  667. EFFECT:remove()
  668. end
  669. end
  670. end))
  671. end
  672.  
  673. function MakeForm(PART,TYPE)
  674. if TYPE == "Cyl" then
  675. local MSH = IT("CylinderMesh",PART)
  676. elseif TYPE == "Ball" then
  677. local MSH = IT("SpecialMesh",PART)
  678. MSH.MeshType = "Sphere"
  679. elseif TYPE == "Wedge" then
  680. local MSH = IT("SpecialMesh",PART)
  681. MSH.MeshType = "Wedge"
  682. end
  683. end
  684.  
  685. function SpawnTrail(FROM,TO,BIG)
  686. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  687. MakeForm(TRAIL,"Cyl")
  688. local DIST = (FROM - TO).Magnitude
  689. if BIG == true then
  690. TRAIL.Size = VT(1.5,DIST,1.5)
  691. else
  692. TRAIL.Size = VT(0.25,DIST,0.25)
  693. end
  694. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  695. coroutine.resume(coroutine.create(function()
  696. for i = 1, 5 do
  697. Swait()
  698. TRAIL.Transparency = TRAIL.Transparency + 0.1
  699. end
  700. TRAIL:remove()
  701. end))
  702. end
  703.  
  704. function SpawnTrail2(FROM,TO,BIG)
  705. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  706. MakeForm(TRAIL,"Cyl")
  707. local DIST = (FROM - TO).Magnitude
  708. if BIG == true then
  709. TRAIL.Size = VT(8.5,DIST,8.5)
  710. else
  711. TRAIL.Size = VT(6.25,DIST,6.25)
  712. end
  713. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  714. coroutine.resume(coroutine.create(function()
  715. for i = 1, 5 do
  716. Swait()
  717. TRAIL.Transparency = TRAIL.Transparency + 0.1
  718. end
  719. TRAIL:remove()
  720. end))
  721. end
  722.  
  723. Debris = game:GetService("Debris")
  724.  
  725. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  726. local DIRECTION = CF(StartPos,EndPos).lookVector
  727. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  728. end
  729.  
  730. function turnto(position)
  731. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  732. end
  733. local asd = Instance.new("ParticleEmitter")
  734. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  735. asd.LightEmission = .1
  736. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  737. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  738. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  739. asd.Transparency = bbb
  740. asd.Size = aaa
  741. asd.ZOffset = .9
  742. asd.Acceleration = Vector3.new(0, -15, 0)
  743. asd.LockedToPart = false
  744. asd.EmissionDirection = "Back"
  745. asd.Lifetime = NumberRange.new(1, 2)
  746. asd.Rotation = NumberRange.new(-100, 100)
  747. asd.RotSpeed = NumberRange.new(-100, 100)
  748. asd.Speed = NumberRange.new(10)
  749. asd.Enabled = false
  750. asd.VelocitySpread = 999
  751.  
  752. function getbloody(victim,amount)
  753. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Lime green", "Blood", victim.Size)
  754. PART.CFrame = victim.CFrame
  755. local HITPLAYERSOUNDS = {"356551938","264486467"}
  756. Debris:AddItem(PART,5)
  757. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  758. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  759. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  760. local prtcl = asd:Clone()
  761. prtcl.Parent = PART
  762. prtcl:Emit(amount*10)
  763. end
  764.  
  765. local Particle = IT("ParticleEmitter",nil)
  766. Particle.Enabled = false
  767. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  768. Particle.LightEmission = 0.5
  769. Particle.Rate = 150
  770. Particle.ZOffset = 1
  771. Particle.Rotation = NumberRange.new(-180, 180)
  772. Particle.RotSpeed = NumberRange.new(-180, 180)
  773. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  774. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  775.  
  776. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  777. function ParticleEmitter(Table)
  778. local PRTCL = Particle:Clone()
  779. local Speed = Table.Speed or 5
  780. local Drag = Table.Drag or 0
  781. local Size1 = Table.Size1 or 1
  782. local Size2 = Table.Size2 or 5
  783. local Lifetime1 = Table.Lifetime1 or 1
  784. local Lifetime2 = Table.Lifetime2 or 1.5
  785. local Parent = Table.Parent or Torso
  786. local Emit = Table.Emit or 100
  787. local Offset = Table.Offset or 360
  788. local Acel = Table.Acel or VT(0,0,0)
  789. local Enabled = Table.Enabled or false
  790. PRTCL.Parent = Parent
  791. PRTCL.Size = NumberSequence.new(Size1,Size2)
  792. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  793. PRTCL.Speed = NumberRange.new(Speed)
  794. PRTCL.VelocitySpread = Offset
  795. PRTCL.Drag = Drag
  796. PRTCL.Acceleration = Acel
  797. if Enabled == false then
  798. PRTCL:Emit(Emit)
  799. Debris:AddItem(PRTCL,Lifetime2)
  800. else
  801. PRTCL.Enabled = true
  802. end
  803. return PRTCL
  804. end
  805.  
  806. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  807. coroutine.resume(coroutine.create(function()
  808. local FADE = IT("Model",Effects)
  809. if PARENT ~= nil then
  810. FADE.Parent = PARENT
  811. end
  812. FADE.Name = "FadingEffect"
  813. for _, c in pairs(Character:GetChildren()) do
  814. if c.ClassName == "Part" then
  815. c.CanCollide = false
  816. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Really red"), c.Name, c.Size, true)
  817. FADER.CFrame = c.CFrame
  818. FADER.Color = C3(0,0,0)
  819. if FADER.Name == "Head" then
  820. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  821. elseif FADER.Name == "HumanoidRootPart" then
  822. FADE.PrimaryPart = FADER
  823. FADER.Transparency = 1
  824. end
  825. end
  826. end
  827. local TRANS = 0.25/TIMER
  828. local DIST = nil
  829. if MOVEDIRECTION ~= nil then
  830. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  831. end
  832. for i = 1, TIMER do
  833. Swait()
  834. for _, c in pairs(FADE:GetChildren()) do
  835. if c.ClassName == "Part" then
  836. c.Transparency = c.Transparency + TRANS
  837. end
  838. end
  839. if MOVEDIRECTION ~= nil then
  840. local ORI = FADE.PrimaryPart.Orientation
  841. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  842. end
  843. end
  844. FADE:remove()
  845. end))
  846. end
  847.  
  848. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOES360)
  849. if FLOOR ~= nil then
  850. for i = 1, AMOUNT do
  851. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "Debree", BLOCKSIZE, false)
  852. DEBREE.Material = FLOOR.Material
  853. DEBREE.Color = FLOOR.Color
  854. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  855. if DOES360 == true then
  856. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  857. else
  858. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  859. end
  860. coroutine.resume(coroutine.create(function()
  861. Swait(15)
  862. DEBREE.Parent = workspace
  863. DEBREE.CanCollide = true
  864. Debris:AddItem(DEBREE,SWAIT)
  865. end))
  866. end
  867. end
  868. end
  869.  
  870. local Decal = IT("Decal")
  871. function SpawnBulletHole(POSITION)
  872. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Bullet hole", VT(0.2,0,0.2))
  873. local decal = Decal:Clone()
  874. decal.Parent = O1
  875. decal.Face = "Top"
  876. decal.Texture = "http://www.roblox.com/asset/?id=130624105"
  877. local decal2 = Decal:Clone()
  878. decal2.Parent = O1
  879. decal2.Face = "Bottom"
  880. decal2.Texture = "http://www.roblox.com/asset/?id=130624105"
  881. O1.CFrame = POSITION*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))
  882. Debris:AddItem(O1,5)
  883. end
  884.  
  885. function R_RANDOM(CFRAME,DIST)
  886. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  887. end
  888.  
  889. function BulletDetection(FROM,TO)
  890. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  891. coroutine.resume(coroutine.create(function()
  892. if AIMHIT ~= nil then
  893. if AIMHIT.Parent ~= Character then
  894. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  895. if AIMHIT.Name ~= "Head" and AIMHIT.Parent.ClassName ~= "Accessory" then
  896. ApplyDamage(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25),AIMHIT)
  897. elseif AIMHIT.Name == "Head" or AIMHIT.Parent.ClassName == "Accessory" then
  898. if AIMHIT.Parent.ClassName == "Accessory" then
  899. if AIMHIT:FindFirstChild("HatAttachment") or AIMHIT:FindFirstChild("FaceFrontAttachment") or AIMHIT:FindFirstChild("HairAttachment") then
  900. AIMHIT.Parent.Parent:BreakJoints()
  901. if AIMHIT.Parent.Parent:FindFirstChild("Head") then
  902. getbloody(AIMHIT.Parent.Parent.Head,15)
  903. AIMHIT.Parent.Parent.Head:remove()
  904. end
  905. else
  906. ApplyDamage(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(25,65),AIMHIT)
  907. end
  908. elseif AIMHIT.Name == "Head" then
  909. getbloody(AIMHIT,15)
  910. AIMHIT.Parent:BreakJoints()
  911. AIMHIT:remove()
  912. end
  913. end
  914. else
  915. CreateFlyingDebree(AIMHIT,CF(AIMPOS),7,VT(0.1,0.1,0.1),5,35,true)
  916. SpawnBulletHole(CF(AIMPOS,AIMPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0)))
  917. end
  918. end
  919. end
  920. end))
  921. return AIMHIT,AIMPOS,NORMAL
  922. end
  923.  
  924. --//=================================\\
  925. --|| WEAPON CREATION
  926. --\\=================================//
  927.  
  928. local LASTPART = Head
  929. for i = 1, 20 do
  930. local MATH = (1-(i/25))
  931. if LASTPART == Head then
  932. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  933. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  934. LASTPART = Horn
  935. Horn.Color = C3((i*3-3)/255,0,0)
  936. else
  937. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  938. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  939. LASTPART = Horn
  940. Horn.Color = C3((i*3-3)/255,0,0)
  941. end
  942. end
  943. local LASTPART = Head
  944. for i = 1, 20 do
  945. local MATH = (1-(i/25))
  946. if LASTPART == Head then
  947. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  948. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  949. LASTPART = Horn
  950. Horn.Color = C3((i*3-3)/255,0,0)
  951. else
  952. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  953. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  954. LASTPART = Horn
  955. Horn.Color = C3((i*3-3)/255,0,0)
  956. end
  957. end
  958.  
  959. function refit()
  960. Character.Parent = workspace
  961. for e = 1, #BODY do
  962. if BODY[e] ~= nil then
  963. local STUFF = BODY[e]
  964. local PART = STUFF[1]
  965. local PARENT = STUFF[2]
  966. local MATERIAL = STUFF[3]
  967. local COLOR = STUFF[4]
  968. local TRANSPARENCY = STUFF[5]
  969. if PART.ClassName == "Part" and PART ~= RootPart then
  970. PART.Material = MATERIAL
  971. PART.Color = COLOR
  972. PART.Transparency = TRANSPARENCY
  973. end
  974. if PART.Parent ~= PARENT then
  975. Humanoid:remove()
  976. PART.Parent = PARENT
  977. Humanoid = IT("Humanoid",Character)
  978. end
  979. end
  980. end
  981. end
  982.  
  983. local SKILLTEXTCOLOR = C3(0,1,0)
  984. local SKILLFONT = "Antique"
  985. local SKILLTEXTSIZE = 7
  986.  
  987. Humanoid.Died:connect(function()
  988. refit()
  989. ATTACK = true
  990. end)
  991.  
  992. function printbye(Name)
  993. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  994. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  995. end
  996.  
  997. workspace.ChildAdded:connect(function(instance)
  998. for BANISH = 1, #TOBANISH do
  999. if TOBANISH[BANISH] ~= nil then
  1000. if instance.Name == TOBANISH[BANISH] then
  1001. coroutine.resume(coroutine.create(function()
  1002. printbye(instance.Name)
  1003. instance:ClearAllChildren()
  1004. Debris:AddItem(instance,0.0005)
  1005. end))
  1006. end
  1007. end
  1008. end
  1009. end)
  1010.  
  1011.  
  1012. --//=================================\\
  1013. --|| WEAPON HOLDER
  1014. --\\=================================//
  1015.  
  1016. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1017. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1018. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1019. MakeForm(Part,"Wedge")
  1020. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1021. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1022. MakeForm(Part,"Wedge")
  1023. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1024. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1025. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1026. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1027. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1028. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1029. MakeForm(Part,"Cyl")
  1030. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1031. for i = 1, 8 do
  1032. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1033. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1034. end
  1035. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1036. MakeForm(Part,"Cyl")
  1037. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1038. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1039. MakeForm(Part,"Ball")
  1040. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1041. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1042. MakeForm(Part,"Wedge")
  1043. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1044. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1045. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1046. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1047. MakeForm(Part,"Cyl")
  1048. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1049. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1050. MakeForm(Part,"Cyl")
  1051. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1052. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1053. MakeForm(Part,"Cyl")
  1054. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1055. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1056. MakeForm(Part,"Wedge")
  1057. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1058. local LASTPART = Handle
  1059. for i = 1, 10 do
  1060. if LASTPART == Handle then
  1061. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1062. LASTPART = Part
  1063. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1064. else
  1065. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1066. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1067. LASTPART = Part
  1068. end
  1069. end
  1070.  
  1071. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1072. MakeForm(Barrel,"Cyl")
  1073. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1074. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1075. MakeForm(Part,"Cyl")
  1076. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1077. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1078. MakeForm(Part,"Wedge")
  1079. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1080. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1081. MakeForm(Hole2,"Cyl")
  1082. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1083. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1084. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1085. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1086. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1087. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1088. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1089. coroutine.resume(coroutine.create(function()
  1090. while wait() do
  1091. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1092. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1093. end
  1094. end))
  1095.  
  1096. for _, c in pairs(Weapon:GetDescendants()) do
  1097. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1098. c.Material = "Glass"
  1099. c.Color = C3(0,0,0)
  1100. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1101. c.Color = C3(1,0,0)
  1102. c.Material = "Neon"
  1103. end
  1104. end
  1105.  
  1106. Weapon.Parent = Character
  1107. for _, c in pairs(Weapon:GetChildren()) do
  1108. if c.ClassName == "Part" then
  1109. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1110. end
  1111. end
  1112.  
  1113. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1114. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1115. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1116. MakeForm(Part,"Wedge")
  1117. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1118. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1119. MakeForm(Part,"Wedge")
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1121. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1122. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1123. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1124. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1125. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1126. MakeForm(Part,"Cyl")
  1127. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1128. for i = 1, 8 do
  1129. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1130. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1131. end
  1132. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1133. MakeForm(Part,"Cyl")
  1134. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1135. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1136. MakeForm(Part,"Ball")
  1137. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1138. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1139. MakeForm(Part,"Wedge")
  1140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1141. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1142. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1143. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1144. MakeForm(Part,"Cyl")
  1145. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1146. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1147. MakeForm(Part,"Cyl")
  1148. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1149. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1150. MakeForm(Part,"Cyl")
  1151. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1152. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1153. MakeForm(Part,"Wedge")
  1154. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1155. local LASTPART = Handle
  1156. for i = 1, 10 do
  1157. if LASTPART == Handle then
  1158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1159. LASTPART = Part
  1160. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1161. else
  1162. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1163. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1164. LASTPART = Part
  1165. end
  1166. end
  1167.  
  1168. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1169. MakeForm(Barrel,"Cyl")
  1170. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1171. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1172. MakeForm(Part,"Cyl")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1174. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1175. MakeForm(Part,"Wedge")
  1176. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1177. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1178. MakeForm(Hole,"Cyl")
  1179. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1180. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1181. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1182. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1183. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1184. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1185. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1186. coroutine.resume(coroutine.create(function()
  1187. while wait() do
  1188. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1189. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1190. end
  1191. end))
  1192.  
  1193. for _, c in pairs(Weapon:GetDescendants()) do
  1194. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1195. c.Material = "Glass"
  1196. c.Color = C3(0,0,0)
  1197. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1198. c.Color = C3(1,0,0)
  1199. c.Material = "Neon"
  1200. end
  1201. end
  1202.  
  1203. Weapon.Parent = nil
  1204. for _, c in pairs(Weapon:GetChildren()) do
  1205. if c.ClassName == "Part" then
  1206. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1207. end
  1208. end
  1209.  
  1210. local Knife = CreatePart(3, KnifeM, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  1211. local Grip = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Knife, CF(0,-1.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1212. CreateMesh("SpecialMesh", Knife, "FileMesh", "470094777", "470149026", VT(0.2,0.2,0.2), VT(0,0,0))
  1213. local A = IT("Attachment",Knife)
  1214. A.Position = VT(-0, 0.2, 0.136)
  1215. local B = IT("Attachment",Knife)
  1216. B.Position = VT(-0, -0.95, -0.982)
  1217. local Trail = IT("Trail",Knife)
  1218. Trail.Attachment0 = B
  1219. Trail.Attachment1 = A
  1220. Trail.Lifetime = 0.1
  1221. Trail.Transparency = NumberSequence.new(0.5, 1)
  1222. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  1223. Trail.Enabled = true
  1224.  
  1225. KnifeM.Parent = nil
  1226. for _, c in pairs(KnifeM:GetChildren()) do
  1227. if c.ClassName == "Part" then
  1228. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1229. end
  1230. end
  1231.  
  1232. local POWER = 250
  1233. local MAXPOWER = 500
  1234.  
  1235. --//=================================\\
  1236. --|| TRANSFORMATIONS
  1237. --\\=================================//
  1238.  
  1239. function Switch1()
  1240. ATTACK = true
  1241. Rooted = true
  1242. if MODE == "Infectist" then
  1243. CreateSound(363808674, Torso, 10, 1, false)
  1244. for i=0, 1, 0.1 / Animation_Speed do
  1245. Swait()
  1246. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1250. 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)), 0.75 / Animation_Speed)
  1251. 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)), 0.75 / Animation_Speed)
  1252. end
  1253. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1254. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1255. Weapon.Parent = Character
  1256. SONG = 468994671
  1257. Speed = 32
  1258. VOLUME = 1.5
  1259. text.Text = "Plagues"
  1260. MODE = "Plagues"
  1261. elseif MODE == "Plagues" then
  1262. CreateSound(363808674, Torso, 10, 1, false)
  1263. for i=0, 1, 0.1 / Animation_Speed do
  1264. Swait()
  1265. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(22 + -11 * COS(SINE / 23)), RAD(-10), RAD(-45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-15 + -11 * COS(SINE / 23)), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1271. end
  1272. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1273. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1274. Weapon.Parent = nil
  1275. SONG = 494139763
  1276. VOLUME = 3.5
  1277. Speed = 18
  1278. text.Text = "Infectist"
  1279. MODE = "Infectist"
  1280. end
  1281. ATTACK = false
  1282. Rooted = false
  1283. end
  1284.  
  1285. function Switch2()
  1286. ATTACK = true
  1287. Rooted = true
  1288. if MODE == "Plagues" then
  1289. CreateSound(363808674, Torso, 10, 1, false)
  1290. for i=0, 1, 0.1 / Animation_Speed do
  1291. Swait()
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(0.5, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1298. end
  1299. SONG = 460439241
  1300. Speed = 0.5
  1301. VOLUME = 2
  1302. text.Text = "Levithan"
  1303. MODE = "Levithan"
  1304. elseif MODE == "Levithan" then
  1305. CreateSound(363808674, Torso, 10, 1, false)
  1306. for i=0, 1, 0.1 / Animation_Speed do
  1307. Swait()
  1308. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1309. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(75)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1312. 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)), 0.75 / Animation_Speed)
  1313. 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)), 0.75 / Animation_Speed)
  1314. end
  1315. SONG = 468994671
  1316. Speed = 32
  1317. VOLUME = 1.5
  1318. text.Text = "Plagues"
  1319. MODE = "Plagues"
  1320. end
  1321. ATTACK = false
  1322. Rooted = false
  1323. end
  1324.  
  1325. function Switch3()
  1326. ATTACK = true
  1327. Rooted = true
  1328. if MODE == "Infectist" then
  1329. CreateSound(363808674, Torso, 10, 1, false)
  1330. for i=0, 1, 0.1 / Animation_Speed do
  1331. Swait()
  1332. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1333. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1334. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1335. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1336. 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)), 0.75 / Animation_Speed)
  1337. 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)), 0.75 / Animation_Speed)
  1338. end
  1339. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1340. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(0.5,0.5,0.5), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1341. KnifeM.Parent = Character
  1342. for _, c in pairs(KnifeM:GetChildren()) do
  1343. if c.ClassName == "Part" then
  1344. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1345. end
  1346. end
  1347. SONG = 719088014
  1348. Speed = 32
  1349. VOLUME = 1.5
  1350. text.Text = "Jester"
  1351. MODE = "Jester"
  1352. elseif MODE == "Jester" then
  1353. CreateSound(363808674, Torso, 10, 1, false)
  1354. for i=0, 1, 0.1 / Animation_Speed do
  1355. Swait()
  1356. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(22 + -11 * COS(SINE / 23)), RAD(-10), RAD(-45)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-15 + -11 * COS(SINE / 23)), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1360. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  1362. end
  1363. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(LeftArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1364. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(RightArm.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0})
  1365. KnifeM.Parent = nil
  1366. SONG = 494139763
  1367. VOLUME = 3.5
  1368. Speed = 18
  1369. text.Text = "Infectist"
  1370. MODE = "Infectist"
  1371. end
  1372. ATTACK = false
  1373. Rooted = false
  1374. end
  1375.  
  1376. --//=================================\\
  1377. --|| DAMAGING
  1378. --\\=================================//
  1379.  
  1380. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1381. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1382. defence.Name = ("HitBy"..Player.Name)
  1383. game:GetService("Debris"):AddItem(defence, 0.001)
  1384. Damage = Damage * DAMAGEMULTIPLIER
  1385. if Humanoid.Health ~= 0 then
  1386. local CritChance = MRANDOM(1,100)
  1387. if Damage > Humanoid.Health then
  1388. Damage = math.ceil(Humanoid.Health)
  1389. if Damage == 0 then
  1390. Damage = 0.1
  1391. end
  1392. end
  1393. Humanoid.Health = Humanoid.Health - Damage
  1394. end
  1395. end
  1396.  
  1397. function Ghostify(POSITION,RANGE)
  1398. local CHILDREN = workspace:GetDescendants()
  1399. for index, CHILD in pairs(CHILDREN) do
  1400. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1401. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1402. if HUM then
  1403. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1404. if TORSO then
  1405. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1406. local GHOST = GHOSTBASE:Clone()
  1407. GHOST.Parent = Effects
  1408. GHOST.Torso.CFrame = TORSO.CFrame
  1409. table.insert(GHOSTS,GHOST)
  1410. CHILD:remove()
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416. end
  1417.  
  1418. function ApplyAoE2(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1419. for index, CHILD in pairs(workspace:GetDescendants()) do
  1420. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1421. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1422. if HUM then
  1423. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1424. if TORSO then
  1425. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1426. if INSTAKILL == true then
  1427. CHILD:BreakJoints()
  1428. else
  1429. local DMG = MRANDOM(MINDMG,MAXDMG)
  1430. ApplyDamage(HUM,DMG)
  1431. end
  1432. if FLING > 0 then
  1433. for _, c in pairs(CHILD:GetChildren()) do
  1434. if c:IsA("BasePart") then
  1435. local bv = Instance.new("BodyVelocity")
  1436. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1437. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1438. bv.Parent = c
  1439. Debris:AddItem(bv,0.05)
  1440. end
  1441. end
  1442. end
  1443. end
  1444. end
  1445. end
  1446. end
  1447. end
  1448. end
  1449.  
  1450. function Banish(Foe)
  1451. if Foe then
  1452. coroutine.resume(coroutine.create(function()
  1453. --if game.Players:FindFirstChild(Foe.Name) then
  1454. table.insert(TOBANISH,Foe.Name)
  1455. printbye(Foe.Name)
  1456. --end
  1457. Foe.Archivable = true
  1458. local CLONE = Foe:Clone()
  1459. Foe:Destroy()
  1460. CLONE.Parent = Effects
  1461. CLONE:BreakJoints()
  1462. local MATERIALS = {"Glass","Neon"}
  1463. for _, c in pairs(CLONE:GetDescendants()) do
  1464. if c:IsA("BasePart") then
  1465. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1466. CreateSound(340722848, c, 10, 1, false)
  1467. end
  1468. c.Anchored = true
  1469. c.Transparency = c.Transparency + 0.2
  1470. c.Material = MATERIALS[MRANDOM(1,2)]
  1471. c.Color = C3(0,1,0)
  1472. if c.ClassName == "MeshPart" then
  1473. c.TextureID = ""
  1474. end
  1475. if c:FindFirstChildOfClass("SpecialMesh") then
  1476. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1477. end
  1478. if c:FindFirstChildOfClass("Decal") then
  1479. c:FindFirstChildOfClass("Decal"):remove()
  1480. end
  1481. c.Name = "Banished"
  1482. c.CanCollide = false
  1483. else
  1484. c:remove()
  1485. end
  1486. end
  1487. local A = false
  1488. for i = 1, 35 do
  1489. if A == false then
  1490. A = true
  1491. elseif A == true then
  1492. A = false
  1493. end
  1494. for _, c in pairs(CLONE:GetDescendants()) do
  1495. if c:IsA("BasePart") then
  1496. c.Anchored = true
  1497. c.Material = MATERIALS[MRANDOM(1,2)]
  1498. c.Transparency = c.Transparency + 0.8/35
  1499. if A == false then
  1500. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1501. elseif A == true then
  1502. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1503. end
  1504. end
  1505. end
  1506. Swait()
  1507. end
  1508. CLONE:remove()
  1509. end))
  1510. end
  1511. end
  1512.  
  1513. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1514. local CHILDREN = workspace:GetDescendants()
  1515. for index, CHILD in pairs(CHILDREN) do
  1516. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1517. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1518. if HUM then
  1519. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1520. if TORSO then
  1521. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1522. if ISBANISH == true then
  1523. Banish(CHILD)
  1524. else
  1525. if ISBANISH == "Gravity" then
  1526. HUM.PlatformStand = true
  1527. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1528. local grav = Instance.new("BodyPosition",TORSO)
  1529. grav.D = 15
  1530. grav.P = 20000
  1531. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1532. grav.position = TORSO.Position
  1533. grav.Name = "V3BanishForce"..Player.Name
  1534. else
  1535. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1536. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1537. end
  1538. else
  1539. HUM.PlatformStand = false
  1540. end
  1541. end
  1542. elseif ISBANISH == "Gravity" then
  1543. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1544. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1545. HUM.PlatformStand = false
  1546. end
  1547. end
  1548. end
  1549. end
  1550. end
  1551. end
  1552. end
  1553.  
  1554. function Kill(Char)
  1555. local NewCharacter = IT("Model",Effects)
  1556. NewCharacter.Name = "Ow im ded ;-;"
  1557. for _, c in pairs(Char:GetDescendants()) do
  1558. if c:IsA("BasePart") and c.Transparency == 0 then
  1559. if c.Parent == Char then
  1560. getbloody(c,5)
  1561. end
  1562. c:BreakJoints()
  1563. c.Material = "Glass"
  1564. c.Color = C3(1,0,0)
  1565. c.CanCollide = true
  1566. c.Transparency = 0.3
  1567. if c:FindFirstChildOfClass("SpecialMesh") then
  1568. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1569. end
  1570. if c.Name == "Head" then
  1571. c:ClearAllChildren()
  1572. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1573. end
  1574. if c.ClassName == "MeshPart" then
  1575. c.TextureID = ""
  1576. end
  1577. if c:FindFirstChildOfClass("BodyPosition") then
  1578. c:FindFirstChildOfClass("BodyPosition"):remove()
  1579. end
  1580. if c:FindFirstChildOfClass("ParticleEmitter") then
  1581. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1582. end
  1583. c.Parent = NewCharacter
  1584. c.Name = "DeadPart"
  1585. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1586. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1587. end
  1588. end
  1589. Char:remove()
  1590. Debris:AddItem(NewCharacter,5)
  1591. end
  1592.  
  1593. local DECAL = IT("Decal",nil)
  1594. function MagicRing(PART,CFRAME)
  1595. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Really red", "MagicRing", VT(0,0,0),false)
  1596. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  1597. local MESH = IT("BlockMesh",RING)
  1598. local BOTTOMTEXTURE = DECAL:Clone()
  1599. BOTTOMTEXTURE.Parent = RING
  1600. BOTTOMTEXTURE.Face = "Bottom"
  1601. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=2237986353"
  1602. BOTTOMTEXTURE.Name = "BottomTexture"
  1603. local TOPTEXTURE = DECAL:Clone()
  1604. TOPTEXTURE.Parent = RING
  1605. TOPTEXTURE.Face = "Top"
  1606. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=2237986353"
  1607. TOPTEXTURE.Name = "TopTexture"
  1608. local T = ParticleEmitter({Transparency1 = 0.2, Transparency2 = 1, Texture = 1084975295, Speed = 0, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 0, Size2 = 10, Lifetime1 = 1, Lifetime2 = 1, Parent = RING, Emit = 25, Offset = 360, Enabled = false, Color1 = BRICKC"Really red".Color, Color2 = BRICKC"Really red".Color})
  1609. T.LockedToPart = true
  1610. return RING,WELD,MESH
  1611. end
  1612.  
  1613. function AfterZap(Humanoid,Times,Dmg)
  1614. coroutine.resume(coroutine.create(function()
  1615. if Humanoid ~= nil then
  1616. local ZAP = ParticleEmitter({Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 2, Size2 = 3, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = Humanoid.Torso, Emit = 100, Offset = 360, Enabled = true, Color1 = BRICKC"Really red".Color, Color2 = BRICKC"Really red".Color})
  1617. ZAP.Rate = 75
  1618. for i = 1, Times do
  1619. wait(1)
  1620. if Humanoid ~= nil and Humanoid.Health > 0 then
  1621. Humanoid.Health = Humanoid.Health - Dmg
  1622. CreateSound(SHOCKSOUND,Humanoid.Torso,1,MRANDOM(13,16)/10,false)
  1623. else
  1624. break
  1625. end
  1626. end
  1627. ZAP.Enabled = false
  1628. Debris:AddItem(ZAP,3)
  1629. end
  1630. end))
  1631. end
  1632.  
  1633. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,DOESAFTERZAP,ZAPCOUNTER)
  1634. local CHILDREN = workspace:GetDescendants()
  1635. for index, CHILD in pairs(CHILDREN) do
  1636. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1637. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1638. if HUM then
  1639. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1640. if TORSO then
  1641. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1642. if DOESAFTERZAP == true then
  1643. AfterZap(HUM,ZAPCOUNTER,math.ceil(MINDMG/7))
  1644. end
  1645. local DMG = MRANDOM(MINDMG,MAXDMG)
  1646. ApplyDamage(HUM,DMG,TORSO)
  1647. if FLING > 0 then
  1648. for _, c in pairs(CHILD:GetChildren()) do
  1649. if c:IsA("BasePart") then
  1650. local bv = Instance.new("BodyVelocity")
  1651. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1652. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1653. bv.Parent = c
  1654. Debris:AddItem(bv,0.05)
  1655. end
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661. end
  1662. end
  1663. end
  1664. --//=================================\\
  1665. --|| ATTACK FUNCTIONS AND STUFF
  1666. --\\=================================//
  1667.  
  1668. function Bullet1()
  1669. ATTACK = true
  1670. Rooted = false
  1671. for i=0, 0.1, 0.1 / Animation_Speed do
  1672. Swait()
  1673. turnto(Mouse.Hit.p)
  1674. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1675. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(-15), RAD(0)), 0.15 / Animation_Speed)
  1676. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(-36), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1677. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(-36), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1678. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1679. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1680. end
  1681. repeat
  1682. for i=0, 0.2, 0.1 / Animation_Speed do
  1683. Swait()
  1684. turnto(Mouse.Hit.p)
  1685. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1686. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(-15), RAD(0)), 0.15 / Animation_Speed)
  1687. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(-63), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1688. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(-63), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1689. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1690. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1691. end
  1692. local HIT,POS = CastProperRay(Head.Position, Mouse.Hit.p, 1000, Character)
  1693. SpawnTrail2(Head.Position,POS)
  1694. if HIT ~= nil then
  1695. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1696. Kill(HIT.Parent)
  1697. end
  1698. end
  1699. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3.75,0,3.75), Size2 = VT(25,6.25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 151414336, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1700. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(3.75,0,3.75), Size2 = VT(25,6.25,25), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1701. for i=0, 0, 0.1 / Animation_Speed do
  1702. Swait()
  1703. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1704. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(-15), RAD(0)), 0.15 / Animation_Speed)
  1705. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1706. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1707. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1708. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1709. end
  1710. until KEYHOLD == false
  1711. ATTACK = false
  1712. Rooted = false
  1713. end
  1714.  
  1715. function Bullet2()
  1716. ATTACK = true
  1717. Rooted = false
  1718. for i=0, 0.9, 0.1 / Animation_Speed do
  1719. Swait()
  1720. turnto(Mouse.Hit.p)
  1721. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1725. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1727. end
  1728. repeat
  1729. for i=0, 0.1, 0.1 / Animation_Speed do
  1730. Swait()
  1731. turnto(Mouse.Hit.p)
  1732. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83 - 22 * SIN(SINE / 0.5)), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83 - 22 * SIN(SINE / 0.5)), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1736. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1737. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1738. end
  1739. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1740. SpawnTrail(Hole2.Position,POS)
  1741. if HIT ~= nil then
  1742. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1743. Kill(HIT.Parent)
  1744. end
  1745. end
  1746. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1747. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0.5})
  1748. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1749. 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,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1750. for i=0, 0.2, 0.1 / Animation_Speed do
  1751. Swait()
  1752. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  1754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1758. end
  1759. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1760. SpawnTrail(Hole.Position,POS)
  1761. if HIT ~= nil then
  1762. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1763. Kill(HIT.Parent)
  1764. end
  1765. end
  1766. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1767. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0.5})
  1768. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1769. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1770. until KEYHOLD == false
  1771. ATTACK = false
  1772. Rooted = false
  1773. end
  1774.  
  1775. function Infect()
  1776. ATTACK = true
  1777. Rooted = false
  1778. local GYRO = IT("BodyGyro",RootPart)
  1779. GYRO.D = 750
  1780. GYRO.P = 20000
  1781. GYRO.MaxTorque = VT(0,40000000,0)
  1782. for i=0, 1, 0.1 / Animation_Speed do
  1783. Swait()
  1784. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1785. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1786. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 22 * SIN(SINE / 0.1)), RAD(15 - 22 * SIN(SINE / 0.5)), RAD(-35)), 0.75 / Animation_Speed)
  1787. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(115 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1788. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1789. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50 - 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1790. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85 - 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1791. end
  1792. GYRO:remove()
  1793. CreateSound(696483710, Hole2, 5, 1, false)
  1794. WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1795. coroutine.resume(coroutine.create(function()
  1796. local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really red", "Sinful bullet", VT(0,0,0))
  1797. CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0))
  1798. Bullet.CFrame = Hole2.CFrame*CF(1.5,0.5,0)
  1799. local AIMPOINT = Mouse.Hit.p
  1800. local STARTPOS = Hole2.CFrame*CF(1.5,0.5,0).p
  1801. local VECTOR = CF(STARTPOS,AIMPOINT)
  1802. local IMPACTED = false
  1803. CreateSound(1393698948, Bullet, 10, 1, true)
  1804. for E = 1, 50 do
  1805. if IMPACTED == true then
  1806. break
  1807. end
  1808. local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p
  1809. Bullet.CFrame = CF(Bullet.Position,TARGETPOINT)
  1810. for i = 1, 5 do
  1811. Swait()
  1812. WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1813. Bullet.CFrame = Bullet.CFrame*CF(0,0,-1)
  1814. local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character)
  1815. if AIMHIT ~= nil then
  1816. IMPACTED = true
  1817. break
  1818. end
  1819. end
  1820. end
  1821. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7})
  1822. for i = 1, 7 do
  1823. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1824. end
  1825. Ghostify(Bullet.Position,10)
  1826. Bullet:remove()
  1827. end))
  1828. for i=0, 0.3, 0.1 / Animation_Speed do
  1829. Swait()
  1830. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed)
  1832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0.3) * ANGLES(RAD(110 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  1834. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50 - 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed)
  1835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85 - 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed)
  1836. end
  1837. ATTACK = false
  1838. Rooted = false
  1839. end
  1840.  
  1841. function AttackTemplate()
  1842. ATTACK = true
  1843. Rooted = false
  1844. for i=0, 1, 0.1 / Animation_Speed do
  1845. Swait()
  1846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1847. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 0.1)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1848. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1849. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1850. 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)
  1851. 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)
  1852. end
  1853. ATTACK = false
  1854. Rooted = false
  1855. end
  1856.  
  1857. function Locked()
  1858. local TARGET = Mouse.Target
  1859. if TARGET ~= nil then
  1860. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1861. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1862. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1863. if ROOT and HUM.Health > 0 then
  1864. local FOE = Mouse.Target.Parent
  1865. ATTACK = true
  1866. Rooted = true
  1867. CharacterFade(C3(0,0,0),70)
  1868. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  1869. ROOT.Anchored = true
  1870. CreateSound(289556450, RootPart, 5, 1.4, false)
  1871. for i=0, 2, 0.1 / Animation_Speed do
  1872. Swait()
  1873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1874. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1877. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1879. end
  1880. local RIGHTCUFF = nil
  1881. local LEFTCUFF = nil
  1882. local ChainLink = nil
  1883. CreateSound(1279090548, ROOT, 10, 1.4, false)
  1884. for _, c in pairs(FOE:GetChildren()) do
  1885. if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
  1886. LEFTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  1887. LEFTCUFF.CFrame = c.CFrame
  1888. weldBetween(c,LEFTCUFF)
  1889. end
  1890. end
  1891. for _, c in pairs(FOE:GetChildren()) do
  1892. if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
  1893. RIGHTCUFF = CreatePart(3, FOE, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  1894. RIGHTCUFF.CFrame = c.CFrame
  1895. weldBetween(c,RIGHTCUFF)
  1896. end
  1897. end
  1898. if RIGHTCUFF and LEFTCUFF then
  1899. local A = IT("Attachment",RIGHTCUFF)
  1900. local B = IT("Attachment",LEFTCUFF)
  1901. ChainLink = IT("Beam",FOE)
  1902. ChainLink.Texture = "rbxassetid://73042633"
  1903. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1904. ChainLink.TextureSpeed = 0
  1905. ChainLink.Width0 = 1
  1906. ChainLink.Width1 = 1
  1907. ChainLink.Segments = 25
  1908. ChainLink.TextureLength = 3
  1909. ChainLink.Attachment0 = B
  1910. ChainLink.Attachment1 = A
  1911. ChainLink.FaceCamera = true
  1912. ChainLink.Transparency = NumberSequence.new(0)
  1913. end
  1914. coroutine.resume(coroutine.create(function()
  1915. CreateSound(447682521, ChainLink, 1e1, 0.6, false)
  1916. wait(3)
  1917. if RIGHTCUFF and LEFTCUFF then
  1918. RIGHTCUFF:remove()
  1919. LEFTCUFF:remove()
  1920. ChainLink:remove()
  1921. local bv = Instance.new("BodyVelocity",ROOT)
  1922. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1923. bv.velocity = CF(ROOT.Position-VT(0,5,0),ROOT.Position).lookVector*70
  1924. Debris:AddItem(bv,0.05)
  1925. Kill(HUM.Parent)
  1926. HUM.PlatformStand = false
  1927. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(RIGHTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 4})
  1928. WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = CF(LEFTCUFF.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 174580476, SoundPitch = 1, SoundVolume = 4})
  1929. end
  1930. end))
  1931. for i=0, 1.5, 0.1 / Animation_Speed do
  1932. Swait()
  1933. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1934. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(5), RAD(0)), 1 / Animation_Speed)
  1935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1937. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1938. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1939. end
  1940. HUM.PlatformStand = true
  1941. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(15), RAD(0), RAD(0))
  1942. ROOT.Anchored = false
  1943. for i=0, 3, 0.1 / Animation_Speed do
  1944. Swait()
  1945. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1946. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  1947. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(3)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1948. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-1), RAD(0), RAD(-3)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1949. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-12), RAD(80), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1950. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-60), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1951. end
  1952. ATTACK = false
  1953. Rooted = false
  1954. end
  1955. end
  1956. end
  1957. end
  1958.  
  1959. function InfectedFog()
  1960. ATTACK = true
  1961. Rooted = false
  1962. for i=0, 2, 0.1 / Animation_Speed do
  1963. Swait()
  1964. 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)
  1965. 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)
  1966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1968. 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)
  1969. 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)
  1970. end
  1971. CreateSound(769072651, RightArm, 10, 1, false)
  1972. for i=0, 2, 0.1 / Animation_Speed do
  1973. Swait()
  1974. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0.5,0.5,0.5), Size2 = VT(2.5,2.5,2.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  1975. 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)
  1976. 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)
  1977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1979. 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)
  1980. 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)
  1981. end
  1982. CreateSound(138931042, Torso, 10, 2.4, false)
  1983. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(300,300,300), Transparency = 0.8, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  1984. Swait(100)
  1985. Ghostify(Torso.Position,135)
  1986. Swait(20)
  1987. CreateSound(138271815, GHOSTBASE, 0.8, 0.9, false)
  1988. ATTACK = false
  1989. Rooted = false
  1990. end
  1991.  
  1992. function RedBlast()
  1993. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1994. ATTACK = true
  1995. Rooted = true
  1996. local GYRO = IT("BodyGyro",RootPart)
  1997. GYRO.D = 25
  1998. GYRO.P = 20000
  1999. GYRO.MaxTorque = VT(0,4000000,0)
  2000. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2001. CreateSound(429459101,Torso,5,1.5,false)
  2002. local GYROING = true
  2003. coroutine.resume(coroutine.create(function()
  2004. repeat
  2005. Swait()
  2006. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2007. until GYROING == false
  2008. GYRO:Remove()
  2009. end))
  2010. for i=0, 1, 0.1 / Animation_Speed do
  2011. Swait()
  2012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2013. 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)
  2014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2015. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2016. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(-15)), 1 / Animation_Speed)
  2017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(15)), 1 / Animation_Speed)
  2018. end
  2019. for i = 1, 13 do
  2020. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(i,0,i)*2, Transparency = 0.8, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,7.5-i) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 50})
  2021. end
  2022. CreateSound(1368637781,Torso,5,1.5,false)
  2023. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(12,12,12), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 331666014, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2024. for index, CHILD in pairs(Character:GetChildren()) do
  2025. if CHILD:IsA("BasePart") then
  2026. CHILD.Transparency = CHILD.Transparency + 1
  2027. elseif CHILD:IsA("Accessory") then
  2028. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1
  2029. end
  2030. end
  2031. GYROING = false
  2032. coroutine.resume(coroutine.create(function()
  2033. coroutine.resume(coroutine.create(function()
  2034. for i=1, 25 do
  2035. Swait()
  2036. RootPart.CFrame = RootPart.CFrame*CF(0,0,(25-i)/25)
  2037. end
  2038. end))
  2039. repeat
  2040. Swait()
  2041. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2042. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2043. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  2044. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2045. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2046. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  2047. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  2048. until ATTACK == false
  2049. end))
  2050. coroutine.resume(coroutine.create(function()
  2051. local BULLETCFRAME = RootPart.CFrame
  2052. local EXPLODED = false
  2053. coroutine.resume(coroutine.create(function()
  2054. repeat
  2055. Swait()
  2056. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(10,10,10), Transparency = 0.3, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2057. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(25,25,25), Transparency = 0.8, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2058. until EXPLODED == true
  2059. end))
  2060. for i=1, 50 do
  2061. Swait()
  2062. BULLETCFRAME = BULLETCFRAME*CF(0,0,-((50-i)/15))
  2063. local RAY,HIT,NORM = Raycast(BULLETCFRAME.p,BULLETCFRAME.lookVector,7,Character)
  2064. if RAY then
  2065. ApplyAoE2(BULLETCFRAME.p,25,12,54,350,false)
  2066. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HIT,HIT+NORM) * ANGLES(RAD(-90), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 765590102, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
  2067. break
  2068. end
  2069. end
  2070. wait(0.5)
  2071. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(75,75,75), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 401056199, SoundPitch = 0.7, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2072. WACKYEFFECT({Time = 85, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 401056199, SoundPitch = 1, SoundVolume = 10, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2073. for E = 1, 3 do
  2074. for i = 1, 5 do
  2075. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(E,0,E)/2, Transparency = 0, Transparency2 = 1, CFrame = CF(BULLETCFRAME.p) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2076. end
  2077. end
  2078. EXPLODED = true
  2079. ApplyAoE2(BULLETCFRAME.p,125,1e2,1e2,250,false)
  2080. for i = 1, 15 do
  2081. Swait()
  2082. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(160,0,160), Transparency = 0.6, Transparency2 = 1, CFrame = BULLETCFRAME * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  2083. end
  2084. end))
  2085. wait(0.5)
  2086. for index, CHILD in pairs(Character:GetChildren()) do
  2087. if CHILD:IsA("BasePart") then
  2088. CHILD.Transparency = CHILD.Transparency - 1
  2089. elseif CHILD:IsA("Accessory") then
  2090. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1
  2091. end
  2092. end
  2093. ATTACK = false
  2094. Rooted = false
  2095. end
  2096. end
  2097.  
  2098. function VirusCloaker()
  2099. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  2100. ATTACK = true
  2101. Rooted = false
  2102. UNANCHOR = false
  2103. FADERS = false
  2104. coroutine.resume(coroutine.create(function()
  2105. coroutine.resume(coroutine.create(function()
  2106. for i=0.5, 25 do
  2107. Swait()
  2108. RootPart.CFrame = RootPart.CFrame*CF(0,0,0)
  2109. end
  2110. end))
  2111. repeat
  2112. Swait()
  2113. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  2115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2117. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  2118. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  2119. until ATTACK == false
  2120. end))
  2121. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  2122. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  2123. for i = 0.5, 50 do
  2124. Swait()
  2125. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2126. for index, CHILD in pairs(Character:GetChildren()) do
  2127. if CHILD:IsA("BasePart") then
  2128. CHILD.Transparency = CHILD.Transparency + 1/50
  2129. elseif CHILD:IsA("Accessory") then
  2130. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  2131. end
  2132. end
  2133. end
  2134. for i = 0.5, 25 do
  2135. Swait()
  2136. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2137. end
  2138. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,5,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  2139. for i = 0.5, 5 do
  2140. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2141. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2142. end
  2143. ApplyAoE2(Torso.Position,15,12,22,150,false)
  2144. CreateSound(331666014,Torso,5,1,false)
  2145. for i = 0.5, 12 do
  2146. Swait()
  2147. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2148. end
  2149. for i = 0.5, 50 do
  2150. Swait()
  2151. CharacterFade(C3(0,0,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  2152. for index, CHILD in pairs(Character:GetChildren()) do
  2153. if CHILD:IsA("BasePart") then
  2154. CHILD.Transparency = CHILD.Transparency - 1/50
  2155. elseif CHILD:IsA("Accessory") then
  2156. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  2157. end
  2158. end
  2159. end
  2160. UNANCHOR = true
  2161. ATTACK = false
  2162. Rooted = false
  2163. FADERS = true
  2164. end
  2165. end
  2166.  
  2167. function PlagueStomp()
  2168. ATTACK = true
  2169. Rooted = false
  2170. local GRAV = IT("BodyPosition",RootPart)
  2171. GRAV.D = 250
  2172. GRAV.P = 20000
  2173. GRAV.MaxForce = VT(math.huge,math.huge,math.huge)
  2174. GRAV.Position = RootPart.Position
  2175. local RING,WELD,MESH = MagicRing(RightLeg,CF(0,-1.2,0))
  2176. CreateSound(RINGSOUND,RING,5,1,false)
  2177. local STRENGTH = 100
  2178. local TIER = 1
  2179. repeat
  2180. Swait()
  2181. STRENGTH = STRENGTH + 0.3
  2182. if STRENGTH > 200 then
  2183. STRENGTH = 200
  2184. end
  2185. if MESH.Scale.X < 120 then
  2186. MESH.Scale = MESH.Scale + VT(3,0,3)
  2187. elseif MESH.Scale.X < 200 then
  2188. MESH.Scale = MESH.Scale + VT(0.3,0,0.3)
  2189. end
  2190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 22 * SIN(SINE / 0.05)), RAD(0 - 22 * SIN(SINE / 0.05)), RAD(0)), 1 / Animation_Speed)
  2192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2194. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.65) * ANGLES(RAD(0 + 11 * SIN(SINE / 0.1)), RAD(90 + 1 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15 + 11 * SIN(SINE / 0.1)), RAD(-90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2196. until KEYHOLD == false and MESH.Scale.X >= 120
  2197. if STRENGTH >= 150 and STRENGTH ~= 200 and POWER >= 45 then
  2198. POWER = POWER - 45
  2199. TIER = 2
  2200. elseif STRENGTH == 200 and POWER >= 100 then
  2201. POWER = POWER - 100
  2202. TIER = 3
  2203. end
  2204. for i=0, 0.2, 0.1 / Animation_Speed do
  2205. Swait()
  2206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 22 * SIN(SINE / 0.05)), RAD(0 - 22 * SIN(SINE / 0.05)), RAD(0)), 1 / Animation_Speed)
  2208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(150 - 22 * SIN(SINE / 0.1)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2210. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.65) * ANGLES(RAD(10 + 11 * SIN(SINE / 0.1)), RAD(90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2211. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15 + 11 * SIN(SINE / 0.1)), RAD(-90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2212. end
  2213. for i=0, 0.2, 0.1 / Animation_Speed do
  2214. Swait()
  2215. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 22 * SIN(SINE / 0.05)), RAD(0 - 22 * SIN(SINE / 0.05)), RAD(0)), 1 / Animation_Speed)
  2217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0 - 22 * SIN(SINE / 0.1)), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2218. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0 - 22 * SIN(SINE / 0.1)), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2219. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(20 + 11 * SIN(SINE / 0.1)), RAD(90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  2220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-25 + 11 * SIN(SINE / 0.1)), RAD(-90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2221. end
  2222. coroutine.resume(coroutine.create(function()
  2223. if TIER == 1 then
  2224. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Really red", "Stomp", VT(30,0,30))
  2225. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  2226. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(1,0,0) })
  2227. PARTCL.Rate = 999
  2228. CreateSound(304999618,AOE,5,1,false)
  2229. CreateSound(130972023,AOE,4,1,false)
  2230. ApplyAoE3(AOE.Position,15,15,25,35,true,5)
  2231. WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(45,3,45), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  2232. wait(2)
  2233. PARTCL.Enabled = false
  2234. Debris:AddItem(AOE,2)
  2235. elseif TIER == 2 then
  2236. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Really red", "Stomp", VT(40,0,40))
  2237. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  2238. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(1,0,0)})
  2239. PARTCL.Rate = 999
  2240. CreateSound(304999618,AOE,5,1,false)
  2241. CreateSound(130972023,AOE,4,1,false)
  2242. ApplyAoE3(AOE.Position,20,25,35,35,true,6)
  2243. WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(55,3,55), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  2244. wait(2)
  2245. PARTCL.Enabled = false
  2246. Debris:AddItem(AOE,2)
  2247. elseif TIER == 3 then
  2248. local AOE = CreatePart(3, Effects, "Granite", 0, 1, "Really red", "Stomp", VT(50,0,50))
  2249. AOE.CFrame = CF(RightLeg.Position-VT(0,1,0))
  2250. local PARTCL = ParticleEmitter({Texture = 281983280, Speed = 0.2, RotSpeed = NumberRange.new(-15, 15), Drag = 2, Size1 = 4, Size2 = 6, Lifetime1 = 0.01, Lifetime2 = 0.1, Parent = AOE, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(1,0,0), Color2 = C3(1,0,0)})
  2251. PARTCL.Rate = 999
  2252. CreateSound(304999618,AOE,5,1,false)
  2253. CreateSound(130972023,AOE,4,1,false)
  2254. for i = 1, 3 do
  2255. ApplyAoE3(AOE.Position,30,5,15,5,true,7)WACKYEFFECT({EffectType = "Wave", Size = VT(11,1,11), Size2 = VT(55,3,55), Transparency = 0, Transparency2 = 1, CFrame = CF(AOE.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(5,8)/10, SoundVolume = 6})
  2256. wait(0.5)
  2257. end
  2258. wait(1.5)
  2259. PARTCL.Enabled = false
  2260. Debris:AddItem(AOE,2)
  2261. end
  2262. end))
  2263. for i=0, 2, 0.1 / Animation_Speed do
  2264. Swait()
  2265. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 22 * SIN(SINE / 0.05)), RAD(0 - 22 * SIN(SINE / 0.05)), RAD(0)), 1 / Animation_Speed)
  2267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0 - 22 * SIN(SINE / 0.1)), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120 - 22 * SIN(SINE / 0.1)), RAD(0 - 22 * SIN(SINE / 0.1)), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(20 + 11 * SIN(SINE / 0.1)), RAD(90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-25 + 11 * SIN(SINE / 0.1)), RAD(-90 + 11 * SIN(SINE / 0.1)), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2271. end
  2272. RING.Anchored = true
  2273. WELD:remove()
  2274. coroutine.resume(coroutine.create(function()
  2275. for i = 1, 25 do
  2276. Swait()
  2277. RING.TopTexture.Transparency = RING.TopTexture.Transparency + 1/25
  2278. RING.BottomTexture.Transparency = RING.BottomTexture.Transparency + 1/25
  2279. MESH.Scale = MESH.Scale - VT(3,0,3)
  2280. end
  2281. RING:remove()
  2282. end))
  2283. GRAV:remove()
  2284. ATTACK = false
  2285. Rooted = false
  2286. end
  2287.  
  2288. --//=================================\\
  2289. --|| ASSIGN THINGS TO KEYS
  2290. --\\=================================//
  2291.  
  2292. function MouseDown(Mouse)
  2293. if ATTACK == false then
  2294. end
  2295. end
  2296.  
  2297. function MouseUp(Mouse)
  2298. HOLD = false
  2299. end
  2300.  
  2301. function KeyDown(Key)
  2302. KEYHOLD = true
  2303. if Key == "z" and ATTACK == false then
  2304. if MODE == "Plagues" then
  2305. PlagueStomp()
  2306. elseif MODE == "Infectist" then
  2307. RedBlast()
  2308. elseif MODE == "Levithan" then
  2309. VirusCloaker()
  2310. end
  2311. end
  2312.  
  2313. if Key == "x" and ATTACK == false then
  2314. if MODE == "Plagues" then
  2315. elseif MODE == "Infectist" then
  2316. Locked()
  2317. elseif MODE == "Levithan" then
  2318. end
  2319. end
  2320.  
  2321. if Key == "c" and ATTACK == false then
  2322. if MODE == "Plagues" then
  2323. Bullet2()
  2324. elseif MODE == "Infectist" then
  2325. Bullet1()
  2326. elseif MODE == "Levithan" then
  2327. end
  2328. end
  2329.  
  2330. if Key == "v" and ATTACK == false then
  2331. if MODE == "Plagues" then
  2332. Infect()
  2333. elseif MODE == "Infectist" then
  2334. InfectedFog()
  2335. elseif MODE == "Levithan" then
  2336. end
  2337. end
  2338.  
  2339. if Key == "q" and ATTACK == false then
  2340. Switch1()
  2341. end
  2342.  
  2343. if Key == "r" and ATTACK == false then
  2344. Switch3()
  2345. end
  2346.  
  2347. if Key == "e" and ATTACK == false then
  2348. Switch2()
  2349. end
  2350. end
  2351.  
  2352. function KeyUp(Key)
  2353. KEYHOLD = false
  2354. end
  2355.  
  2356. Mouse.Button1Down:connect(function(NEWKEY)
  2357. MouseDown(NEWKEY)
  2358. end)
  2359. Mouse.Button1Up:connect(function(NEWKEY)
  2360. MouseUp(NEWKEY)
  2361. end)
  2362. Mouse.KeyDown:connect(function(NEWKEY)
  2363. KeyDown(NEWKEY)
  2364. end)
  2365. Mouse.KeyUp:connect(function(NEWKEY)
  2366. KeyUp(NEWKEY)
  2367. end)
  2368.  
  2369. --//=================================\\
  2370. --\\=================================//
  2371.  
  2372.  
  2373. function unanchor()
  2374. if UNANCHOR == true then
  2375. g = Character:GetChildren()
  2376. for i = 1, #g do
  2377. if g[i].ClassName == "Part" then
  2378. g[i].Anchored = false
  2379. end
  2380. end
  2381. end
  2382. end
  2383.  
  2384.  
  2385. --//=================================\\
  2386. --|| WRAP THE WHOLE SCRIPT UP
  2387. --\\=================================//
  2388.  
  2389. Humanoid.Changed:connect(function(Jump)
  2390. if Jump == "Jump" and (Disable_Jump == true) then
  2391. Humanoid.Jump = false
  2392. end
  2393. end)
  2394.  
  2395. while true do
  2396. Swait()
  2397. ANIMATE.Parent = nil
  2398. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2399. Humanoid = IT("Humanoid",Character)
  2400. end
  2401. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2402. v:Stop();
  2403. end
  2404. SINE = SINE + CHANGE
  2405. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2406. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2407. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2408. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2409. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2410. 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)
  2411. 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)
  2412. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  2413. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  2414. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2415. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2416. 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)
  2417. 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.2 / Animation_Speed)
  2418. 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.2 / Animation_Speed)
  2419. end
  2420. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2421. ANIM = "Jump"
  2422. if ATTACK == false then
  2423. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2427. 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)
  2428. 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)
  2429. end
  2430. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2431. ANIM = "Fall"
  2432. if ATTACK == false then
  2433. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2437. 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)
  2438. 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)
  2439. end
  2440. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2441. ANIM = "Idle"
  2442. if ATTACK == false then
  2443. if MODE == "Plagues" then
  2444. 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)
  2445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 1)), RAD(-15)), 1 / Animation_Speed)
  2446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(33 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(-22 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2448. 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 - 11 * SIN(SINE / 0.5)), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2449. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74 - 11 * SIN(SINE / 0.5)), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2450. elseif MODE == "Infectist" then
  2451. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2452. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2453. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(55 + -11 * COS(SINE / 23)), RAD(-10), RAD(-75)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2454. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2455. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2456. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2457. elseif MODE == "Levithan" then
  2458. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0.2 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2462. RightHip.C0 = Clerp(RightHip.C0, CF(0.5, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2463. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.5, 0.15, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2464. elseif MODE == "Jester" then
  2465. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 + -25 * COS(SINE / 23)), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2468. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(-40 + -11 * COS(SINE / 23)), RAD(25), RAD(75)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2469. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2470. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2471. end
  2472. end
  2473. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2474. ANIM = "Walk"
  2475. if ATTACK == false then
  2476. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2477. if MODE == "Plagues" then
  2478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 1)), RAD(-15)), 1 / Animation_Speed)
  2479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(-75 - 22 * SIN(SINE / 0.5)), RAD(-90), RAD(0 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(-75- 22 * SIN(SINE / 0.5)), RAD(90), RAD(0 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2481. elseif MODE == "Infectist" then
  2482. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2483. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 + -25 * COS(SINE / 10)), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2484. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0 + -25 * COS(SINE / 10)), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2485. elseif MODE == "Levithan" then
  2486. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2490. end
  2491. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  2492. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  2493. end
  2494. end
  2495. unanchor()
  2496. Humanoid.MaxHealth = "inf"
  2497. Humanoid.Health = "inf"
  2498. if Rooted == false then
  2499. Disable_Jump = false
  2500. Humanoid.WalkSpeed = Speed
  2501. elseif Rooted == true then
  2502. Disable_Jump = true
  2503. Humanoid.WalkSpeed = 0
  2504. end
  2505. sick.Parent = Torso
  2506. sick:resume()
  2507. sick.Volume = VOLUME
  2508. sick.Pitch = PITCH
  2509. sick.SoundId = "rbxassetid://"..SONG
  2510. sick.Name = "Infection"
  2511. end
  2512.  
  2513. --//=================================\\
  2514. --\\=================================//
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520. --//====================================================\\--
  2521. --|| END OF SCRIPT
  2522. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement