Mr-Shadow_Cat

Spider limbs

Feb 10th, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.44 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local chitter = Instance.new("Sound",Head)
  32. chitter.SoundId = "rbxassetid://342425836"
  33. chitter.Pitch = 1
  34. chitter.Volume = 2
  35. stab = false
  36. foodism = 1500
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  56. local NEWMESH = IT(MESH)
  57. if MESH == "SpecialMesh" then
  58. NEWMESH.MeshType = MESHTYPE
  59. if MESHID ~= "nil" and MESHID ~= "" then
  60. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  61. end
  62. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  63. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  64. end
  65. end
  66. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  67. NEWMESH.Scale = SCALE
  68. NEWMESH.Parent = PARENT
  69. return NEWMESH
  70. end
  71.  
  72. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  73. local NEWPART = IT("Part")
  74. NEWPART.formFactor = FORMFACTOR
  75. NEWPART.Reflectance = REFLECTANCE
  76. NEWPART.Transparency = TRANSPARENCY
  77. NEWPART.CanCollide = false
  78. NEWPART.Locked = true
  79. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  80. NEWPART.Name = NAME
  81. NEWPART.Size = SIZE
  82. NEWPART.Position = Torso.Position
  83. NEWPART.Material = MATERIAL
  84. NEWPART:BreakJoints()
  85. NEWPART.Parent = PARENT
  86. return NEWPART
  87. end
  88.  
  89.  
  90. --//=================================\\
  91. --|| CUSTOMIZATION
  92. --\\=================================//
  93.  
  94. Class_Name = "Template"
  95. Weapon_Name = "Add-ons"
  96.  
  97. Custom_Colors = {
  98. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  99. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  100.  
  101. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  102. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  103. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  104. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  105. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  106.  
  107. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  108. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  109. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  110. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  111. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  112. }
  113.  
  114.  
  115. Player_Size = 1 --Size of the player.
  116. Animation_Speed = 3
  117. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  118.  
  119. local Speed = 16
  120. local Effects2 = {}
  121.  
  122. --//=================================\\
  123. --|| END OF CUSTOMIZATION
  124. --\\=================================//
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  137. local acs = Instance.new("Part")
  138. acs.CanCollide = false
  139. acs.Anchored = false
  140. acs.Size = Vector3.new(0,0,0)
  141. acs.CFrame = attachmentpart.CFrame
  142. acs.Parent = Character
  143. acs.BrickColor = color
  144. local meshs = Instance.new("SpecialMesh")
  145. meshs.MeshId = mesh
  146. meshs.TextureId = texture
  147. meshs.Parent = acs
  148. meshs.Scale = scale
  149. meshs.Offset = offset
  150. weldBetween(attachmentpart,acs)
  151. end
  152.  
  153. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  154. if TYPE == "Gem" then
  155. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  156. acs.Anchored = false
  157. acs.CanCollide = false
  158. acs.CFrame = PART.CFrame
  159. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  160. weldBetween(PART,acs)
  161. elseif TYPE == "Skull" then
  162. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  163. acs.Anchored = false
  164. acs.CanCollide = false
  165. acs.CFrame = PART.CFrame
  166. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  167. weldBetween(PART,acs)
  168. elseif TYPE == "Eye" then
  169. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  170. acs.Anchored = false
  171. acs.CanCollide = false
  172. acs.CFrame = PART.CFrame
  173. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  174. weldBetween(PART,acs)
  175. end
  176. end
  177.  
  178. createbodypart("Eye","Really red",Head,VT(0.2, -0.1, -0.55),VT(5,5,3))
  179. createbodypart("Eye","Really red",Head,VT(-0.2, -0.1, -0.55),VT(5,5,3))
  180. createbodypart("Eye","Really red",Head,VT(0.3, 0.15, -0.55),VT(3,3,2))
  181. createbodypart("Eye","Really red",Head,VT(-0.3, 0.15, -0.55),VT(3,3,2))
  182. createbodypart("Eye","Really red",Head,VT(0.1, 0.25, -0.55),VT(3,3,2))
  183. createbodypart("Eye","Really red",Head,VT(-0.1, 0.25, -0.55),VT(3,3,2))
  184. createbodypart("Eye","Really red",Head,VT(0.3, 0.3, -0.55),VT(2,2,1))
  185. createbodypart("Eye","Really red",Head,VT(-0.3, 0.3, -0.55),VT(2,2,1))
  186.  
  187. --//=================================\\
  188. --|| USEFUL VALUES
  189. --\\=================================//
  190.  
  191. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  192. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  193. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  194. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  195. local CO1 = 0
  196. local CO2 = 0
  197. local CO3 = 0
  198. local CO4 = 0
  199. local CHANGEDEFENSE = 0
  200. local CHANGEDAMAGE = 0
  201. local CHANGEMOVEMENT = 0
  202. local ANIM = "Idle"
  203. local ATTACK = false
  204. local EQUIPPED = false
  205. local HOLD = false
  206. local COMBO = 1
  207. local LASTPOINT = nil
  208. local BLCF = nil
  209. local SCFR = nil
  210. local STAGGERHITANIM = false
  211. local STAGGERANIM = false
  212. local STUNANIM = false
  213. local CRITCHANCENUMBER = 0
  214. local IDLENUMBER = 0
  215. local DONUMBER = 0
  216. local HANDIDLE = false
  217. local SINE = 0
  218. local CHANGE = 2 / Animation_Speed
  219. local WALKINGANIM = false
  220. local WALK = 0
  221. local DISABLEJUMPING = false
  222. local HASBEENBLOCKED = false
  223. local STUNDELAYNUMBER = 0
  224. local MANADELAYNUMBER = 0
  225. local SECONDARYMANADELAYNUMBER = 0
  226. local ROBLOXIDLEANIMATION = IT("Animation")
  227. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  228. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  229. --ROBLOXIDLEANIMATION.Parent = Humanoid
  230. local WEAPONGUI = IT("ScreenGui", nil)
  231. WEAPONGUI.Name = "Weapon GUI"
  232. local WEAPONTOOL = IT("HopperBin", nil)
  233. WEAPONTOOL.Name = Weapon_Name
  234. local Weapon = IT("Model")
  235. Weapon.Name = Weapon_Name
  236. local Effects = IT("Folder", Weapon)
  237. Effects.Name = "Effects"
  238. local ANIMATOR = Humanoid.Animator
  239. local ANIMATE = Character.Animate
  240. local HITPLAYERSOUNDS = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  241. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  242. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  243. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  244. local UNANCHOR = true
  245.  
  246. --//=================================\\
  247. --\\=================================//
  248.  
  249. --//=================================\\
  250. --|| STATS
  251. --\\=================================//
  252.  
  253. if Character:FindFirstChild("Stats") ~= nil then
  254. Character:FindFirstChild("Stats").Parent = nil
  255. end
  256.  
  257. local Stats = IT("Folder", nil)
  258. Stats.Name = "Stats"
  259. local ChangeStat = IT("Folder", Stats)
  260. ChangeStat.Name = "ChangeStat"
  261. local Defense = IT("NumberValue", Stats)
  262. Defense.Name = "Defense"
  263. Defense.Value = 1
  264. local Movement = IT("NumberValue", Stats)
  265. Movement.Name = "Movement"
  266. Movement.Value = 1
  267. local Damage = IT("NumberValue", Stats)
  268. Damage.Name = "Damage"
  269. Damage.Value = 1
  270. local Mana = IT("NumberValue", Stats)
  271. Mana.Name = "Mana"
  272. Mana.Value = 0
  273. local SecondaryMana = IT("NumberValue", Stats)
  274. SecondaryMana.Name = "SecondaryMana"
  275. SecondaryMana.Value = 0
  276. local CanCrit = IT("BoolValue", Stats)
  277. CanCrit.Name = "CanCrit"
  278. CanCrit.Value = false
  279. local CritChance = IT("NumberValue", Stats)
  280. CritChance.Name = "CritChance"
  281. CritChance.Value = 20
  282. local CanPenetrateArmor = IT("BoolValue", Stats)
  283. CanPenetrateArmor.Name = "CanPenetrateArmor"
  284. CanPenetrateArmor.Value = false
  285. local AntiTeamKill = IT("BoolValue", Stats)
  286. AntiTeamKill.Name = "AntiTeamKill"
  287. AntiTeamKill.Value = false
  288. local Rooted = IT("BoolValue", Stats)
  289. Rooted.Name = "Rooted"
  290. Rooted.Value = false
  291. local Block = IT("BoolValue", Stats)
  292. Block.Name = "Block"
  293. Block.Value = false
  294. local RecentEnemy = IT("ObjectValue", Stats)
  295. RecentEnemy.Name = "RecentEnemy"
  296. RecentEnemy.Value = nil
  297. local StaggerHit = IT("BoolValue", Stats)
  298. StaggerHit.Name = "StaggerHit"
  299. StaggerHit.Value = false
  300. local Stagger = IT("BoolValue", Stats)
  301. Stagger.Name = "Stagger"
  302. Stagger.Value = false
  303. local Stun = IT("BoolValue", Stats)
  304. Stun.Name = "Stun"
  305. Stun.Value = false
  306. local StunValue = IT("NumberValue", Stats)
  307. StunValue.Name = "StunValue"
  308. StunValue.Value = 0
  309.  
  310.  
  311. --//=================================\\
  312. --\\=================================//
  313.  
  314.  
  315.  
  316.  
  317.  
  318. --//=================================\\
  319. --|| DEBUFFS / BUFFS
  320. --\\=================================//
  321.  
  322. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  323. DEFENSECHANGE1.Name = "ChangeDefense"
  324. DEFENSECHANGE1.Value = 0
  325.  
  326. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  327. MOVEMENTCHANGE1.Name = "ChangeMovement"
  328. MOVEMENTCHANGE1.Value = 0
  329.  
  330. --//=================================\\
  331. --\\=================================//
  332.  
  333.  
  334.  
  335.  
  336.  
  337. --//=================================\\
  338. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  339. --\\=================================//
  340.  
  341. ArtificialHB = Instance.new("BindableEvent", script)
  342. ArtificialHB.Name = "ArtificialHB"
  343.  
  344. script:WaitForChild("ArtificialHB")
  345.  
  346. frame = Frame_Speed
  347. tf = 0
  348. allowframeloss = false
  349. tossremainder = false
  350. lastframe = tick()
  351. script.ArtificialHB:Fire()
  352.  
  353. game:GetService("RunService").Heartbeat:connect(function(s, p)
  354. tf = tf + s
  355. if tf >= frame then
  356. if allowframeloss then
  357. script.ArtificialHB:Fire()
  358. lastframe = tick()
  359. else
  360. for i = 1, math.floor(tf / frame) do
  361. script.ArtificialHB:Fire()
  362. end
  363. lastframe = tick()
  364. end
  365. if tossremainder then
  366. tf = 0
  367. else
  368. tf = tf - frame * math.floor(tf / frame)
  369. end
  370. end
  371. end)
  372.  
  373. --//=================================\\
  374. --\\=================================//
  375.  
  376.  
  377.  
  378.  
  379.  
  380. --//=================================\\
  381. --|| SOME FUNCTIONS
  382. --\\=================================//
  383.  
  384. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  385. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  386. end
  387.  
  388. function PositiveAngle(NUMBER)
  389. if NUMBER >= 0 then
  390. NUMBER = 0
  391. end
  392. return NUMBER
  393. end
  394.  
  395. function NegativeAngle(NUMBER)
  396. if NUMBER <= 0 then
  397. NUMBER = 0
  398. end
  399. return NUMBER
  400. end
  401.  
  402. function Swait(NUMBER)
  403. if NUMBER == 0 or NUMBER == nil then
  404. ArtificialHB.Event:wait()
  405. else
  406. for i = 1, NUMBER do
  407. ArtificialHB.Event:wait()
  408. end
  409. end
  410. end
  411.  
  412. function QuaternionFromCFrame(cf)
  413. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  414. local trace = m00 + m11 + m22
  415. if trace > 0 then
  416. local s = math.sqrt(1 + trace)
  417. local recip = 0.5 / s
  418. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  419. else
  420. local i = 0
  421. if m11 > m00 then
  422. i = 1
  423. end
  424. if m22 > (i == 0 and m00 or m11) then
  425. i = 2
  426. end
  427. if i == 0 then
  428. local s = math.sqrt(m00 - m11 - m22 + 1)
  429. local recip = 0.5 / s
  430. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  431. elseif i == 1 then
  432. local s = math.sqrt(m11 - m22 - m00 + 1)
  433. local recip = 0.5 / s
  434. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  435. elseif i == 2 then
  436. local s = math.sqrt(m22 - m00 - m11 + 1)
  437. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  438. end
  439. end
  440. end
  441.  
  442. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  443. local xs, ys, zs = x + x, y + y, z + z
  444. local wx, wy, wz = w * xs, w * ys, w * zs
  445. local xx = x * xs
  446. local xy = x * ys
  447. local xz = x * zs
  448. local yy = y * ys
  449. local yz = y * zs
  450. local zz = z * zs
  451. 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))
  452. end
  453.  
  454. function QuaternionSlerp(a, b, t)
  455. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  456. local startInterp, finishInterp;
  457. if cosTheta >= 0.0001 then
  458. if (1 - cosTheta) > 0.0001 then
  459. local theta = ACOS(cosTheta)
  460. local invSinTheta = 1 / SIN(theta)
  461. startInterp = SIN((1 - t) * theta) * invSinTheta
  462. finishInterp = SIN(t * theta) * invSinTheta
  463. else
  464. startInterp = 1 - t
  465. finishInterp = t
  466. end
  467. else
  468. if (1 + cosTheta) > 0.0001 then
  469. local theta = ACOS(-cosTheta)
  470. local invSinTheta = 1 / SIN(theta)
  471. startInterp = SIN((t - 1) * theta) * invSinTheta
  472. finishInterp = SIN(t * theta) * invSinTheta
  473. else
  474. startInterp = t - 1
  475. finishInterp = t
  476. end
  477. end
  478. 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
  479. end
  480.  
  481. function Clerp(a, b, t)
  482. local qa = {QuaternionFromCFrame(a)}
  483. local qb = {QuaternionFromCFrame(b)}
  484. local ax, ay, az = a.x, a.y, a.z
  485. local bx, by, bz = b.x, b.y, b.z
  486. local _t = 1 - t
  487. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  488. end
  489.  
  490. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  491. local frame = IT("Frame")
  492. frame.BackgroundTransparency = TRANSPARENCY
  493. frame.BorderSizePixel = BORDERSIZEPIXEL
  494. frame.Position = POSITION
  495. frame.Size = SIZE
  496. frame.BackgroundColor3 = COLOR
  497. frame.BorderColor3 = BORDERCOLOR
  498. frame.Name = NAME
  499. frame.Parent = PARENT
  500. return frame
  501. end
  502.  
  503. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  504. local label = IT("TextLabel")
  505. label.BackgroundTransparency = 1
  506. label.Size = UD2(1, 0, 1, 0)
  507. label.Position = UD2(0, 0, 0, 0)
  508. label.TextColor3 = C3(255, 255, 255)
  509. label.TextStrokeTransparency = STROKETRANSPARENCY
  510. label.TextTransparency = TRANSPARENCY
  511. label.FontSize = TEXTFONTSIZE
  512. label.Font = TEXTFONT
  513. label.BorderSizePixel = BORDERSIZEPIXEL
  514. label.TextScaled = true
  515. label.Text = TEXT
  516. label.Name = NAME
  517. label.Parent = PARENT
  518. return label
  519. end
  520.  
  521. function NoOutlines(PART)
  522. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  523. end
  524.  
  525.  
  526. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  527. local NEWWELD = IT(TYPE)
  528. NEWWELD.Part0 = PART0
  529. NEWWELD.Part1 = PART1
  530. NEWWELD.C0 = C0
  531. NEWWELD.C1 = C1
  532. NEWWELD.Parent = PARENT
  533. return NEWWELD
  534. end
  535.  
  536. function CreateSound(ID, PARENT, VOLUME, PITCH)
  537. coroutine.resume(coroutine.create(function()
  538. local NEWSOUND = IT("Sound", PARENT)
  539. NEWSOUND.Volume = VOLUME
  540. NEWSOUND.Pitch = PITCH
  541. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  542. Swait()
  543. NEWSOUND:play()
  544. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  545. end))
  546. end
  547.  
  548. function CFrameFromTopBack(at, top, back)
  549. local right = top:Cross(back)
  550. 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)
  551. end
  552.  
  553. --//=================================\\
  554. --|| WEAPON CREATION
  555. --\\=================================//
  556.  
  557. --limbs--------------
  558.  
  559. local limb1a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  560. local mesh = Instance.new("SpecialMesh",limb1a)
  561. mesh.MeshType = "Sphere"
  562. local limbweld1a = CreateWeldOrSnapOrMotor("Weld", limb1a, Torso, limb1a, CF(1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(25), RAD(0)), CF(0, 0, 0))
  563. local limb1b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  564. local mesh = Instance.new("SpecialMesh",limb1b)
  565. mesh.MeshType = "Sphere"
  566. local limbweld1b = CreateWeldOrSnapOrMotor("Weld", limb1b, limb1a, limb1b, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  567. local limb1c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  568. local mesh = Instance.new("SpecialMesh",limb1c)
  569. mesh.MeshType = "Sphere"
  570. local limbweld1c = CreateWeldOrSnapOrMotor("Weld", limb1c, limb1b, limb1c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
  571.  
  572. local limb2a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  573. local mesh = Instance.new("SpecialMesh",limb2a)
  574. mesh.MeshType = "Sphere"
  575. local limbweld2a = CreateWeldOrSnapOrMotor("Weld", limb2a, Torso, limb2a, CF(-1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(-25), RAD(0)), CF(0, 0, 0))
  576. local limb2b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  577. local mesh = Instance.new("SpecialMesh",limb2b)
  578. mesh.MeshType = "Sphere"
  579. local limbweld2b = CreateWeldOrSnapOrMotor("Weld", limb2b, limb2a, limb2b, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  580. local limb2c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  581. local mesh = Instance.new("SpecialMesh",limb2c)
  582. mesh.MeshType = "Sphere"
  583. local limbweld2c = CreateWeldOrSnapOrMotor("Weld", limb2c, limb2b, limb2c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
  584.  
  585. local limb3a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  586. local mesh = Instance.new("SpecialMesh",limb3a)
  587. mesh.MeshType = "Sphere"
  588. local limbweld3a = CreateWeldOrSnapOrMotor("Weld", limb3a, Torso, limb3a, CF(-1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-25), RAD(90)), CF(0, 0, 0))
  589. local limb3b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  590. local mesh = Instance.new("SpecialMesh",limb3b)
  591. mesh.MeshType = "Sphere"
  592. local limbweld3b = CreateWeldOrSnapOrMotor("Weld", limb3b, limb3a, limb3b, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), CF(0, 0, 0))
  593. local limb3c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  594. local mesh = Instance.new("SpecialMesh",limb3c)
  595. mesh.MeshType = "Sphere"
  596. local limbweld3c = CreateWeldOrSnapOrMotor("Weld", limb3c, limb3b, limb3c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
  597.  
  598. local limb4a = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  599. local mesh = Instance.new("SpecialMesh",limb4a)
  600. mesh.MeshType = "Sphere"
  601. local limbweld4a = CreateWeldOrSnapOrMotor("Weld", limb4a, Torso, limb4a, CF(1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(25), RAD(-90)), CF(0, 0, 0))
  602. local limb4b = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  603. local mesh = Instance.new("SpecialMesh",limb4b)
  604. mesh.MeshType = "Sphere"
  605. local limbweld4b = CreateWeldOrSnapOrMotor("Weld", limb4b, limb4a, limb4b, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), CF(0, 0, 0))
  606. local limb4c = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.35*Player_Size,0.35*Player_Size,3*Player_Size))
  607. local mesh = Instance.new("SpecialMesh",limb4c)
  608. mesh.MeshType = "Sphere"
  609. local limbweld4c = CreateWeldOrSnapOrMotor("Weld", limb4c, limb4b, limb4c, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), CF(0, 0, 0))
  610.  
  611. ---------------------
  612.  
  613. for _, c in pairs(Weapon:GetChildren()) do
  614. if c.ClassName == "Part" then
  615. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  616. end
  617. end
  618.  
  619. Weapon.Parent = Character
  620.  
  621. Humanoid.Died:connect(function()
  622. ATTACK = true
  623. end)
  624.  
  625. print(Class_Name.." loaded.")
  626.  
  627. --//=================================\\
  628. --\\=================================//
  629.  
  630.  
  631.  
  632.  
  633.  
  634. --//=================================\\
  635. --|| DAMAGE FUNCTIONS
  636. --\\=================================//
  637.  
  638. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  639. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  640. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  641. local BODYGYRO = IT("BodyGyro", STATPART)
  642. local BODYPOSITION = IT("BodyPosition", STATPART)
  643. BODYPOSITION.P = 2000
  644. BODYPOSITION.D = 100
  645. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  646. if LABELTYPE == "Normal" then
  647. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  648. elseif LABELTYPE == "Debuff" then
  649. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  650. elseif LABELTYPE == "Interruption" then
  651. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  652. end
  653. game:GetService("Debris"):AddItem(STATPART ,5)
  654. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  655. BILLBOARDGUI.Adornee = STATPART
  656. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  657. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  658. BILLBOARDGUI.AlwaysOnTop = false
  659. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  660. TEXTLABEL.BackgroundTransparency = 1
  661. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  662. TEXTLABEL.Text = TEXT
  663. TEXTLABEL.Font = "Antique"
  664. TEXTLABEL.FontSize="Size42"
  665. TEXTLABEL.TextColor3 = COLOR
  666. TEXTLABEL.TextStrokeTransparency = 1
  667. TEXTLABEL.TextScaled = true
  668. TEXTLABEL.TextWrapped = true
  669. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  670. wait(0.2)
  671. for i=1, 5 do
  672. wait()
  673. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  674. end
  675. wait(1.2)
  676. for i=1, 5 do
  677. wait()
  678. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  679. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  680. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  681. end
  682. THEPART.Parent = nil
  683. end),STATPART, BODYPOSITION, TEXTLABEL)
  684. end
  685.  
  686. local asd = Instance.new("ParticleEmitter")
  687. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  688. asd.LightEmission = .1
  689. asd.Size = NumberSequence.new(0.2)
  690. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  691. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  692. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  693. asd.Transparency = bbb
  694. asd.Size = aaa
  695. asd.ZOffset = .9
  696. asd.Acceleration = Vector3.new(0, -5, 0)
  697. asd.LockedToPart = false
  698. asd.EmissionDirection = "Back"
  699. asd.Lifetime = NumberRange.new(1, 2)
  700. asd.Rotation = NumberRange.new(-100, 100)
  701. asd.RotSpeed = NumberRange.new(-100, 100)
  702. asd.Speed = NumberRange.new(2)
  703. asd.Enabled = false
  704. asd.VelocitySpread = 10000
  705.  
  706. function getbloody(victim,amount)
  707. local prtcl = asd:Clone()
  708. prtcl.Parent = victim
  709. prtcl:Emit(amount)
  710. end
  711.  
  712. function dealdamage(hit,maxstrength,beserk)
  713. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  714. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  715. if humanoid.Health == "inf" then
  716. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "inf, skid", C3(255/255, 0, 0))
  717. humanoid.Health = 0
  718. end
  719. if humanoid.Health > 0 and humanoid.MaxHealth ~= "inf" then
  720. if beserk == true then
  721. humanoid.Health = 0
  722. else
  723. if humanoid.MaxHealth ~= "inf" then
  724. getbloody(hit,3)
  725. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], hit, 1.2, MRANDOM(7, 12) / 10)
  726. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  727. local dmg = humanoid.MaxHealth/5
  728. if math.random(1,5) == 1 then
  729. humanoid.Health = humanoid.Health - dmg*3
  730. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*3, C3(255/255, 0, 0))
  731. else
  732. humanoid.Health = humanoid.Health - dmg
  733. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  734. end
  735. local defence = Instance.new("BoolValue",hit.Parent)
  736. defence.Name = ("HitBy"..Player.Name)
  737. game:GetService("Debris"):AddItem(defence, 0.5)
  738. elseif humanoid.MaxHealth == "inf" then
  739. humanoid.Health = 0
  740. getbloody(hit,50)
  741. end
  742. end
  743. elseif humanoid.MaxHealth == "inf" then
  744. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "inf, skid", C3(255/255, 0, 0))
  745. humanoid.Health = 0
  746. end
  747. end
  748. end
  749.  
  750. --//=================================\\
  751. --|| ATTACK FUNCTIONS AND STUFF
  752. --\\=================================//
  753.  
  754.  
  755. function Attack()
  756. stab = true
  757. local Animation_Speed2 = Animation_Speed/2
  758. for i=0, 1, 0.1 / Animation_Speed2 do
  759. Swait()
  760. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 0.8 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-10), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
  761. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0 * Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  762. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  763.  
  764. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 0.8 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-10), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
  765. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0 * Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  766. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  767.  
  768. limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-0.6 * Player_Size, -0.65 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  769. limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
  770. limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  771.  
  772. limbweld4a.C0 = Clerp(limbweld4a.C0, CF(0.6 * Player_Size, -0.65 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(-90)), 0.4 / Animation_Speed2)
  773. limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
  774. limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  775. end
  776. CreateSound("1112042117", Torso, 1, MRANDOM(9, 11) / 10)
  777. local paw1 = limb1c.Touched:Connect(function(hit)
  778. dealdamage(hit,5)
  779. end)
  780. local paw2 = limb2c.Touched:Connect(function(hit)
  781. dealdamage(hit,5)
  782. end)
  783. local paw3 = limb3c.Touched:Connect(function(hit)
  784. dealdamage(hit,5)
  785. end)
  786. local paw4 = limb4c.Touched:Connect(function(hit)
  787. dealdamage(hit,5)
  788. end)
  789. for i=0, 1, 0.1 / Animation_Speed2 do
  790. Swait()
  791. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 1.6 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(-75), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
  792. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0.4 * Player_Size, 1.2 * Player_Size, 0.8 * Player_Size) * ANGLES(RAD(60), RAD(-15), RAD(0)), 0.4 / Animation_Speed2)
  793. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  794.  
  795. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 1.6 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(-75), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
  796. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(-0.4 * Player_Size, 1.2 * Player_Size, 0.8 * Player_Size) * ANGLES(RAD(60), RAD(15), RAD(0)), 0.4 / Animation_Speed2)
  797. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  798.  
  799. limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-1.4 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-50), RAD(90)), 0.4 / Animation_Speed2)
  800. limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(50), RAD(25), RAD(0)), 0.4 / Animation_Speed2)
  801. limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  802.  
  803. limbweld4a.C0 = Clerp(limbweld4a.C0, CF(1.4 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(50), RAD(-90)), 0.4 / Animation_Speed2)
  804. limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(50), RAD(-25), RAD(0)), 0.4 / Animation_Speed2)
  805. limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed2)
  806. end
  807. paw1:disconnect()
  808. paw2:disconnect()
  809. paw3:disconnect()
  810. paw4:disconnect()
  811. stab = false
  812. end
  813.  
  814. function Weld2(to, from, c1)
  815. local New_Weld = Instance.new('Motor', to)
  816. New_Weld.Part0 = from
  817. New_Weld.Part1 = to
  818. New_Weld.C1 = c1
  819. New_Weld.Name = "GrabWeld"
  820. return New_Weld
  821. end
  822.  
  823. function grabandfeed()
  824. ATTACK = true
  825. local victim = nil
  826. local tors = nil
  827. local wld = nil
  828. for i=0, 1, 0.1 / Animation_Speed do
  829. Swait()
  830. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  831. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  832. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  833. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  834. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-15), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  836. end
  837. local hitting = RightArm.Touched:connect(function(hit)
  838. if hit.Parent:FindFirstChild("Humanoid") then
  839. if hit.Parent.Humanoid.Health ~= 0 then
  840. UNANCHOR = false
  841. victim = hit.Parent.Humanoid
  842. RootPart.Anchored = true
  843. if hit.Parent:FindFirstChild("Torso") then
  844. wld=Weld2(RightArm,hit.Parent.Torso,CF(0,-1.5,0)*ANGLES(-RAD(90),RAD(180),0))
  845. RootPart.Anchored = true
  846. tors = hit.Parent:FindFirstChild("Torso")
  847. elseif hit.Parent:FindFirstChild("UpperTorso") then
  848. wld=Weld2(RightArm,hit.Parent.UpperTorso,CF(0,-1.5,0)*ANGLES(-RAD(90),RAD(180),0))
  849. RootPart.Anchored = true
  850. tors = hit.Parent:FindFirstChild("UpperTorso")
  851. end
  852. end
  853. end
  854. end)
  855. for i=0, 1, 0.1 / Animation_Speed do
  856. Swait()
  857. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed)
  858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.45 / Animation_Speed)
  859. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  860. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  861. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  863. end
  864. if victim ~= nil then
  865. Rooted = true
  866. local Animation_Speed2 = Animation_Speed*2
  867. for i= 0, 1, 0.1 / Animation_Speed2 do
  868. Swait()
  869. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed2)
  870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(-25)), 0.45 / Animation_Speed2)
  871. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  872. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  873. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed2)
  874. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
  875. end
  876. for i= 0, 1, 0.1 / Animation_Speed2 do
  877. Swait()
  878. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(55)), 0.15 / Animation_Speed2)
  879. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-25)), 0.45 / Animation_Speed2)
  880. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  881. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  882. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed2)
  883. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-35), RAD(-75), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
  884. end
  885. CreateSound("264486467", tors, 1, MRANDOM(9, 11) / 10)
  886. CreateSound("230346233", Head, 6, 0.7)
  887. getbloody(tors,150)
  888. Swait(40)
  889. tors.Anchored = true
  890. tors.Transparency = 1
  891. game:GetService("Debris"):AddItem(tors, 5)
  892. foodism = foodism + victim.Health
  893. victim.Health = 0
  894. Rooted = false
  895. end
  896. UNANCHOR = true
  897. if wld ~= nil then
  898. wld:remove()
  899. end
  900. hitting:disconnect()
  901. ATTACK = false
  902. end
  903.  
  904. function roar()
  905. ATTACK = true
  906. Rooted = true
  907. for i=0, 1.3, 0.1 / Animation_Speed do
  908. Swait()
  909. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  910. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  911. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(-15), RAD(-70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  912. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(15), RAD(70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  913. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  914. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  915. end
  916. CreateSound("180140312", Head, 6, 1)
  917. for i=0, 3, 0.1 / Animation_Speed do
  918. Swait()
  919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(15), RAD(100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*2)
  922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(120), RAD(-15), RAD(-100)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*2)
  923. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  925. end
  926. Rooted = false
  927. ATTACK = false
  928. end
  929.  
  930. --//=================================\\
  931. --\\=================================//
  932.  
  933.  
  934.  
  935. --//=================================\\
  936. --|| ASSIGN THINGS TO KEYS
  937. --\\=================================//
  938.  
  939. Humanoid.Changed:connect(function(Jump)
  940. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  941. Humanoid.Jump = false
  942. end
  943. end)
  944.  
  945. function MouseDown(Mouse)
  946. if ATTACK == false and stab == false then
  947. Attack()
  948. end
  949. end
  950.  
  951. function MouseUp(Mouse)
  952. HOLD = false
  953. end
  954.  
  955. function KeyDown(Key)
  956. if Key == "e" and stab == false and ATTACK == false then
  957. grabandfeed()
  958. end
  959. if Key == "r" and chitter.Playing == false and stab == false and ATTACK == false then
  960. roar()
  961. end
  962. if Key == "g" and chitter.Playing == false and stab == false and ATTACK == false then
  963. CreateSound("609473931", Head, 6, 1)
  964. end
  965. if Key == "t" and ATTACK == false then
  966. if chitter then
  967. if chitter.Playing == false then
  968. chitter:Play()
  969. end
  970. end
  971. end
  972. end
  973.  
  974. function KeyUp(Key)
  975. end
  976.  
  977. Mouse.Button1Down:connect(function(NEWKEY)
  978. MouseDown(NEWKEY)
  979. end)
  980. Mouse.Button1Up:connect(function(NEWKEY)
  981. MouseUp(NEWKEY)
  982. end)
  983. Mouse.KeyDown:connect(function(NEWKEY)
  984. KeyDown(NEWKEY)
  985. end)
  986. Mouse.KeyUp:connect(function(NEWKEY)
  987. KeyUp(NEWKEY)
  988. end)
  989.  
  990. --//=================================\\
  991. --\\=================================//
  992.  
  993.  
  994. function unanchor()
  995. if UNANCHOR == true then
  996. g = Character:GetChildren()
  997. for i = 1, #g do
  998. if g[i].ClassName == "Part" then
  999. g[i].Anchored = false
  1000. end
  1001. end
  1002. end
  1003. end
  1004.  
  1005.  
  1006. --//=================================\\
  1007. --|| WRAP THE WHOLE SCRIPT UP
  1008. --\\=================================//
  1009.  
  1010. Humanoid.Changed:connect(function(Jump)
  1011. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1012. Humanoid.Jump = false
  1013. end
  1014. end)
  1015.  
  1016. Rooted = false
  1017.  
  1018. ANIMATE.Parent = nil
  1019. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1020. IDLEANIMATION:Play()
  1021.  
  1022. while true do
  1023. Swait()
  1024. SINE = SINE + CHANGE
  1025. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1026. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1027. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1028. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1029. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1030. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1031. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1032. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1033. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1034. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1035. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1036. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1037. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1038. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1039. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1040. end
  1041. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1042. ANIM = "Jump"
  1043. if ATTACK == false then
  1044. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1048. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1050. end
  1051. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1052. ANIM = "Fall"
  1053. if ATTACK == false then
  1054. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1058. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1060. end
  1061. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1062. ANIM = "Idle"
  1063. if ATTACK == false then
  1064. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.1 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1068. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1069. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1070. end
  1071. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1072. ANIM = "Walk"
  1073. WALK = WALK + 1 / Animation_Speed
  1074. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1075. WALK = 0
  1076. if WALKINGANIM == true then
  1077. WALKINGANIM = false
  1078. elseif WALKINGANIM == false then
  1079. WALKINGANIM = true
  1080. end
  1081. end
  1082. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1083. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1084. if ATTACK == false then
  1085. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.6 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1089. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1.1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1090. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1091. end
  1092. end
  1093. if stab == false then
  1094. limbweld1a.C0 = Clerp(limbweld1a.C0, CF(1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(25), RAD(0)), 0.4 / Animation_Speed)
  1095. limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1096. limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1097.  
  1098. limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-1 * Player_Size, 1.2 * Player_Size, 1 * Player_Size) * ANGLES(RAD(-45), RAD(-25), RAD(0)), 0.4 / Animation_Speed)
  1099. limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 1.4 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1100. limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1101.  
  1102. limbweld3a.C0 = Clerp(limbweld3a.C0, CF(-1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(-25), RAD(90)), 0.4 / Animation_Speed)
  1103. limbweld3b.C0 = Clerp(limbweld3b.C0, CF(-0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(0)), 0.4 / Animation_Speed)
  1104. limbweld3c.C0 = Clerp(limbweld3c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1105.  
  1106. limbweld4a.C0 = Clerp(limbweld4a.C0, CF(1 * Player_Size, -0.7 * Player_Size, 1 * Player_Size) * ANGLES(RAD(25), RAD(25), RAD(-90)), 0.4 / Animation_Speed)
  1107. limbweld4b.C0 = Clerp(limbweld4b.C0, CF(0.6* Player_Size, 1.3 * Player_Size, 1.4 * Player_Size) * ANGLES(RAD(90), RAD(-25), RAD(0)), 0.4 / Animation_Speed)
  1108. limbweld4c.C0 = Clerp(limbweld4c.C0, CF(0 * Player_Size, -1.1 * Player_Size, -2.3 * Player_Size) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1109. end
  1110. if #Effects2>0 then
  1111. for e=1,#Effects2 do
  1112. if Effects2[e]~=nil then
  1113. local Thing=Effects2[e]
  1114. if Thing~=nil then
  1115. local Part=Thing[1]
  1116. local Mode=Thing[2]
  1117. local Delay=Thing[3]
  1118. local IncX=Thing[4]
  1119. local IncY=Thing[5]
  1120. local IncZ=Thing[6]
  1121. local Part2=Thing[8]
  1122. if Thing[1].Transparency<=1 then
  1123. if Thing[2]=="Block1" then
  1124. Thing[1].CFrame=Part2.CFrame
  1125. Mesh=Thing[1].Mesh
  1126. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1127. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1128. elseif Thing[2]=="Cylinder" then
  1129. Mesh=Thing[1].Mesh
  1130. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1131. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1132. elseif Thing[2]=="Blood" then
  1133. Mesh=Thing[7]
  1134. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1135. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1136. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1137. elseif Thing[2]=="Elec" then
  1138. Mesh=Thing[1].Mesh
  1139. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1140. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1141. elseif Thing[2]=="Disappear" then
  1142. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1143. end
  1144. else
  1145. Part.Parent=nil
  1146. table.remove(Effects2,e)
  1147. end
  1148. end
  1149. end
  1150. end
  1151. end
  1152. unanchor()
  1153. Humanoid.MaxHealth = foodism
  1154. Humanoid.Health = Humanoid.Health + (foodism/50)
  1155. if Rooted == false then
  1156. Disable_Jump = false
  1157. Humanoid.WalkSpeed = Speed
  1158. elseif Rooted == true then
  1159. Disable_Jump = true
  1160. Humanoid.WalkSpeed = 0
  1161. end
  1162. if Head:FindFirstChild("face") then
  1163. Head.face:remove()
  1164. end
  1165. if Speed > 200 or foodism > (200*80) then
  1166. Speed = 200
  1167. elseif Speed < 200 and foodism < (200*80) then
  1168. Speed = (foodism/80)
  1169. end
  1170. Humanoid.JumpPower = 150
  1171. end
  1172.  
  1173. --//=================================\\
  1174. --\\=================================//
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180. --//====================================================\\--
  1181. --|| END OF SCRIPT
  1182. --\\====================================================//--
Add Comment
Please, Sign In to add comment