1x1x1x1IAMbck

drone

Apr 8th, 2018
474
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.84 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",LeftArm)
  32. sick.SoundId = "rbxassetid://146364977"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37. local DRONES = {}
  38. local COLOR = nil
  39.  
  40. IT = Instance.new
  41. CF = CFrame.new
  42. VT = Vector3.new
  43. RAD = math.rad
  44. C3 = Color3.new
  45. UD2 = UDim2.new
  46. BRICKC = BrickColor.new
  47. ANGLES = CFrame.Angles
  48. EULER = CFrame.fromEulerAnglesXYZ
  49. COS = math.cos
  50. ACOS = math.acos
  51. SIN = math.sin
  52. ASIN = math.asin
  53. ABS = math.abs
  54. MRANDOM = math.random
  55. FLOOR = math.floor
  56.  
  57. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  58. local NEWMESH = IT(MESH)
  59. if MESH == "SpecialMesh" then
  60. NEWMESH.MeshType = MESHTYPE
  61. if MESHID ~= "nil" and MESHID ~= "" then
  62. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  63. end
  64. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  65. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  66. end
  67. end
  68. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  69. NEWMESH.Scale = SCALE
  70. NEWMESH.Parent = PARENT
  71. return NEWMESH
  72. end
  73.  
  74. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  75. local NEWPART = IT("Part")
  76. NEWPART.formFactor = FORMFACTOR
  77. NEWPART.Reflectance = REFLECTANCE
  78. NEWPART.Transparency = TRANSPARENCY
  79. NEWPART.CanCollide = false
  80. NEWPART.Locked = true
  81. NEWPART.Anchored = true
  82. if ANCHOR == false then
  83. NEWPART.Anchored = false
  84. end
  85. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  86. NEWPART.Name = NAME
  87. NEWPART.Size = SIZE
  88. NEWPART.Position = Torso.Position
  89. NEWPART.Material = MATERIAL
  90. NEWPART:BreakJoints()
  91. NEWPART.Parent = PARENT
  92. return NEWPART
  93. end
  94.  
  95. --//=================================\\
  96. --|| CUSTOMIZATION
  97. --\\=================================//
  98.  
  99. Player_Size = 1 --Size of the player.
  100. Animation_Speed = 3
  101. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  102.  
  103. local Speed = 16
  104. local Effects2 = {}
  105.  
  106. --//=================================\\
  107. --|| END OF CUSTOMIZATION
  108. --\\=================================//
  109.  
  110. local function weldBetween(a, b)
  111. local weldd = Instance.new("ManualWeld")
  112. weldd.Part0 = a
  113. weldd.Part1 = b
  114. weldd.C0 = CFrame.new()
  115. weldd.C1 = b.CFrame:inverse() * a.CFrame
  116. weldd.Parent = a
  117. return weldd
  118. end
  119.  
  120. --//=================================\\
  121. --|| USEFUL VALUES
  122. --\\=================================//
  123.  
  124. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  125. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  126. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  127. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  128. local CHANGEDEFENSE = 0
  129. local CHANGEDAMAGE = 0
  130. local CHANGEMOVEMENT = 0
  131. local ANIM = "Idle"
  132. local ATTACK = false
  133. local EQUIPPED = false
  134. local HOLD = false
  135. local COMBO = 1
  136. local Rooted = false
  137. local SINE = 0
  138. local KEYHOLD = false
  139. local CHANGE = 2 / Animation_Speed
  140. local WALKINGANIM = false
  141. local WALK = 0
  142. local VALUE1 = false
  143. local VALUE2 = nil
  144. local ROBLOXIDLEANIMATION = IT("Animation")
  145. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  146. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  147. --ROBLOXIDLEANIMATION.Parent = Humanoid
  148. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  149. WEAPONGUI.Name = "Weapon GUI"
  150. local Weapon = IT("Model")
  151. Weapon.Name = "Adds"
  152. local Effects = IT("Folder", Weapon)
  153. Effects.Name = "Effects"
  154. local ANIMATOR = Humanoid.Animator
  155. local ANIMATE = Character.Animate
  156. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  157. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  158. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  159. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  160. local UNANCHOR = true
  161.  
  162. local SKILLTEXTCOLOR = C3(0,0,0)
  163.  
  164. --//=================================\\
  165. --\\=================================//
  166.  
  167.  
  168. --//=================================\\
  169. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  170. --\\=================================//
  171.  
  172. ArtificialHB = Instance.new("BindableEvent", script)
  173. ArtificialHB.Name = "ArtificialHB"
  174.  
  175. script:WaitForChild("ArtificialHB")
  176.  
  177. frame = Frame_Speed
  178. tf = 0
  179. allowframeloss = false
  180. tossremainder = false
  181. lastframe = tick()
  182. script.ArtificialHB:Fire()
  183.  
  184. game:GetService("RunService").Heartbeat:connect(function(s, p)
  185. tf = tf + s
  186. if tf >= frame then
  187. if allowframeloss then
  188. script.ArtificialHB:Fire()
  189. lastframe = tick()
  190. else
  191. for i = 1, math.floor(tf / frame) do
  192. script.ArtificialHB:Fire()
  193. end
  194. lastframe = tick()
  195. end
  196. if tossremainder then
  197. tf = 0
  198. else
  199. tf = tf - frame * math.floor(tf / frame)
  200. end
  201. end
  202. end)
  203.  
  204. --//=================================\\
  205. --\\=================================//
  206.  
  207.  
  208.  
  209.  
  210.  
  211. --//=================================\\
  212. --|| SOME FUNCTIONS
  213. --\\=================================//
  214.  
  215. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  216. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  217. end
  218.  
  219. function PositiveAngle(NUMBER)
  220. if NUMBER >= 0 then
  221. NUMBER = 0
  222. end
  223. return NUMBER
  224. end
  225.  
  226. function NegativeAngle(NUMBER)
  227. if NUMBER <= 0 then
  228. NUMBER = 0
  229. end
  230. return NUMBER
  231. end
  232.  
  233. function Swait(NUMBER)
  234. if NUMBER == 0 or NUMBER == nil then
  235. ArtificialHB.Event:wait()
  236. else
  237. for i = 1, NUMBER do
  238. ArtificialHB.Event:wait()
  239. end
  240. end
  241. end
  242.  
  243. function QuaternionFromCFrame(cf)
  244. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  245. local trace = m00 + m11 + m22
  246. if trace > 0 then
  247. local s = math.sqrt(1 + trace)
  248. local recip = 0.5 / s
  249. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  250. else
  251. local i = 0
  252. if m11 > m00 then
  253. i = 1
  254. end
  255. if m22 > (i == 0 and m00 or m11) then
  256. i = 2
  257. end
  258. if i == 0 then
  259. local s = math.sqrt(m00 - m11 - m22 + 1)
  260. local recip = 0.5 / s
  261. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  262. elseif i == 1 then
  263. local s = math.sqrt(m11 - m22 - m00 + 1)
  264. local recip = 0.5 / s
  265. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  266. elseif i == 2 then
  267. local s = math.sqrt(m22 - m00 - m11 + 1)
  268. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  269. end
  270. end
  271. end
  272.  
  273. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  274. local xs, ys, zs = x + x, y + y, z + z
  275. local wx, wy, wz = w * xs, w * ys, w * zs
  276. local xx = x * xs
  277. local xy = x * ys
  278. local xz = x * zs
  279. local yy = y * ys
  280. local yz = y * zs
  281. local zz = z * zs
  282. 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))
  283. end
  284.  
  285. function QuaternionSlerp(a, b, t)
  286. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  287. local startInterp, finishInterp;
  288. if cosTheta >= 0.0001 then
  289. if (1 - cosTheta) > 0.0001 then
  290. local theta = ACOS(cosTheta)
  291. local invSinTheta = 1 / SIN(theta)
  292. startInterp = SIN((1 - t) * theta) * invSinTheta
  293. finishInterp = SIN(t * theta) * invSinTheta
  294. else
  295. startInterp = 1 - t
  296. finishInterp = t
  297. end
  298. else
  299. if (1 + cosTheta) > 0.0001 then
  300. local theta = ACOS(-cosTheta)
  301. local invSinTheta = 1 / SIN(theta)
  302. startInterp = SIN((t - 1) * theta) * invSinTheta
  303. finishInterp = SIN(t * theta) * invSinTheta
  304. else
  305. startInterp = t - 1
  306. finishInterp = t
  307. end
  308. end
  309. 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
  310. end
  311.  
  312. function Clerp(a, b, t)
  313. local qa = {QuaternionFromCFrame(a)}
  314. local qb = {QuaternionFromCFrame(b)}
  315. local ax, ay, az = a.x, a.y, a.z
  316. local bx, by, bz = b.x, b.y, b.z
  317. local _t = 1 - t
  318. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  319. end
  320.  
  321. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  322. local frame = IT("Frame")
  323. frame.BackgroundTransparency = TRANSPARENCY
  324. frame.BorderSizePixel = BORDERSIZEPIXEL
  325. frame.Position = POSITION
  326. frame.Size = SIZE
  327. frame.BackgroundColor3 = COLOR
  328. frame.BorderColor3 = BORDERCOLOR
  329. frame.Name = NAME
  330. frame.Parent = PARENT
  331. return frame
  332. end
  333.  
  334. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  335. local label = IT("TextLabel")
  336. label.BackgroundTransparency = 1
  337. label.Size = UD2(1, 0, 1, 0)
  338. label.Position = UD2(0, 0, 0, 0)
  339. label.TextColor3 = TEXTCOLOR
  340. label.TextStrokeTransparency = STROKETRANSPARENCY
  341. label.TextTransparency = TRANSPARENCY
  342. label.FontSize = TEXTFONTSIZE
  343. label.Font = TEXTFONT
  344. label.BorderSizePixel = BORDERSIZEPIXEL
  345. label.TextScaled = false
  346. label.Text = TEXT
  347. label.Name = NAME
  348. label.Parent = PARENT
  349. return label
  350. end
  351.  
  352. function NoOutlines(PART)
  353. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  354. end
  355.  
  356.  
  357. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  358. local NEWWELD = IT(TYPE)
  359. NEWWELD.Part0 = PART0
  360. NEWWELD.Part1 = PART1
  361. NEWWELD.C0 = C0
  362. NEWWELD.C1 = C1
  363. NEWWELD.Parent = PARENT
  364. return NEWWELD
  365. end
  366.  
  367. function CreateSound(ID, PARENT, VOLUME, PITCH)
  368. local NEWSOUND = nil
  369. coroutine.resume(coroutine.create(function()
  370. NEWSOUND = IT("Sound", PARENT)
  371. NEWSOUND.Volume = VOLUME
  372. NEWSOUND.Pitch = PITCH
  373. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  374. Swait()
  375. NEWSOUND:play()
  376. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  377. end))
  378. return NEWSOUND
  379. end
  380.  
  381. function CFrameFromTopBack(at, top, back)
  382. local right = top:Cross(back)
  383. 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)
  384. end
  385.  
  386. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  387. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  388. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  389. wave.CFrame = CFRAME
  390. coroutine.resume(coroutine.create(function(PART)
  391. for i = 1, WAIT do
  392. Swait()
  393. mesh.Scale = mesh.Scale + GROW
  394. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  395. if DOESROT == true then
  396. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  397. end
  398. wave.Transparency = wave.Transparency + (0.5/WAIT)
  399. if wave.Transparency > 0.99 then
  400. wave:remove()
  401. end
  402. end
  403. end))
  404. end
  405.  
  406. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  407. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  408. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  409. wave.CFrame = CFRAME
  410. coroutine.resume(coroutine.create(function(PART)
  411. for i = 1, WAIT do
  412. Swait()
  413. mesh.Scale = mesh.Scale + GROW
  414. if DOESROT == true then
  415. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  416. end
  417. wave.Transparency = wave.Transparency + (0.5/WAIT)
  418. if wave.Transparency > 0.99 then
  419. wave:remove()
  420. end
  421. end
  422. end))
  423. end
  424.  
  425. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  426. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  427. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  428. wave.CFrame = CFRAME
  429. coroutine.resume(coroutine.create(function(PART)
  430. for i = 1, WAIT do
  431. Swait()
  432. mesh.Scale = mesh.Scale + GROW
  433. wave.Transparency = wave.Transparency + (1/WAIT)
  434. if wave.Transparency > 0.99 then
  435. wave:remove()
  436. end
  437. end
  438. end))
  439. end
  440.  
  441. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  442. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  443. local mesh = nil
  444. if KIND == "Base" then
  445. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  446. elseif KIND == "Thin" then
  447. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  448. elseif KIND == "Round" then
  449. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  450. end
  451. wave.CFrame = CFRAME
  452. coroutine.resume(coroutine.create(function(PART)
  453. for i = 1, WAIT do
  454. Swait()
  455. mesh.Scale = mesh.Scale + GROW/10
  456. wave.Transparency = wave.Transparency + (0.5/WAIT)
  457. if wave.Transparency > 0.99 then
  458. wave:remove()
  459. end
  460. end
  461. end))
  462. end
  463.  
  464. function MakeForm(PART,TYPE)
  465. local MSH = nil
  466. if TYPE == "Cyl" then
  467. MSH = IT("CylinderMesh",PART)
  468. elseif TYPE == "Ball" then
  469. MSH = IT("SpecialMesh",PART)
  470. MSH.MeshType = "Sphere"
  471. elseif TYPE == "Wedge" then
  472. MSH = IT("SpecialMesh",PART)
  473. MSH.MeshType = "Wedge"
  474. end
  475. return MSH
  476. end
  477.  
  478. function CheckTableForString(Table, String)
  479. for i, v in pairs(Table) do
  480. if string.find(string.lower(String), string.lower(v)) then
  481. return true
  482. end
  483. end
  484. return false
  485. end
  486.  
  487. function CheckIntangible(Hit)
  488. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  489. if Hit and Hit.Parent then
  490. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  491. return true
  492. end
  493. end
  494. return false
  495. end
  496.  
  497. Debris = game:GetService("Debris")
  498.  
  499. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  500. local Direction = CFrame.new(StartPos, Vec).lookVector
  501. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  502. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  503. if RayHit and CheckIntangible(RayHit) then
  504. if DelayIfHit then
  505. wait()
  506. end
  507. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  508. end
  509. return RayHit, RayPos, RayNormal
  510. end
  511.  
  512. function turnto(position)
  513. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  514. end
  515.  
  516. --//=================================\\
  517. --|| WEAPON CREATION
  518. --\\=================================//
  519.  
  520. LeftArm.Transparency = 1
  521. local PART = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Gear", LeftArm.Size*1.1, false)
  522. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  523. local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", LeftArm.Size*1.11, false)
  524. MakeForm(PART,"Wedge")
  525. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,-0.01) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  526. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*1.11, false)
  527. MakeForm(PART,"Wedge")
  528. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0,-0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  529. local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", VT(1,1,1)*1.11, false)
  530. MakeForm(PART,"Wedge")
  531. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,-1.655,-0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(180), RAD(180), RAD(0)), CF(0, 0, 0))
  532. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
  533. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,0.4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  534. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
  535. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,-0.4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  536. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", LeftArm.Size*0.3, false)
  537. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.2,1.7,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  538. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
  539. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,1.15,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  540. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
  541. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,0.55,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  542. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Gear", VT(0.5,0.5,1.2), false)
  543. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,-0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  544. local PART = CreatePart(3, Weapon, "Neon", 0, 0, "Maroon", "Gear", VT(0.5,3,0.8), false)
  545. MakeForm(PART,"Ball")
  546. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.45,0.55,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  547. local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", LeftArm.Size*0.8, false)
  548. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  549. local PART = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Gear", LeftArm.Size*0.7, false)
  550. PART.Color = C3(0,0,0)
  551. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,1.11,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  552. local PART = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Gear", LeftArm.Size*0.7, false)
  553. MakeForm(PART,"Ball")
  554. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.6,1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  555. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Claw", VT(0,0,0), false)
  556. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.5,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
  557. CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
  558. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Claw", VT(0,0,0), false)
  559. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
  560. CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.025,0.025), VT(0,0,0))
  561. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Claw", VT(0,0,0), false)
  562. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(-0.5,0.5,2) * ANGLES(RAD(90), RAD(90), RAD(0)), CF(0, 0, 0))
  563. CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
  564. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Claw", VT(0,0,0), false)
  565. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(-0.25,1,1) * ANGLES(RAD(90), RAD(45), RAD(0)), CF(0, 0, 0))
  566. CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
  567. local PART = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Really black", "Claw", VT(0,0,0), false)
  568. CreateWeldOrSnapOrMotor("Weld", LeftArm, PART, LeftArm, CF(0.25,1,1) * ANGLES(RAD(90), RAD(180-45), RAD(0)), CF(0, 0, 0))
  569. CreateMesh("SpecialMesh", PART, "FileMesh", "448386996", "", VT(0.001,0.02,0.02), VT(0,0,0))
  570.  
  571. for _, c in pairs(Weapon:GetChildren()) do
  572. if c.ClassName == "Part" then
  573. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  574. end
  575. end
  576.  
  577. Weapon.Parent = Character
  578.  
  579. Humanoid.Died:connect(function()
  580. ATTACK = true
  581. end)
  582.  
  583. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  584. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  585. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  586. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  587. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  588.  
  589. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK] Claw Combo", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 0, "Text 1")
  590. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[Z] Uppercut", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0, "Text 2")
  591. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[B] Claw Wheel", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0, "Text 3")
  592. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Laser Blast", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0, "Text 4")
  593. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[V] Drone display", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 0, "Text 5")
  594.  
  595. --//=================================\\
  596. --|| DAMAGE FUNCTIONS
  597. --\\=================================//
  598.  
  599. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  600. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  601. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  602. local BODYGYRO = IT("BodyGyro", STATPART)
  603. local BODYPOSITION = IT("BodyPosition", STATPART)
  604. BODYPOSITION.P = 2000
  605. BODYPOSITION.D = 100
  606. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  607. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  608. game:GetService("Debris"):AddItem(STATPART ,5)
  609. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  610. BILLBOARDGUI.Adornee = STATPART
  611. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  612. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  613. BILLBOARDGUI.AlwaysOnTop = false
  614. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  615. TEXTLABEL.BackgroundTransparency = 1
  616. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  617. TEXTLABEL.Text = TEXT
  618. TEXTLABEL.Font = "SciFi"
  619. TEXTLABEL.FontSize="Size42"
  620. TEXTLABEL.TextColor3 = COLOR
  621. TEXTLABEL.TextStrokeTransparency = 1
  622. TEXTLABEL.TextScaled = true
  623. TEXTLABEL.TextWrapped = true
  624. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  625. if LABELTYPE == "Normal" then
  626. for i = 1, 30 do
  627. Swait()
  628. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  629. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  630. end
  631. elseif LABELTYPE == "Debuff" then
  632. for i = 1, 30 do
  633. Swait()
  634. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  635. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  636. end
  637. elseif LABELTYPE == "Shock" then
  638. local ORIGIN = STATPART.Position
  639. for i = 1, 30 do
  640. Swait()
  641. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  642. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  643. end
  644. end
  645. THEPART.Parent = nil
  646. end),STATPART, BODYPOSITION, TEXTLABEL)
  647. end
  648.  
  649. --//=================================\\
  650. --|| DAMAGING
  651. --\\=================================//
  652.  
  653. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  654. local defence = Instance.new("BoolValue",Humanoid.Parent)
  655. defence.Name = ("HitBy"..Player.Name)
  656. game:GetService("Debris"):AddItem(defence, 0.001)
  657. local ROOT = Humanoid.Parent:FindFirstChild("HumanoidRootPart") or Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  658. if ROOT ~= nil then
  659. VALUE2 = ROOT
  660. end
  661. if Humanoid.Health ~= 0 then
  662. local CritChance = MRANDOM(1,100)
  663. if CritChance < CritRate + 1 then
  664. Damage = Damage*CritMultiplier
  665. end
  666. if Damage > Humanoid.Health then
  667. Damage = math.ceil(Humanoid.Health)
  668. if Damage == 0 then
  669. Damage = 0.1
  670. end
  671. end
  672. Humanoid.Health = Humanoid.Health - Damage
  673. if Humanoid.Parent:FindFirstChild("Head") then
  674. if CritChance < CritRate + 1 then
  675. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  676. else
  677. StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  678. end
  679. end
  680. end
  681. end
  682.  
  683. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  684. local dmg = math.random(min,max)
  685. for i,v in ipairs(workspace:GetChildren()) do
  686. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  687. local body = v:GetChildren()
  688. for part = 1, #body do
  689. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  690. if(body[part].Position - position).Magnitude < radius then
  691. if v.ClassName == "Model" then
  692. if v:FindFirstChildOfClass("Humanoid") then
  693. if CanBeDodgedByJumping == true then
  694. if body[part].Position.Y < position.Y+5 then
  695. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  696. end
  697. else
  698. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  699. end
  700. local bv = Instance.new("BodyVelocity")
  701. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  702. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  703. bv.Parent = body[part]
  704. Debris:AddItem(bv,0.2)
  705. end
  706. end
  707. end
  708. end
  709. end
  710. end
  711. if v:FindFirstChild("HitBy"..Player.Name) then
  712. v:FindFirstChild("HitBy"..Player.Name):remove()
  713. end
  714. end
  715. end
  716.  
  717. function AoEStun(POS,RANGE,LAST)
  718. for i,v in ipairs(workspace:GetChildren()) do
  719. if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  720. local body = v:GetChildren()
  721. for part = 1, #body do
  722. if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  723. if(body[part].Position - POS).Magnitude < RANGE then
  724. if v.ClassName == "Model" then
  725. if v:FindFirstChild("Humanoid") then
  726. if v.Humanoid.Health ~= 0 then
  727. Stun(v.Humanoid,LAST)
  728. local defence = Instance.new("BoolValue",v)
  729. defence.Name = ("StunnedBy"..Player.Name)
  730. game:GetService("Debris"):AddItem(defence, 0.1)
  731. end
  732. end
  733. end
  734. end
  735. end
  736. end
  737. end
  738. end
  739. end
  740.  
  741. function Stun(HUMANOID,LAST)
  742. if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  743. HUMANOID.PlatformStand = true
  744. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  745. defence.Name = ("StunnedBy"..Player.Name)
  746. game:GetService("Debris"):AddItem(defence, LAST)
  747. if HUMANOID.Parent:FindFirstChild("Head") then
  748. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  749. end
  750. coroutine.resume(coroutine.create(function()
  751. Swait(LAST*100)
  752. HUMANOID.PlatformStand = false
  753. end))
  754. end
  755. end
  756.  
  757. function Poison(HUMANOID,LAST,DAMAGE)
  758. if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  759. local defence = Instance.new("BoolValue",HUMANOID.Parent)
  760. defence.Name = ("PoisonedBy"..Player.Name)
  761. game:GetService("Debris"):AddItem(defence, LAST)
  762. coroutine.resume(coroutine.create(function()
  763. for i = 1, LAST/2 do
  764. if HUMANOID.Parent:FindFirstChild("Head") then
  765. StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  766. end
  767. Swait(2)
  768. HUMANOID.Health = HUMANOID.Health - DAMAGE
  769. end
  770. end))
  771. end
  772. end
  773.  
  774. function killnearest(position,range,maxstrength)
  775. for i,v in ipairs(workspace:GetChildren()) do
  776. local body = v:GetChildren()
  777. for part = 1, #body do
  778. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  779. if(body[part].Position - position).Magnitude < range then
  780. if v.ClassName == "Model" then
  781. v:BreakJoints()
  782. end
  783. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  784. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  785. end
  786. end
  787. end
  788. if v.ClassName == "Part" then
  789. if v.Anchored == false and (v.Position - position).Magnitude < range then
  790. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  791. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  792. end
  793. end
  794. end
  795. end
  796.  
  797. --//=================================\\
  798. --|| ATTACK FUNCTIONS AND STUFF
  799. --\\=================================//
  800.  
  801. function SpawnDrone()
  802. local DRONEMODEL = IT("Model",Weapon)
  803. DRONEMODEL.Name = "Drone"
  804. local CENTERPART = CreatePart(3, DRONEMODEL, "DiamondPlate", 0, 0, "Really black", "Torso", VT(1,1,1), false)
  805. CENTERPART.CFrame = LeftArm.CFrame*CF(0,-3.5,0)
  806. MakeForm(CENTERPART,"Ball")
  807.  
  808. local PART = CreatePart(3, DRONEMODEL, "Neon", 0, 0, "Really red", "Neon", VT(1.01,0.2,1.01), false)
  809. MakeForm(PART,"Ball")
  810. CreateWeldOrSnapOrMotor("Weld", CENTERPART, PART, CENTERPART, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  811.  
  812. local PART = CreatePart(3, DRONEMODEL, "Neon", 0, 0, "Really red", "Neon", VT(1.01,0.2,1.01), false)
  813. MakeForm(PART,"Ball")
  814. CreateWeldOrSnapOrMotor("Weld", CENTERPART, PART, CENTERPART, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  815.  
  816. local PART = CreatePart(3, DRONEMODEL, "Neon", 0, 0, "Really red", "Neon", VT(1.01,0.2,1.01), false)
  817. MakeForm(PART,"Ball")
  818. CreateWeldOrSnapOrMotor("Weld", CENTERPART, PART, CENTERPART, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  819.  
  820. local PART = CreatePart(3, DRONEMODEL, "Neon", 0, 1, "Really red", "Head", VT(0.3,0.3,0.3), false)
  821. CreateWeldOrSnapOrMotor("Weld", CENTERPART, PART, CENTERPART, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  822. local HUMANOID = IT("Humanoid",DRONEMODEL)
  823. HUMANOID.MaxHealth = 35
  824. HUMANOID.Health = 35
  825. HUMANOID.PlatformStand = true
  826. local GYRO = IT("BodyGyro",CENTERPART)
  827. GYRO.D = 100
  828. GYRO.P = 2000
  829. GYRO.MaxTorque = VT(0,4000000,0)
  830. local POS = Instance.new("BodyPosition",CENTERPART)
  831. POS.P = 20000
  832. POS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  833. table.insert(DRONES,{DRONEMODEL,CENTERPART,GYRO,POS,HUMANOID})
  834. return DRONEMODEL
  835. end
  836.  
  837. function ClawCombo()
  838. ATTACK = true
  839. Rooted = false
  840. if COMBO == 1 then
  841. COMBO = 2
  842. for i=0, 1, 0.1 / Animation_Speed do
  843. Swait()
  844. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 0.15 / Animation_Speed)
  846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  848. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  850. end
  851. CreateSound("199150686", LeftArm, 3, 1)
  852. for i=0, 0.1, 0.1 / Animation_Speed do
  853. Swait()
  854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(45), RAD(34), RAD(45)), 2 / Animation_Speed)
  855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(45), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(155), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  858. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  860. end
  861. AoEDamage(LeftArm.CFrame*CF(0,-3,0).p,5,10,12,0,2,2,false)
  862. Slice("Thin",0,15,RootPart.CFrame*CF(0,0,0)*ANGLES(RAD(0),RAD(90),RAD(0)),COLOR,VT(0.1,0,0.1))
  863. for i=0, 0.15, 0.1 / Animation_Speed do
  864. Swait()
  865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)) * ANGLES(RAD(45), RAD(34), RAD(45)), 2 / Animation_Speed)
  866. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(45), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  868. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(155), RAD(0), RAD(55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  869. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  870. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  871. end
  872. for i=0, 0.3, 0.1 / Animation_Speed do
  873. Swait()
  874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  875. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 0.15 / Animation_Speed)
  876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  878. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  879. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  880. end
  881. elseif COMBO == 2 then
  882. COMBO = 3
  883. for i=0, 1, 0.1 / Animation_Speed do
  884. Swait()
  885. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  886. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 0.15 / Animation_Speed)
  887. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  888. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(155), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  889. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  890. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  891. end
  892. local LOOP = 0
  893. for i = 1, 10 do
  894. CreateSound("199150686", LeftArm, 3, MRANDOM(8,12)/10)
  895. for i=0, 0.2, 0.1 / Animation_Speed do
  896. Swait()
  897. LOOP = LOOP + 45
  898. Slice("Thin",0,15,Torso.CFrame*CF(0,MRANDOM(-15,15)/10,0)*ANGLES(RAD(0),RAD(90),RAD(45)),COLOR,VT(0.1,0,0.1))
  899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90+LOOP)) * ANGLES(RAD(45), RAD(0), RAD(45)), 2 / Animation_Speed)
  900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  903. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  905. end
  906. AoEDamage(RootPart.Position,15,2,5,0,2,2,false)
  907. end
  908. elseif COMBO == 3 then
  909. COMBO = 1
  910. for i=0, 1, 0.1 / Animation_Speed do
  911. Swait()
  912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 0.15 / Animation_Speed)
  914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  916. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  918. end
  919. Rooted = true
  920. VALUE1 = true
  921. CreateSound("92597369", LeftArm, 3, 1)
  922. CreateSound("92597369", LeftArm, 3, 0.9)
  923. CreateSound("92597369", LeftArm, 3, 0.8)
  924. for i = 1, 3 do
  925. for i=0, 0.1, 0.1 / Animation_Speed do
  926. Swait()
  927. CreateWave(VT(12,0.2,12),24,RootPart.CFrame*CF(0,0,-5)*ANGLES(RAD(90),RAD(0),RAD(0)),true,5,COLOR,VT(-1,0,-1)/2)
  928. RootPart.CFrame = RootPart.CFrame*CF(0,0,-1)
  929. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-120)) * ANGLES(RAD(45), RAD(34), RAD(45)), 2 / Animation_Speed)
  930. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(75), RAD(0), RAD(0)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  931. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(45), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  932. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-25), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  933. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  934. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  935. end
  936. AoEDamage(LeftArm.CFrame*CF(0,-3,0).p,10,20,22,0,2,2,false)
  937. end
  938. for i=0, 0.15, 0.1 / Animation_Speed do
  939. Swait()
  940. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.2)
  941. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-120)) * ANGLES(RAD(45), RAD(34), RAD(45)), 2 / Animation_Speed)
  942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(75), RAD(0), RAD(0)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(45), RAD(45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.3) * ANGLES(RAD(-25), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  945. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  946. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  947. end
  948. VALUE1 = false
  949. for i=0, 0.3, 0.1 / Animation_Speed do
  950. Swait()
  951. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(45), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  952. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 0.15 / Animation_Speed)
  953. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  954. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-120)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  955. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  956. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  957. end
  958. end
  959. ATTACK = false
  960. Rooted = false
  961. end
  962.  
  963. function UpperCut()
  964. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  965. if HITFLOOR ~= nil then
  966. ATTACK = true
  967. Rooted = true
  968. VALUE1 = true
  969. UNANCHOR = false
  970. RootPart.Anchored = true
  971. CreateSound("199150686", LeftArm, 3, MRANDOM(8,12)/10)
  972. for i=1, 12 do
  973. Swait()
  974. RootPart.CFrame = RootPart.CFrame * CF(0,0.4,-1)
  975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-i*30), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  976. 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)
  977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(12), RAD(0), RAD(0)), 2 / Animation_Speed)
  980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 2 / Animation_Speed)
  981. AoEDamage(LeftArm.CFrame*CF(0,-2,0).p,5,6,12,5,0,1,1.5,false)
  982. Slice("Base",2,5,LeftArm.CFrame*CF(0,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)),COLOR,VT(0,0,0))
  983. end
  984. UNANCHOR = true
  985. RootPart.Anchored = false
  986. for i=0, 0.2, 0.1 / Animation_Speed do
  987. Swait()
  988. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(25)), 2 / Animation_Speed)
  989. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-25)), 2 / Animation_Speed)
  990. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(75), RAD(-25), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  991. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(45), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  992. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  993. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  994. end
  995. VALUE1 = false
  996. ATTACK = false
  997. Rooted = false
  998. end
  999. end
  1000.  
  1001. function ClawWheel()
  1002. ATTACK = true
  1003. Rooted = true
  1004. VALUE1 = true
  1005. for i=0, 0.2, 0.1 / Animation_Speed do
  1006. Swait()
  1007. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)) * ANGLES(RAD(45), RAD(0), RAD(45)), 2 / Animation_Speed)
  1008. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-45)), 2 / Animation_Speed)
  1009. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(0), RAD(90), RAD(90)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1010. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1011. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1012. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1013. end
  1014. for i=1, 70 do
  1015. Swait()
  1016. VALUE1 = true
  1017. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  1018. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, (5-(3-i/50))) * ANGLES(RAD(0), RAD(65), RAD(i*50)), 2 / Animation_Speed)
  1019. 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)
  1020. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1021. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1022. 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)
  1023. 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)
  1024. AoEDamage(LeftArm.CFrame*CF(0,-2,0).p,5,5,5,5,0,1,1.5,false)
  1025. CreateSound("199150686", LeftArm, 3, MRANDOM(8,12)/10)
  1026. Slice("Base",1,5,LeftArm.CFrame*CF(0,-2,0) * ANGLES(RAD(0), RAD(0), RAD(0)),COLOR,VT(0,0,0))
  1027. end
  1028. for i=0, 0.2, 0.1 / Animation_Speed do
  1029. Swait()
  1030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(25)), 2 / Animation_Speed)
  1031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-25)), 2 / Animation_Speed)
  1032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(75), RAD(-25), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(45), RAD(-25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1034. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  1035. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  1036. end
  1037. VALUE1 = false
  1038. ATTACK = false
  1039. Rooted = false
  1040. end
  1041.  
  1042. function LaserBlast()
  1043. ATTACK = true
  1044. Rooted = true
  1045. for i=0, 1, 0.1 / Animation_Speed do
  1046. Swait()
  1047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1051. 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)), 2 / Animation_Speed)
  1052. 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)), 2 / Animation_Speed)
  1053. end
  1054. local AIMPOS = Mouse.Hit.p
  1055. VALUE1 = true
  1056. CreateSound("1368573150", LeftArm, 3, 1)
  1057. for i=0, 2, 0.1 / Animation_Speed do
  1058. Swait()
  1059. CreateRing(VT(0,0,0),false,0,15,LeftArm.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLOR,VT(0.2,0.2,0)/10)
  1060. CreateRing(VT(15,15,0)/10,false,0,15,LeftArm.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLOR,VT(-1,-1,0)/10)
  1061. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1062. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1063. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1064. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1065. 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)), 2 / Animation_Speed)
  1066. 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)), 2 / Animation_Speed)
  1067. end
  1068. local DIRECTION = CF(LeftArm.CFrame*CF(0,-3,0).p,AIMPOS).lookVector
  1069. CreateSound("1368598393", LeftArm, 3, 1)
  1070. local FIRE1 = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Laser", VT(0,0,0))
  1071. MakeForm(FIRE1,"Ball")
  1072. local FIRE2 = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Laser", VT(0,0,0))
  1073. MakeForm(FIRE2,"Cyl")
  1074. for i=1, 45 do
  1075. Swait()
  1076. if i == 15 then
  1077. for i = 1, math.ceil(FIRE2.Size.Y/30) do
  1078. AoEDamage(FIRE2.CFrame*CF(0,i*15,0).p,25,25,35,5,0,1,1.5,false)
  1079. Slice("Round",1,45,FIRE2.CFrame*CF(0,i*15,0) * ANGLES(RAD(90), RAD(0), RAD(MRANDOM(-180,180))),COLOR,VT(0,0,0))
  1080. end
  1081. for i = 1, math.ceil(FIRE2.Size.Y/30) do
  1082. AoEDamage(FIRE2.CFrame*CF(0,-i*15,0).p,25,25,35,5,0,1,1.5,false)
  1083. Slice("Round",1,45,FIRE2.CFrame*CF(0,i*15,0) * ANGLES(RAD(90), RAD(0), RAD(MRANDOM(-180,180))),COLOR,VT(0,0,0))
  1084. end
  1085. end
  1086. FIRE1.Color = COLOR
  1087. FIRE2.Color = COLOR
  1088. local HIT,POS = Raycast(LeftArm.CFrame*CF(0,-3,0).p, DIRECTION, 1500, workspace)
  1089. local DISTANCE = (LeftArm.CFrame*CF(0,-3,0).p - POS).Magnitude
  1090. FIRE2.Size = VT(i/15,DISTANCE,i/15)
  1091. FIRE2.CFrame = CF(LeftArm.CFrame*CF(0,-3,0).p, POS) * CF(0, 0, -DISTANCE/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1092. FIRE1.Size = VT(i/15,i/15,i/15)
  1093. FIRE1.CFrame = FIRE2.CFrame*CF(0,FIRE2.Size.Y/2,0)
  1094. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  1095. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1096. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1099. 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)), 2 / Animation_Speed)
  1100. 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)), 2 / Animation_Speed)
  1101. end
  1102. for i=1, 40 do
  1103. Swait()
  1104. FIRE1.Color = COLOR
  1105. FIRE2.Color = COLOR
  1106. local HIT,POS = Raycast(LeftArm.CFrame*CF(0,-3,0).p, DIRECTION, 1500, workspace)
  1107. local DISTANCE = (LeftArm.CFrame*CF(0,-3,0).p - POS).Magnitude
  1108. FIRE2.Size = VT(FIRE2.Size.X * 0.9,DISTANCE,FIRE2.Size.Z * 0.9)
  1109. FIRE2.CFrame = CF(LeftArm.CFrame*CF(0,-3,0).p, POS) * CF(0, 0, -DISTANCE/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1110. FIRE1.Size = FIRE1.Size * 0.9
  1111. FIRE1.CFrame = FIRE2.CFrame*CF(0,FIRE2.Size.Y/2,0)
  1112. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  1113. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1114. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1115. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1116. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1117. 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)), 2 / Animation_Speed)
  1118. 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)), 2 / Animation_Speed)
  1119. end
  1120. FIRE1:remove()
  1121. FIRE2:remove()
  1122. VALUE1 = false
  1123. ATTACK = false
  1124. Rooted = false
  1125. end
  1126.  
  1127. function DroneDisplay()
  1128. ATTACK = true
  1129. Rooted = true
  1130. VALUE1 = true
  1131. for i=0, 1, 0.1 / Animation_Speed do
  1132. Swait()
  1133. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1134. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1135. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1136. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1137. 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)), 2 / Animation_Speed)
  1138. 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)), 2 / Animation_Speed)
  1139. end
  1140. CreateSound("90655239", LeftArm, 3, 1)
  1141. MagicSphere(VT(0,0,0),25,LeftArm.CFrame*CF(0,-3,0),COLOR,VT(0.3,0.3,0.3))
  1142. CreateWave(VT(12,0.2,12),24,LeftArm.CFrame*CF(0,-2.5,0),true,5,COLOR,VT(-1,0,-1)/2)
  1143. SpawnDrone()
  1144. for i=0, 0.3, 0.1 / Animation_Speed do
  1145. Swait()
  1146. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  1147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 2 / Animation_Speed)
  1148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 2 / Animation_Speed)
  1149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-0.5, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.55, 0) * ANGLES(RAD(90), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1151. 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)), 2 / Animation_Speed)
  1152. 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)), 2 / Animation_Speed)
  1153. end
  1154. VALUE1 = false
  1155. ATTACK = false
  1156. Rooted = false
  1157. end
  1158.  
  1159. --//=================================\\
  1160. --|| ASSIGN THINGS TO KEYS
  1161. --\\=================================//
  1162.  
  1163. function MouseDown(Mouse)
  1164. if ATTACK == false then
  1165. ClawCombo()
  1166. end
  1167. end
  1168.  
  1169. function MouseUp(Mouse)
  1170. HOLD = false
  1171. end
  1172.  
  1173. function KeyDown(Key)
  1174. KEYHOLD = true
  1175. if Key == "z" and ATTACK == false then
  1176. UpperCut()
  1177. end
  1178.  
  1179. if Key == "b" and ATTACK == false then
  1180. ClawWheel()
  1181. end
  1182.  
  1183. if Key == "c" and ATTACK == false then
  1184. LaserBlast()
  1185. end
  1186.  
  1187. if Key == "v" and ATTACK == false then
  1188. if #DRONES < 5 then
  1189. DroneDisplay()
  1190. end
  1191. end
  1192. end
  1193.  
  1194. function KeyUp(Key)
  1195. KEYHOLD = false
  1196. end
  1197.  
  1198. Mouse.Button1Down:connect(function(NEWKEY)
  1199. MouseDown(NEWKEY)
  1200. end)
  1201. Mouse.Button1Up:connect(function(NEWKEY)
  1202. MouseUp(NEWKEY)
  1203. end)
  1204. Mouse.KeyDown:connect(function(NEWKEY)
  1205. KeyDown(NEWKEY)
  1206. end)
  1207. Mouse.KeyUp:connect(function(NEWKEY)
  1208. KeyUp(NEWKEY)
  1209. end)
  1210.  
  1211. --//=================================\\
  1212. --\\=================================//
  1213.  
  1214.  
  1215. function unanchor()
  1216. if UNANCHOR == true then
  1217. g = Character:GetChildren()
  1218. for i = 1, #g do
  1219. if g[i].ClassName == "Part" then
  1220. g[i].Anchored = false
  1221. end
  1222. end
  1223. end
  1224. end
  1225.  
  1226.  
  1227. --//=================================\\
  1228. --|| WRAP THE WHOLE SCRIPT UP
  1229. --\\=================================//
  1230.  
  1231. Humanoid.Changed:connect(function(Jump)
  1232. if Jump == "Jump" and (Disable_Jump == true) then
  1233. Humanoid.Jump = false
  1234. end
  1235. end)
  1236.  
  1237. Speed = 25
  1238. local GYRO = IT("BodyGyro",RootPart)
  1239. GYRO.D = 100
  1240. GYRO.P = 2000
  1241. GYRO.MaxTorque = VT(0,4000000,0)
  1242. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1243.  
  1244. while true do
  1245. Swait()
  1246. if VALUE1 == false then
  1247. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1248. end
  1249. ANIMATE.Parent = nil
  1250. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1251. IDLEANIMATION:Play()
  1252. SINE = SINE + CHANGE
  1253. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1254. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1255. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1256. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1257. local WALKSPEEDVALUE = 5
  1258. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1259. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1260. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1261. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1262. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1263. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1264. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1265. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1266. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1267. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1268. end
  1269. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1270. ANIM = "Jump"
  1271. if ATTACK == false then
  1272. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1273. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1274. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1275. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1276. 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)
  1277. 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)
  1278. end
  1279. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1280. ANIM = "Fall"
  1281. if ATTACK == false then
  1282. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1286. 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)
  1287. 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)
  1288. end
  1289. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1290. ANIM = "Idle"
  1291. if ATTACK == false then
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(20), RAD(-25)), 0.15 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.51, 0) * ANGLES(RAD(75), RAD(-25), RAD(-45)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(45), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1.2, -0.4 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(65), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.8, -0.9 - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(0), RAD(-45), RAD(-25)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1298. end
  1299. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1300. ANIM = "Walk"
  1301. WALK = WALK + 1 / Animation_Speed
  1302. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1303. WALK = 0
  1304. if WALKINGANIM == true then
  1305. WALKINGANIM = false
  1306. elseif WALKINGANIM == false then
  1307. WALKINGANIM = true
  1308. end
  1309. end
  1310. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1311. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1312. if ATTACK == false then
  1313. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.3) * ANGLES(RAD(15 + 5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(25)), 2 / Animation_Speed)
  1314. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1315. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-35), RAD(25)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1316. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(35), RAD(-45)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1317. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -0.8 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1318. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-115), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1319. end
  1320. end
  1321. unanchor()
  1322. Humanoid.MaxHealth = "inf"
  1323. Humanoid.Health = "inf"
  1324. if Rooted == false then
  1325. Disable_Jump = false
  1326. Humanoid.WalkSpeed = Speed
  1327. elseif Rooted == true then
  1328. Disable_Jump = true
  1329. Humanoid.WalkSpeed = 0
  1330. end
  1331. COLOR = C3(sick.PlaybackLoudness/250,0,0)
  1332. for _, c in pairs(Weapon:GetChildren()) do
  1333. if c.ClassName == "Part" then
  1334. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1335. if c.Material == Enum.Material.Neon then
  1336. c.Color = COLOR
  1337. end
  1338. elseif c.ClassName == "Model" then
  1339. for _, q in pairs(c:GetChildren()) do
  1340. if q.ClassName == "Part" then
  1341. q.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1342. if q.Material == Enum.Material.Neon then
  1343. q.Color = COLOR
  1344. end
  1345. end
  1346. end
  1347. end
  1348. end
  1349. SKILL1TEXT.TextColor3 = COLOR
  1350. SKILL2TEXT.TextColor3 = COLOR
  1351. SKILL3TEXT.TextColor3 = COLOR
  1352. SKILL4TEXT.TextColor3 = COLOR
  1353. SKILL5TEXT.TextColor3 = COLOR
  1354. if #DRONES>0 then
  1355. for e=1,#DRONES do
  1356. if DRONES[e]~=nil then
  1357. local Thing=DRONES[e]
  1358. if Thing~=nil then
  1359. local Model=Thing[1]
  1360. local CenterPart=Thing[2]
  1361. local Gyro=Thing[3]
  1362. local Pos=Thing[4]
  1363. local Humanoid=Thing[5]
  1364. if VALUE2 == nil then
  1365. Gyro.cframe = CF(CenterPart.Position,Mouse.Hit.p)
  1366. Pos.Position = RootPart.CFrame*CF(3+((1+e*2)-2),0.7 + (1+e*2) - 0.15 * COS(SINE/12),-1).p
  1367. else
  1368. if VALUE2.ClassName == "Part" or VALUE2.ClassName == "MeshPart" then
  1369. Gyro.cframe = CF(CenterPart.Position,VALUE2.Position)
  1370. Pos.Position = VALUE2.CFrame*CF(0,5,0)*ANGLES(RAD(0),RAD(360/e),RAD(0)) * CF(0,0,5).p
  1371. local HUMAN = VALUE2.Parent:FindFirstChildOfClass("Humanoid")
  1372. if HUMAN then
  1373. if HUMAN.Health == 0 then
  1374. VALUE2 = nil
  1375. end
  1376. end
  1377. if MRANDOM(1,75) == 1 then
  1378. local DIRECTION = CF(CenterPart.Position,VALUE2.Position)
  1379. CreateWave(VT(0,2,0),24,DIRECTION*CF(0,0,-1)*ANGLES(RAD(90),RAD(0),RAD(0)),true,5,COLOR,VT(0.1,0,0.1))
  1380. CreateSound("950831913", CenterPart, 3, 1)
  1381. MagicSphere(VT(0,0,0),25,CenterPart.CFrame,COLOR,VT(0.2,0.2,0.2))
  1382. AoEDamage(VALUE2.Position,3,5,5,0,2,2,false)
  1383. end
  1384. end
  1385. end
  1386. if Humanoid.Health == 0 then
  1387. Gyro:remove()
  1388. Pos:remove()
  1389. AoEDamage(CenterPart.Position,25,45,45,0,2,2,false)
  1390. for i = 1, 3 do
  1391. CreateRing(VT(0,0,0),false,0,15,CenterPart.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLOR,VT(0.6,0.6,0)/10)
  1392. end
  1393. CreateSound("952307359", CenterPart, 3, 1)
  1394. Humanoid:remove()
  1395. Debris:AddItem(Model,2)
  1396. CenterPart.RotVelocity = VT(0,0,0)
  1397. table.remove(DRONES,e)
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. end
  1404.  
  1405. --//=================================\\
  1406. --\\=================================//
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412. --//====================================================\\--
  1413. --|| END OF SCRIPT
  1414. --\\====================================================//--
Add Comment
Please, Sign In to add comment