Advertisement
Guest User

Untitled

a guest
Apr 27th, 2019
2,332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.05 KB | None | 0 0
  1.  
  2. local sick = Instance.new("Sound",Torso)
  3. --//======================================================\\--
  4. --|| CREATED BY SHACKLUSTER, EDITED BANISHER v3 BY MATHIA
  5. --\\======================================================//--
  6.  
  7.  
  8. script:ClearAllChildren()
  9. wait(0.2)
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. sick.Parent = Torso
  32. local TIME = 0
  33.  
  34. m = game:GetService("Players").LocalPlayer
  35. char = m.Character
  36. local txt = Instance.new("BillboardGui", char)
  37. txt.Adornee = char.Head
  38. txt.Name = "_status"
  39. txt.Size = UDim2.new(2, 0, 1.2, 0)
  40. txt.StudsOffset = Vector3.new(-9, 8, 0)
  41. local text = Instance.new("TextLabel", txt)
  42. text.Size = UDim2.new(10, 0, 7, 0)
  43. text.FontSize = "Size24"
  44. text.TextScaled = false
  45. text.TextTransparency = 0
  46. text.BackgroundTransparency = 1
  47. text.TextTransparency = 0
  48. text.TextColor3 = Color3.new(0,0,0)
  49. text.TextStrokeTransparency = 0
  50. text.Font = "SciFi"
  51. text.TextStrokeColor3 = Color3.new(0,1,1)
  52. text.Text = "NEON GUNNER"
  53.  
  54. IT = Instance.new
  55. CF = CFrame.new
  56. VT = Vector3.new
  57. RAD = math.rad
  58. C3 = Color3.new
  59. UD2 = UDim2.new
  60. BRICKC = BrickColor.new
  61. ANGLES = CFrame.Angles
  62. EULER = CFrame.fromEulerAnglesXYZ
  63. COS = math.cos
  64. ACOS = math.acos
  65. SIN = math.sin
  66. ASIN = math.asin
  67. ABS = math.abs
  68. MRANDOM = math.random
  69. FLOOR = math.floor
  70.  
  71. --//=================================\\
  72. --|| USEFUL VALUES
  73. --\\=================================//
  74.  
  75. Animation_Speed = 3
  76. local FORCERESET = false
  77. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  78. local Speed = 16
  79. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  80. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  81. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  82. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  83. local DAMAGEMULTIPLIER = 1
  84. local ANIM = "Idle"
  85. local ATTACK = false
  86. local EQUIPPED = false
  87. local HOLD = false
  88. local COMBO = 1
  89. local Rooted = false
  90. local SINE = 0
  91. local SIZE = 0
  92. local KEYHOLD = false
  93. local CHANGE = 2 / Animation_Speed
  94. local WALKINGANIM = false
  95. local VALUE1 = false
  96. local VALUE2 = false
  97. local ROBLOXIDLEANIMATION = IT("Animation")
  98. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  99. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  100. --ROBLOXIDLEANIMATION.Parent = Humanoid
  101. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  102. WEAPONGUI.Name = "BanishV3Gui"
  103. local Weapon = IT("Model")
  104. Weapon.Name = "Adds"
  105. local Effects = IT("Folder", Weapon)
  106. Effects.Name = "Effects"
  107. local Weapon2 = IT("Model")
  108. Weapon2Name = "Adds"
  109. local Effects2 = IT("Folder", Weapon2)
  110. Effects2.Name = "Effects"
  111. local ANIMATOR = Humanoid.Animator
  112. local ANIMATE = Character:FindFirstChild("Animate")
  113. local UNANCHOR = true
  114. local TOBANISH = {}
  115. script.Parent = PlayerGui
  116.  
  117. --//=================================\\
  118. --\\=================================//
  119.  
  120.  
  121. --//=================================\\
  122. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  123. --\\=================================//
  124.  
  125. ArtificialHB = Instance.new("BindableEvent", script)
  126. ArtificialHB.Name = "ArtificialHB"
  127.  
  128. script:WaitForChild("ArtificialHB")
  129.  
  130. frame = Frame_Speed
  131. tf = 0
  132. allowframeloss = false
  133. tossremainder = false
  134. lastframe = tick()
  135. script.ArtificialHB:Fire()
  136.  
  137. game:GetService("RunService").Heartbeat:connect(function(s, p)
  138. tf = tf + s
  139. if tf >= frame then
  140. if allowframeloss then
  141. script.ArtificialHB:Fire()
  142. lastframe = tick()
  143. else
  144. for i = 1, math.floor(tf / frame) do
  145. script.ArtificialHB:Fire()
  146. end
  147. lastframe = tick()
  148. end
  149. if tossremainder then
  150. tf = 0
  151. else
  152. tf = tf - frame * math.floor(tf / frame)
  153. end
  154. end
  155. end)
  156.  
  157. --//=================================\\
  158. --\\=================================//
  159.  
  160. --//=================================\\
  161. --|| SOME FUNCTIONS
  162. --\\=================================//
  163.  
  164. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  165. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  166. end
  167.  
  168. local Create = LoadLibrary("RbxUtility").Create
  169.  
  170. function RemoveOutlines(part)
  171. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  172. end
  173.  
  174. CFuncs = {
  175. ["Part"] = {
  176. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  177. local Part = Create("Part"){
  178. Parent = Parent,
  179. Reflectance = Reflectance,
  180. Transparency = Transparency,
  181. CanCollide = false,
  182. Locked = true,
  183. BrickColor = BrickColor.new(tostring(BColor)),
  184. Name = Name,
  185. Size = Size,
  186. Material = Material,
  187. }
  188. RemoveOutlines(Part)
  189. return Part
  190. end;
  191. };
  192.  
  193. ["Mesh"] = {
  194. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  195. local Msh = Create(Mesh){
  196. Parent = Part,
  197. Offset = OffSet,
  198. Scale = Scale,
  199. }
  200. if Mesh == "SpecialMesh" then
  201. Msh.MeshType = MeshType
  202. Msh.MeshId = MeshId
  203. end
  204. return Msh
  205. end;
  206. };
  207.  
  208. ["Mesh"] = {
  209. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  210. local Msh = Create(Mesh){
  211. Parent = Part,
  212. Offset = OffSet,
  213. Scale = Scale,
  214. }
  215. if Mesh == "SpecialMesh" then
  216. Msh.MeshType = MeshType
  217. Msh.MeshId = MeshId
  218. end
  219. return Msh
  220. end;
  221. };
  222.  
  223. ["Weld"] = {
  224. Create = function(Parent, Part0, Part1, C0, C1)
  225. local Weld = Create("Weld"){
  226. Parent = Parent,
  227. Part0 = Part0,
  228. Part1 = Part1,
  229. C0 = C0,
  230. C1 = C1,
  231. }
  232. return Weld
  233. end;
  234. };
  235.  
  236. ["Sound"] = {
  237. Create = function(id, par, vol, pit)
  238. coroutine.resume(coroutine.create(function()
  239. local S = Create("Sound"){
  240. Volume = vol,
  241. Name = "EffectSoundo",
  242. Pitch = pit or 1,
  243. SoundId = id,
  244. Parent = par or workspace,
  245. }
  246. wait()
  247. S:play()
  248. game:GetService("Debris"):AddItem(S, 10)
  249. end))
  250. end;
  251. };
  252.  
  253. ["TimeSound"] = {
  254. Create = function(id, par, vol, pit, timepos)
  255. coroutine.resume(coroutine.create(function()
  256. local S = Create("Sound"){
  257. Volume = vol,
  258. Name = "EffectSoundo",
  259. Pitch = pit or 1,
  260. SoundId = id,
  261. TimePosition = timepos,
  262. Parent = par or workspace,
  263. }
  264. wait()
  265. S:play()
  266. game:GetService("Debris"):AddItem(S, 10)
  267. end))
  268. end;
  269. };
  270. ["EchoSound"] = {
  271. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  272. coroutine.resume(coroutine.create(function()
  273. local Sas = Create("Sound"){
  274. Volume = vol,
  275. Name = "EffectSoundo",
  276. Pitch = pit or 1,
  277. SoundId = id,
  278. TimePosition = timepos,
  279. Parent = par or workspace,
  280. }
  281. local E = Create("EchoSoundEffect"){
  282. Delay = echodelay,
  283. Name = "Echo",
  284. Feedback = fedb,
  285. DryLevel = dryl,
  286. Parent = Sas,
  287. }
  288. wait()
  289. Sas:play()
  290. game:GetService("Debris"):AddItem(Sas, delays)
  291. end))
  292. end;
  293. };
  294.  
  295. ["LongSound"] = {
  296. Create = function(id, par, vol, pit)
  297. coroutine.resume(coroutine.create(function()
  298. local S = Create("Sound"){
  299. Volume = vol,
  300. Pitch = pit or 1,
  301. SoundId = id,
  302. Parent = par or workspace,
  303. }
  304. wait()
  305. S:play()
  306. game:GetService("Debris"):AddItem(S, 60)
  307. end))
  308. end;
  309. };
  310.  
  311. ["ParticleEmitter"] = {
  312. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  313. local fp = Create("ParticleEmitter"){
  314. Parent = Parent,
  315. Color = ColorSequence.new(Color1, Color2),
  316. LightEmission = LightEmission,
  317. Size = Size,
  318. Texture = Texture,
  319. Transparency = Transparency,
  320. ZOffset = ZOffset,
  321. Acceleration = Accel,
  322. Drag = Drag,
  323. LockedToPart = LockedToPart,
  324. VelocityInheritance = VelocityInheritance,
  325. EmissionDirection = EmissionDirection,
  326. Enabled = Enabled,
  327. Lifetime = LifeTime,
  328. Rate = Rate,
  329. Rotation = Rotation,
  330. RotSpeed = RotSpeed,
  331. Speed = Speed,
  332. VelocitySpread = VelocitySpread,
  333. }
  334. return fp
  335. end;
  336. };
  337.  
  338. CreateTemplate = {
  339.  
  340. };
  341. }
  342.  
  343. function PositiveAngle(NUMBER)
  344. if NUMBER >= 0 then
  345. NUMBER = 0
  346. end
  347. return NUMBER
  348. end
  349.  
  350. function NegativeAngle(NUMBER)
  351. if NUMBER <= 0 then
  352. NUMBER = 0
  353. end
  354. return NUMBER
  355. end
  356.  
  357. function Swait(NUMBER)
  358. if NUMBER == 0 or NUMBER == nil then
  359. ArtificialHB.Event:wait()
  360. else
  361. for i = 1, NUMBER do
  362. ArtificialHB.Event:wait()
  363. end
  364. end
  365. end
  366.  
  367. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  368. local NEWMESH = IT(MESH)
  369. if MESH == "SpecialMesh" then
  370. NEWMESH.MeshType = MESHTYPE
  371. if MESHID ~= "nil" and MESHID ~= "" then
  372. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  373. end
  374. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  375. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  376. end
  377. end
  378. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  379. NEWMESH.Scale = SCALE
  380. NEWMESH.Parent = PARENT
  381. return NEWMESH
  382. end
  383.  
  384. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  385. local NEWPART = IT("Part")
  386. NEWPART.formFactor = FORMFACTOR
  387. NEWPART.Reflectance = REFLECTANCE
  388. NEWPART.Transparency = TRANSPARENCY
  389. NEWPART.CanCollide = false
  390. NEWPART.Locked = true
  391. NEWPART.Anchored = true
  392. if ANCHOR == false then
  393. NEWPART.Anchored = false
  394. end
  395. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  396. NEWPART.Name = NAME
  397. NEWPART.Size = SIZE
  398. NEWPART.Position = Torso.Position
  399. NEWPART.Material = MATERIAL
  400. NEWPART:BreakJoints()
  401. NEWPART.Parent = PARENT
  402. return NEWPART
  403. end
  404.  
  405. local function weldBetween(a, b)
  406. local weldd = Instance.new("ManualWeld")
  407. weldd.Part0 = a
  408. weldd.Part1 = b
  409. weldd.C0 = CFrame.new()
  410. weldd.C1 = b.CFrame:inverse() * a.CFrame
  411. weldd.Parent = a
  412. return weldd
  413. end
  414.  
  415.  
  416. function QuaternionFromCFrame(cf)
  417. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  418. local trace = m00 + m11 + m22
  419. if trace > 0 then
  420. local s = math.sqrt(1 + trace)
  421. local recip = 0.5 / s
  422. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  423. else
  424. local i = 0
  425. if m11 > m00 then
  426. i = 1
  427. end
  428. if m22 > (i == 0 and m00 or m11) then
  429. i = 2
  430. end
  431. if i == 0 then
  432. local s = math.sqrt(m00 - m11 - m22 + 1)
  433. local recip = 0.5 / s
  434. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  435. elseif i == 1 then
  436. local s = math.sqrt(m11 - m22 - m00 + 1)
  437. local recip = 0.5 / s
  438. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  439. elseif i == 2 then
  440. local s = math.sqrt(m22 - m00 - m11 + 1)
  441. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  442. end
  443. end
  444. end
  445.  
  446. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  447. local xs, ys, zs = x + x, y + y, z + z
  448. local wx, wy, wz = w * xs, w * ys, w * zs
  449. local xx = x * xs
  450. local xy = x * ys
  451. local xz = x * zs
  452. local yy = y * ys
  453. local yz = y * zs
  454. local zz = z * zs
  455. 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))
  456. end
  457.  
  458. function QuaternionSlerp(a, b, t)
  459. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  460. local startInterp, finishInterp;
  461. if cosTheta >= 0.0001 then
  462. if (1 - cosTheta) > 0.0001 then
  463. local theta = ACOS(cosTheta)
  464. local invSinTheta = 1 / SIN(theta)
  465. startInterp = SIN((1 - t) * theta) * invSinTheta
  466. finishInterp = SIN(t * theta) * invSinTheta
  467. else
  468. startInterp = 1 - t
  469. finishInterp = t
  470. end
  471. else
  472. if (1 + cosTheta) > 0.0001 then
  473. local theta = ACOS(-cosTheta)
  474. local invSinTheta = 1 / SIN(theta)
  475. startInterp = SIN((t - 1) * theta) * invSinTheta
  476. finishInterp = SIN(t * theta) * invSinTheta
  477. else
  478. startInterp = t - 1
  479. finishInterp = t
  480. end
  481. end
  482. 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
  483. end
  484.  
  485. function Clerp(a, b, t)
  486. local qa = {QuaternionFromCFrame(a)}
  487. local qb = {QuaternionFromCFrame(b)}
  488. local ax, ay, az = a.x, a.y, a.z
  489. local bx, by, bz = b.x, b.y, b.z
  490. local _t = 1 - t
  491. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  492. end
  493.  
  494. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  495. local frame = IT("Frame")
  496. frame.BackgroundTransparency = TRANSPARENCY
  497. frame.BorderSizePixel = BORDERSIZEPIXEL
  498. frame.Position = POSITION
  499. frame.Size = SIZE
  500. frame.BackgroundColor3 = COLOR
  501. frame.BorderColor3 = BORDERCOLOR
  502. frame.Name = NAME
  503. frame.Parent = PARENT
  504. return frame
  505. end
  506.  
  507. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  508. local label = IT("TextLabel")
  509. label.BackgroundTransparency = 1
  510. label.Size = UD2(1, 0, 1, 0)
  511. label.Position = UD2(0, 0, 0, 0)
  512. label.TextColor3 = TEXTCOLOR
  513. label.TextStrokeTransparency = STROKETRANSPARENCY
  514. label.TextTransparency = TRANSPARENCY
  515. label.FontSize = TEXTFONTSIZE
  516. label.Font = TEXTFONT
  517. label.BorderSizePixel = BORDERSIZEPIXEL
  518. label.TextScaled = false
  519. label.Text = TEXT
  520. label.Name = NAME
  521. label.Parent = PARENT
  522. return label
  523. end
  524.  
  525. function NoOutlines(PART)
  526. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  527. end
  528.  
  529. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  530. local NEWWELD = IT(TYPE)
  531. NEWWELD.Part0 = PART0
  532. NEWWELD.Part1 = PART1
  533. NEWWELD.C0 = C0
  534. NEWWELD.C1 = C1
  535. NEWWELD.Parent = PARENT
  536. return NEWWELD
  537. end
  538.  
  539. local S = IT("Sound")
  540. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  541. local NEWSOUND = nil
  542. coroutine.resume(coroutine.create(function()
  543. NEWSOUND = S:Clone()
  544. NEWSOUND.Parent = PARENT
  545. NEWSOUND.Volume = VOLUME
  546. NEWSOUND.Pitch = PITCH
  547. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  548. NEWSOUND:play()
  549. if DOESLOOP == true then
  550. NEWSOUND.Looped = true
  551. else
  552. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  553. NEWSOUND:remove()
  554. end
  555. end))
  556. return NEWSOUND
  557. end
  558.  
  559. function CFrameFromTopBack(at, top, back)
  560. local right = top:Cross(back)
  561. 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)
  562. end
  563.  
  564. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  565. local type = type
  566. local rng = Instance.new("Part", Character)
  567. rng.Anchored = true
  568. if ModeOfGlitch ~= 9 then
  569. rng.BrickColor = color
  570. elseif ModeOfGlitch == 9 then
  571. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  572. end
  573. rng.CanCollide = false
  574. rng.FormFactor = 3
  575. rng.Name = "Ring"
  576. rng.Material = "Neon"
  577. rng.Size = Vector3.new(1, 1, 1)
  578. rng.Transparency = 0
  579. rng.TopSurface = 0
  580. rng.BottomSurface = 0
  581. rng.CFrame = pos
  582. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  583. local rngm = Instance.new("SpecialMesh", rng)
  584. rngm.MeshType = "Sphere"
  585. rngm.Scale = VT(x1,y1,z1)
  586. if rainbowmode == true then
  587. rng.Color = Color3.new(r/255,g/255,b/255)
  588. end
  589. if ModeOfGlitch == 9 then
  590. coroutine.resume(coroutine.create(function()
  591. while true do
  592. Swait()
  593. if rng.Parent ~= nil then
  594. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  595. else
  596. break
  597. end
  598. end
  599. end))
  600. end
  601. local scaler2 = 1
  602. local speeder = FastSpeed
  603. if type == "Add" then
  604. scaler2 = 1*value
  605. elseif type == "Divide" then
  606. scaler2 = 1/value
  607. end
  608. coroutine.resume(coroutine.create(function()
  609. for i = 0,10/bonuspeed,0.1 do
  610. Swait()
  611. if rainbowmode == true then
  612. rng.Color = Color3.new(r/255,g/255,b/255)
  613. end
  614. if type == "Add" then
  615. scaler2 = scaler2 - 0.01*value/bonuspeed
  616. elseif type == "Divide" then
  617. scaler2 = scaler2 - 0.01/value*bonuspeed
  618. end
  619. if chaosmode == true then
  620. rng.BrickColor = BrickColor.random()
  621. end
  622. speeder = speeder - 0.01*FastSpeed*bonuspeed
  623. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  624. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  625. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  626. end
  627. rng:Destroy()
  628. end))
  629. end
  630.  
  631. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  632. local type = type
  633. local rng = Instance.new("Part", char)
  634. rng.Anchored = true
  635. if ModeOfGlitch ~= 9 then
  636. rng.BrickColor = color
  637. elseif ModeOfGlitch == 9 then
  638. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  639. end
  640. rng.CanCollide = false
  641. rng.FormFactor = 3
  642. rng.Name = "Ring"
  643. rng.Material = "Neon"
  644. rng.Size = Vector3.new(1, 1, 1)
  645. rng.Transparency = 1
  646. rng.TopSurface = 0
  647. rng.BottomSurface = 0
  648. rng.CFrame = pos
  649. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  650. local rngm = Instance.new("SpecialMesh", rng)
  651. rngm.MeshType = "Sphere"
  652. rngm.Scale = vt(x1,y1,z1)
  653. if rainbowmode == true then
  654. rng.Color = Color3.new(r/255,g/255,b/255)
  655. end
  656. if ModeOfGlitch == 9 then
  657. coroutine.resume(coroutine.create(function()
  658. while true do
  659. swait()
  660. if rng.Parent ~= nil then
  661. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  662. else
  663. break
  664. end
  665. end
  666. end))
  667. end
  668. local scaler2 = 1
  669. local speeder = FastSpeed
  670. if type == "Add" then
  671. scaler2 = 1*value
  672. elseif type == "Divide" then
  673. scaler2 = 1/value
  674. end
  675. coroutine.resume(coroutine.create(function()
  676. for i = 0,10/bonuspeed,0.1 do
  677. swait()
  678. if rainbowmode == true then
  679. rng.Color = Color3.new(r/255,g/255,b/255)
  680. end
  681. if type == "Add" then
  682. scaler2 = scaler2 - 0.01*value/bonuspeed
  683. elseif type == "Divide" then
  684. scaler2 = scaler2 - 0.01/value*bonuspeed
  685. end
  686. if chaosmode == true then
  687. rng.BrickColor = BrickColor.random()
  688. end
  689. speeder = speeder - 0.01*FastSpeed*bonuspeed
  690. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  691. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  692. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  693. end
  694. rng:Destroy()
  695. end))
  696. end
  697.  
  698. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  699. local type = type
  700. local rotenable = rotatingop
  701. local rng = Instance.new("Part", Character)
  702. rng.Anchored = true
  703. rng.BrickColor = color
  704. rng.CanCollide = false
  705. rng.FormFactor = 3
  706. rng.Name = "Ring"
  707. rng.Material = "Neon"
  708. rng.Size = Vector3.new(1, 1, 1)
  709. rng.Transparency = 0
  710. if typeoftrans == "In" then
  711. rng.Transparency = 1
  712. end
  713. rng.TopSurface = 0
  714. rng.BottomSurface = 0
  715. rng.CFrame = pos
  716. local rngm = Instance.new("SpecialMesh", rng)
  717. rngm.MeshType = "FileMesh"
  718. if typeofshape == "Normal" then
  719. rngm.MeshId = "rbxassetid://662586858"
  720. elseif typeofshape == "Round" then
  721. rngm.MeshId = "rbxassetid://662585058"
  722. end
  723. rngm.Scale = scale
  724. local scaler2 = 1/10
  725. if type == "Add" then
  726. scaler2 = 1*value/10
  727. elseif type == "Divide" then
  728. scaler2 = 1/value/10
  729. end
  730. local randomrot = math.random(1,2)
  731. coroutine.resume(coroutine.create(function()
  732. for i = 0,10/bonuspeed,0.1 do
  733. Swait()
  734. if type == "Add" then
  735. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  736. elseif type == "Divide" then
  737. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  738. end
  739. if rotenable == true then
  740. if randomrot == 1 then
  741. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  742. elseif randomrot == 2 then
  743. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  744. end
  745. end
  746. if typeoftrans == "Out" then
  747. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  748. elseif typeoftrans == "In" then
  749. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  750. end
  751. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  752. end
  753. rng:Destroy()
  754. end))
  755. end
  756.  
  757. --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})
  758. function WACKYEFFECT(Table)
  759. local TYPE = (Table.EffectType or "Sphere")
  760. local SIZE = (Table.Size or VT(1,1,1))
  761. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  762. local TRANSPARENCY = (Table.Transparency or 0)
  763. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  764. local CFRAME = (Table.CFrame or Torso.CFrame)
  765. local MOVEDIRECTION = (Table.MoveToPos or nil)
  766. local ROTATION1 = (Table.RotationX or 0)
  767. local ROTATION2 = (Table.RotationY or 0)
  768. local ROTATION3 = (Table.RotationZ or 0)
  769. local MATERIAL = (Table.Material or "Neon")
  770. local COLOR = (Table.Color or C3(1,1,1))
  771. local TIME = (Table.Time or 45)
  772. local SOUNDID = (Table.SoundID or nil)
  773. local SOUNDPITCH = (Table.SoundPitch or nil)
  774. local SOUNDVOLUME = (Table.SoundVolume or nil)
  775. coroutine.resume(coroutine.create(function()
  776. local PLAYSSOUND = false
  777. local SOUND = nil
  778. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  779. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  780. PLAYSSOUND = true
  781. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  782. end
  783. EFFECT.Color = COLOR
  784. local MSH = nil
  785. if TYPE == "Sphere" then
  786. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  787. elseif TYPE == "Block" then
  788. MSH = IT("BlockMesh",EFFECT)
  789. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  790. elseif TYPE == "Wave" then
  791. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  792. elseif TYPE == "Ring" then
  793. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  794. elseif TYPE == "Slash" then
  795. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  796. elseif TYPE == "Round Slash" then
  797. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  798. elseif TYPE == "Swirl" then
  799. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  800. elseif TYPE == "Skull" then
  801. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  802. elseif TYPE == "Crystal" then
  803. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  804. end
  805. if MSH ~= nil then
  806. local MOVESPEED = nil
  807. if MOVEDIRECTION ~= nil then
  808. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  809. end
  810. local GROWTH = SIZE - ENDSIZE
  811. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  812. if TYPE == "Block" then
  813. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  814. else
  815. EFFECT.CFrame = CFRAME
  816. end
  817. for LOOP = 1, TIME+1 do
  818. Swait()
  819. MSH.Scale = MSH.Scale - GROWTH/TIME
  820. if TYPE == "Wave" then
  821. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  822. end
  823. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  824. if TYPE == "Block" then
  825. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  826. else
  827. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  828. end
  829. if MOVEDIRECTION ~= nil then
  830. local ORI = EFFECT.Orientation
  831. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  832. EFFECT.Orientation = ORI
  833. end
  834. end
  835. if PLAYSSOUND == false then
  836. EFFECT:remove()
  837. else
  838. SOUND.Stopped:Connect(function()
  839. EFFECT:remove()
  840. end)
  841. end
  842. else
  843. if PLAYSSOUND == false then
  844. EFFECT:remove()
  845. else
  846. repeat Swait() until SOUND.Playing == false
  847. EFFECT:remove()
  848. end
  849. end
  850. end))
  851. end
  852.  
  853. function MakeForm(PART,TYPE)
  854. if TYPE == "Cyl" then
  855. local MSH = IT("CylinderMesh",PART)
  856. elseif TYPE == "Ball" then
  857. local MSH = IT("SpecialMesh",PART)
  858. MSH.MeshType = "Sphere"
  859. elseif TYPE == "Wedge" then
  860. local MSH = IT("SpecialMesh",PART)
  861. MSH.MeshType = "Wedge"
  862. end
  863. end
  864.  
  865. function SpawnTrail(FROM,TO,BIG)
  866. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  867. MakeForm(TRAIL,"Cyl")
  868. local DIST = (FROM - TO).Magnitude
  869. if BIG == true then
  870. TRAIL.Size = VT(0.5,DIST,0.5)
  871. else
  872. TRAIL.Size = VT(0.25,DIST,0.25)
  873. end
  874. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  875. coroutine.resume(coroutine.create(function()
  876. for i = 1, 5 do
  877. Swait()
  878. TRAIL.Transparency = TRAIL.Transparency + 0.1
  879. end
  880. TRAIL:remove()
  881. end))
  882. end
  883.  
  884. Debris = game:GetService("Debris")
  885.  
  886. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  887. local DIRECTION = CF(StartPos,EndPos).lookVector
  888. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  889. end
  890.  
  891. function turnto(position)
  892. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  893. end
  894.  
  895. --//=================================\\
  896. --|| WEAPON CREATION
  897. --\\=================================//
  898.  
  899. local Particle = IT("ParticleEmitter",nil)
  900. Particle.Enabled = false
  901. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  902. Particle.LightEmission = 0.5
  903. Particle.Rate = 150
  904. Particle.ZOffset = 0.2
  905. Particle.Rotation = NumberRange.new(-180, 180)
  906. Particle.RotSpeed = NumberRange.new(-180, 180)
  907. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  908. Particle.Color = ColorSequence.new(C3(0,1,1),C3(0.4,0,0))
  909.  
  910. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  911. function ParticleEmitter(Table)
  912. local PRTCL = Particle:Clone()
  913. local Speed = Table.Speed or 5
  914. local Drag = Table.Drag or 0
  915. local Size1 = Table.Size1 or 1
  916. local Size2 = Table.Size2 or 5
  917. local Lifetime1 = Table.Lifetime1 or 1
  918. local Lifetime2 = Table.Lifetime2 or 1.5
  919. local Parent = Table.Parent or Torso
  920. local Emit = Table.Emit or 100
  921. local Offset = Table.Offset or 360
  922. local Acel = Table.Acel or VT(0,0,0)
  923. local Enabled = Table.Enabled or false
  924. PRTCL.Parent = Parent
  925. PRTCL.Size = NumberSequence.new(Size1,Size2)
  926. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  927. PRTCL.Speed = NumberRange.new(Speed)
  928. PRTCL.VelocitySpread = Offset
  929. PRTCL.Drag = Drag
  930. PRTCL.Acceleration = Acel
  931. if Enabled == false then
  932. PRTCL:Emit(Emit)
  933. Debris:AddItem(PRTCL,Lifetime2)
  934. else
  935. PRTCL.Enabled = true
  936. end
  937. return PRTCL
  938. end
  939.  
  940.  
  941.  
  942. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  943. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  944. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  945. MakeForm(Part,"Wedge")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  948. MakeForm(Part,"Wedge")
  949. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  950. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  951. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  955. MakeForm(Part,"Cyl")
  956. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  957. for i = 1, 8 do
  958. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  959. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  960. end
  961. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  962. MakeForm(Part,"Cyl")
  963. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  964. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  965. MakeForm(Part,"Ball")
  966. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  967. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  968. MakeForm(Part,"Wedge")
  969. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  970. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  972. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  973. MakeForm(Part,"Cyl")
  974. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  975. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  976. MakeForm(Part,"Cyl")
  977. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  978. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  979. MakeForm(Part,"Cyl")
  980. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  981. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  982. MakeForm(Part,"Wedge")
  983. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  984. local LASTPART = Handle
  985. for i = 1, 10 do
  986. if LASTPART == Handle then
  987. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  988. LASTPART = Part
  989. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  990. else
  991. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  992. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  993. LASTPART = Part
  994. end
  995. end
  996.  
  997. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  998. MakeForm(Barrel,"Cyl")
  999. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1000. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1001. MakeForm(Part,"Cyl")
  1002. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1003. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1004. MakeForm(Part,"Wedge")
  1005. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1006. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1007. MakeForm(Hole,"Cyl")
  1008. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1009. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1010. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1011. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1012. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1013. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1014. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1015. coroutine.resume(coroutine.create(function()
  1016. while wait() do
  1017. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1018. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1019. end
  1020. end))
  1021.  
  1022. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1023. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1024.  
  1025. for _, c in pairs(Weapon:GetDescendants()) do
  1026. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1027. c.Material = "Glass"
  1028. c.Color = C3(0,0,0)
  1029. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1030. c.Color = C3(0,1,1)
  1031. c.Material = "Neon"
  1032. end
  1033. end
  1034.  
  1035. Weapon.Parent = Character
  1036. for _, c in pairs(Weapon:GetChildren()) do
  1037. if c.ClassName == "Part" then
  1038. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1039. end
  1040. end
  1041.  
  1042. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1043. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1044. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1045. MakeForm(Part,"Wedge")
  1046. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1047. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1048. MakeForm(Part,"Wedge")
  1049. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1050. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1051. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1052. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1053. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1054. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1055. MakeForm(Part,"Cyl")
  1056. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1057. for i = 1, 8 do
  1058. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1059. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1060. end
  1061. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1062. MakeForm(Part,"Cyl")
  1063. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1064. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1065. MakeForm(Part,"Ball")
  1066. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1067. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1068. MakeForm(Part,"Wedge")
  1069. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1070. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1071. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1072. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1073. MakeForm(Part,"Cyl")
  1074. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1075. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1076. MakeForm(Part,"Cyl")
  1077. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1078. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1079. MakeForm(Part,"Cyl")
  1080. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1081. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1082. MakeForm(Part,"Wedge")
  1083. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1084. local LASTPART = Handle
  1085. for i = 1, 10 do
  1086. if LASTPART == Handle then
  1087. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1088. LASTPART = Part
  1089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1090. else
  1091. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1093. LASTPART = Part
  1094. end
  1095. end
  1096.  
  1097. local Barrel2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1098. MakeForm(Barrel2,"Cyl")
  1099. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1100. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1101. MakeForm(Part,"Cyl")
  1102. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1103. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1104. MakeForm(Part,"Wedge")
  1105. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1106. local Hole2 = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1107. MakeForm(Hole2,"Cyl")
  1108. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1109. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1110. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1111. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1112. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1113. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1114. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1115. coroutine.resume(coroutine.create(function()
  1116. while wait() do
  1117. GEARWELD3.C0 = GEARWELD3.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1118. GEARWELD4.C0 = GEARWELD4.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1119. end
  1120. end))
  1121.  
  1122. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1123. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1124.  
  1125. for _, c in pairs(Weapon2:GetDescendants()) do
  1126. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1127. c.Material = "Glass"
  1128. c.Color = C3(0,0,0)
  1129. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1130. c.Color = C3(0,1,1)
  1131. c.Material = "Neon"
  1132. end
  1133. end
  1134.  
  1135. Weapon2.Parent = Character
  1136. for _, c in pairs(Weapon2:GetChildren()) do
  1137. if c.ClassName == "Part" then
  1138. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1139. end
  1140. end
  1141.  
  1142. local A = IT("Attachment",Barrel)
  1143. A.Position = VT(0,-2.5,0)
  1144. local B = IT("Attachment",Barrel)
  1145. B.Position = VT(0,2.5,0)
  1146. local Trail = IT("Trail",Barrel)
  1147. Trail.Attachment0 = A
  1148. Trail.Attachment1 = B
  1149. Trail.Lifetime = 0.2
  1150. Trail.Color = ColorSequence.new(BRICKC"Cyan".Color)
  1151. Trail.Transparency = NumberSequence.new(0, 1)
  1152. Trail.Enabled = false
  1153.  
  1154. local SKILLTEXTCOLOR = C3(0,1,1)
  1155. local SKILLFONT = "SciFi"
  1156. local SKILLTEXTSIZE = 7
  1157.  
  1158. Humanoid.Died:connect(function()
  1159. ATTACK = true
  1160. end)
  1161.  
  1162. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1163. --local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.65, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1164. --local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0., 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1165. --[[local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1166. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1167. ]]
  1168. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] [T] [CLICK]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1169. --local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1170. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1171. --[[local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1172. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1173. ]]
  1174. function printbye(Name)
  1175. 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, "}
  1176. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1177. end
  1178.  
  1179. workspace.ChildAdded:connect(function(instance)
  1180. for BANISH = 1, #TOBANISH do
  1181. if TOBANISH[BANISH] ~= nil then
  1182. if instance.Name == TOBANISH[BANISH] then
  1183. coroutine.resume(coroutine.create(function()
  1184. printbye(instance.Name)
  1185. instance:ClearAllChildren()
  1186. Debris:AddItem(instance,0.0005)
  1187. end))
  1188. end
  1189. end
  1190. end
  1191. end)
  1192.  
  1193. --//=================================\\
  1194. --|| DAMAGING
  1195. --\\=================================//
  1196.  
  1197. function ApplyDamage(Humanoid,Damage,OneShot)
  1198. Damage = Damage * DAMAGEMULTIPLIER
  1199. local DEAD = false
  1200. if Humanoid.Health < 2000 and OneShot == false then
  1201. if Humanoid.Health - Damage > 0 then
  1202. Humanoid.Health = Humanoid.Health - Damage
  1203. else
  1204. Banish(Humanoid.Parent)
  1205. DEAD = true
  1206. end
  1207. else
  1208. DEAD = true
  1209. Banish(Humanoid.Parent)
  1210. end
  1211. if DEAD == true then
  1212. local PARTS = {}
  1213. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1214. if CHILD:IsA("BasePart") then
  1215. table.insert(PARTS,CHILD)
  1216. end
  1217. end
  1218. coroutine.resume(coroutine.create(function()
  1219. wait(2)
  1220. repeat
  1221. Swait()
  1222. local PIECE = nil
  1223. if MRANDOM(1,5) == 1 then
  1224. for E = 1, #PARTS do
  1225. if MRANDOM(1,5) == 1 then
  1226. PIECE = PARTS[E]
  1227. table.remove(PARTS,E)
  1228. break
  1229. end
  1230. end
  1231. end
  1232. if PIECE ~= nil then
  1233. if PIECE.Name == "Head" then
  1234. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1235. else
  1236. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0,0,0), SoundID = 0, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1237. end
  1238. PIECE:remove()
  1239. end
  1240. until #PARTS == 0
  1241. end))
  1242. end
  1243. end
  1244.  
  1245.  
  1246. function Banish(Foe)
  1247. if Foe then
  1248. coroutine.resume(coroutine.create(function()
  1249. --if game.Players:FindFirstChild(Foe.Name) then
  1250. table.insert(TOBANISH,Foe.Name)
  1251. printbye(Foe.Name)
  1252. --end
  1253. Foe.Archivable = true
  1254. local CLONE = Foe:Clone()
  1255. Foe:Destroy()
  1256. CLONE.Parent = Effects
  1257. CLONE:BreakJoints()
  1258. local MATERIALS = {"Glass","Neon"}
  1259. for _, c in pairs(CLONE:GetDescendants()) do
  1260. if c:IsA("BasePart") then
  1261. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1262. CreateSound(340722848, c, 10, 1, false)
  1263. end
  1264. c.Anchored = true
  1265. c.Transparency = c.Transparency + 0.2
  1266. c.Material = MATERIALS[MRANDOM(1,2)]
  1267. c.Color = C3(0,1,1)
  1268. if c.ClassName == "MeshPart" then
  1269. c.TextureID = ""
  1270. end
  1271. if c:FindFirstChildOfClass("SpecialMesh") then
  1272. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1273. end
  1274. if c:FindFirstChildOfClass("Decal") then
  1275. c:FindFirstChildOfClass("Decal"):remove()
  1276. end
  1277. c.Name = "Banished"
  1278. c.CanCollide = false
  1279. else
  1280. c:remove()
  1281. end
  1282. end
  1283. local A = false
  1284. for i = 1, 35 do
  1285. if A == false then
  1286. A = true
  1287. elseif A == true then
  1288. A = false
  1289. end
  1290. for _, c in pairs(CLONE:GetDescendants()) do
  1291. if c:IsA("BasePart") then
  1292. c.Anchored = true
  1293. c.Material = MATERIALS[MRANDOM(1,2)]
  1294. c.Transparency = c.Transparency + 0.8/35
  1295. if A == false then
  1296. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1297. elseif A == true then
  1298. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1299. end
  1300. end
  1301. end
  1302. Swait()
  1303. end
  1304. CLONE:remove()
  1305. end))
  1306. end
  1307. end
  1308.  
  1309. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1310. local CHILDREN = workspace:GetDescendants()
  1311. for index, CHILD in pairs(CHILDREN) do
  1312. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1313. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1314. if HUM then
  1315. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1316. if TORSO then
  1317. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1318. if ISBANISH == true then
  1319. Banish(CHILD)
  1320. else
  1321. if ISBANISH == "Gravity" then
  1322. HUM.PlatformStand = true
  1323. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1324. local grav = Instance.new("BodyPosition",TORSO)
  1325. grav.D = 15
  1326. grav.P = 20000
  1327. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1328. grav.position = TORSO.Position
  1329. grav.Name = "V3BanishForce"..Player.Name
  1330. else
  1331. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1332. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1333. end
  1334. else
  1335. HUM.PlatformStand = false
  1336. end
  1337. end
  1338. elseif ISBANISH == "Gravity" then
  1339. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1340. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1341. HUM.PlatformStand = false
  1342. end
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349.  
  1350. --[[function getbloody(victim,amount)
  1351. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  1352. PART.CFrame = victim.CFrame
  1353. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1354. Debris:AddItem(PART,5)
  1355. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1356. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1357. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1358. local prtcl = asd:Clone()
  1359. prtcl.Parent = PART
  1360. prtcl:Emit(amount*10)
  1361. end--]]
  1362.  
  1363. --[[function getbloody(victim,amount)
  1364. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  1365. PART.CFrame = victim.CFrame
  1366. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1367. Debris:AddItem(PART,5)
  1368. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1369. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1370. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1371. local prtcl = asd:Clone()
  1372. prtcl.Parent = PART
  1373. prtcl:Emit(amount*10)
  1374. end--]]
  1375.  
  1376.  
  1377.  
  1378. function Kill2(Char)
  1379. local NewCharacter = IT("Model",Effects)
  1380. NewCharacter.Name = "Ow im ded ;-;"
  1381. for _, c in pairs(Char:GetDescendants()) do
  1382. if c:IsA("BasePart") and c.Transparency == 0 then
  1383. if c.Parent == Char then
  1384. --getbloody(c,5)
  1385. end
  1386. c:BreakJoints()
  1387. c.Material = "Neon"
  1388. c.Color = C3(0,1,1)
  1389. c.CanCollide = true
  1390. c.Transparency = 0.3
  1391. if c:FindFirstChildOfClass("SpecialMesh") then
  1392. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1393. end
  1394. if c.Name == "Head" then
  1395. c:ClearAllChildren()
  1396. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1397. end
  1398. if c.ClassName == "MeshPart" then
  1399. c.TextureID = ""
  1400. end
  1401. if c:FindFirstChildOfClass("BodyPosition") then
  1402. c:FindFirstChildOfClass("BodyPosition"):remove()
  1403. end
  1404. if c:FindFirstChildOfClass("ParticleEmitter") then
  1405. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1406. end
  1407. c.Parent = NewCharacter
  1408. c.Name = "DeadPart"
  1409. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1410. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1411. end
  1412. end
  1413. Char:remove()
  1414. Debris:AddItem(NewCharacter,5)
  1415. end
  1416.  
  1417. function BulletDetection(FROM,TO,BRUTAL)
  1418. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1419. coroutine.resume(coroutine.create(function()
  1420. if AIMHIT ~= nil then
  1421. if AIMHIT.Parent ~= Character then
  1422. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1423. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1424. if BRUTAL == true then
  1425. Kill2(AIMHIT.Parent)
  1426. else
  1427. --getbloody(AIMHIT,15)
  1428. AIMHIT.Parent:BreakJoints()
  1429. if AIMHIT.Name == "Head" then
  1430. AIMHIT.Name = "HEADSHOT"
  1431. AIMHIT:remove()
  1432. end
  1433. end
  1434. else
  1435. if BRUTAL == true then
  1436. Kill2(AIMHIT.Parent.Parent)
  1437. else
  1438. Banish(AIMHIT.Parent.Parent)
  1439. end
  1440. end
  1441. end
  1442. end
  1443. end
  1444. end))
  1445. SpawnTrail(FROM,AIMPOS)
  1446. return AIMHIT,AIMPOS,NORMAL
  1447. end
  1448.  
  1449. function BulletDetection2(FROM,TO,BRUTAL)
  1450. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1451. coroutine.resume(coroutine.create(function()
  1452. if AIMHIT ~= nil then
  1453. if AIMHIT.Parent ~= Character then
  1454. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1455. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1456. if BRUTAL == true then
  1457. Banish(AIMHIT.Parent)
  1458. else
  1459. --getbloody(AIMHIT,15)
  1460. AIMHIT.Parent:BreakJoints()
  1461. if AIMHIT.Name == "Head" then
  1462. AIMHIT.Name = "HEADSHOT"
  1463. AIMHIT:remove()
  1464. end
  1465. end
  1466. else
  1467. if BRUTAL == true then
  1468. Banish(AIMHIT.Parent.Parent)
  1469. else
  1470. Kill2(AIMHIT.Parent.Parent)
  1471. end
  1472. end
  1473. end
  1474. end
  1475. end
  1476. end))
  1477. SpawnTrail(FROM,AIMPOS)
  1478. return AIMHIT,AIMPOS,NORMAL
  1479. end
  1480.  
  1481. function ApplyAoE2(POSITION,RANGE,ISBANISH)
  1482. local CHILDREN = workspace:GetDescendants()
  1483. for index, CHILD in pairs(CHILDREN) do
  1484. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1485. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1486. if HUM then
  1487. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1488. if TORSO then
  1489. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1490. if ISBANISH == true then
  1491. Banish(CHILD)
  1492. else
  1493. if ISBANISH == "Gravity" then
  1494. HUM.PlatformStand = true
  1495. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1496. local grav = Instance.new("BodyPosition",TORSO)
  1497. grav.D = 15
  1498. grav.P = 20000
  1499. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1500. grav.position = TORSO.Position
  1501. grav.Name = "V3BanishForce"..Player.Name
  1502. else
  1503. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1504. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1505. end
  1506. else
  1507. HUM.PlatformStand = false
  1508. end
  1509. end
  1510. elseif ISBANISH == "Gravity" then
  1511. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1512. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1513. HUM.PlatformStand = false
  1514. end
  1515. end
  1516. end
  1517. end
  1518. end
  1519. end
  1520. end
  1521.  
  1522.  
  1523. --//=================================\\
  1524. --|| ATTACK FUNCTIONS AND STUFF
  1525. --\\=================================//
  1526.  
  1527.  
  1528. function Kill(Char)
  1529. local NewCharacter = IT("Model",Effects)
  1530. NewCharacter.Name = "Ow im ded ;-;"
  1531. for _, c in pairs(Char:GetDescendants()) do
  1532. if c:IsA("BasePart") and c.Transparency == 0 then
  1533. if c.Parent == Char then
  1534. --getbloody(c,5)
  1535. end
  1536. c:BreakJoints()
  1537. c.Material = "Neon"
  1538. c.Color = C3(0,1,1)
  1539. c.CanCollide = true
  1540. c.Transparency = 0.3
  1541. if c:FindFirstChildOfClass("SpecialMesh") then
  1542. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1543. end
  1544. if c.Name == "Head" then
  1545. c:ClearAllChildren()
  1546. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1547. end
  1548. if c.ClassName == "MeshPart" then
  1549. c.TextureID = ""
  1550. end
  1551. if c:FindFirstChildOfClass("BodyPosition") then
  1552. c:FindFirstChildOfClass("BodyPosition"):remove()
  1553. end
  1554. if c:FindFirstChildOfClass("ParticleEmitter") then
  1555. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1556. end
  1557. c.Parent = NewCharacter
  1558. c.Name = "DeadPart"
  1559. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1560. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1561. end
  1562. end
  1563. Char:remove()
  1564. Debris:AddItem(NewCharacter,5)
  1565. end
  1566.  
  1567. function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
  1568. local CHILDREN = workspace:GetDescendants()
  1569. for index, CHILD in pairs(CHILDREN) do
  1570. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1571. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1572. if HUM then
  1573. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1574. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1575. if KILLD == true then
  1576. Kill2(CHILD)
  1577. else
  1578. local DMG = MRANDOM(MINDMG, MAXDMG)
  1579. ApplyDamage(HUM, DMG, TORSO)
  1580. end
  1581. if FLING > 0 then
  1582. for _, c in pairs(CHILD:GetChildren()) do
  1583. if c:IsA("BasePart") then
  1584. local bv = Instance.new("BodyVelocity")
  1585. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1586. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1587. bv.Parent = c
  1588. Debris:AddItem(bv, 0.05)
  1589. end
  1590. end
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end
  1596. end
  1597.  
  1598. function chatfunc(text)
  1599. local chat = coroutine.wrap(function()
  1600. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1601. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1602. end
  1603. local Bill = Instance.new("BillboardGui",Character)
  1604. Bill.Size = UDim2.new(0,100,0,40)
  1605. Bill.StudsOffset = Vector3.new(0,3,0)
  1606. Bill.Adornee = Character.Head
  1607. Bill.Name = "TalkingBillBoard"
  1608. local Hehe = Instance.new("TextLabel",Bill)
  1609. Hehe.BackgroundTransparency = 1
  1610. Hehe.BorderSizePixel = 0
  1611. Hehe.Text = ""
  1612. Hehe.Font = "SciFi"
  1613. Hehe.TextSize = 40
  1614. Hehe.TextStrokeTransparency = 0
  1615. Hehe.Size = UDim2.new(1,0,0.5,0)
  1616. coroutine.resume(coroutine.create(function()
  1617. while Hehe ~= nil do
  1618. Swait()
  1619. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1620. Hehe.Rotation = math.random(-5,5)
  1621. Hehe.TextColor3 = Color3.new(0,1,1)
  1622. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1623. end
  1624. end))
  1625. for i = 1,string.len(text),1 do
  1626. Swait()
  1627. Hehe.Text = string.sub(text,1,i)
  1628. end
  1629. Swait(90)--Re[math.random(1, 93)]
  1630. for i = 0, 1, .025 do
  1631. Swait()
  1632. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1633. Hehe.TextStrokeTransparency = i
  1634. Hehe.TextTransparency = i
  1635. end
  1636. Bill:Destroy()
  1637. end)
  1638. chat()
  1639. end
  1640.  
  1641. function onChatted(msg)
  1642. chatfunc(msg)
  1643. end
  1644.  
  1645. Player.Chatted:connect(onChatted)
  1646.  
  1647. function printbye(Name)
  1648. local MESSAGES = {"No return form there,", "Perish,"}
  1649. chatfunc(MESSAGES[MRANDOM(2,#MESSAGES)]..Name..".")
  1650. end
  1651.  
  1652. function Execute()
  1653. ATTACK = true
  1654. Rooted = false
  1655. for i=0, 0.5, 0.1 / Animation_Speed do
  1656. Swait()
  1657. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1658. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(-32), RAD(0), RAD(-13)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1661. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1662. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 4 / Animation_Speed)
  1663. end
  1664. Trail.Enabled = true
  1665. CreateSound(541909867, RootPart, 7, 1, false)
  1666. for i=0, 0.35, 0.1 / Animation_Speed do
  1667. Swait()
  1668. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1669. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(-32), RAD(0), RAD(-13)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1672. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1673. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 4 / Animation_Speed)
  1674. end
  1675. ApplyAoE6(RootPart.Position, 5, 0, 0, 0, true)
  1676. for i=0, 0.35, 0.1 / Animation_Speed do
  1677. Swait()
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 4 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(0), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(-32), RAD(0), RAD(-13)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1682. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1683. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 4 / Animation_Speed)
  1684. end
  1685. Trail.Enabled = false
  1686. ATTACK = false
  1687. Rooted = false
  1688. end
  1689.  
  1690. function Taunt()
  1691. ATTACK = true
  1692. Rooted = true
  1693. Weapon2.Parent = nil
  1694. Weapon.Parent = nil
  1695. CreateSound(363808674, Torso, 6, 1, false)
  1696. for i=0, 0.6, 0.1 / Animation_Speed do
  1697. Swait()
  1698. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1699. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1700. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1701. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1702. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1703. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 4 / Animation_Speed)
  1704.  
  1705. end
  1706. CreateSound(649634100,Head,10,0.7,false)
  1707. for i=0, 0.6, 0.1 / Animation_Speed do
  1708. Swait()
  1709. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1710. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.5, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(-32), RAD(-45)) * RIGHTSHOULDERC0, 4 / Animation_Speed)
  1712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(180), RAD(32), RAD(45)) * LEFTSHOULDERC0, 4 / Animation_Speed)
  1713. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 4 / Animation_Speed)
  1714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 4 / Animation_Speed)
  1715. end
  1716. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(30,30,30), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 999999})
  1717. Weapon2.Parent = Character
  1718. Weapon.Parent = Character
  1719. ATTACK = false
  1720. Rooted = false
  1721. end
  1722.  
  1723. function Shot()
  1724. ATTACK = true
  1725. Rooted = false
  1726. repeat
  1727. local GYRO = IT("BodyGyro",RootPart)
  1728. GYRO.D = 175
  1729. GYRO.P = 20000
  1730. GYRO.MaxTorque = VT(0,40000,0)
  1731. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1732. if COMBO == 1 then
  1733. COMBO = 2
  1734. for i=0, 0, 0.1 / Animation_Speed do
  1735. Swait()
  1736. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1737. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1738. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1741. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1742. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 1 / Animation_Speed)
  1743.  
  1744. end
  1745. 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 = 15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1746. 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(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1747. CreateSound(570196601, Hole2, 7, 1, false)
  1748. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1749. SpawnTrail(Hole.Position,POS)
  1750. if HIT ~= nil then
  1751. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1752. Banish(HIT.Parent)
  1753. end
  1754. end
  1755. for i=0, 0.05, 0.1 / Animation_Speed do
  1756. Swait()
  1757. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1758. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1759. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1760. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1761. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1762. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 1 / Animation_Speed)
  1763.  
  1764. end
  1765. elseif COMBO == 2 then
  1766. COMBO = 1
  1767. for i=0, 0.05, 0.1 / Animation_Speed do
  1768. Swait()
  1769. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1770. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1771. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1772. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1773. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1774. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1775. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 1 / Animation_Speed)
  1776.  
  1777. end
  1778. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1779. 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 = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1780. CreateSound(570196601, Hole, 7, 1, false)
  1781. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1782. SpawnTrail(Hole2.Position,POS)
  1783. if HIT ~= nil then
  1784. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1785. Banish(HIT.Parent)
  1786. end
  1787. end
  1788. for i=0, 0.05, 0.1 / Animation_Speed do
  1789. Swait()
  1790. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1794. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1795. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-30 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 1 / Animation_Speed)
  1796.  
  1797. end
  1798. end
  1799. GYRO:remove()
  1800. until KEYHOLD == false
  1801. ATTACK = false
  1802. Rooted = false
  1803. end
  1804.  
  1805. function Shot2()
  1806. ATTACK = true
  1807. Rooted = false
  1808. repeat
  1809. local GYRO = IT("BodyGyro",RootPart)
  1810. GYRO.D = 175
  1811. GYRO.P = 20000
  1812. GYRO.MaxTorque = VT(0,40000,0)
  1813. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1814. if COMBO == 1 then
  1815. COMBO = 2
  1816. for i=0, 0, 0.1 / Animation_Speed do
  1817. Swait()
  1818. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1819. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1820. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1823. 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)
  1824. 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)
  1825. end
  1826. 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 = 15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1827. 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(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1828. CreateSound(335711481, Hole2, 7, 1, false)
  1829. BulletDetection(Hole2.Position,Mouse.Hit.p,true)
  1830.  
  1831. for i=0, 0.05, 0.1 / Animation_Speed do
  1832. Swait()
  1833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  1835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1837. 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)
  1838. 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)
  1839. end
  1840. elseif COMBO == 2 then
  1841. COMBO = 1
  1842. for i=0, 0.05, 0.1 / Animation_Speed do
  1843. Swait()
  1844. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1846. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1848. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1849. 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)
  1850. 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)
  1851. end
  1852. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1853. 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 = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1854. CreateSound(335711481, Hole, 7, 1, false)
  1855. BulletDetection(Hole.Position,Mouse.Hit.p,true)
  1856. for i=0, 0.05, 0.1 / Animation_Speed do
  1857. Swait()
  1858. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1862. 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)
  1863. 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)
  1864. end
  1865. end
  1866. GYRO:remove()
  1867. until KEYHOLD == false
  1868. ATTACK = false
  1869. Rooted = false
  1870. end
  1871.  
  1872. function AttackTemplate()
  1873. ATTACK = true
  1874. Rooted = false
  1875. for i=0, 1, 0.1 / Animation_Speed do
  1876. Swait()
  1877. 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)
  1878. 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)
  1879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1881. 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)
  1882. 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)
  1883. end
  1884. ATTACK = false
  1885. Rooted = false
  1886. end
  1887.  
  1888. --//=================================\\
  1889. --|| ASSIGN THINGS TO KEYS
  1890. --\\=================================//
  1891.  
  1892. function MouseDown(Mouse)
  1893. if ATTACK == false then
  1894. Execute()
  1895. end
  1896. end
  1897.  
  1898. function MouseUp(Mouse)
  1899. HOLD = false
  1900. end
  1901.  
  1902. function KeyDown(Key)
  1903. KEYHOLD = true
  1904. if Key == "z" and ATTACK == false then
  1905. Shot()
  1906. end
  1907. if Key == "t" and ATTACK == false then
  1908. Taunt()
  1909. end
  1910.  
  1911. if Key == "c" and ATTACK == false then
  1912. Shot2()
  1913. end
  1914.  
  1915. if Key == "v" and ATTACK == false then
  1916. end
  1917.  
  1918. if Key == "x" and ATTACK == false then
  1919. end
  1920. end
  1921.  
  1922. function KeyUp(Key)
  1923. KEYHOLD = false
  1924. end
  1925.  
  1926. Mouse.Button1Down:connect(function(NEWKEY)
  1927. MouseDown(NEWKEY)
  1928. end)
  1929. Mouse.Button1Up:connect(function(NEWKEY)
  1930. MouseUp(NEWKEY)
  1931. end)
  1932. Mouse.KeyDown:connect(function(NEWKEY)
  1933. KeyDown(NEWKEY)
  1934. end)
  1935. Mouse.KeyUp:connect(function(NEWKEY)
  1936. KeyUp(NEWKEY)
  1937. end)
  1938.  
  1939. --//=================================\\
  1940. --\\=================================//
  1941.  
  1942.  
  1943. function unanchor()
  1944. if UNANCHOR == true then
  1945. g = Character:GetChildren()
  1946. for i = 1, #g do
  1947. if g[i].ClassName == "Part" then
  1948. g[i].Anchored = false
  1949. end
  1950. end
  1951. end
  1952. end
  1953.  
  1954.  
  1955. --//=================================\\
  1956. --|| WRAP THE WHOLE SCRIPT UP
  1957. --\\=================================//
  1958.  
  1959. Humanoid.Changed:connect(function(Jump)
  1960. if Jump == "Jump" and (Disable_Jump == true) then
  1961. Humanoid.Jump = false
  1962. end
  1963. end)
  1964. coroutine.resume(coroutine.create(function()
  1965. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1966. while true do
  1967. Swait()
  1968. sphereMK(2,math.random(5,10)/45,"Add",RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,0.5,0,BrickColor.new("Toothpaste"),0)
  1969. slash(math.random(50,100)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),VT(0.01,0.002,0.01),math.random(5,10)/250,BrickColor.new("White"))
  1970. end
  1971. end))
  1972. coroutine.resume(coroutine.create(function()
  1973. repeat
  1974. Swait()
  1975. SKILL1FRAME.Rotation = 0 - 5 * math.cos(SINE / 23)
  1976. text.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1977. text.Rotation = math.random(-1,1)
  1978. until Humanoid.Health == 0
  1979. end))
  1980. local CONNECT = nil
  1981.  
  1982. while true do
  1983. Swait()
  1984. ANIMATE.Parent = nil
  1985. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1986. Humanoid = IT("Humanoid",Character)
  1987. end
  1988. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1989. v:Stop();
  1990. end
  1991. SINE = SINE + CHANGE
  1992. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1993. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1994. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1995. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1996. --[[if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1997. 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)
  1998. 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)
  1999. 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)
  2000. 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)
  2001. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2002. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2003. 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)
  2004. 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)
  2005. 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)
  2006. end--]]
  2007. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2008. ANIM = "Jump"
  2009. if ATTACK == false then
  2010. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2014. 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)
  2015. 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)
  2016. end
  2017. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2018. ANIM = "Fall"
  2019. if ATTACK == false then
  2020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2024. 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)
  2025. 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)
  2026. end
  2027. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2028. ANIM = "Idle"
  2029. if ATTACK == false then
  2030. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2034. 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)
  2035. 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)--]]
  2036. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2037. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2038. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(45 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2039. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(-32 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(-13)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2040. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2041. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 0.2 / Animation_Speed)
  2042.  
  2043. end
  2044. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2045. ANIM = "Walk"
  2046. if ATTACK == false then
  2047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 - 0.15 * COS(SINE / 7)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2051. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 - 25 * SIN(SINE / 15))), 0.2 / Animation_Speed)
  2052. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 - 25 * SIN(SINE / 15))), 0.2 / Animation_Speed)
  2053. end
  2054. end
  2055. unanchor()
  2056. Humanoid.MaxHealth = "inf"
  2057. Humanoid.Health = "inf"
  2058. if Rooted == false then
  2059. Disable_Jump = false
  2060. Humanoid.WalkSpeed = Speed
  2061. elseif Rooted == true then
  2062. Disable_Jump = true
  2063. Humanoid.WalkSpeed = 0
  2064. end
  2065. if sick.Parent ~= Torso then
  2066. sick = IT("Sound", Torso)
  2067. end
  2068. sick.Parent = Torso
  2069. sick.Volume = 1
  2070. sick.Pitch = 1
  2071. sick.SoundId = "rbxassetid://1222970152"
  2072. sick.Name = "Dead"
  2073. sick.Looped = true
  2074. sick:Resume()
  2075. end
  2076.  
  2077. --//=================================\\
  2078. --\\=================================//
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084. --//====================================================\\--
  2085. --|| END OF SCRIPT
  2086. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement