Advertisement
Cute_Sylveon

Killbot now with trail oWo

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