PiterMosskva_TV

oh lordy it's meme lord

Feb 9th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.59 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = owner
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. RootPart = Character["HumanoidRootPart"]
  18. Torso = Character["Torso"]
  19. Head = Character["Head"]
  20. RightArm = Character["Right Arm"]
  21. LeftArm = Character["Left Arm"]
  22. RightLeg = Character["Right Leg"]
  23. LeftLeg = Character["Left Leg"]
  24. RootJoint = RootPart["RootJoint"]
  25. Neck = Torso["Neck"]
  26. RightShoulder = Torso["Right Shoulder"]
  27. LeftShoulder = Torso["Left Shoulder"]
  28. RightHip = Torso["Right Hip"]
  29. LeftHip = Torso["Left Hip"]
  30. local sick = Instance.new("Sound",Character)
  31. sick.SoundId = "rbxassetid://500369513"
  32. sick.Looped = true
  33. sick.Pitch = 1
  34. sick.Volume = 1
  35. sick:Play()
  36.  
  37. IT = Instance.new
  38. CF = CFrame.new
  39. VT = Vector3.new
  40. RAD = math.rad
  41. C3 = Color3.new
  42. UD2 = UDim2.new
  43. BRICKC = BrickColor.new
  44. ANGLES = CFrame.Angles
  45. EULER = CFrame.fromEulerAnglesXYZ
  46. COS = math.cos
  47. ACOS = math.acos
  48. SIN = math.sin
  49. ASIN = math.asin
  50. ABS = math.abs
  51. MRANDOM = math.random
  52. FLOOR = math.floor
  53.  
  54. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  55. local NEWMESH = IT(MESH)
  56. if MESH == "SpecialMesh" then
  57. NEWMESH.MeshType = MESHTYPE
  58. if MESHID ~= "nil" and MESHID ~= "" then
  59. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  60. end
  61. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  62. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  63. end
  64. end
  65. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  66. NEWMESH.Scale = SCALE
  67. NEWMESH.Parent = PARENT
  68. return NEWMESH
  69. end
  70.  
  71. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  72. local NEWPART = IT("Part")
  73. NEWPART.formFactor = FORMFACTOR
  74. NEWPART.Reflectance = REFLECTANCE
  75. NEWPART.Transparency = TRANSPARENCY
  76. NEWPART.CanCollide = false
  77. NEWPART.Locked = true
  78. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  79. NEWPART.Name = NAME
  80. NEWPART.Size = SIZE
  81. NEWPART.Position = Torso.Position
  82. NEWPART.Material = MATERIAL
  83. NEWPART:BreakJoints()
  84. NEWPART.Parent = PARENT
  85. return NEWPART
  86. end
  87.  
  88.  
  89. --//=================================\\
  90. --|| CUSTOMIZATION
  91. --\\=================================//
  92.  
  93. Class_Name = "Memelord"
  94. Weapon_Name = "Add-ons"
  95.  
  96. Custom_Colors = {
  97. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  98. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  99.  
  100. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  101. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  102. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  103. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  104. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  105.  
  106. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  107. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  108. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  109. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  110. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  111. }
  112.  
  113.  
  114. Player_Size = 1 --Size of the player.
  115. Animation_Speed = 2
  116. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  117.  
  118. local Speed = 16
  119. local Effects2 = {}
  120.  
  121. --//=================================\\
  122. --|| END OF CUSTOMIZATION
  123. --\\=================================//
  124.  
  125. local function weldBetween(a, b)
  126. local weldd = Instance.new("ManualWeld")
  127. weldd.Part0 = a
  128. weldd.Part1 = b
  129. weldd.C0 = CFrame.new()
  130. weldd.C1 = b.CFrame:inverse() * a.CFrame
  131. weldd.Parent = a
  132. return weldd
  133. end
  134.  
  135. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  136. local acs = Instance.new("Part")
  137. acs.CanCollide = false
  138. acs.Anchored = false
  139. acs.Size = Vector3.new(0,0,0)
  140. acs.CFrame = attachmentpart.CFrame
  141. acs.Parent = Character
  142. acs.BrickColor = color
  143. local meshs = Instance.new("SpecialMesh")
  144. meshs.MeshId = mesh
  145. meshs.TextureId = texture
  146. meshs.Parent = acs
  147. meshs.Scale = scale
  148. meshs.Offset = offset
  149. weldBetween(attachmentpart,acs)
  150. end
  151.  
  152. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  153. if TYPE == "Gem" then
  154. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  155. acs.Anchored = false
  156. acs.CanCollide = false
  157. acs.CFrame = PART.CFrame
  158. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  159. weldBetween(PART,acs)
  160. elseif TYPE == "Skull" then
  161. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  162. acs.Anchored = false
  163. acs.CanCollide = false
  164. acs.CFrame = PART.CFrame
  165. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  166. weldBetween(PART,acs)
  167. elseif TYPE == "Eye" then
  168. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  169. acs.Anchored = false
  170. acs.CanCollide = false
  171. acs.CFrame = PART.CFrame
  172. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  173. weldBetween(PART,acs)
  174. end
  175. end
  176.  
  177. createaccessory(Head,"http://www.roblox.com/asset/?id=121910245","http://www.roblox.com/asset/?id=121947422",VT(0.7,0.6,0.7),VT(0,0.1,-0.05),BrickColor.new("Pearl"))
  178.  
  179. --//=================================\\
  180. --|| USEFUL VALUES
  181. --\\=================================//
  182.  
  183. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  184. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  185. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  186. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  187. local CO1 = 0
  188. local CO2 = 0
  189. local CO3 = 0
  190. local CO4 = 0
  191. local CHANGEDEFENSE = 0
  192. local CHANGEDAMAGE = 0
  193. local CHANGEMOVEMENT = 0
  194. local ANIM = "Idle"
  195. local ATTACK = false
  196. local EQUIPPED = false
  197. local HOLD = false
  198. local COMBO = 1
  199. local LASTPOINT = nil
  200. local BLCF = nil
  201. local SCFR = nil
  202. local STAGGERHITANIM = false
  203. local STAGGERANIM = false
  204. local STUNANIM = false
  205. local CRITCHANCENUMBER = 0
  206. local IDLENUMBER = 0
  207. local DONUMBER = 0
  208. local HANDIDLE = false
  209. local SINE = 0
  210. local CHANGE = 2 / Animation_Speed
  211. local WALKINGANIM = false
  212. local WALK = 0
  213. local SHIELD = false
  214. local DISABLEJUMPING = false
  215. local HASBEENBLOCKED = false
  216. local STUNDELAYNUMBER = 0
  217. local MANADELAYNUMBER = 0
  218. local SECONDARYMANADELAYNUMBER = 0
  219. local ROBLOXIDLEANIMATION = IT("Animation")
  220. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  221. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  222. --ROBLOXIDLEANIMATION.Parent = Humanoid
  223. local WEAPONGUI = IT("ScreenGui", nil)
  224. WEAPONGUI.Name = "Weapon GUI"
  225. local WEAPONTOOL = IT("HopperBin", nil)
  226. WEAPONTOOL.Name = Weapon_Name
  227. local Weapon = IT("Model")
  228. Weapon.Name = Weapon_Name
  229. local Effects = IT("Folder", Weapon)
  230. Effects.Name = "Effects"
  231. local ANIMATOR = Humanoid.Animator
  232. local ANIMATE = Character.Animate
  233. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  234. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  235. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  236. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  237. local HURTSOUND = "1080625252"
  238. local DEATHSOUNDS = {"340963282", "340963317"}
  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. NEWSOUND:play()
  538. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  539. return NEWSOUND
  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. --\\=================================//
  550.  
  551.  
  552.  
  553.  
  554. --//=================================\\
  555. --|| WEAPON CREATION
  556. --\\=================================//
  557.  
  558. if Player_Size ~= 1 then
  559. for _, v in pairs (Weapon:GetChildren()) do
  560. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  561. local p1 = v.Part1
  562. v.Part1 = nil
  563. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  564. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  565. v.Part1 = p1
  566. elseif v.ClassName == "Part" then
  567. for _, b in pairs (v:GetChildren()) do
  568. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  569. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  570. end
  571. end
  572. end
  573. end
  574. end
  575.  
  576. for _, c in pairs(Weapon:GetChildren()) do
  577. if c.ClassName == "Part" then
  578. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  579. end
  580. end
  581.  
  582. Weapon.Parent = Character
  583.  
  584. Humanoid.Died:connect(function()
  585. sick:Stop()
  586. CreateSound("744744924", Head, 50, 1)
  587. ATTACK = true
  588. end)
  589.  
  590. print(Class_Name.." loaded.")
  591.  
  592. --//=================================\\
  593. --|| ATTACK FUNCTIONS AND STUFF
  594. --\\=================================//
  595.  
  596. function killnearest(position,range,maxstrength)
  597. for i,v in ipairs(workspace:GetChildren()) do
  598. local body = v:GetChildren()
  599. for part = 1, #body do
  600. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  601. if(body[part].Position - position).Magnitude < range then
  602. if v.ClassName == "Model" then
  603. v:BreakJoints()
  604. end
  605. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  606. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  607. end
  608. end
  609. end
  610. if v.ClassName == "Part" then
  611. if v.Anchored == false and (v.Position - position).Magnitude < range then
  612. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  613. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  614. end
  615. end
  616. end
  617. end
  618.  
  619. function CastRay(StartPos, Vec, Length, Ignore)
  620. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  621. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  622. return RayHit, RayPos
  623. end
  624.  
  625. function omaewamou()
  626. ATTACK = true
  627. Rooted = true
  628. local target = nil
  629. local targettorso = nil
  630. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  631. target = Mouse.Target.Parent.Humanoid
  632. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  633. end
  634. if target ~= nil then
  635. targettorso.Anchored = true
  636. for i=0, 1, 0.1 / Animation_Speed do
  637. Swait()
  638. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  639. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  640. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  641. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  642. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  643. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  644. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  645. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  646. end
  647. local omae = CreateSound("940337206", Head, 50, 1)
  648. repeat
  649. Swait()
  650. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  651. if target then
  652. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  653. end
  654. until omae.Playing == false
  655. if target then
  656. local nani = CreateSound("948494432", targettorso, 50, 1)
  657. repeat
  658. Swait()
  659. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  660. if target then
  661. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  662. end
  663. until nani.Playing == false
  664. target.Parent:BreakJoints()
  665. targettorso.Anchored = false
  666. local boom = Instance.new("Explosion",workspace)
  667. boom.Position = targettorso.Position
  668. CreateSound("691216625", targettorso, 50, 1)
  669. end
  670. end
  671. Rooted = false
  672. ATTACK = false
  673. end
  674.  
  675. function dab()
  676. ATTACK = true
  677. Rooted = true
  678. local lookatmydab = CreateSound("420701460", Head, 50, 1)
  679. sick.Volume = 10
  680. for i=0, 1, 0.1 / Animation_Speed do
  681. killnearest(RootPart.Position,25,150)
  682. Swait()
  683. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  684. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  685. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(15), RAD(-35), RAD(-100)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*4)
  686. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*4)
  687. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed*4)
  688. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * 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*4)
  689. end
  690. repeat
  691. killnearest(RootPart.Position,25,150)
  692. Swait()
  693. until lookatmydab.Playing == false
  694. sick.Volume = 1
  695. ATTACK = false
  696. Rooted = false
  697. end
  698.  
  699. function Taunt()
  700. ATTACK = true
  701. --Rooted = true
  702. for i=0, 2, 0.1 / Animation_Speed do
  703. Swait()
  704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  705. 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)
  706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  708. 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(0)), 0.15 / Animation_Speed)
  709. 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(0)), 0.15 / Animation_Speed)
  710. end
  711. local winz = CreateSound("958211048", Head, 50, 1)
  712. local loop = 0
  713. repeat
  714. Swait()
  715. loop = loop + 1
  716. if loop == 25 then
  717. loop = 0
  718. Humanoid.Jump = true
  719. end
  720. until winz.Playing == false
  721. ATTACK = false
  722. --Rooted = false
  723. end
  724.  
  725. function shield()
  726. if SHIELD == false then
  727. SHIELD = true
  728. print("WOA!")
  729. coroutine.resume(coroutine.create(function()
  730. local woa = IT("Part",Effects)
  731. woa.Size = VT(5,12,0)
  732. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  733. woa.Anchored = true
  734. local mesh = IT("SpecialMesh",woa)
  735. mesh.MeshType = "FileMesh"
  736. mesh.MeshId = "rbxassetid://1044207043"
  737. mesh.TextureId = "rbxassetid://1044207051"
  738. mesh.Scale = VT(3,3,3)
  739. CreateSound("638062404", woa, 50, 1)
  740. local woosh = woa.Touched:Connect(function(hit)
  741. if hit.Parent.ClassName == "Model" then
  742. hit.Parent:BreakJoints()
  743. CreateSound("978878312", hit, 2, 1)
  744. elseif hit.ClassName == "Part" and hit.Anchored == false then
  745. hit:remove()
  746. end
  747. end)
  748. repeat
  749. Swait()
  750. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  751. until SHIELD == false
  752. woosh:disconnect()
  753. CreateSound("638062404", woa, 50, 1)
  754. woa.Anchored = false
  755. local bv = Instance.new("BodyVelocity")
  756. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  757. bv.velocity = RootPart.CFrame.lookVector*150
  758. bv.Parent = woa
  759. bv.Name = "DASH"
  760. local paw = woa.Touched:Connect(function(hit)
  761. if hit.Parent.ClassName == "Model" then
  762. woa:remove()
  763. hit.Parent:BreakJoints()
  764. CreateSound("978878312", hit, 2, 1)
  765. end
  766. end)
  767. end))
  768. elseif SHIELD == true then
  769. SHIELD = false
  770. end
  771. end
  772.  
  773. function gonuts()
  774. ATTACK = true
  775. Rooted = true
  776. sick:Stop()
  777. local ohno = CreateSound("254418283", Effects, 5, 1)
  778. coroutine.resume(coroutine.create(function()
  779. repeat
  780. for i=0, 1.3, 0.1 / Animation_Speed do
  781. Swait()
  782. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  783. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  786. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  788. end
  789. if ohno.Playing == true then
  790. for i=0, 1.3, 0.1 / Animation_Speed do
  791. Swait()
  792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(120)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-70)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  796. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(-35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  797. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(35)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  798. end
  799. end
  800. until ohno.Playing == false
  801. end))
  802. repeat
  803. Swait()
  804. q = workspace:GetChildren()
  805. for i = 1, #q do
  806. local child = q[i]
  807. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") and child ~= Character then
  808. if child:FindFirstChild("MYEARS") == nil then
  809. local MYEARS = IT("NumberValue",child)
  810. MYEARS.Name = "MYEARS"
  811. else
  812. child.MYEARS.Value = child.MYEARS.Value + 1
  813. if child.MYEARS.Value >= 450 then
  814. if child:FindFirstChild("Head") then
  815. child.Head:remove()
  816. local tors = child:FindFirstChild("Torso") or child:FindFirstChild("UpperTorso")
  817. CreateSound(DEATHSOUNDS[MRANDOM(1,#DEATHSOUNDS)], tors, 5, 1)
  818. end
  819. else
  820. if child.Head:FindFirstChild("AAAGH") == nil then
  821. local nu = CreateSound(HURTSOUND, child.Head, 5, 1)
  822. nu.Name = "AAAGH"
  823. end
  824. end
  825. end
  826. end
  827. end
  828. until ohno.Playing == false
  829. sick:Play()
  830. ATTACK = false
  831. Rooted = false
  832. end
  833.  
  834. --//=================================\\
  835. --|| ASSIGN THINGS TO KEYS
  836. --\\=================================//
  837.  
  838. Humanoid.Changed:connect(function(Jump)
  839. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  840. Humanoid.Jump = false
  841. end
  842. end)
  843.  
  844. function MouseDown(Mouse)
  845. if ATTACK == false then
  846. omaewamou()
  847. end
  848. end
  849.  
  850. function MouseUp(Mouse)
  851. HOLD = false
  852. end
  853.  
  854. function KeyDown(Key)
  855. if Key == "e" and ATTACK == false then
  856. dab()
  857. end
  858. if Key == "t" and ATTACK == false then
  859. Taunt()
  860. end
  861. if Key == "g" and ATTACK == false then
  862. shield()
  863. end
  864. if Key == "x" and ATTACK == false then
  865. gonuts()
  866. end
  867. end
  868.  
  869. function KeyUp(Key)
  870. end
  871.  
  872. Mouse.Button1Down:connect(function(NEWKEY)
  873. MouseDown(NEWKEY)
  874. end)
  875. Mouse.Button1Up:connect(function(NEWKEY)
  876. MouseUp(NEWKEY)
  877. end)
  878. Mouse.KeyDown:connect(function(NEWKEY)
  879. KeyDown(NEWKEY)
  880. end)
  881. Mouse.KeyUp:connect(function(NEWKEY)
  882. KeyUp(NEWKEY)
  883. end)
  884.  
  885. --//=================================\\
  886. --\\=================================//
  887.  
  888.  
  889. function unanchor()
  890. if UNANCHOR == true then
  891. g = Character:GetChildren()
  892. for i = 1, #g do
  893. if g[i].ClassName == "Part" then
  894. g[i].Anchored = false
  895. end
  896. end
  897. end
  898. end
  899.  
  900.  
  901. --//=================================\\
  902. --|| WRAP THE WHOLE SCRIPT UP
  903. --\\=================================//
  904.  
  905. Humanoid.Changed:connect(function(Jump)
  906. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  907. Humanoid.Jump = false
  908. end
  909. end)
  910.  
  911. local ff = Instance.new("ForceField",Character)
  912. ff.Visible = false
  913.  
  914. ANIMATE.Parent = nil
  915. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  916. IDLEANIMATION:Play()
  917.  
  918. while true do
  919. Swait()
  920. SINE = SINE + CHANGE
  921. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  922. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  923. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  924. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  925. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  926. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  927. 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)
  928. 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)
  929. 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)
  930. 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)
  931. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  932. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  933. 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)
  934. 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)
  935. 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)
  936. end
  937. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  938. ANIM = "Jump"
  939. if ATTACK == false then
  940. 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)
  941. 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)
  942. 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)
  943. 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)
  944. 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)
  945. 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)
  946. end
  947. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  948. ANIM = "Fall"
  949. if ATTACK == false then
  950. 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)
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. 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)
  956. end
  957. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  958. ANIM = "Idle"
  959. if ATTACK == false then
  960. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.2 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  964. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  966. end
  967. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  968. ANIM = "Walk"
  969. WALK = WALK + 1 / Animation_Speed
  970. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  971. WALK = 0
  972. if WALKINGANIM == true then
  973. WALKINGANIM = false
  974. elseif WALKINGANIM == false then
  975. WALKINGANIM = true
  976. end
  977. end
  978. --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)
  979. --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)
  980. if ATTACK == false then
  981. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0.3 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  982. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  985. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  986. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(-35), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  987. end
  988. end
  989. if #Effects2>0 then
  990. for e=1,#Effects2 do
  991. if Effects2[e]~=nil then
  992. local Thing=Effects2[e]
  993. if Thing~=nil then
  994. local Part=Thing[1]
  995. local Mode=Thing[2]
  996. local Delay=Thing[3]
  997. local IncX=Thing[4]
  998. local IncY=Thing[5]
  999. local IncZ=Thing[6]
  1000. local Part2=Thing[8]
  1001. if Thing[1].Transparency<=1 then
  1002. if Thing[2]=="Block1" then
  1003. Thing[1].CFrame=Part2.CFrame
  1004. Mesh=Thing[1].Mesh
  1005. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1006. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1007. elseif Thing[2]=="Cylinder" then
  1008. Mesh=Thing[1].Mesh
  1009. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1010. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1011. elseif Thing[2]=="Blood" then
  1012. Mesh=Thing[7]
  1013. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1014. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1015. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1016. elseif Thing[2]=="Elec" then
  1017. Mesh=Thing[1].Mesh
  1018. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1019. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1020. elseif Thing[2]=="Disappear" then
  1021. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1022. end
  1023. else
  1024. Part.Parent=nil
  1025. table.remove(Effects2,e)
  1026. end
  1027. end
  1028. end
  1029. end
  1030. end
  1031. unanchor()
  1032. Humanoid.MaxHealth = "inf"
  1033. Humanoid.Health = "inf"
  1034. if Rooted == false then
  1035. Disable_Jump = false
  1036. Humanoid.WalkSpeed = Speed
  1037. elseif Rooted == true then
  1038. Disable_Jump = true
  1039. Humanoid.WalkSpeed = 0
  1040. end
  1041. q = Character:GetChildren()
  1042. for u = 1, #q do
  1043. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1044. if q[u].Handle:FindFirstChild("FaceFrontAttachment") then
  1045. q[u]:remove()
  1046. end
  1047. end
  1048. end
  1049. end
  1050.  
  1051. --//=================================\\
  1052. --\\=================================//
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058. --//====================================================\\--
  1059. --|| END OF SCRIPT
  1060. --\\====================================================//--
Add Comment
Please, Sign In to add comment