troymikeyt

Untitled

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