Advertisement
mememasterYT

ethic

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