Advertisement
memberhero

Killbot v2

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