NikaForever

DRILL

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