Advertisement
memberhero

killbot v2

May 24th, 2018
9,454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.54 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. Humanoid.MaxHealth = "inf"
  28. Humanoid.Health = "inf"
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 16
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local DAMAGEMULTIPLIER = 1
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local EQUIPPED = false
  61. local HOLD = false
  62. local COMBO = 1
  63. local Rooted = false
  64. local SINE = 0
  65. local KEYHOLD = false
  66. local CHANGE = 2 / Animation_Speed
  67. local WALKINGANIM = false
  68. local VALUE1 = false
  69. local VALUE2 = false
  70. local ROBLOXIDLEANIMATION = IT("Animation")
  71. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  72. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  73. --ROBLOXIDLEANIMATION.Parent = Humanoid
  74. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  75. WEAPONGUI.Name = "Weapon GUI"
  76. local Weapon = IT("Model")
  77. Weapon.Name = "Adds"
  78. local Effects = IT("Folder", Weapon)
  79. Effects.Name = "Effects"
  80. local ANIMATOR = Humanoid.Animator
  81. local ANIMATE = Character.Animate
  82. local UNANCHOR = true
  83.  
  84. --//=================================\\
  85. --\\=================================//
  86.  
  87.  
  88. --//=================================\\
  89. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  90. --\\=================================//
  91.  
  92. ArtificialHB = Instance.new("BindableEvent", script)
  93. ArtificialHB.Name = "ArtificialHB"
  94.  
  95. script:WaitForChild("ArtificialHB")
  96.  
  97. frame = Frame_Speed
  98. tf = 0
  99. allowframeloss = false
  100. tossremainder = false
  101. lastframe = tick()
  102. script.ArtificialHB:Fire()
  103.  
  104. game:GetService("RunService").Heartbeat:connect(function(s, p)
  105. tf = tf + s
  106. if tf >= frame then
  107. if allowframeloss then
  108. script.ArtificialHB:Fire()
  109. lastframe = tick()
  110. else
  111. for i = 1, math.floor(tf / frame) do
  112. script.ArtificialHB:Fire()
  113. end
  114. lastframe = tick()
  115. end
  116. if tossremainder then
  117. tf = 0
  118. else
  119. tf = tf - frame * math.floor(tf / frame)
  120. end
  121. end
  122. end)
  123.  
  124. --//=================================\\
  125. --\\=================================//
  126.  
  127. --//=================================\\
  128. --|| SOME FUNCTIONS
  129. --\\=================================//
  130.  
  131. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  132. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  133. end
  134.  
  135. function PositiveAngle(NUMBER)
  136. if NUMBER >= 0 then
  137. NUMBER = 0
  138. end
  139. return NUMBER
  140. end
  141.  
  142. function NegativeAngle(NUMBER)
  143. if NUMBER <= 0 then
  144. NUMBER = 0
  145. end
  146. return NUMBER
  147. end
  148.  
  149. function Swait(NUMBER)
  150. if NUMBER == 0 or NUMBER == nil then
  151. ArtificialHB.Event:wait()
  152. else
  153. for i = 1, NUMBER do
  154. ArtificialHB.Event:wait()
  155. end
  156. end
  157. end
  158.  
  159. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  160. local NEWMESH = IT(MESH)
  161. if MESH == "SpecialMesh" then
  162. NEWMESH.MeshType = MESHTYPE
  163. if MESHID ~= "nil" and MESHID ~= "" then
  164. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  165. end
  166. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  167. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  168. end
  169. end
  170. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  171. NEWMESH.Scale = SCALE
  172. NEWMESH.Parent = PARENT
  173. return NEWMESH
  174. end
  175.  
  176. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  177. local NEWPART = IT("Part")
  178. NEWPART.formFactor = FORMFACTOR
  179. NEWPART.Reflectance = REFLECTANCE
  180. NEWPART.Transparency = TRANSPARENCY
  181. NEWPART.CanCollide = false
  182. NEWPART.Locked = true
  183. NEWPART.Anchored = true
  184. if ANCHOR == false then
  185. NEWPART.Anchored = false
  186. end
  187. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  188. NEWPART.Name = NAME
  189. NEWPART.Size = SIZE
  190. NEWPART.Position = Torso.Position
  191. NEWPART.Material = MATERIAL
  192. NEWPART:BreakJoints()
  193. NEWPART.Parent = PARENT
  194. return NEWPART
  195. end
  196.  
  197. local function weldBetween(a, b)
  198. local weldd = Instance.new("ManualWeld")
  199. weldd.Part0 = a
  200. weldd.Part1 = b
  201. weldd.C0 = CFrame.new()
  202. weldd.C1 = b.CFrame:inverse() * a.CFrame
  203. weldd.Parent = a
  204. return weldd
  205. end
  206.  
  207.  
  208. function QuaternionFromCFrame(cf)
  209. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  210. local trace = m00 + m11 + m22
  211. if trace > 0 then
  212. local s = math.sqrt(1 + trace)
  213. local recip = 0.5 / s
  214. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  215. else
  216. local i = 0
  217. if m11 > m00 then
  218. i = 1
  219. end
  220. if m22 > (i == 0 and m00 or m11) then
  221. i = 2
  222. end
  223. if i == 0 then
  224. local s = math.sqrt(m00 - m11 - m22 + 1)
  225. local recip = 0.5 / s
  226. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  227. elseif i == 1 then
  228. local s = math.sqrt(m11 - m22 - m00 + 1)
  229. local recip = 0.5 / s
  230. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  231. elseif i == 2 then
  232. local s = math.sqrt(m22 - m00 - m11 + 1)
  233. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  234. end
  235. end
  236. end
  237.  
  238. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  239. local xs, ys, zs = x + x, y + y, z + z
  240. local wx, wy, wz = w * xs, w * ys, w * zs
  241. local xx = x * xs
  242. local xy = x * ys
  243. local xz = x * zs
  244. local yy = y * ys
  245. local yz = y * zs
  246. local zz = z * zs
  247. 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))
  248. end
  249.  
  250. function QuaternionSlerp(a, b, t)
  251. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  252. local startInterp, finishInterp;
  253. if cosTheta >= 0.0001 then
  254. if (1 - cosTheta) > 0.0001 then
  255. local theta = ACOS(cosTheta)
  256. local invSinTheta = 1 / SIN(theta)
  257. startInterp = SIN((1 - t) * theta) * invSinTheta
  258. finishInterp = SIN(t * theta) * invSinTheta
  259. else
  260. startInterp = 1 - t
  261. finishInterp = t
  262. end
  263. else
  264. if (1 + cosTheta) > 0.0001 then
  265. local theta = ACOS(-cosTheta)
  266. local invSinTheta = 1 / SIN(theta)
  267. startInterp = SIN((t - 1) * theta) * invSinTheta
  268. finishInterp = SIN(t * theta) * invSinTheta
  269. else
  270. startInterp = t - 1
  271. finishInterp = t
  272. end
  273. end
  274. 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
  275. end
  276.  
  277. function Clerp(a, b, t)
  278. local qa = {QuaternionFromCFrame(a)}
  279. local qb = {QuaternionFromCFrame(b)}
  280. local ax, ay, az = a.x, a.y, a.z
  281. local bx, by, bz = b.x, b.y, b.z
  282. local _t = 1 - t
  283. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  284. end
  285.  
  286. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  287. local frame = IT("Frame")
  288. frame.BackgroundTransparency = TRANSPARENCY
  289. frame.BorderSizePixel = BORDERSIZEPIXEL
  290. frame.Position = POSITION
  291. frame.Size = SIZE
  292. frame.BackgroundColor3 = COLOR
  293. frame.BorderColor3 = BORDERCOLOR
  294. frame.Name = NAME
  295. frame.Parent = PARENT
  296. return frame
  297. end
  298.  
  299. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  300. local label = IT("TextLabel")
  301. label.BackgroundTransparency = 1
  302. label.Size = UD2(1, 0, 1, 0)
  303. label.Position = UD2(0, 0, 0, 0)
  304. label.TextColor3 = TEXTCOLOR
  305. label.TextStrokeTransparency = STROKETRANSPARENCY
  306. label.TextTransparency = TRANSPARENCY
  307. label.FontSize = TEXTFONTSIZE
  308. label.Font = TEXTFONT
  309. label.BorderSizePixel = BORDERSIZEPIXEL
  310. label.TextScaled = false
  311. label.Text = TEXT
  312. label.Name = NAME
  313. label.Parent = PARENT
  314. return label
  315. end
  316.  
  317. function NoOutlines(PART)
  318. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  319. end
  320.  
  321. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  322. local NEWWELD = IT(TYPE)
  323. NEWWELD.Part0 = PART0
  324. NEWWELD.Part1 = PART1
  325. NEWWELD.C0 = C0
  326. NEWWELD.C1 = C1
  327. NEWWELD.Parent = PARENT
  328. return NEWWELD
  329. end
  330.  
  331. local S = IT("Sound")
  332. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  333. local NEWSOUND = nil
  334. coroutine.resume(coroutine.create(function()
  335. NEWSOUND = S:Clone()
  336. NEWSOUND.Parent = PARENT
  337. NEWSOUND.Volume = VOLUME
  338. NEWSOUND.Pitch = PITCH
  339. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  340. NEWSOUND:play()
  341. if DOESLOOP == true then
  342. NEWSOUND.Looped = true
  343. else
  344. repeat wait(1) until NEWSOUND.Playing == false
  345. NEWSOUND:remove()
  346. end
  347. end))
  348. return NEWSOUND
  349. end
  350.  
  351. function CFrameFromTopBack(at, top, back)
  352. local right = top:Cross(back)
  353. 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)
  354. end
  355.  
  356. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  357. function WACKYEFFECT(Table)
  358. local TYPE = (Table.EffectType or "Sphere")
  359. local SIZE = (Table.Size or VT(1,1,1))
  360. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  361. local TRANSPARENCY = (Table.Transparency or 0)
  362. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  363. local CFRAME = (Table.CFrame or Torso.CFrame)
  364. local MOVEDIRECTION = (Table.MoveToPos or nil)
  365. local ROTATION1 = (Table.RotationX or 0)
  366. local ROTATION2 = (Table.RotationY or 0)
  367. local ROTATION3 = (Table.RotationZ or 0)
  368. local MATERIAL = (Table.Material or "Neon")
  369. local COLOR = (Table.Color or C3(1,1,1))
  370. local TIME = (Table.Time or 45)
  371. local SOUNDID = (Table.SoundID or nil)
  372. local SOUNDPITCH = (Table.SoundPitch or nil)
  373. local SOUNDVOLUME = (Table.SoundVolume or nil)
  374. coroutine.resume(coroutine.create(function()
  375. local PLAYSSOUND = false
  376. local SOUND = nil
  377. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  378. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  379. PLAYSSOUND = true
  380. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  381. end
  382. EFFECT.Color = COLOR
  383. local MSH = nil
  384. if TYPE == "Sphere" then
  385. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  386. elseif TYPE == "Block" then
  387. MSH = IT("BlockMesh",EFFECT)
  388. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  389. elseif TYPE == "Wave" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  391. elseif TYPE == "Ring" then
  392. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  393. elseif TYPE == "Slash" then
  394. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  395. elseif TYPE == "Round Slash" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  397. elseif TYPE == "Swirl" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  399. elseif TYPE == "Skull" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  401. elseif TYPE == "Crystal" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  403. end
  404. if MSH ~= nil then
  405. local MOVESPEED = nil
  406. if MOVEDIRECTION ~= nil then
  407. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  408. end
  409. local GROWTH = SIZE - ENDSIZE
  410. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  411. if TYPE == "Block" then
  412. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  413. else
  414. EFFECT.CFrame = CFRAME
  415. end
  416. for LOOP = 1, TIME+1 do
  417. Swait()
  418. MSH.Scale = MSH.Scale - GROWTH/TIME
  419. if TYPE == "Wave" then
  420. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  421. end
  422. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  423. if TYPE == "Block" then
  424. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  425. else
  426. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  427. end
  428. if MOVEDIRECTION ~= nil then
  429. local ORI = EFFECT.Orientation
  430. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  431. EFFECT.Orientation = ORI
  432. end
  433. end
  434. if PLAYSSOUND == false then
  435. EFFECT:remove()
  436. else
  437. repeat Swait() until SOUND.Playing == false
  438. EFFECT:remove()
  439. end
  440. else
  441. if PLAYSSOUND == false then
  442. EFFECT:remove()
  443. else
  444. repeat Swait() until SOUND.Playing == false
  445. EFFECT:remove()
  446. end
  447. end
  448. end))
  449. end
  450.  
  451. function MakeForm(PART,TYPE)
  452. if TYPE == "Cyl" then
  453. local MSH = IT("CylinderMesh",PART)
  454. elseif TYPE == "Ball" then
  455. local MSH = IT("SpecialMesh",PART)
  456. MSH.MeshType = "Sphere"
  457. elseif TYPE == "Wedge" then
  458. local MSH = IT("SpecialMesh",PART)
  459. MSH.MeshType = "Wedge"
  460. end
  461. end
  462.  
  463. Debris = game:GetService("Debris")
  464.  
  465. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  466. local DIRECTION = CF(StartPos,EndPos).lookVector
  467. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  468. end
  469.  
  470. function CharacterFade(COLOR,TIMER)
  471. coroutine.resume(coroutine.create(function()
  472. local FADE = IT("Model",Effects)
  473. for _, c in pairs(Character:GetChildren()) do
  474. if c.ClassName == "Part" and c ~= RootPart then
  475. local FADER = c:Clone()
  476. FADER.Color = COLOR
  477. FADER.CFrame = c.CFrame
  478. FADER.Parent = FADE
  479. FADER.Anchored = true
  480. FADER.Transparency = 0.25
  481. FADER:BreakJoints()
  482. FADER.Material = "Glass"
  483. FADER:ClearAllChildren()
  484. if FADER.Name == "Head" then
  485. FADER.Size = VT(1,1,1)
  486. end
  487. end
  488. end
  489. local TRANS = 0.75/TIMER
  490. for i = 1, TIMER do
  491. Swait()
  492. for _, c in pairs(FADE:GetChildren()) do
  493. if c.ClassName == "Part" then
  494. c.Transparency = c.Transparency + TRANS
  495. end
  496. end
  497. end
  498. FADE:remove()
  499. end))
  500. end
  501.  
  502. local PE=Instance.new("ParticleEmitter")
  503. PE.LightEmission=0.3
  504. PE.Size=NumberSequence.new(0)
  505. PE.Transparency=NumberSequence.new(0,1)
  506. PE.Rotation=NumberRange.new(0,360)
  507. PE.LockedToPart = false
  508. PE.Speed = NumberRange.new(0,0,0)
  509. PE.ZOffset = 0.3
  510. PE.Rate = 999
  511. PE.VelocitySpread = 25
  512. PE.Name = "Particles"
  513.  
  514. function CreateParticles(art,accel,drag,lifetime,type,isenabledbydefault,locked,size,speed)
  515. local particle = nil
  516. coroutine.resume(coroutine.create(function(PART)
  517. particle = PE:Clone()
  518. Swait()
  519. particle.Rate = 999
  520. particle.Parent = art
  521. particle.Acceleration = accel
  522. if type == "Fire" then
  523. local EyeSizes={
  524. NumberSequenceKeypoint.new(0,size,size/2),
  525. NumberSequenceKeypoint.new(1,size/4,size/8)
  526. }
  527. particle.Size = NumberSequence.new(EyeSizes)
  528. elseif type == "Smoke" then
  529. local EyeSizes={
  530. NumberSequenceKeypoint.new(0,size/5,0),
  531. NumberSequenceKeypoint.new(1,size*2,0.5)
  532. }
  533. particle.Size = NumberSequence.new(EyeSizes)
  534. elseif type == "Solid" then
  535. local EyeSizes={
  536. NumberSequenceKeypoint.new(0,size,0),
  537. NumberSequenceKeypoint.new(1,size,0)
  538. }
  539. particle.Size = NumberSequence.new(EyeSizes)
  540. end
  541. particle.Lifetime=NumberRange.new(lifetime)
  542. particle.Drag = drag
  543. if locked == true then
  544. particle.LockedToPart = true
  545. end
  546. particle.Speed = NumberRange.new(speed*0.8,speed)
  547. particle.Texture = "http://www.roblox.com/asset/?id=1179557490"
  548. particle.Enabled = isenabledbydefault
  549. particle.Color = ColorSequence.new(Color3.new(255/255, 176/255, 0))
  550. end))
  551. return particle
  552. end
  553.  
  554. --//=================================\\
  555. --|| RAGDOLL STUFF
  556. --\\=================================//
  557.  
  558. function recurse(root,callback,i)
  559. i= i or 0
  560. for _,v in pairs(root:GetChildren()) do
  561. i = i + 1
  562. callback(i,v)
  563.  
  564. if #v:GetChildren() > 0 then
  565. i = recurse(v,callback,i)
  566. end
  567. end
  568.  
  569. return i
  570. end
  571.  
  572. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  573. attachmentName = attachmentName.."RigAttachment"
  574. local constraint = Instance.new(className.."Constraint")
  575. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  576. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  577. constraint.Name = "RagdollConstraint"..part1.Name
  578.  
  579. for _,propertyData in next,properties or {} do
  580. constraint[propertyData[1]] = propertyData[2]
  581. end
  582.  
  583. constraint.Parent = character
  584. end
  585.  
  586. function getAttachment0(character, attachmentName)
  587. for _,child in next,character:GetChildren() do
  588. local attachment = child:FindFirstChild(attachmentName)
  589. if attachment then
  590. return attachment
  591. end
  592. end
  593. end
  594.  
  595. function ArtificialHitbox(Part)
  596. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  597. HITBOX.CanCollide = true
  598. HITBOX.CFrame = Part.CFrame
  599. weldBetween(Part,HITBOX)
  600. end
  601.  
  602. function R15Ragdoll(character,KeepArms)
  603. character:BreakJoints()
  604. coroutine.resume(coroutine.create(function()
  605. recurse(character, function(_,v)
  606. if v:IsA("Attachment") then
  607. v.Axis = Vector3.new(0, 1, 0)
  608. v.SecondaryAxis = Vector3.new(0, 0, 1)
  609. v.Rotation = Vector3.new(0, 0, 0)
  610. end
  611. end)
  612. for _,child in next,character:GetChildren() do
  613. if child:IsA("Accoutrement") then
  614. for _,part in next,child:GetChildren() do
  615. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  616. local attachment1 = part:FindFirstChildOfClass("Attachment")
  617. local attachment0 = getAttachment0(character,attachment1.Name)
  618. if attachment0 and attachment1 then
  619. local constraint = Instance.new("HingeConstraint")
  620. constraint.Attachment0 = attachment0
  621. constraint.Attachment1 = attachment1
  622. constraint.LimitsEnabled = true
  623. constraint.UpperAngle = 0
  624. constraint.LowerAngle = 0
  625. constraint.Parent = character
  626. end
  627. ArtificialHitbox(part)
  628. elseif part.Name == "HumanoidRootPart" then
  629. part:remove()
  630. end
  631. end
  632. end
  633. end
  634.  
  635. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  636. {"LimitsEnabled",true};
  637. {"UpperAngle",5};
  638. })
  639. if character:FindFirstChild("Head") then
  640. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  641. {"LimitsEnabled",true};
  642. {"UpperAngle",15};
  643. })
  644. end
  645.  
  646. local handProperties = {
  647. {"LimitsEnabled", true};
  648. {"UpperAngle",0};
  649. {"LowerAngle",0};
  650. }
  651. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  652. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  653.  
  654. local shinProperties = {
  655. {"LimitsEnabled", true};
  656. {"UpperAngle", 0};
  657. {"LowerAngle", -75};
  658. }
  659. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  660. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  661.  
  662. local footProperties = {
  663. {"LimitsEnabled", true};
  664. {"UpperAngle", 15};
  665. {"LowerAngle", -45};
  666. }
  667. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  668. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  669. if KeepArms == true then
  670. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  671. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  672. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  673. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  674. end
  675. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  676. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  677. Debris:AddItem(character,5)
  678. end))
  679. end
  680.  
  681. function Ragdoll(Character2,CharTorso,KeepArms)
  682. coroutine.resume(coroutine.create(function()
  683. Character2:BreakJoints()
  684. local hum = Character2:findFirstChild("Humanoid")
  685. hum:remove()
  686. local function Scan(ch)
  687. local e
  688. for e = 1,#ch do
  689. Scan(ch[e]:GetChildren())
  690. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  691. ch[e]:remove()
  692. end
  693. end
  694. end
  695. local NEWHUM = IT("Humanoid")
  696. NEWHUM.Name = "Corpse"
  697. NEWHUM.Health = 0
  698. NEWHUM.MaxHealth = 0
  699. NEWHUM.PlatformStand = true
  700. NEWHUM.Parent = Character2
  701. NEWHUM.DisplayDistanceType = "None"
  702.  
  703. local ch = Character2:GetChildren()
  704. local i
  705. for i = 1,#ch do
  706. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  707. ch[i]:remove()
  708. end
  709. end
  710.  
  711. local Torso2 = Character2.Torso
  712. local movevector = Vector3.new()
  713.  
  714. if Torso2 then
  715. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  716. local Head = Character2:FindFirstChild("Head")
  717. if Head then
  718. local Neck = Instance.new("Weld")
  719. Neck.Name = "Neck"
  720. Neck.Part0 = Torso2
  721. Neck.Part1 = Head
  722. Neck.C0 = CFrame.new(0, 1.5, 0)
  723. Neck.C1 = CFrame.new()
  724. Neck.Parent = Torso2
  725.  
  726. end
  727. local Limb = Character2:FindFirstChild("Right Arm")
  728. if Limb and KeepArms == true then
  729.  
  730. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  731. local Joint = Instance.new("Glue")
  732. Joint.Name = "RightShoulder"
  733. Joint.Part0 = Torso2
  734. Joint.Part1 = Limb
  735. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  736. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  737. Joint.Parent = Torso2
  738.  
  739. local B = Instance.new("Part")
  740. B.TopSurface = 0
  741. B.BottomSurface = 0
  742. B.formFactor = "Symmetric"
  743. B.Size = Vector3.new(1, 1, 1)
  744. B.Transparency = 1
  745. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  746. B.Parent = Character2
  747. local W = Instance.new("Weld")
  748. W.Part0 = Limb
  749. W.Part1 = B
  750. W.C0 = CFrame.new(0, -0.5, 0)
  751. W.Parent = Limb
  752.  
  753. end
  754. local Limb = Character2:FindFirstChild("Left Arm")
  755. if Limb and KeepArms == true then
  756.  
  757. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  758. local Joint = Instance.new("Glue")
  759. Joint.Name = "LeftShoulder"
  760. Joint.Part0 = Torso2
  761. Joint.Part1 = Limb
  762. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  763. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  764. Joint.Parent = Torso2
  765.  
  766. local B = Instance.new("Part")
  767. B.TopSurface = 0
  768. B.BottomSurface = 0
  769. B.formFactor = "Symmetric"
  770. B.Size = Vector3.new(1, 1, 1)
  771. B.Transparency = 1
  772. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  773. B.Parent = Character2
  774. local W = Instance.new("Weld")
  775. W.Part0 = Limb
  776. W.Part1 = B
  777. W.C0 = CFrame.new(0, -0.5, 0)
  778. W.Parent = Limb
  779.  
  780. end
  781. local Limb = Character2:FindFirstChild("Right Leg")
  782. if Limb then
  783.  
  784. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  785. local Joint = Instance.new("Glue")
  786. Joint.Name = "RightHip"
  787. Joint.Part0 = Torso2
  788. Joint.Part1 = Limb
  789. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  790. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  791. Joint.Parent = Torso2
  792.  
  793. local B = Instance.new("Part")
  794. B.TopSurface = 0
  795. B.BottomSurface = 0
  796. B.formFactor = "Symmetric"
  797. B.Size = Vector3.new(1, 1, 1)
  798. B.Transparency = 1
  799. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  800. B.Parent = Character2
  801. local W = Instance.new("Weld")
  802. W.Part0 = Limb
  803. W.Part1 = B
  804. W.C0 = CFrame.new(0, -0.5, 0)
  805. W.Parent = Limb
  806.  
  807. end
  808. local Limb = Character2:FindFirstChild("Left Leg")
  809. if Limb then
  810.  
  811. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  812. local Joint = Instance.new("Glue")
  813. Joint.Name = "LeftHip"
  814. Joint.Part0 = Torso2
  815. Joint.Part1 = Limb
  816. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  817. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  818. Joint.Parent = Torso2
  819.  
  820. local B = Instance.new("Part")
  821. B.TopSurface = 0
  822. B.BottomSurface = 0
  823. B.formFactor = "Symmetric"
  824. B.Size = Vector3.new(1, 1, 1)
  825. B.Transparency = 1
  826. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  827. B.Parent = Character2
  828. local W = Instance.new("Weld")
  829. W.Part0 = Limb
  830. W.Part1 = B
  831. W.C0 = CFrame.new(0, -0.5, 0)
  832. W.Parent = Limb
  833.  
  834. end
  835. --[
  836. local Bar = Instance.new("Part")
  837. Bar.TopSurface = 0
  838. Bar.BottomSurface = 0
  839. Bar.formFactor = "Symmetric"
  840. Bar.Size = Vector3.new(1, 1, 1)
  841. Bar.Transparency = 1
  842. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  843. Bar.Parent = Character2
  844. local Weld = Instance.new("Weld")
  845. Weld.Part0 = Torso2
  846. Weld.Part1 = Bar
  847. Weld.C0 = CFrame.new(0, 0.5, 0)
  848. Weld.Parent = Torso2
  849. --]]
  850. end
  851. Character2.Parent = workspace
  852. Debris:AddItem(Character2,5)
  853.  
  854. return Character2,Torso2
  855. end))
  856. end
  857.  
  858. --//=================================\\
  859. --|| WEAPON CREATION
  860. --\\=================================//
  861.  
  862. local DUST = CreateParticles(RightArm,VT(0,0,0),5,2,"Smoke",false,false,5,0)
  863. DUST.ZOffset = 1
  864. RightArm.Transparency = 1
  865. local BasePart = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1,2,1),false)
  866. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BasePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  867. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(1.4,1.4,1.4),false)
  868. MakeForm(Sphere,"Ball")
  869. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.2,0.8,0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  870. local LaserPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.3,0.3,0.1),false)
  871. MakeForm(LaserPart,"Ball")
  872. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, LaserPart, CF(0,0,-0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  873. local Bump = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.2),false)
  874. MakeForm(Bump,"Ball")
  875. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Bump, CF(0,0,0.65) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  876. local BottomLaser = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0.4,0,0.4),false)
  877. MakeForm(BottomLaser,"Cyl")
  878. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, BottomLaser, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  879. local Part1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  880. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part1, CF(0,-0.76,-0.26) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  881. local Part2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  882. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part2, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, -0.25, 0))
  883. local Part3 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.5,0.5),false)
  884. CreateWeldOrSnapOrMotor("Weld", BasePart, Part1, Part3, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0, -0.26, 0))
  885. local Part4 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  886. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part4, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, -0.26, 0))
  887. local Part5 = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.56,0.5),false)
  888. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part5, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-125)), CF(0, -0.26, 0))
  889. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.25,0.5),false)
  890. CreateWeldOrSnapOrMotor("Weld", BasePart, Part4, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, -0.26/2, 0))
  891. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(0,0.3,0.5),false)
  892. CreateWeldOrSnapOrMotor("Weld", BasePart, Part2, Part, CF(0,0.25,0) * ANGLES(RAD(0), RAD(0), RAD(-65)), CF(0, -0.31/2, 0))
  893. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  894. MakeForm(Part,"Cyl")
  895. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0.035,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  896. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Part", VT(1.4,0,1.4),false)
  897. MakeForm(Part,"Cyl")
  898. CreateWeldOrSnapOrMotor("Weld", Sphere, Sphere, Part, CF(0,-0.035,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  899. local Sphere = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Part", VT(0.3,1.6,0.7),false)
  900. MakeForm(Sphere,"Ball")
  901. CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Sphere, CF(0.45,0.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  902. local BODY = {}
  903. for _, c in pairs(Character:GetDescendants()) do
  904. if c:IsA("BasePart") then
  905. table.insert(BODY, {
  906. c,
  907. c.Parent,
  908. c.Material,
  909. c.Color
  910. })
  911. elseif c:IsA("JointInstance") then
  912. table.insert(BODY, {
  913. c,
  914. c.Parent,
  915. nil,
  916. nil
  917. })
  918. end
  919. end
  920. for _, c in pairs(Weapon:GetChildren()) do
  921. if c.ClassName == "Part" then
  922. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  923. end
  924. end
  925.  
  926.  
  927. for _, c in pairs(Character:GetDescendants()) do
  928. if c:IsA("BasePart") then
  929. table.insert(BODY, {
  930. c,
  931. c.Parent,
  932. c.Material,
  933. c.Color
  934. })
  935. elseif c:IsA("JointInstance") then
  936. table.insert(BODY, {
  937. c,
  938. c.Parent,
  939. nil,
  940. nil
  941. })
  942. end
  943. end
  944.  
  945. for e = 1, #BODY do
  946. if BODY[e] ~= nil then
  947. do
  948. local STUFF = BODY[e]
  949. local PART = STUFF[1]
  950. local PARENT = STUFF[2]
  951. local MATERIAL = STUFF[3]
  952. local COLOR = STUFF[4]
  953. PART.AncestryChanged:Connect(function()
  954. if PART.ClassName == "Part" then
  955. PART.Material = MATERIAL
  956. PART.Color = COLOR
  957. end
  958. PART.Parent = PARENT
  959. end)
  960. end
  961. end
  962. end
  963. function refit()
  964. Weapon.Parent = Character
  965. Character.Parent = workspace
  966. for e = 1, #BODY do
  967. if BODY[e] ~= nil then
  968. local STUFF = BODY[e]
  969. local PART = STUFF[1]
  970. local PARENT = STUFF[2]
  971. local MATERIAL = STUFF[3]
  972. local COLOR = STUFF[4]
  973. if PART.Parent ~= PARENT then
  974. Humanoid:remove()
  975. if PART.ClassName == "Part" then
  976. PART.Material = MATERIAL
  977. PART.Color = COLOR
  978. end
  979. PART.Parent = PARENT
  980. Humanoid = IT("Humanoid", Character)
  981. end
  982. end
  983. end
  984. end
  985.  
  986.  
  987.  
  988. local SKILLTEXTCOLOR = C3(1,0,0)
  989. local SKILLFONT = "SciFi"
  990. local SKILLTEXTSIZE = 5
  991.  
  992. Weapon.Parent = Character
  993. Humanoid.Died:connect(function()
  994. refit()
  995. end)
  996.  
  997.  
  998. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  999. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1000. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1001. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1002. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1003. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1004.  
  1005. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  1006. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  1007. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  1008. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  1009. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  1010. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  1011.  
  1012. --//=================================\\
  1013. --|| ATTACK FUNCTIONS AND STUFF
  1014. --\\=================================//
  1015.  
  1016. function Warp()
  1017. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 100, Character)
  1018. if HITFLOOR then
  1019. CharacterFade(C3(0.5,0,0),50)
  1020. HITPOS = HITPOS + VT(0,3.5,0)
  1021. local POS = RootPart.Position
  1022. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1023. CreateSound(289556450,Torso,2,MRANDOM(8,13)/10,false)
  1024. end
  1025. end
  1026.  
  1027. function Dash()
  1028. ATTACK = true
  1029. Rooted = true
  1030. local SOUND = CreateSound(1165167610, Torso, 1, 1, true)
  1031. local LOOP = 0
  1032. repeat
  1033. LOOP = LOOP + 1
  1034. Swait()
  1035. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace)
  1036. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character)
  1037. if HITFLOOR then
  1038. CharacterFade(C3(0.5,0,0),35)
  1039. HITPOS = HITPOS + VT(0,3.5,0)
  1040. local POS = RootPart.Position
  1041. RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p)
  1042. RootPart.Velocity = VT(0,0,0)
  1043. RootPart.RotVelocity = VT(0,0,0)
  1044. end
  1045. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed)
  1046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1047. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1048. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1049. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1050. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1051. until KEYHOLD == false
  1052. coroutine.resume(coroutine.create(function()
  1053. for i = 1, 20 do
  1054. Swait()
  1055. SOUND.Volume = SOUND.Volume - 1/20
  1056. end
  1057. SOUND:remove()
  1058. end))
  1059. if LOOP > 50 then
  1060. CreateSound(772085046,Torso,5,MRANDOM(8,13)/10,false)
  1061. for i = 1, 100 do
  1062. Swait()
  1063. RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3)
  1064. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1065. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1066. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1067. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1068. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1069. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1070. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1071. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1072. end
  1073. end
  1074. ATTACK = false
  1075. Rooted = false
  1076. end
  1077.  
  1078. function LimbRip()
  1079. ATTACK = true
  1080. Rooted = false
  1081. local TARGET = nil
  1082. local ROOT = nil
  1083. local HUMAN = nil
  1084. local DIST = 4
  1085. Speed = 12
  1086. for i=0, 1, 0.1 / Animation_Speed do
  1087. Swait()
  1088. local CHILDREN = workspace:GetDescendants()
  1089. for index, CHILD in pairs(CHILDREN) do
  1090. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1091. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1092. if HUM then
  1093. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1094. if TORSO and HUM.Health > 0 then
  1095. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  1096. DIST = (TORSO.Position - RightArm.Position).Magnitude
  1097. ROOT = TORSO
  1098. HUMAN = HUM
  1099. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1100. end
  1101. end
  1102. end
  1103. end
  1104. end
  1105. if ROOT then
  1106. break
  1107. end
  1108. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1109. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1110. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1111. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1112. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1113. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1114. end
  1115. Speed = 16
  1116. if ROOT then
  1117. CreateSound(305685800,Torso,5,1.3,false)
  1118. Rooted = true
  1119. local GORED = false
  1120. coroutine.resume(coroutine.create(function()
  1121. repeat
  1122. Swait()
  1123. ROOT.Anchored = true
  1124. until GORED == true
  1125. ROOT.Anchored = false
  1126. end))
  1127. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.25)
  1128. if TARGET.Name == "Torso" then
  1129. local RARM = TARGET.Parent:FindFirstChild("Right Arm")
  1130. local LARM = TARGET.Parent:FindFirstChild("Left Arm")
  1131. if RARM and LARM then
  1132. for i=0, 1, 0.1 / Animation_Speed do
  1133. Swait()
  1134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1140. end
  1141. for _, c in pairs(TARGET.Parent:GetDescendants()) do
  1142. if c:IsA("JointInstance") then
  1143. if c.Part1 == RARM or c.Part1 == LARM or c.Part0 == RARM or c.Part0 == LARM then
  1144. c:remove()
  1145. end
  1146. end
  1147. end
  1148. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1149. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1150. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1151. for i=0, 1, 0.1 / Animation_Speed do
  1152. Swait()
  1153. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1154. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1155. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1156. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1157. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1158. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159. end
  1160. for i=0, 1, 0.1 / Animation_Speed do
  1161. Swait()
  1162. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  1163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1165. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1166. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  1167. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1168. end
  1169. for i=0, 0.1, 0.1 / Animation_Speed do
  1170. Swait()
  1171. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1172. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1174. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1175. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1176. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1177. end
  1178. GORED = true
  1179. Ragdoll(TARGET.Parent,Torso)
  1180. if ROOT.Name ~= "Torso" then
  1181. ROOT:remove()
  1182. end
  1183. local RGRAB = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1184. local LGRAB = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, LARM, CF(0,-1.35,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1185. local bv = Instance.new("BodyVelocity",TARGET)
  1186. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1187. bv.velocity = TARGET.CFrame.lookVector*75
  1188. Debris:AddItem(bv,0.05)
  1189. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  1190. for i=0, 0.5, 0.1 / Animation_Speed do
  1191. Swait()
  1192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(160), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1196. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1197. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1198. end
  1199. for i=0, 1, 0.1 / Animation_Speed do
  1200. Swait()
  1201. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.6 / Animation_Speed)
  1204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.6 / Animation_Speed)
  1205. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1206. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207. end
  1208. local HITBOX = CreatePart(3, RARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  1209. HITBOX.CFrame = RARM.CFrame
  1210. HITBOX.CanCollide = true
  1211. weldBetween(RARM,HITBOX)
  1212. local HITBOX = CreatePart(3, LARM, "Metal", 0, 1, "Really black", "Part", RARM.Size, false)
  1213. HITBOX.CFrame = LARM.CFrame
  1214. HITBOX.CanCollide = true
  1215. weldBetween(LARM,HITBOX)
  1216. RGRAB:remove()
  1217. LGRAB:remove()
  1218. for i=0, 0.4, 0.1 / Animation_Speed do
  1219. Swait()
  1220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1224. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1226. end
  1227. end
  1228. elseif TARGET.Name == "UpperTorso" then
  1229. if TARGET.Parent:FindFirstChild("RightUpperArm") and TARGET.Parent:FindFirstChild("LeftUpperArm") then
  1230. for i=0, 0.3, 0.1 / Animation_Speed do
  1231. Swait()
  1232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1235. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1236. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1237. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1238. end
  1239. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  1240. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1241. local BLADE = true
  1242. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(1,1,1), VT(0,0,0))
  1243. coroutine.resume(coroutine.create(function()
  1244. repeat
  1245. Swait()
  1246. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  1247. until BLADE == false
  1248. SAWBLADE:remove()
  1249. end))
  1250. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  1251. for i=0, 1, 0.1 / Animation_Speed do
  1252. Swait()
  1253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(140), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1257. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1258. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1259. end
  1260. for i=0, 3, 0.1 / Animation_Speed do
  1261. Swait()
  1262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1268. end
  1269. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1270. TARGET.Parent:FindFirstChild("RightUpperArm").RightShoulder:remove()
  1271. for i=0, 1, 0.1 / Animation_Speed do
  1272. Swait()
  1273. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0.3) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1274. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1279. end
  1280. for i=0, 3, 0.1 / Animation_Speed do
  1281. Swait()
  1282. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  1283. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-80)), 1 / Animation_Speed)
  1284. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1285. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1286. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1287. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1288. end
  1289. CreateSound(363808674, TARGET, 3, MRANDOM(7,9)/10, false)
  1290. TARGET.Parent:FindFirstChild("LeftUpperArm").LeftShoulder:remove()
  1291. BLADE = false
  1292. for i=0, 0.5, 0.1 / Animation_Speed do
  1293. Swait()
  1294. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.25) * ANGLES(RAD(-25), RAD(0), RAD(80)), 1 / Animation_Speed)
  1295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1296. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1298. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,1.5,0), 1 / Animation_Speed)
  1299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1300. end
  1301. for i=0, 0.1, 0.1 / Animation_Speed do
  1302. Swait()
  1303. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1304. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1305. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1306. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1307. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1308. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1309. end
  1310. GORED = true
  1311. TARGET.Parent:BreakJoints()
  1312. R15Ragdoll(TARGET.Parent)
  1313. if ROOT.Name ~= "Torso" then
  1314. ROOT:remove()
  1315. end
  1316. local bv = Instance.new("BodyVelocity",TARGET)
  1317. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1318. bv.velocity = TARGET.CFrame.lookVector*75
  1319. Debris:AddItem(bv,0.05)
  1320. CreateSound(621557962, RightLeg, 1, MRANDOM(7,9)/10, false)
  1321. for i=0, 0.3, 0.1 / Animation_Speed do
  1322. Swait()
  1323. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0.25) * ANGLES(RAD(-35), RAD(0), RAD(80)), 1 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-32), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1327. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-65), RAD(0), RAD(0)) * CF(0,-0.3,0), 1 / Animation_Speed)
  1328. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1329. end
  1330. end
  1331. end
  1332. end
  1333. ATTACK = false
  1334. Rooted = false
  1335. end
  1336.  
  1337. function Buzzsaw()
  1338. ATTACK = true
  1339. Rooted = false
  1340. local ARMSPEED = 0.1
  1341. local TARGET = nil
  1342. local ROOT = nil
  1343. local HUMAN = nil
  1344. local DIST = 4
  1345. local SAWBLADE = CreatePart(3, Weapon, "Neon", 0, 0.5, "Really red", "Part", VT(0,0,0),false)
  1346. local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, SAWBLADE, CF(0,-1,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1347. local BLADE = true
  1348. CreateMesh("SpecialMesh", SAWBLADE, "FileMesh", "74322089", "", VT(2,2,1), VT(0,0,0))
  1349. coroutine.resume(coroutine.create(function()
  1350. repeat
  1351. Swait()
  1352. WELD.C1 = WELD.C1 * ANGLES(RAD(0), RAD(0), RAD(25))
  1353. until BLADE == false
  1354. SAWBLADE:remove()
  1355. end))
  1356. CreateSound(1165167936, SAWBLADE, 2, 1, true)
  1357. for i=0, 1, 0.1 / Animation_Speed do
  1358. Swait()
  1359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(175), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1363. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1364. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1365. end
  1366. for i=0, 2, 0.1 / Animation_Speed do
  1367. Swait()
  1368. local CHILDREN = workspace:GetDescendants()
  1369. for index, CHILD in pairs(CHILDREN) do
  1370. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1371. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1372. if HUM then
  1373. local TORSO = CHILD:FindFirstChild("HumanoidRootPart") or CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1374. if TORSO and HUM.Health > 0 then
  1375. if (TORSO.Position - RightArm.Position).Magnitude <= DIST then
  1376. DIST = (TORSO.Position - RightArm.Position).Magnitude
  1377. ROOT = TORSO
  1378. HUMAN = HUM
  1379. TARGET = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1380. end
  1381. end
  1382. end
  1383. end
  1384. end
  1385. if ROOT then
  1386. break
  1387. end
  1388. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  1391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1394. end
  1395. if ROOT then
  1396. ARMSPEED = 0.03
  1397. Rooted = true
  1398. RootPart.CFrame = ROOT.CFrame*CF(0,0,2.5)
  1399. repeat
  1400. HUMAN.Health = HUMAN.Health - 0.5
  1401. Swait()
  1402. ROOT.Anchored = true
  1403. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(1, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1404. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1405. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, ARMSPEED / Animation_Speed)
  1406. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1407. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1408. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1409. until RightArm.Position.Y < Torso.Position.Y-0.15 or HUMAN.Health == 0
  1410. ROOT.Anchored = false
  1411. if HUMAN.Health == 0 then
  1412. if ROOT.Name ~= "Torso" then
  1413. ROOT:remove()
  1414. end
  1415. if TARGET.Name == "Torso" then
  1416. Ragdoll(HUMAN.Parent,Torso,true)
  1417. elseif TARGET.Name == "UpperTorso" then
  1418. R15Ragdoll(HUMAN.Parent,true)
  1419. end
  1420. end
  1421. end
  1422. BLADE = false
  1423. ATTACK = false
  1424. Rooted = false
  1425. end
  1426.  
  1427. function ReeeEEEEEE()
  1428. ATTACK = true
  1429. Rooted = false
  1430. Speed = 12
  1431. local FX = CreateSound(198165368, Head, 4, 0.5, false)
  1432. repeat
  1433. Swait()
  1434. FX.Parent = Head
  1435. local CHILDREN = workspace:GetDescendants()
  1436. for index, CHILD in pairs(CHILDREN) do
  1437. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1438. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1439. if HUM then
  1440. local TORSO = CHILD:FindFirstChild("Head")
  1441. if TORSO then
  1442. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  1443. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1444. TORSO:remove()
  1445. if CHILD:FindFirstChild("Torso") then
  1446. Ragdoll(CHILD,Torso,true)
  1447. elseif CHILD:FindFirstChild("UpperTorso") then
  1448. R15Ragdoll(CHILD,true)
  1449. end
  1450. end
  1451. end
  1452. end
  1453. end
  1454. end
  1455. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1461. until FX.Playing == false
  1462. Speed = 16
  1463. ATTACK = false
  1464. Rooted = false
  1465. end
  1466.  
  1467. function Needle()
  1468. ATTACK = true
  1469. Rooted = true
  1470. local GYRO = IT("BodyGyro",RootPart)
  1471. GYRO.D = 2
  1472. GYRO.P = 2000
  1473. GYRO.MaxTorque = VT(0,4000000,0)
  1474. local NEEDGYRO = true
  1475. coroutine.resume(coroutine.create(function()
  1476. repeat
  1477. Swait()
  1478. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1479. until NEEDGYRO == false
  1480. GYRO:Remove()
  1481. end))
  1482. for i=0, 0.3, 0.1 / Animation_Speed do
  1483. Swait()
  1484. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1485. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1486. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1487. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1488. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1489. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1490. end
  1491. for i=0, 1, 0.1 / Animation_Speed do
  1492. Swait()
  1493. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1494. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  1495. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1496. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1497. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1498. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1499. end
  1500. local HIT,POS = CastProperRay(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p,300,Character)
  1501. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 2})
  1502. NEEDGYRO = false
  1503. if HIT then
  1504. local NEEDLE = IT("Model",Effects)
  1505. local BASE = CreatePart(3, NEEDLE, "Glass", 0, 0.5, "Pearl", "Part", VT(0.3,0.6,0.3), false)
  1506. MakeForm(BASE,"Cyl")
  1507. BASE.CFrame = CF(POS,RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(90), RAD(0), RAD(0))*CF(0,-0.35,0)
  1508. weldBetween(BASE,HIT)
  1509. local FLUID = CreatePart(3, NEEDLE, "Neon", 0, 0, "Lime green", "Part", VT(0.28,0.58,0.28), false)
  1510. MakeForm(FLUID,"Cyl")
  1511. FLUID.CFrame = BASE.CFrame
  1512. weldBetween(BASE,FLUID)
  1513. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0,0.2,0), false)
  1514. PART.CFrame = BASE.CFrame*CF(0,0.4,0)
  1515. weldBetween(BASE,PART)
  1516. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.1,0.1,0.1), false)
  1517. PART.CFrame = BASE.CFrame*CF(0,-0.35,0)
  1518. weldBetween(BASE,PART)
  1519. local PART = CreatePart(3, NEEDLE, "Metal", 0, 0, "Pearl", "Part", VT(0.2,0.1,0.2), false)
  1520. PART.CFrame = BASE.CFrame*CF(0,-0.4,0)
  1521. weldBetween(BASE,PART)
  1522. Debris:AddItem(NEEDLE,7)
  1523. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  1524. local HUMAN = HIT.Parent:FindFirstChildOfClass("Humanoid")
  1525. coroutine.resume(coroutine.create(function()
  1526. for i = 1, 500 do
  1527. HUMAN.Health = HUMAN.Health - MRANDOM(1,6)/5
  1528. if HUMAN.Health == 0 then
  1529. break
  1530. end
  1531. Swait(2)
  1532. end
  1533. if HUMAN.Health == 0 then
  1534. local CHILD = HUMAN.Parent
  1535. if CHILD:FindFirstChild("Torso") then
  1536. CHILD:FindFirstChild("Torso").CFrame = CHILD:FindFirstChild("Torso").CFrame * ANGLES(RAD(2), RAD(0), RAD(0))
  1537. Ragdoll(CHILD,Torso,true)
  1538. elseif CHILD:FindFirstChild("UpperTorso") then
  1539. R15Ragdoll(CHILD,true)
  1540. end
  1541. end
  1542. end))
  1543. end
  1544. end
  1545. for i=0, 1, 0.1 / Animation_Speed do
  1546. Swait()
  1547. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1548. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(15), RAD(-45)), 1 / Animation_Speed)
  1549. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1550. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(25), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1551. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, 0) * ANGLES(RAD(-90), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1553. end
  1554. ATTACK = false
  1555. Rooted = false
  1556. end
  1557.  
  1558. function ScrewThis()
  1559. ATTACK = true
  1560. Rooted = true
  1561. local SCREW = CreatePart(3, Weapon, "Neon", 0, 1, "Really red", "Part", VT(2, 0.4, 0.4)/2,false)
  1562. SCREW.CanCollide = true
  1563. local WELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, SCREW, CF(0,-1,0.2) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1564. CreateMesh("SpecialMesh", SCREW, "FileMesh", "70265804", "70265794", VT(1,1,1)/1.5, VT(0,0,0))
  1565. for i=0, 0.4, 0.1 / Animation_Speed do
  1566. Swait()
  1567. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(45)), 1 / Animation_Speed)
  1569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1571. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1572. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1573. end
  1574. SCREW.Transparency = 0
  1575. for i=0, 0.1, 0.1 / Animation_Speed do
  1576. Swait()
  1577. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1578. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1579. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1580. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1581. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1582. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1583. end
  1584. for i=0, 1, 0.1 / Animation_Speed do
  1585. Swait()
  1586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1592. end
  1593. for i = 1, 3 do
  1594. for i=0, 0.3, 0.1 / Animation_Speed do
  1595. Swait()
  1596. WELD.C1 = WELD.C1 * ANGLES(RAD(5), RAD(0), RAD(0))
  1597. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1598. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1599. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1600. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(78)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1601. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1603. end
  1604. for i=0, 1, 0.1 / Animation_Speed do
  1605. Swait()
  1606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1612. end
  1613. end
  1614. if MRANDOM(1, 5) == 1 then
  1615. DUST:Emit(25)
  1616. WELD:remove()
  1617. CreateSound(328460122, RightArm, 3, 1, false)
  1618. SCREW.Velocity = CF(RightArm.Position,SCREW.Position).lookVector*65
  1619. Debris:AddItem(SCREW,6)
  1620. for i=0, 3, 0.1 / Animation_Speed do
  1621. Swait()
  1622. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1623. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1624. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1625. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1626. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1627. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1628. end
  1629. for i = 1, 3 do
  1630. for i=0, 0.35, 0.1 / Animation_Speed do
  1631. Swait()
  1632. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1633. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  1634. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1635. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1636. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1637. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1638. end
  1639. for i=0, 0.35, 0.1 / Animation_Speed do
  1640. Swait()
  1641. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1642. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1643. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(40), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1644. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.7, 0.5, -0.3) * ANGLES(RAD(120), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1645. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1646. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1647. end
  1648. end
  1649. else
  1650. for i=0, 0.5, 0.1 / Animation_Speed do
  1651. Swait()
  1652. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1653. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1654. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1655. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1656. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1657. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1658. end
  1659. WELD:remove()
  1660. for i=0, 0.15, 0.1 / Animation_Speed do
  1661. Swait()
  1662. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1663. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  1664. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1665. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1666. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1667. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1668. end
  1669. Debris:AddItem(SCREW,6)
  1670. end
  1671. ATTACK = false
  1672. Rooted = false
  1673. end
  1674.  
  1675. --//=================================\\
  1676. --|| ASSIGN THINGS TO KEYS
  1677. --\\=================================//
  1678.  
  1679. function MouseDown(Mouse)
  1680. if ATTACK == false then
  1681. end
  1682. end
  1683.  
  1684. function MouseUp(Mouse)
  1685. HOLD = false
  1686. end
  1687.  
  1688. function KeyDown(Key)
  1689. KEYHOLD = true
  1690. if Key == "z" and ATTACK == false then
  1691. Warp()
  1692. end
  1693.  
  1694. if Key == "b" and ATTACK == false then
  1695. Dash()
  1696. end
  1697.  
  1698. if Key == "c" and ATTACK == false then
  1699. LimbRip()
  1700. end
  1701.  
  1702. if Key == "v" and ATTACK == false then
  1703. Buzzsaw()
  1704. end
  1705.  
  1706. if Key == "e" and ATTACK == false then
  1707. ReeeEEEEEE()
  1708. end
  1709.  
  1710. if Key == "x" and ATTACK == false then
  1711. Needle()
  1712. end
  1713.  
  1714. if Key == "t" and ATTACK == false then
  1715. ScrewThis()
  1716. end
  1717. end
  1718.  
  1719. function KeyUp(Key)
  1720. KEYHOLD = false
  1721. end
  1722.  
  1723. Mouse.Button1Down:connect(function(NEWKEY)
  1724. MouseDown(NEWKEY)
  1725. end)
  1726. Mouse.Button1Up:connect(function(NEWKEY)
  1727. MouseUp(NEWKEY)
  1728. end)
  1729. Mouse.KeyDown:connect(function(NEWKEY)
  1730. KeyDown(NEWKEY)
  1731. end)
  1732. Mouse.KeyUp:connect(function(NEWKEY)
  1733. KeyUp(NEWKEY)
  1734. end)
  1735.  
  1736. --//=================================\\
  1737. --\\=================================//
  1738.  
  1739. function AntiTimeStop()
  1740. for _, c in pairs(Character:GetChildren()) do
  1741. if c:IsA("BasePart") then
  1742. c.Anchored = false
  1743. end
  1744. end
  1745. for _, c in pairs(Weapon:GetChildren()) do
  1746. if c:IsA("BasePart") then
  1747. c.Anchored = false
  1748. end
  1749. end
  1750. end
  1751.  
  1752. --//=================================\\
  1753. --|| WRAP THE WHOLE SCRIPT UP
  1754. --\\=================================//
  1755.  
  1756. Humanoid.Changed:connect(function(Jump)
  1757. if Jump == "Jump" and (Disable_Jump == true) then
  1758. Humanoid.Jump = false
  1759. end
  1760. end)
  1761.  
  1762. local sick = IT("Sound")
  1763.  
  1764. while true do
  1765. Swait()
  1766. script.Parent = WEAPONGUI
  1767. ANIMATE.Parent = nil
  1768. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1769. v:Stop();
  1770. end
  1771. SINE = SINE + CHANGE
  1772. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1773. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1774. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1775. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1776. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1777. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1778. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1779. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2- 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1780. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1781. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1782. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1783. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1784. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1785. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1786. end
  1787. if HITFLOOR == nil then
  1788. ANIM = "Midair"
  1789. if ATTACK == false then
  1790. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1791. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1792. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1793. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1794. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.6) * ANGLES(RAD(15), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1795. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2, -0.6) * ANGLES(RAD(15), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1796. end
  1797. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1798. ANIM = "Idle"
  1799. if ATTACK == false then
  1800. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1801. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1802. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(10 - 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1803. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1804. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1805. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1806. end
  1807. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1808. ANIM = "Walk"
  1809. if ATTACK == false then
  1810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1816. end
  1817. end
  1818. Humanoid.MaxHealth = "inf"
  1819. Humanoid.Health = "inf"
  1820. sick.SoundId = "rbxassetid://1696854181"
  1821. sick.Looped = true
  1822. sick.Pitch = 1
  1823. sick.Volume = 2
  1824. sick.Playing = true
  1825. sick.Parent = Effects
  1826. AntiTimeStop()
  1827. refit()
  1828. if Rooted == false then
  1829. Disable_Jump = false
  1830. Humanoid.WalkSpeed = Speed
  1831. elseif Rooted == true then
  1832. Disable_Jump = true
  1833. Humanoid.WalkSpeed = 0
  1834. end
  1835. ---Humanoid.Name = "Killbot"
  1836. --end
  1837. end
  1838.  
  1839. --//=================================\\
  1840. --\\=================================//
  1841.  
  1842. --//====================================================\\--
  1843. --|| END OF SCRIPT
  1844. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement