Advertisement
Zebula_The_Scripter

Noob

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