1x11337

MemeLord

Jun 22nd, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://500369513"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  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 = "Memelord"
  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 = 2
  117. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  118.  
  119. local Speed = 16
  120. local Effects2 = {}
  121.  
  122. --//=================================\\
  123. --|| END OF CUSTOMIZATION
  124. --\\=================================//
  125.  
  126. local function weldBetween(a, b)
  127. local weldd = Instance.new("ManualWeld")
  128. weldd.Part0 = a
  129. weldd.Part1 = b
  130. weldd.C0 = CFrame.new()
  131. weldd.C1 = b.CFrame:inverse() * a.CFrame
  132. weldd.Parent = a
  133. return weldd
  134. end
  135.  
  136. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  137. local acs = Instance.new("Part")
  138. acs.CanCollide = false
  139. acs.Anchored = false
  140. acs.Size = Vector3.new(0,0,0)
  141. acs.CFrame = attachmentpart.CFrame
  142. acs.Parent = Character
  143. acs.BrickColor = color
  144. local meshs = Instance.new("SpecialMesh")
  145. meshs.MeshId = mesh
  146. meshs.TextureId = texture
  147. meshs.Parent = acs
  148. meshs.Scale = scale
  149. meshs.Offset = offset
  150. weldBetween(attachmentpart,acs)
  151. end
  152.  
  153. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  154. if TYPE == "Gem" then
  155. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  156. acs.Anchored = false
  157. acs.CanCollide = false
  158. acs.CFrame = PART.CFrame
  159. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  160. weldBetween(PART,acs)
  161. elseif TYPE == "Skull" then
  162. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  163. acs.Anchored = false
  164. acs.CanCollide = false
  165. acs.CFrame = PART.CFrame
  166. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  167. weldBetween(PART,acs)
  168. elseif TYPE == "Eye" then
  169. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  170. acs.Anchored = false
  171. acs.CanCollide = false
  172. acs.CFrame = PART.CFrame
  173. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  174. weldBetween(PART,acs)
  175. end
  176. end
  177.  
  178. 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"))
  179.  
  180. --//=================================\\
  181. --|| USEFUL VALUES
  182. --\\=================================//
  183.  
  184. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  185. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  186. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  187. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  188. local CO1 = 0
  189. local CO2 = 0
  190. local CO3 = 0
  191. local CO4 = 0
  192. local CHANGEDEFENSE = 0
  193. local CHANGEDAMAGE = 0
  194. local CHANGEMOVEMENT = 0
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local LASTPOINT = nil
  201. local BLCF = nil
  202. local SCFR = nil
  203. local STAGGERHITANIM = false
  204. local STAGGERANIM = false
  205. local STUNANIM = false
  206. local CRITCHANCENUMBER = 0
  207. local IDLENUMBER = 0
  208. local DONUMBER = 0
  209. local HANDIDLE = false
  210. local SINE = 0
  211. local CHANGE = 2 / Animation_Speed
  212. local WALKINGANIM = false
  213. local WALK = 0
  214. local SHIELD = false
  215. local DISABLEJUMPING = false
  216. local HASBEENBLOCKED = false
  217. local STUNDELAYNUMBER = 0
  218. local MANADELAYNUMBER = 0
  219. local SECONDARYMANADELAYNUMBER = 0
  220. local ROBLOXIDLEANIMATION = IT("Animation")
  221. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  222. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  223. --ROBLOXIDLEANIMATION.Parent = Humanoid
  224. local WEAPONGUI = IT("ScreenGui", nil)
  225. WEAPONGUI.Name = "Weapon GUI"
  226. local WEAPONTOOL = IT("HopperBin", nil)
  227. WEAPONTOOL.Name = Weapon_Name
  228. local Weapon = IT("Model")
  229. Weapon.Name = Weapon_Name
  230. local Effects = IT("Folder", Weapon)
  231. Effects.Name = "Effects"
  232. local ANIMATOR = Humanoid.Animator
  233. local ANIMATE = Character.Animate
  234. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  235. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  236. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  237. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  238. local HURTSOUND = "1080625252"
  239. local DEATHSOUNDS = {"340963282", "340963317"}
  240. local UNANCHOR = true
  241.  
  242. --//=================================\\
  243. --\\=================================//
  244.  
  245. --//=================================\\
  246. --|| STATS
  247. --\\=================================//
  248.  
  249. if Character:FindFirstChild("Stats") ~= nil then
  250. Character:FindFirstChild("Stats").Parent = nil
  251. end
  252.  
  253. local Stats = IT("Folder", nil)
  254. Stats.Name = "Stats"
  255. local ChangeStat = IT("Folder", Stats)
  256. ChangeStat.Name = "ChangeStat"
  257. local Defense = IT("NumberValue", Stats)
  258. Defense.Name = "Defense"
  259. Defense.Value = 1
  260. local Movement = IT("NumberValue", Stats)
  261. Movement.Name = "Movement"
  262. Movement.Value = 1
  263. local Damage = IT("NumberValue", Stats)
  264. Damage.Name = "Damage"
  265. Damage.Value = 1
  266. local Mana = IT("NumberValue", Stats)
  267. Mana.Name = "Mana"
  268. Mana.Value = 0
  269. local SecondaryMana = IT("NumberValue", Stats)
  270. SecondaryMana.Name = "SecondaryMana"
  271. SecondaryMana.Value = 0
  272. local CanCrit = IT("BoolValue", Stats)
  273. CanCrit.Name = "CanCrit"
  274. CanCrit.Value = false
  275. local CritChance = IT("NumberValue", Stats)
  276. CritChance.Name = "CritChance"
  277. CritChance.Value = 20
  278. local CanPenetrateArmor = IT("BoolValue", Stats)
  279. CanPenetrateArmor.Name = "CanPenetrateArmor"
  280. CanPenetrateArmor.Value = false
  281. local AntiTeamKill = IT("BoolValue", Stats)
  282. AntiTeamKill.Name = "AntiTeamKill"
  283. AntiTeamKill.Value = false
  284. local Rooted = IT("BoolValue", Stats)
  285. Rooted.Name = "Rooted"
  286. Rooted.Value = false
  287. local Block = IT("BoolValue", Stats)
  288. Block.Name = "Block"
  289. Block.Value = false
  290. local RecentEnemy = IT("ObjectValue", Stats)
  291. RecentEnemy.Name = "RecentEnemy"
  292. RecentEnemy.Value = nil
  293. local StaggerHit = IT("BoolValue", Stats)
  294. StaggerHit.Name = "StaggerHit"
  295. StaggerHit.Value = false
  296. local Stagger = IT("BoolValue", Stats)
  297. Stagger.Name = "Stagger"
  298. Stagger.Value = false
  299. local Stun = IT("BoolValue", Stats)
  300. Stun.Name = "Stun"
  301. Stun.Value = false
  302. local StunValue = IT("NumberValue", Stats)
  303. StunValue.Name = "StunValue"
  304. StunValue.Value = 0
  305.  
  306.  
  307. --//=================================\\
  308. --\\=================================//
  309.  
  310.  
  311.  
  312.  
  313.  
  314. --//=================================\\
  315. --|| DEBUFFS / BUFFS
  316. --\\=================================//
  317.  
  318. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  319. DEFENSECHANGE1.Name = "ChangeDefense"
  320. DEFENSECHANGE1.Value = 0
  321.  
  322. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  323. MOVEMENTCHANGE1.Name = "ChangeMovement"
  324. MOVEMENTCHANGE1.Value = 0
  325.  
  326. --//=================================\\
  327. --\\=================================//
  328.  
  329.  
  330.  
  331.  
  332.  
  333. --//=================================\\
  334. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  335. --\\=================================//
  336.  
  337. ArtificialHB = Instance.new("BindableEvent", script)
  338. ArtificialHB.Name = "ArtificialHB"
  339.  
  340. script:WaitForChild("ArtificialHB")
  341.  
  342. frame = Frame_Speed
  343. tf = 0
  344. allowframeloss = false
  345. tossremainder = false
  346. lastframe = tick()
  347. script.ArtificialHB:Fire()
  348.  
  349. game:GetService("RunService").Heartbeat:connect(function(s, p)
  350. tf = tf + s
  351. if tf >= frame then
  352. if allowframeloss then
  353. script.ArtificialHB:Fire()
  354. lastframe = tick()
  355. else
  356. for i = 1, math.floor(tf / frame) do
  357. script.ArtificialHB:Fire()
  358. end
  359. lastframe = tick()
  360. end
  361. if tossremainder then
  362. tf = 0
  363. else
  364. tf = tf - frame * math.floor(tf / frame)
  365. end
  366. end
  367. end)
  368.  
  369. --//=================================\\
  370. --\\=================================//
  371.  
  372.  
  373.  
  374.  
  375.  
  376. --//=================================\\
  377. --|| SOME FUNCTIONS
  378. --\\=================================//
  379.  
  380. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  381. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  382. end
  383.  
  384. function PositiveAngle(NUMBER)
  385. if NUMBER >= 0 then
  386. NUMBER = 0
  387. end
  388. return NUMBER
  389. end
  390.  
  391. function NegativeAngle(NUMBER)
  392. if NUMBER <= 0 then
  393. NUMBER = 0
  394. end
  395. return NUMBER
  396. end
  397.  
  398. function Swait(NUMBER)
  399. if NUMBER == 0 or NUMBER == nil then
  400. ArtificialHB.Event:wait()
  401. else
  402. for i = 1, NUMBER do
  403. ArtificialHB.Event:wait()
  404. end
  405. end
  406. end
  407.  
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m11 > m00 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  434. end
  435. end
  436. end
  437.  
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449.  
  450. function QuaternionSlerp(a, b, t)
  451. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  452. local startInterp, finishInterp;
  453. if cosTheta >= 0.0001 then
  454. if (1 - cosTheta) > 0.0001 then
  455. local theta = ACOS(cosTheta)
  456. local invSinTheta = 1 / SIN(theta)
  457. startInterp = SIN((1 - t) * theta) * invSinTheta
  458. finishInterp = SIN(t * theta) * invSinTheta
  459. else
  460. startInterp = 1 - t
  461. finishInterp = t
  462. end
  463. else
  464. if (1 + cosTheta) > 0.0001 then
  465. local theta = ACOS(-cosTheta)
  466. local invSinTheta = 1 / SIN(theta)
  467. startInterp = SIN((t - 1) * theta) * invSinTheta
  468. finishInterp = SIN(t * theta) * invSinTheta
  469. else
  470. startInterp = t - 1
  471. finishInterp = t
  472. end
  473. end
  474. 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
  475. end
  476.  
  477. function Clerp(a, b, t)
  478. local qa = {QuaternionFromCFrame(a)}
  479. local qb = {QuaternionFromCFrame(b)}
  480. local ax, ay, az = a.x, a.y, a.z
  481. local bx, by, bz = b.x, b.y, b.z
  482. local _t = 1 - t
  483. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  484. end
  485.  
  486. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  487. local frame = IT("Frame")
  488. frame.BackgroundTransparency = TRANSPARENCY
  489. frame.BorderSizePixel = BORDERSIZEPIXEL
  490. frame.Position = POSITION
  491. frame.Size = SIZE
  492. frame.BackgroundColor3 = COLOR
  493. frame.BorderColor3 = BORDERCOLOR
  494. frame.Name = NAME
  495. frame.Parent = PARENT
  496. return frame
  497. end
  498.  
  499. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  500. local label = IT("TextLabel")
  501. label.BackgroundTransparency = 1
  502. label.Size = UD2(1, 0, 1, 0)
  503. label.Position = UD2(0, 0, 0, 0)
  504. label.TextColor3 = C3(255, 255, 255)
  505. label.TextStrokeTransparency = STROKETRANSPARENCY
  506. label.TextTransparency = TRANSPARENCY
  507. label.FontSize = TEXTFONTSIZE
  508. label.Font = TEXTFONT
  509. label.BorderSizePixel = BORDERSIZEPIXEL
  510. label.TextScaled = true
  511. label.Text = TEXT
  512. label.Name = NAME
  513. label.Parent = PARENT
  514. return label
  515. end
  516.  
  517. function NoOutlines(PART)
  518. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  519. end
  520.  
  521.  
  522. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  523. local NEWWELD = IT(TYPE)
  524. NEWWELD.Part0 = PART0
  525. NEWWELD.Part1 = PART1
  526. NEWWELD.C0 = C0
  527. NEWWELD.C1 = C1
  528. NEWWELD.Parent = PARENT
  529. return NEWWELD
  530. end
  531.  
  532. function CreateSound(ID, PARENT, VOLUME, PITCH)
  533. --coroutine.resume(coroutine.create(function()
  534. local NEWSOUND = IT("Sound", PARENT)
  535. NEWSOUND.Volume = VOLUME
  536. NEWSOUND.Pitch = PITCH
  537. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  538. NEWSOUND:play()
  539. game:GetService("Debris"):AddItem(NEWSOUND, 100)
  540. return NEWSOUND
  541. --end))
  542. end
  543.  
  544. function CFrameFromTopBack(at, top, back)
  545. local right = top:Cross(back)
  546. 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)
  547. end
  548.  
  549. --//=================================\\
  550. --\\=================================//
  551.  
  552.  
  553.  
  554.  
  555. --//=================================\\
  556. --|| WEAPON CREATION
  557. --\\=================================//
  558.  
  559. if Player_Size ~= 1 then
  560. for _, v in pairs (Weapon:GetChildren()) do
  561. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  562. local p1 = v.Part1
  563. v.Part1 = nil
  564. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  565. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  566. v.Part1 = p1
  567. elseif v.ClassName == "Part" then
  568. for _, b in pairs (v:GetChildren()) do
  569. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  570. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  571. end
  572. end
  573. end
  574. end
  575. end
  576.  
  577. for _, c in pairs(Weapon:GetChildren()) do
  578. if c.ClassName == "Part" then
  579. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  580. end
  581. end
  582.  
  583. Weapon.Parent = Character
  584.  
  585. Humanoid.Died:connect(function()
  586. sick:Stop()
  587. CreateSound("744744924", Head, 50, 1)
  588. ATTACK = true
  589. end)
  590.  
  591. print(Class_Name.." loaded.")
  592.  
  593. --//=================================\\
  594. --|| ATTACK FUNCTIONS AND STUFF
  595. --\\=================================//
  596.  
  597. function killnearest(position,range,maxstrength)
  598. for i,v in ipairs(workspace:GetChildren()) do
  599. local body = v:GetChildren()
  600. for part = 1, #body do
  601. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  602. if(body[part].Position - position).Magnitude < range then
  603. if v.ClassName == "Model" then
  604. v:BreakJoints()
  605. end
  606. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  607. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  608. end
  609. end
  610. end
  611. if v.ClassName == "Part" then
  612. if v.Anchored == false and (v.Position - position).Magnitude < range then
  613. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  614. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  615. end
  616. end
  617. end
  618. end
  619.  
  620. function CastRay(StartPos, Vec, Length, Ignore)
  621. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  622. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  623. return RayHit, RayPos
  624. end
  625.  
  626. function omaewamou()
  627. ATTACK = true
  628. Rooted = true
  629. local target = nil
  630. local targettorso = nil
  631. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  632. target = Mouse.Target.Parent.Humanoid
  633. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  634. end
  635. if target ~= nil then
  636. targettorso.Anchored = true
  637. for i=0, 1, 0.1 / Animation_Speed do
  638. Swait()
  639. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  640. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  641. 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)
  642. 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)
  643. 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)
  644. 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)
  645. 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)
  646. 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)
  647. end
  648. local omae = CreateSound("940337206", Head, 50, 1)
  649. repeat
  650. Swait()
  651. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  652. if target then
  653. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  654. end
  655. until omae.Playing == false
  656. if target then
  657. local nani = CreateSound("948494432", targettorso, 50, 1)
  658. repeat
  659. Swait()
  660. RootPart.CFrame = CFrame.new(RootPart.Position,targettorso.Position) * CFrame.new(0, 0, 0)
  661. if target then
  662. targettorso.CFrame = CFrame.new(targettorso.Position,RootPart.Position) * CFrame.new(0, 0, 0)
  663. end
  664. until nani.Playing == false
  665. target.Parent:BreakJoints()
  666. targettorso.Anchored = false
  667. local boom = Instance.new("Explosion",workspace)
  668. boom.Position = targettorso.Position
  669. CreateSound("691216625", targettorso, 50, 1)
  670. end
  671. end
  672. Rooted = false
  673. ATTACK = false
  674. end
  675.  
  676. function dab()
  677. ATTACK = true
  678. Rooted = true
  679. local lookatmydab = CreateSound("420701460", Head, 50, 1)
  680. sick.Volume = 10
  681. for i=0, 1, 0.1 / Animation_Speed do
  682. killnearest(RootPart.Position,25,150)
  683. Swait()
  684. 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)
  685. 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)
  686. 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)
  687. 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)
  688. 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)
  689. 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)
  690. end
  691. repeat
  692. killnearest(RootPart.Position,25,150)
  693. Swait()
  694. until lookatmydab.Playing == false
  695. sick.Volume = 1
  696. ATTACK = false
  697. Rooted = false
  698. end
  699.  
  700. function Taunt()
  701. ATTACK = true
  702. --Rooted = true
  703. for i=0, 2, 0.1 / Animation_Speed do
  704. Swait()
  705. 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)
  706. 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)
  707. 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)
  708. 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)
  709. 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)
  710. 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)
  711. end
  712. local winz = CreateSound("958211048", Head, 50, 1)
  713. local loop = 0
  714. repeat
  715. Swait()
  716. loop = loop + 1
  717. if loop == 25 then
  718. loop = 0
  719. Humanoid.Jump = true
  720. end
  721. until winz.Playing == false
  722. ATTACK = false
  723. --Rooted = false
  724. end
  725.  
  726. function shield()
  727. if SHIELD == false then
  728. SHIELD = true
  729. print("WOA!")
  730. coroutine.resume(coroutine.create(function()
  731. local woa = IT("Part",Effects)
  732. woa.Size = VT(5,12,0)
  733. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  734. woa.Anchored = true
  735. local mesh = IT("SpecialMesh",woa)
  736. mesh.MeshType = "FileMesh"
  737. mesh.MeshId = "rbxassetid://1044207043"
  738. mesh.TextureId = "rbxassetid://1044207051"
  739. mesh.Scale = VT(3,3,3)
  740. CreateSound("638062404", woa, 50, 1)
  741. local woosh = woa.Touched:Connect(function(hit)
  742. if hit.Parent.ClassName == "Model" then
  743. hit.Parent:BreakJoints()
  744. CreateSound("978878312", hit, 2, 1)
  745. elseif hit.ClassName == "Part" and hit.Anchored == false then
  746. hit:remove()
  747. end
  748. end)
  749. repeat
  750. Swait()
  751. woa.CFrame = RootPart.CFrame * CF(0,3,-7)
  752. until SHIELD == false
  753. woosh:disconnect()
  754. CreateSound("638062404", woa, 50, 1)
  755. woa.Anchored = false
  756. local bv = Instance.new("BodyVelocity")
  757. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  758. bv.velocity = RootPart.CFrame.lookVector*150
  759. bv.Parent = woa
  760. bv.Name = "DASH"
  761. local paw = woa.Touched:Connect(function(hit)
  762. if hit.Parent.ClassName == "Model" then
  763. woa:remove()
  764. hit.Parent:BreakJoints()
  765. CreateSound("978878312", hit, 2, 1)
  766. end
  767. end)
  768. end))
  769. elseif SHIELD == true then
  770. SHIELD = false
  771. end
  772. end
  773.  
  774. function gonuts()
  775. ATTACK = true
  776. Rooted = true
  777. sick:Stop()
  778. local ohno = CreateSound("254418283", Effects, 5, 1)
  779. coroutine.resume(coroutine.create(function()
  780. repeat
  781. for i=0, 1.3, 0.1 / Animation_Speed do
  782. Swait()
  783. 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)
  784. 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)
  785. 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)
  786. 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)
  787. 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)
  788. 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)
  789. end
  790. if ohno.Playing == true then
  791. for i=0, 1.3, 0.1 / Animation_Speed do
  792. Swait()
  793. 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)
  794. 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)
  795. 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)
  796. 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)
  797. 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)
  798. 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)
  799. end
  800. end
  801. until ohno.Playing == false
  802. end))
  803. repeat
  804. Swait()
  805. q = workspace:GetChildren()
  806. for i = 1, #q do
  807. local child = q[i]
  808. if child.ClassName == "Model" and child:FindFirstChild("Humanoid") and child ~= Character then
  809. if child:FindFirstChild("MYEARS") == nil then
  810. local MYEARS = IT("NumberValue",child)
  811. MYEARS.Name = "MYEARS"
  812. else
  813. child.MYEARS.Value = child.MYEARS.Value + 1
  814. if child.MYEARS.Value >= 450 then
  815. if child:FindFirstChild("Head") then
  816. child.Head:remove()
  817. local tors = child:FindFirstChild("Torso") or child:FindFirstChild("UpperTorso")
  818. CreateSound(DEATHSOUNDS[MRANDOM(1,#DEATHSOUNDS)], tors, 5, 1)
  819. end
  820. else
  821. if child.Head:FindFirstChild("AAAGH") == nil then
  822. local nu = CreateSound(HURTSOUND, child.Head, 5, 1)
  823. nu.Name = "AAAGH"
  824. end
  825. end
  826. end
  827. end
  828. end
  829. until ohno.Playing == false
  830. sick:Play()
  831. ATTACK = false
  832. Rooted = false
  833. end
  834.  
  835. --//=================================\\
  836. --|| ASSIGN THINGS TO KEYS
  837. --\\=================================//
  838.  
  839. Humanoid.Changed:connect(function(Jump)
  840. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  841. Humanoid.Jump = false
  842. end
  843. end)
  844.  
  845. function MouseDown(Mouse)
  846. if ATTACK == false then
  847. omaewamou()
  848. end
  849. end
  850.  
  851. function MouseUp(Mouse)
  852. HOLD = false
  853. end
  854.  
  855. function KeyDown(Key)
  856. if Key == "e" and ATTACK == false then
  857. dab()
  858. end
  859. if Key == "t" and ATTACK == false then
  860. Taunt()
  861. end
  862. if Key == "g" and ATTACK == false then
  863. shield()
  864. end
  865. if Key == "x" and ATTACK == false then
  866. gonuts()
  867. end
  868. end
  869.  
  870. function KeyUp(Key)
  871. end
  872.  
  873. Mouse.Button1Down:connect(function(NEWKEY)
  874. MouseDown(NEWKEY)
  875. end)
  876. Mouse.Button1Up:connect(function(NEWKEY)
  877. MouseUp(NEWKEY)
  878. end)
  879. Mouse.KeyDown:connect(function(NEWKEY)
  880. KeyDown(NEWKEY)
  881. end)
  882. Mouse.KeyUp:connect(function(NEWKEY)
  883. KeyUp(NEWKEY)
  884. end)
  885.  
  886. --//=================================\\
  887. --\\=================================//
  888.  
  889.  
  890. function unanchor()
  891. if UNANCHOR == true then
  892. g = Character:GetChildren()
  893. for i = 1, #g do
  894. if g[i].ClassName == "Part" then
  895. g[i].Anchored = false
  896. end
  897. end
  898. end
  899. end
  900.  
  901.  
  902. --//=================================\\
  903. --|| WRAP THE WHOLE SCRIPT UP
  904. --\\=================================//
  905.  
  906. Humanoid.Changed:connect(function(Jump)
  907. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  908. Humanoid.Jump = false
  909. end
  910. end)
  911.  
  912. local ff = Instance.new("ForceField",Character)
  913. ff.Visible = false
  914.  
  915. ANIMATE.Parent = nil
  916. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  917. IDLEANIMATION:Play()
  918.  
  919. while true do
  920. Swait()
  921. SINE = SINE + CHANGE
  922. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  923. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  924. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  925. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  926. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  927. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  928. 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)
  929. 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)
  930. 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)
  931. 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)
  932. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  933. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  934. 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)
  935. 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)
  936. 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)
  937. end
  938. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  939. ANIM = "Jump"
  940. if ATTACK == false then
  941. 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)
  942. 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)
  943. 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)
  944. 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)
  945. 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)
  946. 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)
  947. end
  948. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  949. ANIM = "Fall"
  950. if ATTACK == false then
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. 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)
  956. 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)
  957. end
  958. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  959. ANIM = "Idle"
  960. if ATTACK == false then
  961. 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)
  962. 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)
  963. 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)
  964. 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)
  965. 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)
  966. 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)
  967. end
  968. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  969. ANIM = "Walk"
  970. WALK = WALK + 1 / Animation_Speed
  971. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  972. WALK = 0
  973. if WALKINGANIM == true then
  974. WALKINGANIM = false
  975. elseif WALKINGANIM == false then
  976. WALKINGANIM = true
  977. end
  978. end
  979. --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)
  980. --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)
  981. if ATTACK == false then
  982. 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)
  983. 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)
  984. 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)
  985. 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)
  986. 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)
  987. 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)
  988. end
  989. end
  990. if #Effects2>0 then
  991. for e=1,#Effects2 do
  992. if Effects2[e]~=nil then
  993. local Thing=Effects2[e]
  994. if Thing~=nil then
  995. local Part=Thing[1]
  996. local Mode=Thing[2]
  997. local Delay=Thing[3]
  998. local IncX=Thing[4]
  999. local IncY=Thing[5]
  1000. local IncZ=Thing[6]
  1001. local Part2=Thing[8]
  1002. if Thing[1].Transparency<=1 then
  1003. if Thing[2]=="Block1" then
  1004. Thing[1].CFrame=Part2.CFrame
  1005. Mesh=Thing[1].Mesh
  1006. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1007. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1008. elseif Thing[2]=="Cylinder" then
  1009. Mesh=Thing[1].Mesh
  1010. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1011. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1012. elseif Thing[2]=="Blood" then
  1013. Mesh=Thing[7]
  1014. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1015. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1016. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1017. elseif Thing[2]=="Elec" then
  1018. Mesh=Thing[1].Mesh
  1019. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1020. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1021. elseif Thing[2]=="Disappear" then
  1022. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1023. end
  1024. else
  1025. Part.Parent=nil
  1026. table.remove(Effects2,e)
  1027. end
  1028. end
  1029. end
  1030. end
  1031. end
  1032. unanchor()
  1033. Humanoid.MaxHealth = "inf"
  1034. Humanoid.Health = "inf"
  1035. if Rooted == false then
  1036. Disable_Jump = false
  1037. Humanoid.WalkSpeed = Speed
  1038. elseif Rooted == true then
  1039. Disable_Jump = true
  1040. Humanoid.WalkSpeed = 0
  1041. end
  1042. q = Character:GetChildren()
  1043. for u = 1, #q do
  1044. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1045. if q[u].Handle:FindFirstChild("FaceFrontAttachment") then
  1046. q[u]:remove()
  1047. end
  1048. end
  1049. end
  1050. end
  1051.  
  1052. --//=================================\\
  1053. --\\=================================//
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059. --//====================================================\\--
  1060. --|| END OF SCRIPT
  1061. --\\====================================================//--
Add Comment
Please, Sign In to add comment