Advertisement
Guest_84210423435

;/

Aug 20th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 85.46 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 PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1042. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1043. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1044. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1045. MakeForm(PRT,"Cyl")
  1046. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1047. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1048. MakeForm(PRT,"Cyl")
  1049. PRT.Color = C3(159/255, 111/255, 183/255)
  1050. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1051. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1052. MakeForm(RING,"Cyl")
  1053. RING.Color = C3(0,0,0)
  1054. for i = 1, 12 do
  1055. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1056. PRT.Color = C3(0,0,0)
  1057. local MSH = IT("BlockMesh",PRT)
  1058. MSH.Scale = VT(0.6,1,1)
  1059. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  1060. end
  1061. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1062. PRT.Color = C3(0,0,0)
  1063. local MSH = IT("BlockMesh",PRT)
  1064. MSH.Scale = VT(0.4,1,1)
  1065. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  1066. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1067. PRT.Color = C3(0,0,0)
  1068. local MSH = IT("BlockMesh",PRT)
  1069. MSH.Scale = VT(0.4,1,1)
  1070. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  1071. coroutine.resume(coroutine.create(function()
  1072. while true do
  1073. Swait()
  1074. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1075. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1076. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1077. if CLOCKLOOP <= -150 then
  1078. if VALUE1 == false then
  1079. CLOCKLOOP = 0
  1080. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  1081. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1082. ApplyAoE(HITPOS,10,15,45,75,false)
  1083. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1084. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1085. if CLOCKTARGET ~= nil then
  1086. CLOCKTARGET.Health = CLOCKTARGET.Health - 5000000
  1087. if CLOCKTARGET.Torso ~= nil then
  1088. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1089. end
  1090. if CLOCKTARGET.Health == 0 then
  1091. CLOCKTARGET = nil
  1092. end
  1093. end
  1094. end
  1095. end
  1096. end
  1097. end))
  1098.  
  1099. 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)})
  1100. --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)})
  1101.  
  1102. for _, c in pairs(Weapon2:GetDescendants()) do
  1103. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1104. c.Material = "Glass"
  1105. c.Color = C3(0,0,0)
  1106. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1107. c.Color = C3(0,1,1)
  1108. c.Material = "Neon"
  1109. end
  1110. end
  1111.  
  1112. Weapon2.Parent = Character
  1113. for _, c in pairs(Weapon2:GetChildren()) do
  1114. if c.ClassName == "Part" then
  1115. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1116. end
  1117. end
  1118.  
  1119. local A = IT("Attachment",Barrel)
  1120. A.Position = VT(0,-2.5,0)
  1121. local B = IT("Attachment",Barrel)
  1122. B.Position = VT(0,2.5,0)
  1123. local Trail = IT("Trail",Barrel)
  1124. Trail.Attachment0 = A
  1125. Trail.Attachment1 = B
  1126. Trail.Lifetime = 0.2
  1127. Trail.Color = ColorSequence.new(BRICKC"Cyan".Color)
  1128. Trail.Transparency = NumberSequence.new(0, 1)
  1129. Trail.Enabled = false
  1130.  
  1131. local SKILLTEXTCOLOR = C3(0,1,1)
  1132. local SKILLFONT = "SciFi"
  1133. local SKILLTEXTSIZE = 7
  1134.  
  1135. Humanoid.Died:connect(function()
  1136. ATTACK = true
  1137. end)
  1138.  
  1139. 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")
  1140. --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")
  1141. --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")
  1142. --[[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")
  1143. 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")
  1144. ]]
  1145. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] [T] [CLICK]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1146. --local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1147. --local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1148. --[[local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1149. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1150. ]]
  1151. function printbye(Name)
  1152. 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, "}
  1153. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1154. end
  1155.  
  1156. workspace.ChildAdded:connect(function(instance)
  1157. for BANISH = 1, #TOBANISH do
  1158. if TOBANISH[BANISH] ~= nil then
  1159. if instance.Name == TOBANISH[BANISH] then
  1160. coroutine.resume(coroutine.create(function()
  1161. printbye(instance.Name)
  1162. instance:ClearAllChildren()
  1163. Debris:AddItem(instance,0.0005)
  1164. end))
  1165. end
  1166. end
  1167. end
  1168. end)
  1169.  
  1170. --//=================================\\
  1171. --|| DAMAGING
  1172. --\\=================================//
  1173.  
  1174. function ApplyDamage(Humanoid,Damage,OneShot)
  1175. Damage = Damage * DAMAGEMULTIPLIER
  1176. local DEAD = false
  1177. if Humanoid.Health < 2000 and OneShot == false then
  1178. if Humanoid.Health - Damage > 0 then
  1179. Humanoid.Health = Humanoid.Health - Damage
  1180. else
  1181. Banish(Humanoid.Parent)
  1182. DEAD = true
  1183. end
  1184. else
  1185. DEAD = true
  1186. Banish(Humanoid.Parent)
  1187. end
  1188. if DEAD == true then
  1189. local PARTS = {}
  1190. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1191. if CHILD:IsA("BasePart") then
  1192. table.insert(PARTS,CHILD)
  1193. end
  1194. end
  1195. coroutine.resume(coroutine.create(function()
  1196. wait(2)
  1197. repeat
  1198. Swait()
  1199. local PIECE = nil
  1200. if MRANDOM(1,5) == 1 then
  1201. for E = 1, #PARTS do
  1202. if MRANDOM(1,5) == 1 then
  1203. PIECE = PARTS[E]
  1204. table.remove(PARTS,E)
  1205. break
  1206. end
  1207. end
  1208. end
  1209. if PIECE ~= nil then
  1210. if PIECE.Name == "Head" then
  1211. 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})
  1212. else
  1213. 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})
  1214. end
  1215. PIECE:remove()
  1216. end
  1217. until #PARTS == 0
  1218. end))
  1219. end
  1220. end
  1221.  
  1222.  
  1223. function Banish(Foe)
  1224. if Foe then
  1225. coroutine.resume(coroutine.create(function()
  1226. --if game.Players:FindFirstChild(Foe.Name) then
  1227. table.insert(TOBANISH,Foe.Name)
  1228. printbye(Foe.Name)
  1229. --end
  1230. Foe.Archivable = true
  1231. local CLONE = Foe:Clone()
  1232. Foe:Destroy()
  1233. CLONE.Parent = Effects
  1234. CLONE:BreakJoints()
  1235. local MATERIALS = {"Glass","Neon"}
  1236. for _, c in pairs(CLONE:GetDescendants()) do
  1237. if c:IsA("BasePart") then
  1238. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1239. CreateSound(340722848, c, 10, 1, false)
  1240. end
  1241. c.Anchored = true
  1242. c.Transparency = c.Transparency + 0.2
  1243. c.Material = MATERIALS[MRANDOM(1,2)]
  1244. c.Color = C3(0,1,1)
  1245. if c.ClassName == "MeshPart" then
  1246. c.TextureID = ""
  1247. end
  1248. if c:FindFirstChildOfClass("SpecialMesh") then
  1249. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1250. end
  1251. if c:FindFirstChildOfClass("Decal") then
  1252. c:FindFirstChildOfClass("Decal"):remove()
  1253. end
  1254. c.Name = "Banished"
  1255. c.CanCollide = false
  1256. else
  1257. c:remove()
  1258. end
  1259. end
  1260. local A = false
  1261. for i = 1, 35 do
  1262. if A == false then
  1263. A = true
  1264. elseif A == true then
  1265. A = false
  1266. end
  1267. for _, c in pairs(CLONE:GetDescendants()) do
  1268. if c:IsA("BasePart") then
  1269. c.Anchored = true
  1270. c.Material = MATERIALS[MRANDOM(1,2)]
  1271. c.Transparency = c.Transparency + 0.8/35
  1272. if A == false then
  1273. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1274. elseif A == true then
  1275. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1276. end
  1277. end
  1278. end
  1279. Swait()
  1280. end
  1281. CLONE:remove()
  1282. end))
  1283. end
  1284. end
  1285.  
  1286. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1287. local CHILDREN = workspace:GetDescendants()
  1288. for index, CHILD in pairs(CHILDREN) do
  1289. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1290. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1291. if HUM then
  1292. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1293. if TORSO then
  1294. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1295. if ISBANISH == true then
  1296. Banish(CHILD)
  1297. else
  1298. if ISBANISH == "Gravity" then
  1299. HUM.PlatformStand = true
  1300. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1301. local grav = Instance.new("BodyPosition",TORSO)
  1302. grav.D = 15
  1303. grav.P = 20000
  1304. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1305. grav.position = TORSO.Position
  1306. grav.Name = "V3BanishForce"..Player.Name
  1307. else
  1308. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1309. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1310. end
  1311. else
  1312. HUM.PlatformStand = false
  1313. end
  1314. end
  1315. elseif ISBANISH == "Gravity" then
  1316. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1317. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1318. HUM.PlatformStand = false
  1319. end
  1320. end
  1321. end
  1322. end
  1323. end
  1324. end
  1325. end
  1326.  
  1327. --[[function getbloody(victim,amount)
  1328. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  1329. PART.CFrame = victim.CFrame
  1330. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1331. Debris:AddItem(PART,5)
  1332. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1333. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1334. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1335. local prtcl = asd:Clone()
  1336. prtcl.Parent = PART
  1337. prtcl:Emit(amount*10)
  1338. end--]]
  1339.  
  1340. --[[function getbloody(victim,amount)
  1341. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Really black", "Blood", victim.Size)
  1342. PART.CFrame = victim.CFrame
  1343. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1344. Debris:AddItem(PART,5)
  1345. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1346. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1347. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1348. local prtcl = asd:Clone()
  1349. prtcl.Parent = PART
  1350. prtcl:Emit(amount*10)
  1351. end--]]
  1352.  
  1353.  
  1354.  
  1355. function Kill2(Char)
  1356. local NewCharacter = IT("Model",Effects)
  1357. NewCharacter.Name = "Ow im ded ;-;"
  1358. for _, c in pairs(Char:GetDescendants()) do
  1359. if c:IsA("BasePart") and c.Transparency == 0 then
  1360. if c.Parent == Char then
  1361. --getbloody(c,5)
  1362. end
  1363. c:BreakJoints()
  1364. c.Material = "Neon"
  1365. c.Color = C3(0,1,1)
  1366. c.CanCollide = true
  1367. c.Transparency = 0.3
  1368. if c:FindFirstChildOfClass("SpecialMesh") then
  1369. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1370. end
  1371. if c.Name == "Head" then
  1372. c:ClearAllChildren()
  1373. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1374. end
  1375. if c.ClassName == "MeshPart" then
  1376. c.TextureID = ""
  1377. end
  1378. if c:FindFirstChildOfClass("BodyPosition") then
  1379. c:FindFirstChildOfClass("BodyPosition"):remove()
  1380. end
  1381. if c:FindFirstChildOfClass("ParticleEmitter") then
  1382. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1383. end
  1384. c.Parent = NewCharacter
  1385. c.Name = "DeadPart"
  1386. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1387. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1388. end
  1389. end
  1390. Char:remove()
  1391. Debris:AddItem(NewCharacter,5)
  1392. end
  1393.  
  1394. function BulletDetection(FROM,TO,BRUTAL)
  1395. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1396. coroutine.resume(coroutine.create(function()
  1397. if AIMHIT ~= nil then
  1398. if AIMHIT.Parent ~= Character then
  1399. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1400. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1401. if BRUTAL == true then
  1402. Kill2(AIMHIT.Parent)
  1403. else
  1404. --getbloody(AIMHIT,15)
  1405. AIMHIT.Parent:BreakJoints()
  1406. if AIMHIT.Name == "Head" then
  1407. AIMHIT.Name = "HEADSHOT"
  1408. AIMHIT:remove()
  1409. end
  1410. end
  1411. else
  1412. if BRUTAL == true then
  1413. Kill2(AIMHIT.Parent.Parent)
  1414. else
  1415. Banish(AIMHIT.Parent.Parent)
  1416. end
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end))
  1422. SpawnTrail(FROM,AIMPOS)
  1423. return AIMHIT,AIMPOS,NORMAL
  1424. end
  1425.  
  1426. function BulletDetection2(FROM,TO,BRUTAL)
  1427. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1428. coroutine.resume(coroutine.create(function()
  1429. if AIMHIT ~= nil then
  1430. if AIMHIT.Parent ~= Character then
  1431. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1432. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1433. if BRUTAL == true then
  1434. Banish(AIMHIT.Parent)
  1435. else
  1436. --getbloody(AIMHIT,15)
  1437. AIMHIT.Parent:BreakJoints()
  1438. if AIMHIT.Name == "Head" then
  1439. AIMHIT.Name = "HEADSHOT"
  1440. AIMHIT:remove()
  1441. end
  1442. end
  1443. else
  1444. if BRUTAL == true then
  1445. Banish(AIMHIT.Parent.Parent)
  1446. else
  1447. Kill2(AIMHIT.Parent.Parent)
  1448. end
  1449. end
  1450. end
  1451. end
  1452. end
  1453. end))
  1454. SpawnTrail(FROM,AIMPOS)
  1455. return AIMHIT,AIMPOS,NORMAL
  1456. end
  1457.  
  1458. function ApplyAoE2(POSITION,RANGE,ISBANISH)
  1459. local CHILDREN = workspace:GetDescendants()
  1460. for index, CHILD in pairs(CHILDREN) do
  1461. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1462. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1463. if HUM then
  1464. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1465. if TORSO then
  1466. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1467. if ISBANISH == true then
  1468. Banish(CHILD)
  1469. else
  1470. if ISBANISH == "Gravity" then
  1471. HUM.PlatformStand = true
  1472. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1473. local grav = Instance.new("BodyPosition",TORSO)
  1474. grav.D = 15
  1475. grav.P = 20000
  1476. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1477. grav.position = TORSO.Position
  1478. grav.Name = "V3BanishForce"..Player.Name
  1479. else
  1480. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1481. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1482. end
  1483. else
  1484. HUM.PlatformStand = false
  1485. end
  1486. end
  1487. elseif ISBANISH == "Gravity" then
  1488. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1489. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1490. HUM.PlatformStand = false
  1491. end
  1492. end
  1493. end
  1494. end
  1495. end
  1496. end
  1497. end
  1498.  
  1499.  
  1500. --//=================================\\
  1501. --|| ATTACK FUNCTIONS AND STUFF
  1502. --\\=================================//
  1503.  
  1504.  
  1505. function Kill(Char)
  1506. local NewCharacter = IT("Model",Effects)
  1507. NewCharacter.Name = "Ow im ded ;-;"
  1508. for _, c in pairs(Char:GetDescendants()) do
  1509. if c:IsA("BasePart") and c.Transparency == 0 then
  1510. if c.Parent == Char then
  1511. --getbloody(c,5)
  1512. end
  1513. c:BreakJoints()
  1514. c.Material = "Neon"
  1515. c.Color = C3(0,1,1)
  1516. c.CanCollide = true
  1517. c.Transparency = 0.3
  1518. if c:FindFirstChildOfClass("SpecialMesh") then
  1519. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1520. end
  1521. if c.Name == "Head" then
  1522. c:ClearAllChildren()
  1523. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1524. end
  1525. if c.ClassName == "MeshPart" then
  1526. c.TextureID = ""
  1527. end
  1528. if c:FindFirstChildOfClass("BodyPosition") then
  1529. c:FindFirstChildOfClass("BodyPosition"):remove()
  1530. end
  1531. if c:FindFirstChildOfClass("ParticleEmitter") then
  1532. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1533. end
  1534. c.Parent = NewCharacter
  1535. c.Name = "DeadPart"
  1536. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1537. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1538. end
  1539. end
  1540. Char:remove()
  1541. Debris:AddItem(NewCharacter,5)
  1542. end
  1543.  
  1544. function ApplyAoE6(POSITION, RANGE, MINDMG, MAXDMG, FLING, KILLD)
  1545. local CHILDREN = workspace:GetDescendants()
  1546. for index, CHILD in pairs(CHILDREN) do
  1547. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1548. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1549. if HUM then
  1550. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1551. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1552. if KILLD == true then
  1553. Kill2(CHILD)
  1554. else
  1555. local DMG = MRANDOM(MINDMG, MAXDMG)
  1556. ApplyDamage(HUM, DMG, TORSO)
  1557. end
  1558. if FLING > 0 then
  1559. for _, c in pairs(CHILD:GetChildren()) do
  1560. if c:IsA("BasePart") then
  1561. local bv = Instance.new("BodyVelocity")
  1562. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1563. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  1564. bv.Parent = c
  1565. Debris:AddItem(bv, 0.05)
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571. end
  1572. end
  1573. end
  1574.  
  1575. function chatfunc(text)
  1576. local chat = coroutine.wrap(function()
  1577. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1578. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1579. end
  1580. local Bill = Instance.new("BillboardGui",Character)
  1581. Bill.Size = UDim2.new(0,100,0,40)
  1582. Bill.StudsOffset = Vector3.new(0,3,0)
  1583. Bill.Adornee = Character.Head
  1584. Bill.Name = "TalkingBillBoard"
  1585. local Hehe = Instance.new("TextLabel",Bill)
  1586. Hehe.BackgroundTransparency = 1
  1587. Hehe.BorderSizePixel = 0
  1588. Hehe.Text = ""
  1589. Hehe.Font = "SciFi"
  1590. Hehe.TextSize = 40
  1591. Hehe.TextStrokeTransparency = 0
  1592. Hehe.Size = UDim2.new(1,0,0.5,0)
  1593. coroutine.resume(coroutine.create(function()
  1594. while Hehe ~= nil do
  1595. Swait()
  1596. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1597. Hehe.Rotation = math.random(-5,5)
  1598. Hehe.TextColor3 = Color3.new(0,1,1)
  1599. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1600. end
  1601. end))
  1602. for i = 1,string.len(text),1 do
  1603. Swait()
  1604. Hehe.Text = string.sub(text,1,i)
  1605. end
  1606. Swait(90)--Re[math.random(1, 93)]
  1607. for i = 0, 1, .025 do
  1608. Swait()
  1609. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1610. Hehe.TextStrokeTransparency = i
  1611. Hehe.TextTransparency = i
  1612. end
  1613. Bill:Destroy()
  1614. end)
  1615. chat()
  1616. end
  1617.  
  1618. function onChatted(msg)
  1619. chatfunc(msg)
  1620. end
  1621.  
  1622. Player.Chatted:connect(onChatted)
  1623.  
  1624. function printbye(Name)
  1625. local MESSAGES = {"No return form there,", "Perish,"}
  1626. chatfunc(MESSAGES[MRANDOM(2,#MESSAGES)]..Name..".")
  1627. end
  1628.  
  1629. function Execute()
  1630. ATTACK = true
  1631. Rooted = false
  1632. for i=0, 0.5, 0.1 / Animation_Speed do
  1633. Swait()
  1634. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1636. 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)
  1637. 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)
  1638. 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)
  1639. 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)
  1640. end
  1641. Trail.Enabled = true
  1642. CreateSound(541909867, RootPart, 7, 1, false)
  1643. for i=0, 0.35, 0.1 / Animation_Speed do
  1644. Swait()
  1645. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1646. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1647. 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)
  1648. 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)
  1649. 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)
  1650. 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)
  1651. end
  1652. ApplyAoE6(RootPart.Position, 5, 0, 0, 0, true)
  1653. for i=0, 0.35, 0.1 / Animation_Speed do
  1654. Swait()
  1655. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), 4 / Animation_Speed)
  1656. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-12), RAD(0), RAD(0)), 4 / Animation_Speed)
  1657. 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)
  1658. 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)
  1659. 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)
  1660. 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)
  1661. end
  1662. Trail.Enabled = false
  1663. ATTACK = false
  1664. Rooted = false
  1665. end
  1666.  
  1667. function Taunt()
  1668. ATTACK = true
  1669. Rooted = true
  1670. Weapon2.Parent = nil
  1671. Weapon.Parent = nil
  1672. CreateSound(363808674, Torso, 6, 1, false)
  1673. for i=0, 0.6, 0.1 / Animation_Speed do
  1674. Swait()
  1675. 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)
  1676. 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)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. 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)
  1681.  
  1682. end
  1683. CreateSound(649634100,Head,10,0.7,false)
  1684. for i=0, 0.6, 0.1 / Animation_Speed do
  1685. Swait()
  1686. 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)
  1687. 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)
  1688. 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)
  1689. 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)
  1690. 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)
  1691. 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)
  1692. end
  1693. 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})
  1694. Weapon2.Parent = Character
  1695. Weapon.Parent = Character
  1696. ATTACK = false
  1697. Rooted = false
  1698. end
  1699.  
  1700. function Shot()
  1701. ATTACK = true
  1702. Rooted = false
  1703. repeat
  1704. local GYRO = IT("BodyGyro",RootPart)
  1705. GYRO.D = 175
  1706. GYRO.P = 20000
  1707. GYRO.MaxTorque = VT(0,40000,0)
  1708. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1709. if COMBO == 1 then
  1710. COMBO = 2
  1711. for i=0, 0, 0.1 / Animation_Speed do
  1712. Swait()
  1713. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720.  
  1721. end
  1722. 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})
  1723. 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})
  1724. CreateSound(570196601, Hole2, 7, 1, false)
  1725. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1726. SpawnTrail(Hole.Position,POS)
  1727. if HIT ~= nil then
  1728. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1729. Banish(HIT.Parent)
  1730. end
  1731. end
  1732. for i=0, 0.05, 0.1 / Animation_Speed do
  1733. Swait()
  1734. 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)
  1735. 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)
  1736. 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)
  1737. 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)
  1738. 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)
  1739. 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)
  1740.  
  1741. end
  1742. elseif COMBO == 2 then
  1743. COMBO = 1
  1744. for i=0, 0.05, 0.1 / Animation_Speed do
  1745. Swait()
  1746. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1747. 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)
  1748. 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)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. 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)
  1753.  
  1754. end
  1755. 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})
  1756. 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})
  1757. CreateSound(570196601, Hole, 7, 1, false)
  1758. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1759. SpawnTrail(Hole2.Position,POS)
  1760. if HIT ~= nil then
  1761. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1762. Banish(HIT.Parent)
  1763. end
  1764. end
  1765. for i=0, 0.05, 0.1 / Animation_Speed do
  1766. Swait()
  1767. 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)
  1768. 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)
  1769. 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)
  1770. 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)
  1771. 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)
  1772. 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)
  1773.  
  1774. end
  1775. end
  1776. GYRO:remove()
  1777. until KEYHOLD == false
  1778. ATTACK = false
  1779. Rooted = false
  1780. end
  1781.  
  1782. function Shot2()
  1783. ATTACK = true
  1784. Rooted = false
  1785. repeat
  1786. local GYRO = IT("BodyGyro",RootPart)
  1787. GYRO.D = 175
  1788. GYRO.P = 20000
  1789. GYRO.MaxTorque = VT(0,40000,0)
  1790. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1791. if COMBO == 1 then
  1792. COMBO = 2
  1793. for i=0, 0, 0.1 / Animation_Speed do
  1794. Swait()
  1795. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1796. 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)
  1797. 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)
  1798. 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)
  1799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1800. 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)
  1801. 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)
  1802. end
  1803. 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})
  1804. 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})
  1805. CreateSound(335711481, Hole2, 7, 1, false)
  1806. BulletDetection(Hole2.Position,Mouse.Hit.p,true)
  1807.  
  1808. for i=0, 0.05, 0.1 / Animation_Speed do
  1809. Swait()
  1810. 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)
  1811. 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)
  1812. 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)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1814. 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)
  1815. 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)
  1816. end
  1817. elseif COMBO == 2 then
  1818. COMBO = 1
  1819. for i=0, 0.05, 0.1 / Animation_Speed do
  1820. Swait()
  1821. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1822. 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)
  1823. 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)
  1824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1825. 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)
  1826. 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)
  1827. 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)
  1828. end
  1829. 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})
  1830. 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})
  1831. CreateSound(335711481, Hole, 7, 1, false)
  1832. BulletDetection(Hole.Position,Mouse.Hit.p,true)
  1833. for i=0, 0.05, 0.1 / Animation_Speed do
  1834. Swait()
  1835. 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)
  1836. 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)
  1837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1838. 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)
  1839. 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)
  1840. 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)
  1841. end
  1842. end
  1843. GYRO:remove()
  1844. until KEYHOLD == false
  1845. ATTACK = false
  1846. Rooted = false
  1847. end
  1848.  
  1849. function AttackTemplate()
  1850. ATTACK = true
  1851. Rooted = false
  1852. for i=0, 1, 0.1 / Animation_Speed do
  1853. Swait()
  1854. 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)
  1855. 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)
  1856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1858. 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)
  1859. 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)
  1860. end
  1861. ATTACK = false
  1862. Rooted = false
  1863. end
  1864.  
  1865. --//=================================\\
  1866. --|| ASSIGN THINGS TO KEYS
  1867. --\\=================================//
  1868.  
  1869. function MouseDown(Mouse)
  1870. if ATTACK == false then
  1871. Execute()
  1872. end
  1873. end
  1874.  
  1875. function MouseUp(Mouse)
  1876. HOLD = false
  1877. end
  1878.  
  1879. function KeyDown(Key)
  1880. KEYHOLD = true
  1881. if Key == "z" and ATTACK == false then
  1882. Shot()
  1883. end
  1884. if Key == "t" and ATTACK == false then
  1885. Taunt()
  1886. end
  1887.  
  1888. if Key == "c" and ATTACK == false then
  1889. Shot2()
  1890. end
  1891.  
  1892. if Key == "v" and ATTACK == false then
  1893. end
  1894.  
  1895. if Key == "x" and ATTACK == false then
  1896. end
  1897. end
  1898.  
  1899. function KeyUp(Key)
  1900. KEYHOLD = false
  1901. end
  1902.  
  1903. Mouse.Button1Down:connect(function(NEWKEY)
  1904. MouseDown(NEWKEY)
  1905. end)
  1906. Mouse.Button1Up:connect(function(NEWKEY)
  1907. MouseUp(NEWKEY)
  1908. end)
  1909. Mouse.KeyDown:connect(function(NEWKEY)
  1910. KeyDown(NEWKEY)
  1911. end)
  1912. Mouse.KeyUp:connect(function(NEWKEY)
  1913. KeyUp(NEWKEY)
  1914. end)
  1915.  
  1916. --//=================================\\
  1917. --\\=================================//
  1918.  
  1919.  
  1920. function unanchor()
  1921. if UNANCHOR == true then
  1922. g = Character:GetChildren()
  1923. for i = 1, #g do
  1924. if g[i].ClassName == "Part" then
  1925. g[i].Anchored = false
  1926. end
  1927. end
  1928. end
  1929. end
  1930.  
  1931.  
  1932. --//=================================\\
  1933. --|| WRAP THE WHOLE SCRIPT UP
  1934. --\\=================================//
  1935.  
  1936. Humanoid.Changed:connect(function(Jump)
  1937. if Jump == "Jump" and (Disable_Jump == true) then
  1938. Humanoid.Jump = false
  1939. end
  1940. end)
  1941. coroutine.resume(coroutine.create(function()
  1942. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1943. while true do
  1944. Swait()
  1945. 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)
  1946. 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"))
  1947. end
  1948. end))
  1949. coroutine.resume(coroutine.create(function()
  1950. repeat
  1951. Swait()
  1952. SKILL1FRAME.Rotation = 0 - 5 * math.cos(SINE / 23)
  1953. text.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1954. text.Rotation = math.random(-1,1)
  1955. until Humanoid.Health == 0
  1956. end))
  1957. local CONNECT = nil
  1958.  
  1959. while true do
  1960. Swait()
  1961. ANIMATE.Parent = nil
  1962. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1963. Humanoid = IT("Humanoid",Character)
  1964. end
  1965. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1966. v:Stop();
  1967. end
  1968. SINE = SINE + CHANGE
  1969. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1970. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1971. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1972. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1973. --[[if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1974. 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)
  1975. 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)
  1976. 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)
  1977. 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)
  1978. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1979. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1980. 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)
  1981. 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)
  1982. 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)
  1983. end--]]
  1984. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1985. ANIM = "Jump"
  1986. if ATTACK == false then
  1987. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1988. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1989. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1990. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1991. 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)
  1992. 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)
  1993. end
  1994. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1995. ANIM = "Fall"
  1996. if ATTACK == false then
  1997. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1998. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1999. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2000. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2001. 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)
  2002. 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)
  2003. end
  2004. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2005. ANIM = "Idle"
  2006. if ATTACK == false then
  2007. --[[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)
  2008. 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)
  2009. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2010. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2011. 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)
  2012. 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)--]]
  2013. 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)
  2014. 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)
  2015. 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)
  2016. 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)
  2017. 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)
  2018. 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)
  2019.  
  2020. end
  2021. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2022. ANIM = "Walk"
  2023. if ATTACK == false then
  2024. 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)
  2025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2028. 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)
  2029. 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)
  2030. end
  2031. end
  2032. unanchor()
  2033. Humanoid.MaxHealth = "inf"
  2034. Humanoid.Health = "inf"
  2035. if Rooted == false then
  2036. Disable_Jump = false
  2037. Humanoid.WalkSpeed = Speed
  2038. elseif Rooted == true then
  2039. Disable_Jump = true
  2040. Humanoid.WalkSpeed = 0
  2041. end
  2042. if sick.Parent ~= Torso then
  2043. sick = IT("Sound", Torso)
  2044. end
  2045. sick.Parent = Torso
  2046. sick.Volume = 1
  2047. sick.Pitch = 1
  2048. sick.SoundId = "rbxassetid://1222970152"
  2049. sick.Name = "Dead"
  2050. sick.Looped = true
  2051. sick:Resume()
  2052. end
  2053.  
  2054. --//=================================\\
  2055. --\\=================================//
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061. --//====================================================\\--
  2062. --|| END OF SCRIPT
  2063. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement