Advertisement
Hoshi_star

Drill

Jun 11th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.01 KB | None | 0 0
  1. --[edited by JkBananaPill_H2O]--
  2.  
  3.  
  4. Player = game.Players.LocalPlayer
  5. Character = Player.Character
  6. local txt = Instance.new("BillboardGui", Character)
  7. txt.Adornee = Character.Head
  8. txt.Name = "_status"
  9. txt.Size = UDim2.new(2, 0, 1.2, 0)
  10. txt.StudsOffset = Vector3.new(-9, 8, 0)
  11. local text = Instance.new("TextLabel", txt)
  12. text.Size = UDim2.new(10, 0, 7, 0)
  13. text.FontSize = "Size24"
  14. text.TextScaled = true
  15. text.TextTransparency = 0
  16. text.BackgroundTransparency = 1
  17. text.TextTransparency = 0
  18. text.TextStrokeTransparency = 0
  19. text.Font = "Fantasy"
  20. text.TextStrokeColor3 = Color3.new(1,0,0)
  21. text.Text = "Death Digger"
  22.  
  23. --//======================================================================================\\--
  24. --|| CREATED BY SHACKLUSTER ( Edited by AlekiKole, made for nobodyspecial11
  25. --\\======================================================================================//--
  26.  
  27.  
  28.  
  29. wait(0.2)
  30.  
  31.  
  32.  
  33. Player = game:GetService("Players").LocalPlayer
  34. PlayerGui = Player.PlayerGui
  35. Cam = workspace.CurrentCamera
  36. Backpack = Player.Backpack
  37. Character = Player.Character
  38. Humanoid = Character.Humanoid
  39. Mouse = Player:GetMouse()
  40. RootPart = Character["HumanoidRootPart"]
  41. Torso = Character["Torso"]
  42. Head = Character["Head"]
  43. RightArm = Character["Right Arm"]
  44. LeftArm = Character["Left Arm"]
  45. RightLeg = Character["Right Leg"]
  46. LeftLeg = Character["Left Leg"]
  47. RootJoint = RootPart["RootJoint"]
  48. Neck = Torso["Neck"]
  49. RightShoulder = Torso["Right Shoulder"]
  50. LeftShoulder = Torso["Left Shoulder"]
  51. RightHip = Torso["Right Hip"]
  52. LeftHip = Torso["Left Hip"]
  53.  
  54. IT = Instance.new
  55. CF = CFrame.new
  56. VT = Vector3.new
  57. RAD = math.rad
  58. C3 = Color3.new
  59. UD2 = UDim2.new
  60. BRICKC = BrickColor.new
  61. ANGLES = CFrame.Angles
  62. EULER = CFrame.fromEulerAnglesXYZ
  63. COS = math.cos
  64. ACOS = math.acos
  65. SIN = math.sin
  66. ASIN = math.asin
  67. ABS = math.abs
  68. MRANDOM = math.random
  69. FLOOR = math.floor
  70.  
  71. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  72. local NEWMESH = IT(MESH)
  73. if MESH == "SpecialMesh" then
  74. NEWMESH.MeshType = MESHTYPE
  75. if MESHID ~= "nil" and MESHID ~= "" then
  76. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  77. end
  78. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  79. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  80. end
  81. end
  82. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  83. NEWMESH.Scale = SCALE
  84. NEWMESH.Parent = PARENT
  85. return NEWMESH
  86. end
  87.  
  88. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  89. local NEWPART = IT("Part")
  90. NEWPART.formFactor = FORMFACTOR
  91. NEWPART.Reflectance = REFLECTANCE
  92. NEWPART.Transparency = TRANSPARENCY
  93. NEWPART.CanCollide = false
  94. NEWPART.Locked = true
  95. NEWPART.Anchored = true
  96. if ANCHOR == false then
  97. NEWPART.Anchored = false
  98. end
  99. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  100. NEWPART.Name = NAME
  101. NEWPART.Size = SIZE
  102. NEWPART.Position = Torso.Position
  103. NEWPART.Material = MATERIAL
  104. NEWPART:BreakJoints()
  105. NEWPART.Parent = PARENT
  106. return NEWPART
  107. end
  108.  
  109. --//=================================\\
  110. --|| CUSTOMIZATION
  111. --\\=================================//
  112.  
  113. Player_Size = 1 --Size of the player.
  114. Animation_Speed = 3
  115. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  116.  
  117. local Speed = 16
  118. local Effects2 = {}
  119.  
  120. --//=================================\\
  121. --|| END OF CUSTOMIZATION
  122. --\\=================================//
  123.  
  124. local function weldBetween(a, b)
  125. local weldd = Instance.new("ManualWeld")
  126. weldd.Part0 = a
  127. weldd.Part1 = b
  128. weldd.C0 = CFrame.new()
  129. weldd.C1 = b.CFrame:inverse() * a.CFrame
  130. weldd.Parent = a
  131. return weldd
  132. end
  133.  
  134. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  135. local acs = Instance.new("Part")
  136. acs.CanCollide = false
  137. acs.Anchored = false
  138. acs.Size = Vector3.new(0,0,0)
  139. acs.CFrame = attachmentpart.CFrame
  140. acs.Parent = Character
  141. acs.BrickColor = color
  142. local meshs = Instance.new("SpecialMesh")
  143. meshs.MeshId = mesh
  144. meshs.TextureId = texture
  145. meshs.Parent = acs
  146. meshs.Scale = scale
  147. meshs.Offset = offset
  148. weldBetween(attachmentpart,acs)
  149. end
  150.  
  151. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  152. if TYPE == "Gem" then
  153. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  154. acs.Anchored = false
  155. acs.CanCollide = false
  156. acs.CFrame = PART.CFrame
  157. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  158. weldBetween(PART,acs)
  159. elseif TYPE == "Skull" then
  160. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  161. acs.Anchored = false
  162. acs.CanCollide = false
  163. acs.CFrame = PART.CFrame
  164. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  165. weldBetween(PART,acs)
  166. elseif TYPE == "Eye" then
  167. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  168. acs.Anchored = false
  169. acs.CanCollide = false
  170. acs.CFrame = PART.CFrame
  171. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. end
  174. end
  175.  
  176. --//=================================\\
  177. --|| USEFUL VALUES
  178. --\\=================================//
  179.  
  180. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  181. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  182. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  183. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  184. local CHANGEDEFENSE = 0
  185. local CHANGEDAMAGE = 0
  186. local CHANGEMOVEMENT = 0
  187. local ANIM = "Idle"
  188. local ATTACK = false
  189. local EQUIPPED = false
  190. local HOLD = false
  191. local COMBO = 1
  192. local Rooted = false
  193. local SINE = 0
  194. local KEYHOLD = false
  195. local CHANGE = 2 / Animation_Speed
  196. local WALKINGANIM = false
  197. local WALK = 0
  198. local VALUE1 = false
  199. local VALUE2 = false
  200. local ROBLOXIDLEANIMATION = IT("Animation")
  201. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  202. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  203. --ROBLOXIDLEANIMATION.Parent = Humanoid
  204. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  205. WEAPONGUI.Name = "Weapon GUI"
  206. local Weapon = IT("Model")
  207. Weapon.Name = "Adds"
  208. local Effects = IT("Folder", Weapon)
  209. Effects.Name = "Effects"
  210. local ANIMATOR = Humanoid.Animator
  211. local ANIMATE = Character.Animate
  212. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  213. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  214. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  215. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  216. local UNANCHOR = true
  217.  
  218. local SKILLTEXTCOLOR = C3(0,0,0)
  219.  
  220. --//=================================\\
  221. --\\=================================//
  222.  
  223.  
  224. --//=================================\\
  225. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  226. --\\=================================//
  227.  
  228. ArtificialHB = Instance.new("BindableEvent", script)
  229. ArtificialHB.Name = "ArtificialHB"
  230.  
  231. script:WaitForChild("ArtificialHB")
  232.  
  233. frame = Frame_Speed
  234. tf = 0
  235. allowframeloss = false
  236. tossremainder = false
  237. lastframe = tick()
  238. script.ArtificialHB:Fire()
  239.  
  240. game:GetService("RunService").Heartbeat:connect(function(s, p)
  241. tf = tf + s
  242. if tf >= frame then
  243. if allowframeloss then
  244. script.ArtificialHB:Fire()
  245. lastframe = tick()
  246. else
  247. for i = 1, math.floor(tf / frame) do
  248. script.ArtificialHB:Fire()
  249. end
  250. lastframe = tick()
  251. end
  252. if tossremainder then
  253. tf = 0
  254. else
  255. tf = tf - frame * math.floor(tf / frame)
  256. end
  257. end
  258. end)
  259.  
  260. --//=================================\\
  261. --\\=================================//
  262.  
  263.  
  264.  
  265.  
  266.  
  267. --//=================================\\
  268. --|| SOME FUNCTIONS
  269. --\\=================================//
  270.  
  271. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  272. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  273. end
  274.  
  275. function PositiveAngle(NUMBER)
  276. if NUMBER >= 0 then
  277. NUMBER = 0
  278. end
  279. return NUMBER
  280. end
  281.  
  282. function NegativeAngle(NUMBER)
  283. if NUMBER <= 0 then
  284. NUMBER = 0
  285. end
  286. return NUMBER
  287. end
  288.  
  289. function Swait(NUMBER)
  290. if NUMBER == 0 or NUMBER == nil then
  291. ArtificialHB.Event:wait()
  292. else
  293. for i = 1, NUMBER do
  294. ArtificialHB.Event:wait()
  295. end
  296. end
  297. end
  298.  
  299. function QuaternionFromCFrame(cf)
  300. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  301. local trace = m00 + m11 + m22
  302. if trace > 0 then
  303. local s = math.sqrt(1 + trace)
  304. local recip = 0.5 / s
  305. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  306. else
  307. local i = 0
  308. if m11 > m00 then
  309. i = 1
  310. end
  311. if m22 > (i == 0 and m00 or m11) then
  312. i = 2
  313. end
  314. if i == 0 then
  315. local s = math.sqrt(m00 - m11 - m22 + 1)
  316. local recip = 0.5 / s
  317. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  318. elseif i == 1 then
  319. local s = math.sqrt(m11 - m22 - m00 + 1)
  320. local recip = 0.5 / s
  321. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  322. elseif i == 2 then
  323. local s = math.sqrt(m22 - m00 - m11 + 1)
  324. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  325. end
  326. end
  327. end
  328.  
  329. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  330. local xs, ys, zs = x + x, y + y, z + z
  331. local wx, wy, wz = w * xs, w * ys, w * zs
  332. local xx = x * xs
  333. local xy = x * ys
  334. local xz = x * zs
  335. local yy = y * ys
  336. local yz = y * zs
  337. local zz = z * zs
  338. 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))
  339. end
  340.  
  341. function QuaternionSlerp(a, b, t)
  342. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  343. local startInterp, finishInterp;
  344. if cosTheta >= 0.0001 then
  345. if (1 - cosTheta) > 0.0001 then
  346. local theta = ACOS(cosTheta)
  347. local invSinTheta = 1 / SIN(theta)
  348. startInterp = SIN((1 - t) * theta) * invSinTheta
  349. finishInterp = SIN(t * theta) * invSinTheta
  350. else
  351. startInterp = 1 - t
  352. finishInterp = t
  353. end
  354. else
  355. if (1 + cosTheta) > 0.0001 then
  356. local theta = ACOS(-cosTheta)
  357. local invSinTheta = 1 / SIN(theta)
  358. startInterp = SIN((t - 1) * theta) * invSinTheta
  359. finishInterp = SIN(t * theta) * invSinTheta
  360. else
  361. startInterp = t - 1
  362. finishInterp = t
  363. end
  364. end
  365. 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
  366. end
  367.  
  368. function Clerp(a, b, t)
  369. local qa = {QuaternionFromCFrame(a)}
  370. local qb = {QuaternionFromCFrame(b)}
  371. local ax, ay, az = a.x, a.y, a.z
  372. local bx, by, bz = b.x, b.y, b.z
  373. local _t = 1 - t
  374. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  375. end
  376.  
  377. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  378. local frame = IT("Frame")
  379. frame.BackgroundTransparency = TRANSPARENCY
  380. frame.BorderSizePixel = BORDERSIZEPIXEL
  381. frame.Position = POSITION
  382. frame.Size = SIZE
  383. frame.BackgroundColor3 = COLOR
  384. frame.BorderColor3 = BORDERCOLOR
  385. frame.Name = NAME
  386. frame.Parent = PARENT
  387. return frame
  388. end
  389.  
  390. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  391. local label = IT("TextLabel")
  392. label.BackgroundTransparency = 1
  393. label.Size = UD2(1, 0, 1, 0)
  394. label.Position = UD2(0, 0, 0, 0)
  395. label.TextColor3 = TEXTCOLOR
  396. label.TextStrokeTransparency = STROKETRANSPARENCY
  397. label.TextTransparency = TRANSPARENCY
  398. label.FontSize = TEXTFONTSIZE
  399. label.Font = TEXTFONT
  400. label.BorderSizePixel = BORDERSIZEPIXEL
  401. label.TextScaled = false
  402. label.Text = TEXT
  403. label.Name = NAME
  404. label.Parent = PARENT
  405. return label
  406. end
  407.  
  408. function NoOutlines(PART)
  409. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  410. end
  411.  
  412.  
  413. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  414. local NEWWELD = IT(TYPE)
  415. NEWWELD.Part0 = PART0
  416. NEWWELD.Part1 = PART1
  417. NEWWELD.C0 = C0
  418. NEWWELD.C1 = C1
  419. NEWWELD.Parent = PARENT
  420. return NEWWELD
  421. end
  422.  
  423. function CreateSound(ID, PARENT, VOLUME, PITCH)
  424. local NEWSOUND = nil
  425. coroutine.resume(coroutine.create(function()
  426. NEWSOUND = IT("Sound", PARENT)
  427. NEWSOUND.Volume = VOLUME
  428. NEWSOUND.Pitch = PITCH
  429. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  430. Swait()
  431. NEWSOUND:play()
  432. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  433. end))
  434. return NEWSOUND
  435. end
  436.  
  437. function CFrameFromTopBack(at, top, back)
  438. local right = top:Cross(back)
  439. 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)
  440. end
  441.  
  442. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  443. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  444. local mesh = IT("SpecialMesh",wave)
  445. mesh.MeshType = "FileMesh"
  446. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  447. mesh.Scale = SIZE
  448. mesh.Offset = VT(0,0,-SIZE.X/8)
  449. wave.CFrame = CFRAME
  450. coroutine.resume(coroutine.create(function(PART)
  451. for i = 1, WAIT do
  452. Swait()
  453. mesh.Scale = mesh.Scale + GROW
  454. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  455. if DOESROT == true then
  456. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  457. end
  458. wave.Transparency = wave.Transparency + (0.5/WAIT)
  459. if wave.Transparency > 0.99 then
  460. wave:remove()
  461. end
  462. end
  463. end))
  464. end
  465.  
  466. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  467. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  468. local mesh = IT("SpecialMesh",wave)
  469. mesh.MeshType = "Sphere"
  470. mesh.Scale = SIZE
  471. mesh.Offset = VT(0,0,0)
  472. wave.CFrame = CFRAME
  473. coroutine.resume(coroutine.create(function(PART)
  474. for i = 1, WAIT do
  475. Swait()
  476. mesh.Scale = mesh.Scale + GROW
  477. wave.Transparency = wave.Transparency + (1/WAIT)
  478. if wave.Transparency > 0.99 then
  479. wave:remove()
  480. end
  481. end
  482. end))
  483. end
  484.  
  485. function MakeForm(PART,TYPE)
  486. if TYPE == "Cyl" then
  487. local MSH = IT("CylinderMesh",PART)
  488. elseif TYPE == "Ball" then
  489. local MSH = IT("SpecialMesh",PART)
  490. MSH.MeshType = "Sphere"
  491. elseif TYPE == "Wedge" then
  492. local MSH = IT("SpecialMesh",PART)
  493. MSH.MeshType = "Wedge"
  494. elseif TYPE == "Cone" then
  495. local MSH = IT("SpecialMesh",PART)
  496. MSH.MeshType = "FileMesh"
  497. MSH.MeshId = "http://www.roblox.com/asset/?id=785967755"
  498. MSH.Scale = PART.Size/50
  499. end
  500. end
  501.  
  502. function CheckTableForString(Table, String)
  503. for i, v in pairs(Table) do
  504. if string.find(string.lower(String), string.lower(v)) then
  505. return true
  506. end
  507. end
  508. return false
  509. end
  510.  
  511. function CheckIntangible(Hit)
  512. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  513. if Hit and Hit.Parent then
  514. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  515. return true
  516. end
  517. end
  518. return false
  519. end
  520.  
  521. Debris = game:GetService("Debris")
  522.  
  523. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  524. local Direction = CFrame.new(StartPos, Vec).lookVector
  525. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  526. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  527. if RayHit and CheckIntangible(RayHit) then
  528. if DelayIfHit then
  529. wait()
  530. end
  531. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  532. end
  533. return RayHit, RayPos, RayNormal
  534. end
  535.  
  536. function turnto(position)
  537. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  538. end
  539.  
  540. --//=================================\\
  541. --|| SPEECH
  542. --\\=================================//
  543.  
  544. function chatfunc(text,waitt)
  545. local chat = coroutine.wrap(function()
  546. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  547. Character:FindFirstChild("TalkingBillBoard"):destroy()
  548. end
  549. local naeeym2 = Instance.new("BillboardGui",Character)
  550. naeeym2.Size = UDim2.new(0,100,0,40)
  551. naeeym2.StudsOffset = Vector3.new(0,5,0)
  552. naeeym2.Adornee = Character.Head
  553. naeeym2.Name = "TalkingBillBoard"
  554. naeeym2.AlwaysOnTop = true
  555. local tecks2 = Instance.new("TextLabel",naeeym2)
  556. tecks2.BackgroundTransparency = 1
  557. tecks2.BorderSizePixel = 0
  558. tecks2.Text = ""
  559. tecks2.Font = "SciFi"
  560. tecks2.TextSize = 30
  561. tecks2.TextStrokeTransparency = 1
  562. tecks2.TextColor3 = SKILLTEXTCOLOR
  563. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  564. tecks2.Size = UDim2.new(1,0,0.5,0)
  565. for i = 1,string.len(text),1 do
  566. tecks2.Text = string.sub(text,1,i)
  567. Swait()
  568. end
  569. wait(waitt)
  570. coroutine.resume(coroutine.create(function()
  571. for i = 1, 10 do
  572. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  573. Swait()
  574. end
  575. naeeym2:Destroy()
  576. end))
  577. end)
  578. chat()
  579. end
  580.  
  581. --//=================================\\
  582. --|| WEAPON CREATION
  583. --\\=================================//
  584.  
  585. local PART = CreatePart(3, Weapon, "Neon", 0, 1, "Really black", "ArmPart", VT(0,0,0),false)
  586. local ArmWeld = CreateWeldOrSnapOrMotor("Weld", PART, RightArm, PART, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  587. local drill = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Drill", VT(2.5,3,2.5),false)
  588. local weld = CreateWeldOrSnapOrMotor("Weld", drill, PART, drill, CF(0,-1.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  589. MakeForm(drill,"Cone")
  590. drill.CanCollide = true
  591. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill", VT(2.35,0.5,2.35),false)
  592. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,-0.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  593. MakeForm(part,"Cone")
  594. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill", VT(1.95,0.5,1.95),false)
  595. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,-0.8,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  596. MakeForm(part,"Cone")
  597. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill", VT(1.55,0.5,1.55),false)
  598. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,-1.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  599. MakeForm(part,"Cone")
  600. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill", VT(2,0.5,2),false)
  601. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,0.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  602. MakeForm(part,"Ball")
  603. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill1", VT(0.25,1.5,0.25),false)
  604. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,-1.3,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  605. MakeForm(part,"Cone")
  606. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill2", VT(0.25,1.5,0.25),false)
  607. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0,-1.3,0.5) * ANGLES(RAD(-90), RAD(0), RAD(-180)), CF(0, 0, 0))
  608. MakeForm(part,"Cone")
  609. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill3", VT(0.25,1.5,0.25),false)
  610. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(-0.5,-1.3,0) * ANGLES(RAD(90), RAD(0), RAD(90)), CF(0, 0, 0))
  611. MakeForm(part,"Cone")
  612. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill4", VT(0.25,1.5,0.25),false)
  613. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0.5,-1.3,0) * ANGLES(RAD(90), RAD(0), RAD(-90)), CF(0, 0, 0))
  614. MakeForm(part,"Cone")
  615. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill1", VT(0.25,1.5,0.25),false)
  616. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(-0.3,-1.7,-0.3) * ANGLES(RAD(-90), RAD(0), RAD(45)), CF(0, 0, 0))
  617. MakeForm(part,"Cone")
  618. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill2", VT(0.25,1.5,0.25),false)
  619. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0.3,-1.7,-0.3) * ANGLES(RAD(-90), RAD(0), RAD(-45)), CF(0, 0, 0))
  620. MakeForm(part,"Cone")
  621. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill3", VT(0.25,1.5,0.25),false)
  622. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(-0.3,-1.7,0.3) * ANGLES(RAD(90), RAD(0), RAD(45)), CF(0, 0, 0))
  623. MakeForm(part,"Cone")
  624. local part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really red", "Drill4", VT(0.25,1.5,0.25),false)
  625. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART, part, CF(0.3,-1.7,0.3) * ANGLES(RAD(90), RAD(0), RAD(-45)), CF(0, 0, 0))
  626. MakeForm(part,"Cone")
  627.  
  628. for _, c in pairs(Weapon:GetChildren()) do
  629. if c.ClassName == "Part" then
  630. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  631. end
  632. end
  633.  
  634. Weapon.Parent = Character
  635.  
  636. Humanoid.Died:connect(function()
  637. ATTACK = true
  638. end)
  639.  
  640. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  641. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  642.  
  643. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Drill run", C3(1,1,1), 7, "SciFi", 0, 2, 0, "Text 1")
  644. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Energy drills", C3(1,1,1), 7, "SciFi", 0, 2, 0, "Text 2")
  645.  
  646. --//=================================\\
  647. --|| DAMAGE FUNCTIONS
  648. --\\=================================//
  649.  
  650. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  651. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
  652. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  653. local BODYGYRO = IT("BodyGyro", STATPART)
  654. local BODYPOSITION = IT("BodyPosition", STATPART)
  655. BODYPOSITION.P = 2000
  656. BODYPOSITION.D = 100
  657. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  658. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  659. game:GetService("Debris"):AddItem(STATPART ,5)
  660. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  661. BILLBOARDGUI.Adornee = STATPART
  662. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  663. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  664. BILLBOARDGUI.AlwaysOnTop = false
  665. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  666. TEXTLABEL.BackgroundTransparency = 1
  667. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  668. TEXTLABEL.Text = TEXT
  669. TEXTLABEL.Font = "SciFi"
  670. TEXTLABEL.FontSize="Size42"
  671. TEXTLABEL.TextColor3 = COLOR
  672. TEXTLABEL.TextStrokeTransparency = 1
  673. TEXTLABEL.TextScaled = true
  674. TEXTLABEL.TextWrapped = true
  675. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  676. if LABELTYPE == "Normal" then
  677. for i = 1, 30 do
  678. Swait()
  679. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  680. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/30)
  681. end
  682. elseif LABELTYPE == "Debuff" then
  683. for i = 1, 30 do
  684. Swait()
  685. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  686. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/30)
  687. end
  688. elseif LABELTYPE == "Shock" then
  689. local ORIGIN = STATPART.Position
  690. for i = 1, 30 do
  691. Swait()
  692. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  693. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/30)
  694. end
  695. end
  696. THEPART.Parent = nil
  697. end),STATPART, BODYPOSITION, TEXTLABEL)
  698. end
  699.  
  700. --//=================================\\
  701. --|| DAMAGING
  702. --\\=================================//
  703.  
  704. local asd = Instance.new("ParticleEmitter")
  705. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  706. asd.LightEmission = .1
  707. asd.Size = NumberSequence.new(0.2)
  708. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  709. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  710. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  711. asd.Transparency = bbb
  712. asd.Size = aaa
  713. asd.ZOffset = .9
  714. asd.Acceleration = Vector3.new(0, -5, 0)
  715. asd.LockedToPart = false
  716. asd.EmissionDirection = "Back"
  717. asd.Lifetime = NumberRange.new(1, 2)
  718. asd.Rotation = NumberRange.new(-100, 100)
  719. asd.RotSpeed = NumberRange.new(-100, 100)
  720. asd.Speed = NumberRange.new(2)
  721. asd.Enabled = false
  722. asd.VelocitySpread = 10000
  723.  
  724. function getbloody(victim,amount)
  725. local prtcl = asd:Clone()
  726. prtcl.Parent = victim
  727. prtcl:Emit(amount)
  728. end
  729.  
  730. function drillem(hit)
  731. local HITPLAYERSOUNDS2 = {"356551938","264486467"}
  732. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  733. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  734. if humanoid.Health > 0 then
  735. getbloody(hit,15)
  736. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], hit, 3, (math.random(8,12)/10))
  737. CreateSound(HITPLAYERSOUNDS2[MRANDOM(1, #HITPLAYERSOUNDS2)], hit, 3, (math.random(8,12)/10))
  738. hit.Parent:BreakJoints()
  739. end
  740. end
  741. end
  742.  
  743. --//=================================\\
  744. --|| ATTACK FUNCTIONS AND STUFF
  745. --\\=================================//
  746.  
  747. function CreateLoopSound()
  748. local SOUND = IT("Sound",RightArm)
  749. SOUND.SoundId = "rbxassetid://199754867"
  750. SOUND.Looped = true
  751. SOUND.PlaybackSpeed = 2
  752. SOUND.Volume = 2
  753. SOUND:Play()
  754. return SOUND
  755. end
  756.  
  757. function Strike()
  758. ATTACK = true
  759. Rooted = false
  760. for i=0, 0.5, 0.1 / Animation_Speed do
  761. Swait()
  762. 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)
  763. 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)
  764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  766. 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)
  767. 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)
  768. end
  769. local HIT = drill.Touched:Connect(function(hit)
  770. drillem(hit)
  771. end)
  772. CreateSound("536642316", drill, 3, (math.random(8,12)/10))
  773. for i=0, 1, 0.1 / Animation_Speed do
  774. Swait()
  775. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.03)
  776. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(5), RAD(45)), 0.5 / Animation_Speed)
  777. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-5), RAD(-45)), 0.5 / Animation_Speed)
  778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  779. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  780. 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.5 / Animation_Speed)
  781. 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.5 / Animation_Speed)
  782. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*100), RAD(0)), 0.5 / Animation_Speed)
  783. end
  784. HIT:disconnect()
  785. ATTACK = false
  786. Rooted = false
  787. end
  788.  
  789. function DrillRun()
  790. ATTACK = true
  791. Rooted = true
  792. for i=0, 2, 0.1 / Animation_Speed do
  793. Swait()
  794. turnto(Mouse.Hit.p)
  795. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.15 / Animation_Speed)
  796. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 0.10 / Animation_Speed)
  797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(154), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  799. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-35), RAD(0)), 0.15 / Animation_Speed)
  800. LeftHip.C0 = Clerp(LeftHip.C0, CF(-0.5, -1 - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(75), RAD(0)), 0.15 / Animation_Speed)
  801. end
  802. local HIT = drill.Touched:Connect(function(hit)
  803. drillem(hit)
  804. end)
  805. CreateSound("536642316", drill, 3, (math.random(12,16)/10))
  806. local LOOP = CreateLoopSound()
  807. for i=0, 2, 0.1 / Animation_Speed do
  808. Swait()
  809. MagicSphere(VT(1,1,1),10,PART.CFrame,"Really black",VT(-0.1,-0.1,-0.1))
  810. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(5), RAD(90)), 0.5 / Animation_Speed)
  812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(-5), RAD(-85)), 0.5 / Animation_Speed)
  813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.64) * ANGLES(RAD(115), RAD(35), RAD(70)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  815. 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.5 / Animation_Speed)
  816. 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)), 0.5 / Animation_Speed)
  817. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*500), RAD(0)), 0.5 / Animation_Speed)
  818. end
  819. HIT:disconnect()
  820. LOOP:remove()
  821. ATTACK = false
  822. Rooted = false
  823. end
  824.  
  825. function EnergyDrills()
  826. ATTACK = true
  827. Rooted = true
  828. UNANCHOR = false
  829. RootPart.Anchored = true
  830. for i=0, 5, 0.1 / Animation_Speed do
  831. Swait()
  832. turnto(Mouse.Hit.p)
  833. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.1 / Animation_Speed)
  834. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(40)), 0.1 / Animation_Speed)
  835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(35), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  837. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(0)), 0.1 / Animation_Speed)
  838. 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(15), RAD(0)), 0.1 / Animation_Speed)
  839. --ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*500), RAD(0)), 0.5 / Animation_Speed)
  840. end
  841. CreateSound("536642316", drill, 3, (math.random(12,16)/10))
  842. local LOOP = CreateLoopSound()
  843. for i=0, 0.3, 0.1 / Animation_Speed do
  844. Swait()
  845. MagicSphere(VT(1,1,1),10,drill.CFrame*CF(0,1,0),"Really black",VT(0.3,0.3,0.3))
  846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(45)), 1 / Animation_Speed)
  847. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  848. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2, 0, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  849. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  850. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  851. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 1 / Animation_Speed)
  852. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*5000), RAD(0)), 0.5 / Animation_Speed)
  853. end
  854. local ANGLE = 25
  855. coroutine.resume(coroutine.create(function()
  856. for i = 1, 3 do
  857. local FRAME = RootPart.CFrame*ANGLES(RAD(0),RAD(ANGLE),RAD(0))
  858. ANGLE = ANGLE - 25
  859. coroutine.resume(coroutine.create(function()
  860. for i = 1, 15 do
  861. Swait(5)
  862. coroutine.resume(coroutine.create(function()
  863. local DRILL = IT("Model",Effects)
  864. local PART2 = CreatePart(3, DRILL, "Neon", 0, 1, "Really black", "PositionPart", VT(0,0,0),false)
  865. local drill2 = CreatePart(3, DRILL, "Neon", 0, 0.5, "Really red", "Drill", VT(2.5,3,2.5),false)
  866. local weld = CreateWeldOrSnapOrMotor("Weld", drill2, PART2, drill2, CF(0,-1.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  867. MakeForm(drill2,"Cone")
  868. drill2.CanCollide = true
  869. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really red", "Drill", VT(2.35,0.5,2.35),false)
  870. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,-0.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  871. MakeForm(part,"Cone")
  872. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 05., "Really black", "Drill", VT(1.95,0.5,1.95),false)
  873. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,-0.8,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  874. MakeForm(part,"Cone")
  875. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill", VT(1.55,0.5,1.55),false)
  876. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,-1.3,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  877. MakeForm(part,"Cone")
  878. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill", VT(2,0.5,2),false)
  879. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,0.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  880. MakeForm(part,"Ball")
  881. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill1", VT(0.25,1.5,0.25),false)
  882. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,-1.3,-0.5) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  883. MakeForm(part,"Cone")
  884. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill2", VT(0.25,1.5,0.25),false)
  885. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0,-1.3,0.5) * ANGLES(RAD(-90), RAD(0), RAD(-180)), CF(0, 0, 0))
  886. MakeForm(part,"Cone")
  887. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill3", VT(0.25,1.5,0.25),false)
  888. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(-0.5,-1.3,0) * ANGLES(RAD(90), RAD(0), RAD(90)), CF(0, 0, 0))
  889. MakeForm(part,"Cone")
  890. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill4", VT(0.25,1.5,0.25),false)
  891. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0.5,-1.3,0) * ANGLES(RAD(90), RAD(0), RAD(-90)), CF(0, 0, 0))
  892. MakeForm(part,"Cone")
  893. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill1", VT(0.25,1.5,0.25),false)
  894. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(-0.3,-1.7,-0.3) * ANGLES(RAD(-90), RAD(0), RAD(45)), CF(0, 0, 0))
  895. MakeForm(part,"Cone")
  896. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill2", VT(0.25,1.5,0.25),false)
  897. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0.3,-1.7,-0.3) * ANGLES(RAD(-90), RAD(0), RAD(-45)), CF(0, 0, 0))
  898. MakeForm(part,"Cone")
  899. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill3", VT(0.25,1.5,0.25),false)
  900. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(-0.3,-1.7,0.3) * ANGLES(RAD(90), RAD(0), RAD(45)), CF(0, 0, 0))
  901. MakeForm(part,"Cone")
  902. local part = CreatePart(3, DRILL, "SmoothPlastic", 0, 0.5, "Really black", "Drill4", VT(0.25,1.5,0.25),false)
  903. local weld = CreateWeldOrSnapOrMotor("Weld", part, PART2, part, CF(0.3,-1.7,0.3) * ANGLES(RAD(90), RAD(0), RAD(-45)), CF(0, 0, 0))
  904. MakeForm(part,"Cone")
  905. PART2.CFrame = FRAME*CF(0,0,-2-(i*2))*ANGLES(RAD(0),RAD(0),RAD(0))
  906. PART2.Anchored = true
  907. local HIT = drill2.Touched:Connect(function(hit)
  908. drillem(hit)
  909. end)
  910. MagicSphere(VT(1,1,1),10,drill2.CFrame,"Really black",VT(0.6,0.6,0.6))
  911. coroutine.resume(coroutine.create(function()
  912. for i = 1, 100 do
  913. Swait()
  914. PART2.CFrame = PART2.CFrame *ANGLES(RAD(0),RAD(5),RAD(0))
  915. end
  916. MagicSphere(VT(1,1,1),15,drill2.CFrame,"Really black",VT(0.6,0.6,0.6))
  917. DRILL:remove()
  918. end))
  919. end))
  920. end
  921. end))
  922. end
  923. end))
  924. for i=0, 3, 0.1 / Animation_Speed do
  925. Swait()
  926. MagicSphere(VT(1,1,1),10,drill.CFrame*CF(0,1,0),"Really black",VT(0.3,0.3,0.3))
  927. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(45)), 1 / Animation_Speed)
  928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2, 0, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  931. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 1 / Animation_Speed)
  933. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*5000), RAD(0)), 0.5 / Animation_Speed)
  934. end
  935. for i=0, 1, 0.1 / Animation_Speed do
  936. Swait()
  937. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 1 / Animation_Speed)
  938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2, 2, -0.3) * ANGLES(RAD(25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  941. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 1 / Animation_Speed)
  943. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*100), RAD(0)), 0.5 / Animation_Speed)
  944. end
  945. LOOP:remove()
  946. UNANCHOR = true
  947. ATTACK = false
  948. Rooted = false
  949. end
  950.  
  951. function Taunt()
  952. ATTACK = true
  953. Rooted = false
  954. local LOOP = CreateLoopSound()
  955. for i=0, 5, 0.1 / Animation_Speed do
  956. Swait()
  957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-40)), 0.5 / Animation_Speed)
  959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, -1) * ANGLES(RAD(170), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  961. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(0)), 0.5 / Animation_Speed)
  962. 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(15), RAD(0)), 0.5 / Animation_Speed)
  963. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(i*500), RAD(0)), 0.5 / Animation_Speed)
  964. end
  965. LOOP:remove()
  966. ATTACK = false
  967. Rooted = false
  968. end
  969.  
  970. --//=================================\\
  971. --|| ASSIGN THINGS TO KEYS
  972. --\\=================================//
  973.  
  974. function MouseDown(Mouse)
  975. if ATTACK == false then
  976. Strike()
  977. end
  978. end
  979.  
  980. function MouseUp(Mouse)
  981. HOLD = false
  982. end
  983.  
  984. function KeyDown(Key)
  985. KEYHOLD = true
  986. if Key == "z" and ATTACK == false then
  987. DrillRun()
  988. end
  989.  
  990. if Key == "b" and ATTACK == false then
  991. EnergyDrills()
  992. end
  993.  
  994. if Key == "t" and ATTACK == false then
  995. Taunt()
  996. end
  997. end
  998.  
  999. function KeyUp(Key)
  1000. KEYHOLD = false
  1001. end
  1002.  
  1003. Mouse.Button1Down:connect(function(NEWKEY)
  1004. MouseDown(NEWKEY)
  1005. end)
  1006. Mouse.Button1Up:connect(function(NEWKEY)
  1007. MouseUp(NEWKEY)
  1008. end)
  1009. Mouse.KeyDown:connect(function(NEWKEY)
  1010. KeyDown(NEWKEY)
  1011. end)
  1012. Mouse.KeyUp:connect(function(NEWKEY)
  1013. KeyUp(NEWKEY)
  1014. end)
  1015.  
  1016. --//=================================\\
  1017. --\\=================================//
  1018.  
  1019.  
  1020. function unanchor()
  1021. if UNANCHOR == true then
  1022. g = Character:GetChildren()
  1023. for i = 1, #g do
  1024. if g[i].ClassName == "Part" then
  1025. g[i].Anchored = false
  1026. end
  1027. end
  1028. end
  1029. end
  1030.  
  1031.  
  1032. --//=================================\\
  1033. --|| WRAP THE WHOLE SCRIPT UP
  1034. --\\=================================//
  1035.  
  1036. Humanoid.Changed:connect(function(Jump)
  1037. if Jump == "Jump" and (Disable_Jump == true) then
  1038. Humanoid.Jump = false
  1039. end
  1040. end)
  1041.  
  1042. while true do
  1043. Swait()
  1044. ANIMATE.Parent = nil
  1045. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1046. IDLEANIMATION:Play()
  1047. SINE = SINE + CHANGE
  1048. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1049. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1050. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1051. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1052. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1053. if ATTACK == false then
  1054. ArmWeld.C0 = Clerp(ArmWeld.C0, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1055. end
  1056. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1057. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1058. 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)
  1059. 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)
  1060. 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)
  1061. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1062. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1063. 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)
  1064. 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)
  1065. 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)
  1066. end
  1067. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1068. ANIM = "Jump"
  1069. if ATTACK == false then
  1070. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1071. 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)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, -0.3) * ANGLES(RAD(110), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1074. 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)
  1075. 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)
  1076. end
  1077. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1078. ANIM = "Fall"
  1079. if ATTACK == false then
  1080. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, -0.3) * ANGLES(RAD(110), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1084. 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)
  1085. 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)
  1086. end
  1087. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1088. ANIM = "Idle"
  1089. if ATTACK == false then
  1090. 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)
  1091. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(40)), 0.15 / Animation_Speed)
  1092. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, -0.3) * ANGLES(RAD(110), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1093. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1094. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  1095. 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(15), RAD(0)), 0.15 / Animation_Speed)
  1096. end
  1097. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1098. ANIM = "Walk"
  1099. WALK = WALK + 1 / Animation_Speed
  1100. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1101. WALK = 0
  1102. if WALKINGANIM == true then
  1103. WALKINGANIM = false
  1104. elseif WALKINGANIM == false then
  1105. WALKINGANIM = true
  1106. end
  1107. end
  1108. --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)
  1109. --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)
  1110. if ATTACK == false then
  1111. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  1112. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(20)), 0.15 / Animation_Speed)
  1113. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.15, -0.3) * ANGLES(RAD(110), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1114. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1115. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  1116. 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(15), RAD(0)), 0.15 / Animation_Speed)
  1117. end
  1118. end
  1119. unanchor()
  1120. Humanoid.MaxHealth = "inf"
  1121. Humanoid.Health = "inf"
  1122. if Rooted == false then
  1123. Disable_Jump = false
  1124. Humanoid.WalkSpeed = Speed
  1125. elseif Rooted == true then
  1126. Disable_Jump = true
  1127. Humanoid.WalkSpeed = 0
  1128. end
  1129. end
  1130.  
  1131. --//=================================\\
  1132. --\\=================================//
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138. --//====================================================\\--
  1139. --|| END OF SCRIPT
  1140. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement