Silver_cole

haha pizzacruster pizzacryer

Sep 20th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by pizzacruster
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by pizzacruster")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").silver22352
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -- Hi!
  88. -- Enjoy the Script! :D
  89. --// \\--
  90. --}} ORIGINAL BY MasterPiece9876 {{--
  91. --}} FIXED AND MINOR EDIT BY pizzacruster {{--
  92. --\\ //--
  93.  
  94. print'Edited by pizzacurster (he steals ur pizza)'
  95. warn'0 destroys everything ;-;'
  96. wait(0.2)
  97.  
  98. Player = game:GetService("Players").silver22352
  99. PlayerGui = Player.PlayerGui
  100. Cam = workspace.CurrentCamera
  101. Backpack = Player.Backpack
  102. Character = Player.Character
  103. Humanoid = Character.Humanoid
  104. RootPart = Character.HumanoidRootPart
  105. Torso = Character.Torso
  106. Head = Character.Head
  107. RightArm = Character["Right Arm"]
  108. LeftArm = Character["Left Arm"]
  109. RightLeg = Character["Right Leg"]
  110. LeftLeg = Character["Left Leg"]
  111. RootJoint = RootPart.RootJoint
  112. Neck = Torso.Neck
  113. RightShoulder = Torso["Right Shoulder"]
  114. LeftShoulder = Torso["Left Shoulder"]
  115. RightHip = Torso["Right Hip"]
  116. LeftHip = Torso["Left Hip"]
  117. local sick = Instance.new("Sound",Character)
  118. sick.SoundId = "rbxassetid://875445225"
  119. sick.Parent = Character
  120. sick.Name = "BGM"
  121. sick.Looped = true
  122. sick.Pitch = 1
  123. sick.Volume = 5
  124. sick:Play()
  125. local theend = Instance.new("Sound",Torso)
  126. theend.SoundId = "rbxassetid://392401222"
  127. theend.Name = "???"
  128. theend.Looped = true
  129. theend.Pitch = 1
  130. theend.Volume = 999
  131. IT = Instance.new
  132. CF = CFrame.new
  133. VT = Vector3.new
  134. RAD = math.rad
  135. C3 = Color3.new
  136. UD2 = UDim2.new
  137. BRICKC = BrickColor.new
  138. ANGLES = CFrame.Angles
  139. EULER = CFrame.fromEulerAnglesXYZ
  140. COS = math.cos
  141. ACOS = math.acos
  142. SIN = math.sin
  143. ASIN = math.asin
  144. ABS = math.abs
  145. MRANDOM = math.random
  146. FLOOR = math.floor
  147. game:GetService("StarterGui"):SetCore("SendNotification", {
  148. Title = "Dominus Messor";
  149. Text = "edit by pizzacruster made by MasterPiece9876";
  150. })
  151. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  152. local NEWMESH = IT(MESH)
  153. if MESH == "SpecialMesh" then
  154. NEWMESH.MeshType = MESHTYPE
  155. if MESHID ~= "nil" and MESHID ~= "" then
  156. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  157. end
  158. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  159. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  160. end
  161. end
  162. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  163. NEWMESH.Scale = SCALE
  164. NEWMESH.Parent = PARENT
  165. return NEWMESH
  166. end
  167. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  168. local NEWPART = IT("Part")
  169. NEWPART.formFactor = FORMFACTOR
  170. NEWPART.Reflectance = REFLECTANCE
  171. NEWPART.Transparency = TRANSPARENCY
  172. NEWPART.CanCollide = false
  173. NEWPART.Locked = true
  174. NEWPART.Anchored = true
  175. if ANCHOR == false then
  176. NEWPART.Anchored = false
  177. end
  178. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  179. NEWPART.Name = NAME
  180. NEWPART.Size = SIZE
  181. NEWPART.Position = Torso.Position
  182. NEWPART.Material = MATERIAL
  183. NEWPART:BreakJoints()
  184. NEWPART.Parent = PARENT
  185. return NEWPART
  186. end
  187. Player_Size = 1
  188. Animation_Speed = 3
  189. Frame_Speed = 0.016666666666666666
  190. local Speed = 16
  191. local Effects2 = {}
  192. local weldBetween = function(a, b)
  193. local weldd = Instance.new("ManualWeld")
  194. weldd.Part0 = a
  195. weldd.Part1 = b
  196. weldd.C0 = CFrame.new()
  197. weldd.C1 = b.CFrame:inverse() * a.CFrame
  198. weldd.Parent = a
  199. return weldd
  200. end
  201. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  202. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  203. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  204. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  205. local CHANGEDEFENSE = 0
  206. local CHANGEDAMAGE = 0
  207. local CHANGEMOVEMENT = 0
  208. local ANIM = "Idle"
  209. local ATTACK = false
  210. local EQUIPPED = false
  211. local HOLD = false
  212. local COMBO = 1
  213. local Rooted = false
  214. local SINE = 0
  215. local KEYHOLD = false
  216. local CHANGE = 2 / Animation_Speed
  217. local WALKINGANIM = false
  218. local WALK = 0
  219. local VALUE1 = false
  220. local VALUE2 = false
  221. local ROBLOXIDLEANIMATION = IT("Animation")
  222. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  223. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  224. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  225. WEAPONGUI.Name = "Weapon GUI"
  226. local Effects = IT("Folder", Character)
  227. Effects.Name = "Effects"
  228. local ANIMATOR = Humanoid.Animator
  229. local ANIMATE = Character.Animate
  230. local ATTACKEDTAUNTS = {
  231. "907332040",
  232. "907332525",
  233. "907330011"
  234. }
  235. local ATTACKTAUNTS = {
  236. "907329893",
  237. "907329532",
  238. "907333294",
  239. "907332856"
  240. }
  241. local ULTTAUNTS = {
  242. "907332997",
  243. "907332670",
  244. "907330103"
  245. }
  246. local UNANCHOR = true
  247. local SKILLTEXTCOLOR = C3(0,1,0)
  248. ArtificialHB = Instance.new("BindableEvent", script)
  249. ArtificialHB.Name = "ArtificialHB"
  250. script:WaitForChild("ArtificialHB")
  251. frame = Frame_Speed
  252. tf = 0
  253. allowframeloss = false
  254. tossremainder = false
  255. lastframe = tick()
  256. script.ArtificialHB:Fire()
  257. game:GetService("RunService").Heartbeat:connect(function(s, p)
  258. tf = tf + s
  259. if tf >= frame then
  260. if allowframeloss then
  261. script.ArtificialHB:Fire()
  262. lastframe = tick()
  263. else
  264. for i = 1, math.floor(tf / frame) do
  265. script.ArtificialHB:Fire()
  266. end
  267. lastframe = tick()
  268. end
  269. if tossremainder then
  270. tf = 0
  271. else
  272. tf = tf - frame * math.floor(tf / frame)
  273. end
  274. end
  275. end)
  276. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  277. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  278. end
  279. function PositiveAngle(NUMBER)
  280. if NUMBER >= 0 then
  281. NUMBER = 0
  282. end
  283. return NUMBER
  284. end
  285. function NegativeAngle(NUMBER)
  286. if NUMBER <= 0 then
  287. NUMBER = 0
  288. end
  289. return NUMBER
  290. end
  291. function Swait(NUMBER)
  292. if NUMBER == 0 or NUMBER == nil then
  293. ArtificialHB.Event:wait()
  294. else
  295. for i = 1, NUMBER do
  296. ArtificialHB.Event:wait()
  297. end
  298. end
  299. end
  300. function QuaternionFromCFrame(cf)
  301. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  302. local trace = m00 + m11 + m22
  303. if trace > 0 then
  304. local s = math.sqrt(1 + trace)
  305. local recip = 0.5 / s
  306. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  307. else
  308. local i = 0
  309. if m00 < m11 then
  310. i = 1
  311. end
  312. if m22 > (i == 0 and m00 or m11) then
  313. i = 2
  314. end
  315. if i == 0 then
  316. local s = math.sqrt(m00 - m11 - m22 + 1)
  317. local recip = 0.5 / s
  318. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  319. elseif i == 1 then
  320. local s = math.sqrt(m11 - m22 - m00 + 1)
  321. local recip = 0.5 / s
  322. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  323. elseif i == 2 then
  324. local s = math.sqrt(m22 - m00 - m11 + 1)
  325. local recip = 0.5 / s
  326. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  327. end
  328. end
  329. end
  330. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  331. local xs, ys, zs = x + x, y + y, z + z
  332. local wx, wy, wz = w * xs, w * ys, w * zs
  333. local xx = x * xs
  334. local xy = x * ys
  335. local xz = x * zs
  336. local yy = y * ys
  337. local yz = y * zs
  338. local zz = z * zs
  339. 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))
  340. end
  341. function QuaternionSlerp(a, b, t)
  342. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  343. local startInterp, finishInterp
  344. if cosTheta >= 1.0E-4 then
  345. if 1 - cosTheta > 1.0E-4 then
  346. local theta = ACOS(cosTheta)
  347. local invSinTheta = 1 / SIN(theta)
  348. startInterp = SIN((1 - t) * theta) * invSinTheta
  349. finishInterp = SIN(t * theta) * invSinTheta
  350. else
  351. startInterp = 1 - t
  352. finishInterp = t
  353. end
  354. elseif 1 + cosTheta > 1.0E-4 then
  355. local theta = ACOS(-cosTheta)
  356. local invSinTheta = 1 / SIN(theta)
  357. startInterp = SIN((t - 1) * theta) * invSinTheta
  358. finishInterp = SIN(t * theta) * invSinTheta
  359. else
  360. startInterp = t - 1
  361. finishInterp = t
  362. end
  363. 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
  364. end
  365. function Clerp(a, b, t)
  366. local qa = {
  367. QuaternionFromCFrame(a)
  368. }
  369. local qb = {
  370. QuaternionFromCFrame(b)
  371. }
  372. local ax, ay, az = a.x, a.y, a.z
  373. local bx, by, bz = b.x, b.y, b.z
  374. local _t = 1 - t
  375. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  376. end
  377. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  378. local frame = IT("Frame")
  379. frame.BackgroundTransparency = TRANSPARENCY
  380. frame.BorderSizePixel = BORDERSIZEPIXEL
  381. frame.Position = POSITION
  382. frame.Size = SIZE
  383. frame.BackgroundColor3 = COLOR
  384. frame.BorderColor3 = BORDERCOLOR
  385. frame.Name = NAME
  386. frame.Parent = PARENT
  387. return frame
  388. end
  389. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  390. local label = IT("TextLabel")
  391. label.BackgroundTransparency = 1
  392. label.Size = UD2(1, 0, 1, 0)
  393. label.Position = UD2(0, 0, 0, 0)
  394. label.TextColor3 = TEXTCOLOR
  395. label.TextStrokeTransparency = STROKETRANSPARENCY
  396. label.TextTransparency = TRANSPARENCY
  397. label.FontSize = TEXTFONTSIZE
  398. label.Font = TEXTFONT
  399. label.BorderSizePixel = BORDERSIZEPIXEL
  400. label.TextScaled = false
  401. label.Text = TEXT
  402. label.Name = NAME
  403. label.Parent = PARENT
  404. return label
  405. end
  406. function NoOutlines(PART)
  407. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  408. end
  409. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  410. local NEWWELD = IT(TYPE)
  411. NEWWELD.Part0 = PART0
  412. NEWWELD.Part1 = PART1
  413. NEWWELD.C0 = C0
  414. NEWWELD.C1 = C1
  415. NEWWELD.Parent = PARENT
  416. return NEWWELD
  417. end
  418. local S = IT("Sound")
  419. function CreateSound(ID, PARENT, VOLUME, PITCH)
  420. local NEWSOUND
  421. coroutine.resume(coroutine.create(function()
  422. NEWSOUND = S:Clone()
  423. NEWSOUND.Parent = PARENT
  424. NEWSOUND.Volume = VOLUME
  425. NEWSOUND.Pitch = PITCH
  426. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  427. Swait()
  428. NEWSOUND:play()
  429. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  430. end))
  431. return NEWSOUND
  432. end
  433. function CFrameFromTopBack(at, top, back)
  434. local right = top:Cross(back)
  435. 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)
  436. end
  437. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  438. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  439. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  440. wave.CFrame = CFRAME
  441. coroutine.resume(coroutine.create(function(PART)
  442. for i = 1, WAIT do
  443. Swait()
  444. mesh.Scale = mesh.Scale + GROW
  445. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  446. if DOESROT == true then
  447. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  448. end
  449. wave.Transparency = wave.Transparency + 0.5 / WAIT
  450. if wave.Transparency > 0.99 then
  451. wave:remove()
  452. end
  453. end
  454. end))
  455. end
  456. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  457. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  458. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  459. wave.CFrame = CFRAME
  460. coroutine.resume(coroutine.create(function(PART)
  461. for i = 1, WAIT do
  462. Swait()
  463. mesh.Scale = mesh.Scale + GROW
  464. if DOESROT == true then
  465. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  466. end
  467. wave.Transparency = wave.Transparency + 0.5 / WAIT
  468. if wave.Transparency > 0.99 then
  469. wave:remove()
  470. end
  471. end
  472. end))
  473. end
  474. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  475. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  476. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  477. wave.CFrame = CFRAME
  478. coroutine.resume(coroutine.create(function(PART)
  479. for i = 1, WAIT do
  480. Swait()
  481. mesh.Scale = mesh.Scale + GROW
  482. wave.Transparency = wave.Transparency + 1 / WAIT
  483. if wave.Transparency > 0.99 then
  484. wave:remove()
  485. end
  486. end
  487. end))
  488. end
  489. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  490. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  491. local mesh
  492. if KIND == "Base" then
  493. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  494. elseif KIND == "Thin" then
  495. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  496. elseif KIND == "Round" then
  497. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  498. end
  499. wave.CFrame = CFRAME
  500. coroutine.resume(coroutine.create(function(PART)
  501. for i = 1, WAIT do
  502. Swait()
  503. mesh.Scale = mesh.Scale + GROW / 10
  504. wave.Transparency = wave.Transparency + 0.5 / WAIT
  505. if wave.Transparency > 0.99 then
  506. wave:remove()
  507. end
  508. end
  509. end))
  510. end
  511. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  512. local TORSO = Torso
  513. local HUM = Humanoid
  514. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  515. coroutine.wrap(function()
  516. VT = Vector3.new
  517. MRANDOM = math.random
  518. local A = TIME
  519. local B = INTENSITY
  520. local C = true
  521. local HUMANOID = Humanoid
  522. local TIMER = A or 35
  523. local SHAKE = B or 5
  524. local FADE = C or true
  525. if HUMANOID then
  526. local FADER = SHAKE / TIMER
  527. for i = 1, TIMER do
  528. wait()
  529. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  530. end
  531. HUMANOID.CameraOffset = VT(0, 0, 0)
  532. end
  533.  
  534. end)()
  535. end
  536. end
  537. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  538. for _, c in pairs(PARENT:GetChildren()) do
  539. if c.ClassName == "Model" then
  540. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  541. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  542. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  543. if DIST > (TORSO.Position - FROM).Magnitude then
  544. table.insert(TABLE, c)
  545. end
  546. AddChildrenToTable(FROM, c, DIST, TABLE)
  547. elseif c.ClassName == "Folder" then
  548. AddChildrenToTable(FROM, c, DIST, TABLE)
  549. end
  550. end
  551. end
  552. end
  553. function MakeForm(PART, TYPE)
  554. if TYPE == "Cyl" then
  555. local MSH = IT("CylinderMesh", PART)
  556. elseif TYPE == "Ball" then
  557. local MSH = IT("SpecialMesh", PART)
  558. MSH.MeshType = "Sphere"
  559. elseif TYPE == "Wedge" then
  560. local MSH = IT("SpecialMesh", PART)
  561. MSH.MeshType = "Wedge"
  562. end
  563. end
  564. function sandbox(var,func)
  565. local env = getfenv(func)
  566. local newenv = setmetatable({},{
  567. __index = function(self,k)
  568. if k=="script" then
  569. return var
  570. else
  571. return env[k]
  572. end
  573. end,
  574. })
  575. setfenv(func,newenv)
  576. return func
  577. end
  578. function NS(...)
  579. local tab = {...}
  580. local fat = {}
  581. for i = 1, #tab do
  582. local v = tab[i]
  583. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  584. end
  585. return NumberSequence.new(fat);
  586. end
  587. cors = {}
  588. mas = Instance.new("Model",game:GetService("Lighting"))
  589. ParticleEmitter0 = Instance.new("ParticleEmitter")
  590. ParticleEmitter1 = Instance.new("ParticleEmitter")
  591. ParticleEmitter2 = Instance.new("ParticleEmitter")
  592. ParticleEmitter0.Name = "Flames"
  593. ParticleEmitter0.Parent = mas
  594. ParticleEmitter0.Speed = NumberRange.new(0, 15)
  595. ParticleEmitter0.Rotation = NumberRange.new(0, 360)
  596. ParticleEmitter0.Enabled = false
  597. ParticleEmitter0.LightEmission = 1
  598. ParticleEmitter0.LightInfluence = 1
  599. ParticleEmitter0.Transparency = NumberSequence.new(1,0)
  600. ParticleEmitter0.ZOffset = 1
  601. ParticleEmitter0.Size = NumberSequence.new(10,0)
  602. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  603. ParticleEmitter0.Lifetime = NumberRange.new(0, 2)
  604. ParticleEmitter0.Rate = 9999
  605. ParticleEmitter0.RotSpeed = NumberRange.new(-25, 25)
  606. ParticleEmitter0.SpreadAngle = Vector2.new(25, 25)
  607. ParticleEmitter0.VelocitySpread = 25
  608. ParticleEmitter0.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  609. ParticleEmitter1.Name = "Death"
  610. ParticleEmitter1.Parent = mas
  611. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  612. ParticleEmitter1.Enabled = false
  613. ParticleEmitter1.LightEmission = 0.75
  614. ParticleEmitter1.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  615. ParticleEmitter1.Transparency = NS({0,0.47540986537933},{.168,0.37704920768738},{.457,0.25683063268661},{.803,0.4426229596138},{.948,0.62841534614563},{1,1})
  616. ParticleEmitter1.ZOffset = 0.5
  617. ParticleEmitter1.Size = NS({0,1},{.656,1.8032789230347},{.843,1.4207655191422},{1,0})
  618. ParticleEmitter1.Acceleration = Vector3.new(0, 35, 0)
  619. ParticleEmitter1.Drag = 5
  620. ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
  621. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  622. ParticleEmitter1.Rate = 999
  623. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  624. ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
  625. ParticleEmitter1.VelocitySpread = 360
  626. ParticleEmitter2.Name = "Wing"
  627. ParticleEmitter2.Parent = mas
  628. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  629. ParticleEmitter2.Enabled = false
  630. ParticleEmitter2.LightEmission = 1
  631. ParticleEmitter2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
  632. ParticleEmitter2.Size = NS({0,0.05464494228363},{.193,1.0382515192032},{.352,1.3661205768585},{1,0})
  633. ParticleEmitter2.Acceleration = Vector3.new(0, -7, 15)
  634. ParticleEmitter2.Lifetime = NumberRange.new(0.80000001192093, 0.80000001192093)
  635. ParticleEmitter2.LockedToPart = true
  636. ParticleEmitter2.Rate = 300
  637. for i,v in pairs(mas:GetChildren()) do
  638. v.Parent = script
  639. pcall(function() v:MakeJoints() end)
  640. end
  641. mas:Destroy()
  642. for i,v in pairs(cors) do
  643. spawn(function()
  644. pcall(v)
  645. end)
  646. end
  647. local DParticles = script.Death
  648. DParticles:remove()
  649. DParticles.Name = ""
  650. New = function(Object, Parent, Name, Data)
  651. local Object = Instance.new(Object)
  652. for Index, Value in pairs(Data or {}) do
  653. Object[Index] = Value
  654. end
  655. Object.Parent = Parent
  656. Object.Name = Name
  657. return Object
  658. end
  659. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  660. if DoesCourontine == false then
  661. local Direction = CF(Part.Position, ToLocation)
  662. local Distance = (Part.Position - ToLocation).magnitude
  663. for i = 1, AmountOfTime do
  664. Swait()
  665. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  666. Direction = Part.CFrame
  667. end
  668. Part:remove()
  669. elseif DoesCourontine == true then
  670. coroutine.resume(coroutine.create(function()
  671. local Direction = CF(Part.Position, ToLocation)
  672. local Distance = (Part.Position - ToLocation).magnitude
  673. for i = 1, AmountOfTime do
  674. Swait()
  675. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  676. Direction = Part.CFrame
  677. end
  678. Part:remove()
  679. end))
  680. end
  681. end
  682. function CheckTableForString(Table, String)
  683. for i, v in pairs(Table) do
  684. if string.find(string.lower(String), string.lower(v)) then
  685. return true
  686. end
  687. end
  688. return false
  689. end
  690. function CheckIntangible(Hit)
  691. local ProjectileNames = {
  692. "Water",
  693. "Arrow",
  694. "Projectile",
  695. "Effect",
  696. "Rail",
  697. "Lightning",
  698. "Bullet"
  699. }
  700. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  701. return true
  702. end
  703. return false
  704. end
  705. --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})
  706. function WACKYEFFECT(Table)
  707. local TYPE = (Table.EffectType or "Sphere")
  708. local SIZE = (Table.Size or VT(1,1,1))
  709. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  710. local TRANSPARENCY = (Table.Transparency or 0)
  711. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  712. local CFRAME = (Table.CFrame or Torso.CFrame)
  713. local MOVEDIRECTION = (Table.MoveToPos or nil)
  714. local ROTATION1 = (Table.RotationX or 0)
  715. local ROTATION2 = (Table.RotationY or 0)
  716. local ROTATION3 = (Table.RotationZ or 0)
  717. local MATERIAL = (Table.Material or "Neon")
  718. local COLOR = (Table.Color or C3(1,1,1))
  719. local TIME = (Table.Time or 45)
  720. local SOUNDID = (Table.SoundID or nil)
  721. local SOUNDPITCH = (Table.SoundPitch or nil)
  722. local SOUNDVOLUME = (Table.SoundVolume or nil)
  723. coroutine.resume(coroutine.create(function()
  724. local PLAYSSOUND = false
  725. local SOUND = nil
  726. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  727. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  728. PLAYSSOUND = true
  729. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  730. end
  731. EFFECT.Color = COLOR
  732. local MSH = nil
  733. if TYPE == "Sphere" then
  734. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  735. elseif TYPE == "Block" then
  736. MSH = IT("BlockMesh",EFFECT)
  737. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  738. elseif TYPE == "Wave" then
  739. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  740. elseif TYPE == "Ring" then
  741. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  742. elseif TYPE == "Slash" then
  743. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  744. elseif TYPE == "Round Slash" then
  745. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  746. elseif TYPE == "Swirl" then
  747. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  748. elseif TYPE == "Skull" then
  749. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  750. elseif TYPE == "Crystal" then
  751. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  752. end
  753. if MSH ~= nil then
  754. local MOVESPEED = nil
  755. if MOVEDIRECTION ~= nil then
  756. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  757. end
  758. local GROWTH = SIZE - ENDSIZE
  759. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  760. if TYPE == "Block" then
  761. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  762. else
  763. EFFECT.CFrame = CFRAME
  764. end
  765. for LOOP = 1, TIME+1 do
  766. Swait()
  767. MSH.Scale = MSH.Scale - GROWTH/TIME
  768. if TYPE == "Wave" then
  769. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  770. end
  771. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  772. if TYPE == "Block" then
  773. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  774. else
  775. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  776. end
  777. if MOVEDIRECTION ~= nil then
  778. local ORI = EFFECT.Orientation
  779. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  780. EFFECT.Orientation = ORI
  781. end
  782. end
  783. if PLAYSSOUND == false then
  784. EFFECT:remove()
  785. else
  786. repeat Swait() until SOUND.Playing == false
  787. EFFECT:remove()
  788. end
  789. else
  790. if PLAYSSOUND == false then
  791. EFFECT:remove()
  792. else
  793. repeat Swait() until SOUND.Playing == false
  794. EFFECT:remove()
  795. end
  796. end
  797. end))
  798. end
  799. Debris = game:GetService("Debris")
  800. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  801. local Direction = CFrame.new(StartPos, Vec).lookVector
  802. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  803. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  804. if RayHit and CheckIntangible(RayHit) then
  805. if DelayIfHit then
  806. wait()
  807. end
  808. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  809. end
  810. return RayHit, RayPos, RayNormal
  811. end
  812. function turnto(position)
  813. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  814. end
  815. local naeeym2 = Instance.new("BillboardGui", Character)
  816. naeeym2.AlwaysOnTop = true
  817. naeeym2.Size = UDim2.new(15, 35, 2, 15)
  818. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  819. naeeym2.Adornee = Character.Head
  820. naeeym2.Name = ""
  821. local tecks2 = Instance.new("TextLabel", naeeym2)
  822. tecks2.BackgroundTransparency = 1
  823. tecks2.TextScaled = true
  824. tecks2.BorderSizePixel = 0
  825. tecks2.Text = "doMInus MEsSOr, thE virUS DOmInuS"
  826. tecks2.Font = "Antique"
  827. tecks2.TextSize = 30
  828. tecks2.TextStrokeTransparency = 0
  829. tecks2.TextColor3 = Color3.new(0,1,0)
  830. tecks2.TextStrokeColor3 = Color3.new(0,255,0)
  831. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  832. tecks2.Parent = naeeym2
  833. Humanoid.Died:connect(function()
  834. Humanoid.Parent = nil
  835. Humanoid.MaxHealth = "inf"
  836. Humanoid.Health = "inf"
  837. refit()
  838. Humanoid.Parent = Character
  839. CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
  840. for i = 1, 5 do
  841. Slice("Round", 0.6, 35, CF(Torso.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Lime green", VT(0.1, 0, 0.1))
  842. end
  843. killnearest(Torso.Position, 25, 180)
  844. end)
  845. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  846. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  847. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  848. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 4 Frame")
  849. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 5 Frame")
  850. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.03, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 6 Frame")
  851. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  852. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Glitch Execute", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 1")
  853. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Infected Pain", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 2")
  854. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Error Fired", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 3")
  855. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Coding In-Burst", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0.5, "Text 4")
  856. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] ?????", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0.5, "Text 5")
  857. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] !?!?!?!?", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0.5, "Text 6")
  858. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[P] The End", SKILLTEXTCOLOR, 12, "Antique", 0, 2, 0.5, "Text 7")
  859. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  860. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Virus Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  861. function killnearest(position, range, maxstrength)
  862. for i, v in ipairs(workspace:GetChildren()) do
  863. local body = v:GetChildren()
  864. for part = 1, #body do
  865. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  866. if v.ClassName == "Model" then
  867. v:BreakJoints()
  868. end
  869. local bv = Instance.new("BodyVelocity")
  870. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  871. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  872. bv.Parent = body[part]
  873. Debris:AddItem(bv, 0.2)
  874. end
  875. end
  876. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  877. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  878. end
  879. end
  880. end
  881. function ApplyAoE(POSITION, RANGE)
  882. local PARTS = {}
  883. for index, CHILD in pairs(workspace:GetDescendants()) do
  884. if CHILD.ClassName == "Model" and CHILD ~= Character then
  885. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  886. if HUM then
  887. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  888. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  889. CHILD:BreakJoints()
  890. for index, PART in pairs(CHILD:GetChildren()) do
  891. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  892. local P = DParticles:Clone()
  893. P.Parent = PART
  894. P.Enabled = true
  895. P.Color = ColorSequence.new(PART.Color, C3(0, 1, 0))
  896. PART.Anchored = true
  897. table.insert(PARTS, {PART, P})
  898. end
  899. end
  900. end
  901. end
  902. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  903. local FOLDER = IT("Folder", CHILD)
  904. FOLDER.Name = "ewdfrfgrwefd"
  905. local P = DParticles:Clone()
  906. P.Parent = CHILD
  907. P.Enabled = true
  908. CHILD:BreakJoints()
  909. CHILD.CanCollide = false
  910. CHILD.Anchored = true
  911. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  912. P.Color = ColorSequence.new(CHILD.Color, C3(0, 1, 0))
  913. table.insert(PARTS, {CHILD, P})
  914. end
  915. end
  916. coroutine.resume(coroutine.create(function()
  917. if #PARTS > 0 then
  918. for i = 1, 85 do
  919. Swait()
  920. for E = 1, #PARTS do
  921. local F = PARTS[E]
  922. local A = F[1]
  923. local B = F[2]
  924. A.Transparency = A.Transparency + 0.011764705882352941
  925. B.Rate = math.ceil(B.Rate * 1.2)
  926. for index, E in pairs(A:GetChildren()) do
  927. if E:IsA("Decal") or E:IsA("Texture") then
  928. E.Transparency = E.Transparency + 0.011764705882352941
  929. elseif E:IsA("JointInstance") then
  930. E:remove()
  931. elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
  932. E.Enabled = false
  933. end
  934. end
  935. end
  936. end
  937. for E = 1, #PARTS do
  938. local F = PARTS[E]
  939. local A = F[1]
  940. local B = F[2]
  941. B.Enabled = false
  942. Debris:AddItem(A, 3)
  943. end
  944. end
  945. end))
  946. end
  947. function Transparency(TRANS)
  948. tecks2.TextTransparency = TRANS
  949. tecks2.TextStrokeTransparency = TRANS
  950. for _, c in pairs(Character:GetChildren()) do
  951. if c.ClassName == "Part" and c ~= RootPart then
  952. c.Transparency = TRANS
  953. if c:FindFirstChildOfClass("Decal") then
  954. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  955. end
  956. elseif c.ClassName == "Accessory" then
  957. c.Handle.Transparency = TRANS
  958. elseif c.ClassName == "Model" then
  959. for _, q in pairs(c:GetChildren()) do
  960. if q.ClassName == "Part" then
  961. q.Transparency = TRANS
  962. if q:FindFirstChildOfClass("Decal") then
  963. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  964. end
  965. end
  966. end
  967. end
  968. end
  969. end
  970. function Glitch_Execute()
  971. local HITBODIES = {}
  972. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0, 0, 0))
  973. local HITFLOOR, ECH, NORMAL = Raycast(Mouse.Hit.p + VT(0, 2, 0), CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0)).lookVector, 10000000, Character)
  974. CENTER.CFrame = CF(ECH)
  975. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Laser01", VT(25, 99999, 25))
  976. MakeForm(RAY, "Cyl")
  977. local RAY2 = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Laser01", VT(28, 99999, 28))
  978. MakeForm(RAY2, "Cyl")
  979. RAY.CFrame = CF(ECH)
  980. RAY2.CFrame = CF(ECH)
  981. CreateSound("1368573150", CENTER, 10, 0.8)
  982. for i = 1, 100 do
  983. Swait()
  984. RAY.Transparency = RAY.Transparency - 0.01
  985. RAY.Size = RAY.Size - VT(0.25, 0, 0.25)
  986. RAY2.Transparency = RAY2.Transparency - 0.012
  987. RAY2.Size = RAY2.Size - VT(0.28, 0, 0.28)
  988. end
  989. RAY:remove()
  990. RAY2:remove()
  991. CreateSound("1368637781", CENTER, 10, 0.8)
  992. MagicSphere(VT(0, 0, 0), 15, CF(ECH), "Forest green", VT(16, 16 , 16))
  993. MagicSphere(VT(1, 1, 1), 25, CF(ECH), "Lime green", VT(16, 16 ,16))
  994. AddChildrenToTable(ECH, workspace, 80, HITBODIES)
  995. Debris:AddItem(CENTER, 5)
  996. CreateSound("814168787", CENTER, 27, 0.88)
  997. for i = 1, 5 do
  998. Slice("Round", 0, 35, CF(ECH) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Lime green", VT(0.5, 0, 0.5))
  999. end
  1000. local POS = RootPart.Position
  1001. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1002. SHAKECAM(HITPOS, 100, 8, 15)
  1003. ApplyAoE(HITPOS, 50)
  1004. end
  1005. function Infected_Pain()
  1006. ATTACK = true
  1007. Rooted = true
  1008. VALUE1 = true
  1009. local HITBODIES = {}
  1010. local VISUAL = CreatePart(3, Effects, "Glass", 0, 0.99, "Lime green", "Vibrations", VT(4, 4, 4))
  1011. MakeForm(VISUAL, "Ball")
  1012. VISUAL.CFrame = RootPart.CFrame
  1013. for i = 0, 1.2, 0.2 / Animation_Speed do
  1014. Swait()
  1015. VISUAL.Size = VISUAL.Size + VT(0.1, 0.1, 0.1)
  1016. VISUAL.Transparency = VISUAL.Transparency - 0.005
  1017. if MRANDOM(1, 2) == 1 then
  1018. do
  1019. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Magic", VT(1, 1, 1) * MRANDOM(2, 35) / 10)
  1020. SPHERE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  1021. MakeForm(SPHERE, "Ball")
  1022. coroutine.resume(coroutine.create(function()
  1023. for i = 1, 100 do
  1024. Swait()
  1025. SPHERE.CFrame = SPHERE.CFrame * CF(0, 0.3, 0)
  1026. SPHERE.Transparency = i / 100
  1027. end
  1028. SPHERE:remove()
  1029. end))
  1030. end
  1031. end
  1032. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1038. end
  1039. Character.Archivable = true
  1040. local CLONE = Character:Clone()
  1041. CLONE.BGM:remove()
  1042. CLONE.Effects:remove()
  1043. CLONE.Parent = Effects
  1044. local X = 1 - VISUAL.Transparency
  1045. local ORIGINPOS = RootPart.Position
  1046. Transparency(1)
  1047. VALUE2 = true
  1048. RootPart.CFrame = CF(Mouse.Hit.p + VT(0, 5, 0), ORIGINPOS)
  1049. for i = 1, 50 do
  1050. Swait()
  1051. VISUAL.Transparency = VISUAL.Transparency + X / 50
  1052. VISUAL.Size = VISUAL.Size + VT(0.05, 0.05, 0.05)
  1053. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1054. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1055. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1056. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1057. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1058. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1059. end
  1060. VISUAL:remove()
  1061. coroutine.resume(coroutine.create(function()
  1062. local PITS = {}
  1063. local HITFLOOR, HITPOS, NORMAL = Raycast(CLONE.Torso.Position, CF(CLONE.Torso.Position, CLONE.Torso.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  1064. MagicSphere(VT(0, 0, 0), 25, CF(CLONE.Torso.Position), "Forest green", VT(4, 4, 4))
  1065. MagicSphere(VT(1, 1, 1), 55, CF(CLONE.Torso.Position), "Lime green", VT(4, 4, 4))
  1066. if HITFLOOR ~= nil then
  1067. local POS = CLONE.Torso.Position
  1068. CLONE:remove()
  1069. for i = 1, 150 do
  1070. Swait()
  1071. local PEWSOUND = {
  1072. "907527750",
  1073. "907527912",
  1074. "907528019",
  1075. "907530553"
  1076. }
  1077. AddChildrenToTable(HITPOS, workspace, i, HITBODIES)
  1078. if MRANDOM(1, 2) == 1 then
  1079. local ICICLE = IT("CornerWedgePart", Effects)
  1080. ICICLE.Locked = true
  1081. ICICLE.CanCollide = false
  1082. ICICLE.Anchored = true
  1083. ICICLE.BrickColor = BRICKC("Lime green")
  1084. ICICLE.Material = "Neon"
  1085. ICICLE.Size = VT(i / 8, i / 2, i / 8)
  1086. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  1087. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 2, i / 2), 0, MRANDOM(-i / 2, i / 2)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  1088. table.insert(PITS, ICICLE)
  1089. for e = 1, #HITBODIES do
  1090. if HITBODIES[e] ~= nil then
  1091. local BOD = HITBODIES[e]
  1092. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1093. if TORS then
  1094. BOD:BreakJoints()
  1095. for _, c in pairs(BOD:GetChildren()) do
  1096. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1097. local bv = Instance.new("BodyVelocity")
  1098. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1099. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  1100. bv.Parent = TORS
  1101. Debris:AddItem(bv, 0.2)
  1102. end
  1103. end
  1104. end
  1105. end
  1106. end
  1107. HITBODIES = {}
  1108. end
  1109. end
  1110. coroutine.resume(coroutine.create(function()
  1111. for i = 1, 10 do
  1112. Swait()
  1113. for e = 1, #PITS do
  1114. if PITS[e] ~= nil then
  1115. local E = PITS[e]
  1116. E.Transparency = E.Transparency + 0.1
  1117. end
  1118. end
  1119. end
  1120. for e = 1, #PITS do
  1121. if PITS[e] ~= nil then
  1122. local E = PITS[e]
  1123. E:remove()
  1124. end
  1125. end
  1126. end))
  1127. end
  1128. end))
  1129. VALUE2 = false
  1130. VALUE1 = false
  1131. ATTACK = false
  1132. Rooted = false
  1133. for i = 1, 10 do
  1134. Swait()
  1135. Transparency(1 - i / 10)
  1136. end
  1137. end
  1138. function Error_Fired()
  1139. local HITBODIES = {}
  1140. local PEWSOUND = {
  1141. "907527750",
  1142. "907527912",
  1143. "907528019",
  1144. "907530553"
  1145. }
  1146. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1147. if HITFLOOR ~= nil then
  1148. CreateSound(ATTACKTAUNTS[MRANDOM(1, #ATTACKTAUNTS)], Head, 10, 0.9)
  1149. ATTACK = true
  1150. Rooted = false
  1151. local GYRO = IT("BodyGyro", RootPart)
  1152. GYRO.D = 100
  1153. GYRO.P = 2000
  1154. GYRO.MaxTorque = VT(0, 4000000, 0)
  1155. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1156. for i = 0, 3.5, 0.22 / Animation_Speed do
  1157. Swait()
  1158. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1159. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 1, 0), VT(-0.01, 0, -0.01))
  1160. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1161. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1162. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1163. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1164. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1165. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1166. end
  1167. for i = 0, 0.15, 0.22 / Animation_Speed do
  1168. Swait()
  1169. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  1170. Slice("Thin", 1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 1, 0), VT(-0.01, 0, -0.01))
  1171. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1177. end
  1178. Rooted = true
  1179. GYRO:remove()
  1180. coroutine.resume(coroutine.create(function()
  1181. local PITS = {}
  1182. local FRAME = RootPart.CFrame
  1183. for i = 1, 200 do
  1184. Swait()
  1185. for e = 1, #HITBODIES do
  1186. if HITBODIES[e] ~= nil then
  1187. local BOD = HITBODIES[e]
  1188. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1189. if TORS then
  1190. BOD:BreakJoints()
  1191. ApplyAoE(HITPOS, 10)
  1192. table.remove(HITBODIES, e)
  1193. end
  1194. end
  1195. end
  1196. local GLITCH = CreatePart(3, Effects, "Neon", 0, 0, "Forest green", "Puddle", VT(4 + i / 4, 0, 4 + i / 4))
  1197. MakeForm(GLITCH, "Cyl")
  1198. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  1199. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  1200. if HITFLOOR ~= nil then
  1201. table.insert(PITS, GLITCH)
  1202. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1203. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  1204. if MRANDOM(1, 2) == 1 then
  1205. local ICICLE = IT("CornerWedgePart", Effects)
  1206. ICICLE.Locked = true
  1207. ICICLE.CanCollide = false
  1208. ICICLE.Anchored = true
  1209. ICICLE.BrickColor = BRICKC("Lime green")
  1210. ICICLE.Material = "Neon"
  1211. ICICLE.Size = VT(i / 7, i / 2, i / 7)
  1212. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  1213. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  1214. table.insert(PITS, ICICLE)
  1215. end
  1216. else
  1217. GLITCH:remove()
  1218. break
  1219. end
  1220. end
  1221. coroutine.resume(coroutine.create(function()
  1222. for i = 1, 10 do
  1223. Swait()
  1224. for e = 1, #PITS do
  1225. if PITS[e] ~= nil then
  1226. local E = PITS[e]
  1227. E.Transparency = E.Transparency + 0.1
  1228. end
  1229. end
  1230. end
  1231. for e = 1, #PITS do
  1232. if PITS[e] ~= nil then
  1233. local E = PITS[e]
  1234. E:remove()
  1235. end
  1236. end
  1237. end))
  1238. end))
  1239. for i = 0, 1, 0.1 / Animation_Speed do
  1240. Swait()
  1241. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1242. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1245. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1246. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1247. end
  1248. ATTACK = false
  1249. Rooted = false
  1250. end
  1251. end
  1252. function Coding_Inburst()
  1253. local HITBODIES = {}
  1254. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1255. if HITFLOOR ~= nil then
  1256. CreateSound("463598785", RootPart, 10, 0.8)
  1257. ATTACK = true
  1258. Rooted = true
  1259. VALUE1 = true
  1260. for i = 1, 500 do
  1261. Swait()
  1262. AddChildrenToTable(HITPOS, workspace, i / 3, HITBODIES)
  1263. Slice("Round", 0.5 + i / 50, 35, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Forest green", VT(0.01, 0, 0.01))
  1264. Slice("Round", 0.5 + i / 50, 45, CF(HITPOS + VT(0, 0.1, 0), HITPOS + VT(0, 0.1, 0) + NORMAL) * ANGLES(RAD(90), RAD(MRANDOM(-180, 180)), RAD(0)), "Lime green", VT(0, 0, 0))
  1265. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1267. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1268. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-40), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1269. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1270. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1271. for e = 1, #HITBODIES do
  1272. if HITBODIES[e] ~= nil then
  1273. local BOD = HITBODIES[e]
  1274. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1275. if TORS and TORS:FindFirstChild("BV") == nil then
  1276. local bv = Instance.new("BodyVelocity")
  1277. bv.Name = "BV"
  1278. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1279. bv.velocity = CF(TORS.Position, TORS.Position + VT(0, 1, 0)).lookVector * 20
  1280. bv.Parent = TORS
  1281. Debris:AddItem(bv, 0.1)
  1282. end
  1283. end
  1284. end
  1285. end
  1286. coroutine.resume(coroutine.create(function()
  1287. for e = 1, #HITBODIES do
  1288. Swait()
  1289. if HITBODIES[e] ~= nil then
  1290. local BOD = HITBODIES[e]
  1291. for i = 1, #HITBODIES do
  1292. if HITBODIES[i] == BOD and i ~= e then
  1293. table.remove(HITBODIES, i)
  1294. end
  1295. end
  1296. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1297. if TORS then
  1298. TORS.Anchored = false
  1299. CreateSound("92597369", TORS, 10, 0.8)
  1300. Slice("Thin", 1, 35, CF(TORS.Position, HITPOS) * ANGLES(RAD(0), RAD(-90), RAD(0)), "Lime green", VT(0.1, 0, 0.1))
  1301. BOD:BreakJoints()
  1302. for _, c in pairs(BOD:GetChildren()) do
  1303. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1304. local bv = Instance.new("BodyVelocity")
  1305. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1306. bv.velocity =CF(HITPOS, c.Position).lookVector * 250
  1307. bv.Parent = c
  1308. Debris:AddItem(bv, 0.2)
  1309. end
  1310. end
  1311. end
  1312. end
  1313. end
  1314. end))
  1315. ApplyAoE(HITPOS, 650)
  1316. VALUE1 = false
  1317. ATTACK = false
  1318. Rooted = false
  1319. end
  1320. end
  1321. function GLITCH()
  1322. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1323. if HITFLOOR ~= nil then
  1324. do
  1325. local HITBODIES = {}
  1326. ATTACK = true
  1327. Rooted = true
  1328. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "ABSOLUTEUM", VT(0, 0, 0))
  1329. MakeForm(ABSOLUTE, "Ball")
  1330. CreateSound("814168787", ABSOLUTE, 10, 0.28)
  1331. for i = 0, 8, 0.1 / Animation_Speed do
  1332. Swait()
  1333. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.82, 0.92, 0.92)
  1334. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  1335. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1336. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Forest green", "ABSOLUTEUM", VT(2, 2, 2))
  1337. MakeForm(CHARGE, "Ball")
  1338. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  1339. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  1340. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1341. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1344. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1345. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1346. end
  1347. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  1348. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  1349. for i = 1, 45 do
  1350. Swait()
  1351. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1352. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1353. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1354. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1355. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1356. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1357. end
  1358. coroutine.resume(coroutine.create(function()
  1359. local IMPACT = false
  1360. local BULLET = ABSOLUTE
  1361. MakeForm(BULLET, "Ball")
  1362. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  1363. for i = 1, 500 do
  1364. Swait()
  1365. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  1366. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  1367. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Lime green", VT(-10, -10, -10) / 55)
  1368. if HIT ~= nil then
  1369. IMPACT = true
  1370. break
  1371. end
  1372. end
  1373. if IMPACT == false then
  1374. for i = 1, 40 do
  1375. Swait()
  1376. BULLET.Size = BULLET.Size * 0.99
  1377. end
  1378. BULLET:remove()
  1379. else
  1380. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  1381. for i = 1, 175 do
  1382. Swait()
  1383. BULLET.Size = BULLET.Size * 0.99
  1384. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Lime green", VT(i, 0, i) / 85)
  1385. end
  1386. CreateSound("438666001", BULLET, 10, 3)
  1387. Swait(35)
  1388. BULLET.Transparency = 1
  1389. for i = 1, 20 do
  1390. for e = 1, 5 do
  1391. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Lime green", VT(1, 1, i * 4), 0)
  1392. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Lime green", VT(i, 0, i) / 3)
  1393. end
  1394. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  1395. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  1396. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  1397. MagicSphere(BULLET.Size, 45, BULLET.CFrame, C3(MRANDOM(0, 100) / 100, 0, 0), VT(i, i, i) * 2)
  1398. Swait(5)
  1399. for e = 1, #HITBODIES do
  1400. if HITBODIES[e] ~= nil then
  1401. local BOD = HITBODIES[e]
  1402. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  1403. if TORS then
  1404. BOD:BreakJoints()
  1405. for _, c in pairs(BOD:GetChildren()) do
  1406. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  1407. local bv = Instance.new("BodyVelocity")
  1408. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1409. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  1410. bv.Parent = c
  1411. Debris:AddItem(bv, 0.2)
  1412. end
  1413. end
  1414. end
  1415. end
  1416. end
  1417. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Lime green", VT(i, 0, i) * 2)
  1418. end
  1419. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(0, 1, 0), VT(120, 120, 120))
  1420. Debris:AddItem(BULLET, 10)
  1421. end
  1422. end))
  1423. ATTACK = false
  1424. Rooted = false
  1425. end
  1426. end
  1427. end
  1428. local Decal = IT("Decal")
  1429. function Virus_Hop()
  1430. ATTACK = true
  1431. Rooted = false
  1432. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Warphole", VT(0, 0, 0))
  1433. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1434. local decal = Decal:Clone()
  1435. decal.Parent = O1
  1436. decal.Face = "Top"
  1437. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  1438. local decal2 = Decal:Clone()
  1439. decal2.Parent = O1
  1440. decal2.Face = "Bottom"
  1441. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  1442. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Warphole", VT(0, 0, 0))
  1443. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1444. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1445. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Warphole", VT(0, 0, 0))
  1446. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1447. local decal = Decal:Clone()
  1448. decal.Parent = O2
  1449. decal.Face = "Top"
  1450. decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  1451. local decal2 = Decal:Clone()
  1452. decal2.Parent = O2
  1453. decal2.Face = "Bottom"
  1454. decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  1455. CreateSound("1127492102", O1, 10, 0.62)
  1456. CreateSound("1127492102", O2, 10, 0.62)
  1457. for i = 1, 75 do
  1458. Swait()
  1459. O1.Size = O1.Size + VT(0.12, 0, 0.12)
  1460. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1461. O2.Size = O2.Size + VT(0.12, 0, 0.12)
  1462. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1463. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1464. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1465. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1466. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1467. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1468. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1469. end
  1470. Rooted = true
  1471. UNANCHOR = false
  1472. RootPart.Anchored = true
  1473. VALUE1 = true
  1474. for i = 1, 15 do
  1475. Transparency(i / 15)
  1476. Swait()
  1477. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1478. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1479. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1482. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1483. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1484. end
  1485. RootPart.CFrame = ROOT.CFrame
  1486. ROOT:remove()
  1487. for i = 1, 15 do
  1488. Transparency(1 - i / 15)
  1489. Swait()
  1490. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1491. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1495. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1496. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. end
  1498. VALUE1 = false
  1499. coroutine.resume(coroutine.create(function()
  1500. for i = 1, 75 do
  1501. Swait()
  1502. O1.Size = O1.Size - VT(0.12, 0, 0.12)
  1503. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1504. O2.Size = O2.Size - VT(0.12, 0, 0.12)
  1505. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1506. end
  1507. O1:remove()
  1508. O2:remove()
  1509. end))
  1510. UNANCHOR = true
  1511. RootPart.Anchored = false
  1512. ATTACK = false
  1513. Rooted = false
  1514. end
  1515. function THE_END()
  1516. ATTACK = true
  1517. Rooted = false
  1518. CreateSound(ATTACKEDTAUNTS[MRANDOM(1, #ATTACKEDTAUNTS)], Head, 10, 0.9)
  1519. for i=0, 0.6, 0.11 / Animation_Speed do
  1520. Swait()
  1521. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(5,5,5)/5, Size2 = VT(0,1,0)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1522. 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)
  1523. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1524. sick:Stop()
  1525. theend:Play()
  1526. game.Lighting.OutdoorAmbient = Color3.new(0,1,0)
  1527. game.Lighting.Ambient = Color3.new(0,1,0)
  1528. game.Lighting.FogColor = Color3.new(0,1,0)
  1529. game.Lighting.FogEnd = 50
  1530. local sky = Instance.new('Sky', game:GetService'Lighting')
  1531. sky.SkyboxBk = "rbxassetid://981468267"
  1532. sky.SkyboxDn = "rbxassetid://981468267"
  1533. sky.SkyboxFt = "rbxassetid://981468267"
  1534. sky.SkyboxLf = "rbxassetid://981468267"
  1535. sky.SkyboxRt = "rbxassetid://981468267"
  1536. sky.SkyboxUp = "rbxassetid://981468267"
  1537. sky.StarCount = 3000
  1538. sky.SunAngularSize = 0
  1539. sky.MoonAngularSize = 11
  1540. sky.MoonTextureId = "rbxasset://sky/moon.jpg"
  1541. sky.CelestialBodiesShown = false
  1542. end
  1543. ATTACK = false
  1544. Rooted = false
  1545. end
  1546. function CLEAREVERYTHING()
  1547. ATTACK = true
  1548. Rooted = false
  1549. game.Workspace:ClearAllChildren()
  1550. end
  1551. ATTACK = false
  1552. Rooted = false
  1553. function INGLITCH()
  1554. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1555. if HITFLOOR ~= nil then
  1556. do
  1557. local HITBODIES = {}
  1558. ATTACK = true
  1559. Rooted = true
  1560. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "SuperNova", VT(0, 0, 0))
  1561. ABSOLUTE.Color = SKILLTEXTCOLOR
  1562. MakeForm(ABSOLUTE, "Ball")
  1563. CreateSound("814168787", ABSOLUTE, 10, 0.65)
  1564. for i = 0, 4, 0.1 / Animation_Speed do
  1565. Swait()
  1566. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.65, 0.65, 0.65)
  1567. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  1568. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1569. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Star", VT(1, 1, 1))
  1570. MakeForm(CHARGE, "Ball")
  1571. CHARGE.Color = C3(0, 1, 0)
  1572. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  1573. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  1574. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1575. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1580. end
  1581. CreateSound(ULTTAUNTS[MRANDOM(1, #ULTTAUNTS)], Head, 10, 0.9)
  1582. for i = 0, 2, 0.1 / Animation_Speed do
  1583. Swait()
  1584. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1590. end
  1591. coroutine.resume(coroutine.create(function()
  1592. local PITS = {}
  1593. CreateSound("178452217", ABSOLUTE, 10, 0.7)
  1594. CreateSound("215395388", ABSOLUTE, 10, 0.5)
  1595. CreateSound("215395388", ABSOLUTE, 10, 0.55)
  1596. CreateSound("215395388", ABSOLUTE, 10, 0.6)
  1597. Slice("Round", 0, 13, CF(RootPart.CFrame * CF(0, MRANDOM(-1, -1), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-4, 4)), RAD(0)), "Lime green", VT(15,15,15) * MRANDOM(1, 2))
  1598. Slice("Round", 0, 13, CF(RootPart.CFrame * CF(0, MRANDOM(-1, -1), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-4, 4)), RAD(0)), "Lime green", VT(15,15,15) * MRANDOM(1, 2))
  1599. Slice("Round", 0, 13, CF(RootPart.CFrame * CF(0, MRANDOM(-1, -1), 0).p) * ANGLES(RAD(0), RAD(MRANDOM(-4, 4)), RAD(0)), "Lime green", VT(15,15,15) * MRANDOM(1, 2))
  1600. coroutine.resume(coroutine.create(function()
  1601. local POS = RootPart.Position
  1602. for i = 1, 5 do
  1603. WACKYEFFECT({
  1604. Time = 65,
  1605. EffectType = "Sphere",
  1606. Size = VT(40, 40, 40),
  1607. Size2 = VT(0, 0, 5000),
  1608. Transparency = 1,
  1609. Transparency2 = 0,
  1610. CFrame = CF(POS),
  1611. MoveToPos = nil,
  1612. RotationX = MRANDOM(-2, 2),
  1613. RotationY = MRANDOM(-12, 12),
  1614. RotationZ = MRANDOM(-2, 2),
  1615. Material = "Neon",
  1616. Color = C3(0, 1, 0),
  1617. SoundID = nil,
  1618. SoundPitch = nil,
  1619. SoundVolume = nil
  1620. })
  1621. end
  1622. wait(1)
  1623. SHAKECAM(POS, 75, 35, 35)
  1624. ApplyAoE(HITPOS, 650)
  1625. WACKYEFFECT({
  1626. Time = 85,
  1627. EffectType = "Sphere",
  1628. Size = VT(1200, 1200, 1200),
  1629. Size2 = VT(3500, 3500, 3500),
  1630. Transparency = 0,
  1631. Transparency2 = 1,
  1632. CFrame = CF(POS),
  1633. MoveToPos = nil,
  1634. RotationX = 0,
  1635. RotationY = 0,
  1636. RotationZ = 0,
  1637. Material = "Neon",
  1638. Color = C3(0, 1, 0),
  1639. SoundID = nil,
  1640. SoundPitch = nil,
  1641. SoundVolume = nil
  1642. })
  1643. for i = 1, 20 do
  1644. WACKYEFFECT({
  1645. Time = 85,
  1646. EffectType = "Sphere",
  1647. Size = VT(1200, 1200, 1200),
  1648. Size2 = VT(1200, 1200, 1444) + VT(i * 3, i * 3, i * 3),
  1649. Transparency = 0.8,
  1650. Transparency2 = 1,
  1651. CFrame = CF(POS),
  1652. MoveToPos = nil,
  1653. RotationX = 0,
  1654. RotationY = 0,
  1655. RotationZ = 0,
  1656. Material = "Neon",
  1657. Color = C3(0, 1, 0),
  1658. SoundID = nil,
  1659. SoundPitch = nil,
  1660. SoundVolume = nil
  1661. })
  1662. WACKYEFFECT({
  1663. Time = 100,
  1664. EffectType = "Wave",
  1665. Size = VT(250, 20, 250),
  1666. Size2 = VT(4000, 0, 4000) * 1.2,
  1667. Transparency = 0,
  1668. Transparency2 = 1,
  1669. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1670. MoveToPos = nil,
  1671. RotationX = 0,
  1672. RotationY = 0,
  1673. RotationZ = 0,
  1674. Material = "Neon",
  1675. Color = C3(0, 1, 0),
  1676. SoundID = nil,
  1677. SoundPitch = nil,
  1678. SoundVolume = nil
  1679. })
  1680. end
  1681. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1682. for i = 1, 5 do
  1683. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  1684. WACKYEFFECT({
  1685. Time = 120,
  1686. EffectType = "Wave",
  1687. Size = VT(1500, 20, 1500),
  1688. Size2 = VT(3000 + i * 1700, 0, 3000 + i * 1700) * 1.2,
  1689. Transparency = 0,
  1690. Transparency2 = 1,
  1691. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1692. MoveToPos = nil,
  1693. RotationX = 0,
  1694. RotationY = 0,
  1695. RotationZ = 0,
  1696. Material = "Neon",
  1697. Color = C3(0, 1, 0),
  1698. SoundID = nil,
  1699. SoundPitch = nil,
  1700. SoundVolume = nil
  1701. })
  1702. end
  1703. end))
  1704. for i = 1, 75 do
  1705. Swait()
  1706. local ICICLE = IT("CornerWedgePart", Effects)
  1707. ICICLE.Locked = true
  1708. ICICLE.CanCollide = false
  1709. ICICLE.Anchored = true
  1710. ICICLE.Color = C3(0, 1, 0)
  1711. ICICLE.Material = "Neon"
  1712. ICICLE.Size = VT(i / 1.47, i * 2, i / 1.47)
  1713. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-ABSOLUTE.Size.X, ABSOLUTE.Size.X), 0, MRANDOM(-ABSOLUTE.Size.X / 1.5, ABSOLUTE.Size.X / 1.5)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  1714. table.insert(PITS, ICICLE)
  1715. killnearest(ICICLE.Position, ICICLE.Size.Y / 1.5, -100)
  1716. ABSOLUTE.Size = ABSOLUTE.Size * 1.03
  1717. killnearest(ABSOLUTE.Position, ABSOLUTE.Size.X / 1.9, -100)
  1718. for i = 1, 3 do
  1719. Slice("Thin", ABSOLUTE.Size.X / 20, 5, ABSOLUTE.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Lime green", VT(-0.01, 0, -0.01))
  1720. end
  1721. CreateWave(VT(ABSOLUTE.Size.X / 1.5, 35, ABSOLUTE.Size.X / 1.5), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), false, 0, C3(0, 1, 0), VT(i / 3, 0, i / 3))
  1722. end
  1723. ABSOLUTE.Transparency = 0
  1724. for i = 1, 10 do
  1725. Swait()
  1726. ABSOLUTE.Size = ABSOLUTE.Size * 0.9
  1727. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  1728. end
  1729. Debris:AddItem(ABSOLUTE, 5)
  1730. Swait(50)
  1731. for i = 1, 10 do
  1732. Swait()
  1733. for e = 1, #PITS do
  1734. if PITS[e] ~= nil then
  1735. local E = PITS[e]
  1736. E.Transparency = E.Transparency + 0.1
  1737. end
  1738. end
  1739. end
  1740. for e = 1, #PITS do
  1741. if PITS[e] ~= nil then
  1742. local E = PITS[e]
  1743. E:remove()
  1744. end
  1745. end
  1746. end))
  1747. ATTACK = false
  1748. Rooted = false
  1749. end
  1750. end
  1751. end
  1752. function Taunt()
  1753. ATTACK = true
  1754. Rooted = true
  1755. local ROAR = CreateSound("907329293", Head, 10, 0.82)
  1756. Swait()
  1757. repeat
  1758. Swait()
  1759. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1765. until ROAR.Playing == false
  1766. ATTACK = false
  1767. Rooted = false
  1768. end
  1769. function MouseDown(Mouse)
  1770. if ATTACK == false then
  1771. end
  1772. end
  1773. function MouseUp(Mouse)
  1774. HOLD = false
  1775. end
  1776. function KeyDown(Key)
  1777. KEYHOLD = true
  1778. if Key == "z" and ATTACK == false then
  1779. Glitch_Execute()
  1780. end
  1781. if Key == "f" and ATTACK == false then
  1782. Infected_Pain()
  1783. end
  1784. if Key == "c" and ATTACK == false then
  1785. Error_Fired()
  1786. end
  1787. if Key == "v" and ATTACK == false then
  1788. Coding_Inburst()
  1789. end
  1790. if Key == "x" and ATTACK == false then
  1791. GLITCH()
  1792. end
  1793. if Key == "q" and ATTACK == false then
  1794. Virus_Hop()
  1795. end
  1796. if Key == "g" and ATTACK == false then
  1797. INGLITCH()
  1798. end
  1799. if Key == "0" and ATTACK == false then
  1800. CLEAREVERYTHING()
  1801. end
  1802. if Key == "p" and ATTACK == false then
  1803. THE_END()
  1804. end
  1805. if Key == "t" and ATTACK == false then
  1806. Taunt()
  1807. end
  1808. end
  1809. function KeyUp(Key)
  1810. KEYHOLD = false
  1811. end
  1812. Mouse.Button1Down:connect(function(NEWKEY)
  1813. MouseDown(NEWKEY)
  1814. end)
  1815. Mouse.Button1Up:connect(function(NEWKEY)
  1816. MouseUp(NEWKEY)
  1817. end)
  1818. Mouse.KeyDown:connect(function(NEWKEY)
  1819. KeyDown(NEWKEY)
  1820. end)
  1821. Mouse.KeyUp:connect(function(NEWKEY)
  1822. KeyUp(NEWKEY)
  1823. end)
  1824. function unanchor()
  1825. if UNANCHOR == true then
  1826. g = Character:GetChildren()
  1827. for i = 1, #g do
  1828. if g[i].ClassName == "Part" then
  1829. g[i].Anchored = false
  1830. end
  1831. end
  1832. end
  1833. end
  1834. function refit()
  1835. RootJoint.Parent = RootPart
  1836. Neck.Parent = Torso
  1837. RightShoulder.Parent = Torso
  1838. LeftShoulder.Parent = Torso
  1839. RightHip.Parent = Torso
  1840. LeftHip.Parent = Torso
  1841. RootPart.Parent = Character
  1842. LeftArm.Parent = Character
  1843. RightArm.Parent = Character
  1844. RightLeg.Parent = Character
  1845. LeftLeg.Parent = Character
  1846. Torso.Parent = Character
  1847. Head.Parent = Character
  1848. end
  1849. Humanoid.Changed:connect(function(Jump)
  1850. if Jump == "Jump" and Disable_Jump == true then
  1851. Humanoid.Jump = false
  1852. end
  1853. end)
  1854. Humanoid.HipHeight = 2.2
  1855. Head:ClearAllChildren()
  1856. local FF = IT("ForceField", Character)
  1857. FF.Visible = false
  1858. Speed = 67
  1859. while true do
  1860. Swait()
  1861. ANIMATE.Parent = nil
  1862. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1863. IDLEANIMATION:Play()
  1864. SINE = SINE + CHANGE
  1865. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1866. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1867. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1868. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1869. if ATTACK == false then
  1870. if TORSOVELOCITY < 1 then
  1871. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1872. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1873. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1874. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1875. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1876. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1877. elseif TORSOVELOCITY > 1 then
  1878. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1882. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1884. end
  1885. end
  1886. if VALUE2 == false then
  1887. Slice("Thin", 0.1, 5, RightArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 1, 0), VT(-0.01, 0, -0.01))
  1888. Slice("Thin", 0.1, 5, LeftArm.CFrame * CF(0, -1.1, 0) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 1, 0), VT(-0.01, 0, -0.01))
  1889. end
  1890. unanchor()
  1891. Humanoid.MaxHealth = "inf"
  1892. Humanoid.Health = "inf"
  1893. if Rooted == false then
  1894. Disable_Jump = false
  1895. Humanoid.WalkSpeed = Speed
  1896. elseif Rooted == true then
  1897. Disable_Jump = true
  1898. Humanoid.WalkSpeed = 0
  1899. end
  1900. SKILL1FRAME.Rotation = MRANDOM(-15,15)/2.5
  1901. SKILL2FRAME.Rotation = MRANDOM(-15,15)/2.5
  1902. SKILL3FRAME.Rotation = MRANDOM(-15,15)/2.5
  1903. SKILL4FRAME.Rotation = MRANDOM(-15,15)/2.5
  1904. SKILL5FRAME.Rotation = MRANDOM(-15,15)/2.5
  1905. SKILL6FRAME.Rotation = MRANDOM(-15,15)/2.5
  1906. SKILL7FRAME.Rotation = MRANDOM(-15,15)/2.5
  1907. SKILLEFRAME.Rotation = MRANDOM(-15,15)/2.5
  1908. for _, c in pairs(Character:GetChildren()) do
  1909. if c.ClassName == "Part" then
  1910. c.Material = "Neon"
  1911. if c:FindFirstChildOfClass("ParticleEmitter") then
  1912. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1913. end
  1914. if c == Torso then
  1915. c.Color = C3(0,255,0)
  1916. elseif c == RightArm then
  1917. c.Color = C3(0,1,0)
  1918. elseif c == LeftArm then
  1919. c.Color = C3(0,1,0)
  1920. elseif c == RightLeg then
  1921. c.Color = C3(0,1,0)
  1922. elseif c == LeftLeg then
  1923. c.Color = C3(0,1,0)
  1924. elseif c == Head then
  1925. if c:FindFirstChild("Dominus") == nil then
  1926. local M = CreateMesh("SpecialMesh", c, "FileMesh", "1484150894", "1484150902", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  1927. M.Name = "Dominus"
  1928. end
  1929. if c:FindFirstChild("face") then
  1930. c.face:remove()
  1931. end
  1932. end
  1933. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1934. c:remove()
  1935. end
  1936. end
  1937. FF.Parent = Character
  1938. refit()
  1939. script.Parent = WEAPONGUI
  1940. Character.Parent = workspace
  1941. Humanoid.PlatformStand = false
  1942. Humanoid.Name = "Dominus Messor"
  1943. for _, c in pairs(game.Players:GetChildren()) do
  1944. if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1945. c.Character:BreakJoints()
  1946. end
  1947. end
  1948. Humanoid.DisplayDistanceType = "None"
  1949. end
Add Comment
Please, Sign In to add comment