enzoflo1

eda

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