Advertisement
Cute_Sylveon

Thanos

May 22nd, 2018
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.51 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. --
  6. local textblin = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  7. textblin.Adornee = cykablyat
  8. textblin.Name = "ky"
  9. textblin.Size = UDim2.new(2, 0, 1.2, 0)
  10. textblin.StudsOffset = Vector3.new(-5, 3, 0)
  11. local textblin= Instance.new("TextLabel", textblin)
  12. textblin.Size = UDim2.new(6, 0, 1, 0)
  13. textblin.FontSize = "Size14"
  14. textblin.TextScaled = true
  15. textblin.TextTransparency = 0
  16. textblin.BackgroundTransparency = 1
  17. textblin.TextTransparency = 0
  18. textblin.TextStrokeTransparency = 0
  19. textblin.Font = "Cartoon"
  20. textblin.TextStrokeColor3 = Color3.new(255,255,255)
  21. textblin.Text = "Stronk Thanos"
  22. --
  23. p = game.Players.LocalPlayer
  24. char = p.Character
  25. torso = char.Torso
  26. hed = char.Head
  27. neck = char.Torso.Neck
  28. hum = char.Humanoid
  29. hum.MaxHealth = math.huge
  30. local msg = game:GetService("Chat")
  31. torso.BrickColor = BrickColor.new("Bright purple")
  32. hed.BrickColor = BrickColor.new("Bright purple")
  33. char["Right Arm"].BrickColor = BrickColor.new("Bright purple")
  34. char["Left Arm"].BrickColor = BrickColor.new("Bright purple")
  35. char["Left Leg"].BrickColor = BrickColor.new("Bright purple")
  36. char["Right Leg"].BrickColor = BrickColor.new("Bright purple")
  37. ypcall(function()
  38. shirt = Instance.new("Shirt", char)
  39. shirt.Name = "Shirt"
  40. pants = Instance.new("Pants", char)
  41. pants.Name = "Pants"
  42. char.Shirt.ShirtTemplate = "rbxassetid://1539852026"
  43. char.Pants.PantsTemplate = "rbxassetid://1539857183"
  44. end)
  45. hed.face.Texture = "http://www.roblox.com/asset/?id=405704563"
  46. --
  47. local Player = game:GetService('Players').LocalPlayer
  48. repeat wait() until Player.Character
  49. local Character = Player.Character
  50.  
  51. --All The Settings for Trails in this Script
  52. TrailSettings = {
  53. Lifetime = 0.1,
  54. Texture = 'rbxassetid://31270182',
  55. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  56. Color1 = ColorSequence.new(BrickColor.new('Bright purple').Color,BrickColor.new('Bright purple').Color),
  57. Color2 = ColorSequence.new(BrickColor.new('Bright purple').Color,BrickColor.new('Bright purple').Color),
  58. AllBody = true,
  59. UpperBodyOnly = false,
  60. LowerBodyOnly = false,
  61. Accessories = false,
  62. Extras = true,
  63. R15 = false, --Change to true if you're using R15
  64. R15Parts = {
  65. 'UpperTorso',
  66. 'LowerTorso',
  67. }
  68. }
  69.  
  70. local Trail; --Making other Trails uses this in this Script
  71.  
  72. --UpperBody Function
  73. UpperBody = function()
  74. if TrailSettings.R15 == false then
  75. A0 = Instance.new('Attachment',Character.Torso)
  76. A1 = Instance.new('Attachment',Character.Head)
  77. A2 = Instance.new('Attachment',Character['Right Arm'])
  78. A3 = Instance.new('Attachment',Character['Left Arm'])
  79. Trail = Instance.new('Trail',Character)
  80. Trail.Attachment0 = A0
  81. Trail.Attachment1 = A1
  82. Trail.Texture = TrailSettings.Texture
  83. Trail.Color = TrailSettings.Color1
  84. Trail.Lifetime = TrailSettings.Lifetime
  85. local Trail2 = Trail:Clone()
  86. Trail2.Parent = Character
  87. Trail2.Attachment1 = A2
  88. local Trail3 = Trail:Clone()
  89. Trail3.Parent = Character
  90. Trail3.Attachment1 = A3
  91. local Trail6 = Trail:Clone()
  92. Trail6.Parent = Character
  93. Trail6.Attachment0 = A1
  94. Trail6.Attachment1 = A2
  95. local Trail7 = Trail:Clone()
  96. Trail7.Parent = Character
  97. Trail7.Attachment0 = A1
  98. Trail7.Attachment1 = A3
  99. else
  100. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  101. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  102. A1 = Instance.new('Attachment',Character.Head)
  103. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  104. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  105. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  106. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  107. Trail = Instance.new('Trail',Character)
  108. Trail.Attachment0 = A0
  109. Trail.Attachment1 = A1
  110. Trail.Texture = TrailSettings.Texture
  111. Trail.Color = TrailSettings.Color1
  112. Trail.Lifetime = TrailSettings.Lifetime
  113. local Trail2 = Trail:Clone()
  114. Trail2.Parent = Character
  115. Trail2.Attachment1 = A2
  116. local Trail3 = Trail:Clone()
  117. Trail3.Parent = Character
  118. Trail3.Attachment1 = A3
  119. local Trail6 = Trail:Clone()
  120. Trail6.Parent = Character
  121. Trail6.Attachment0 = A1
  122. Trail6.Attachment1 = A2
  123. local Trail7 = Trail:Clone()
  124. Trail7.Parent = Character
  125. Trail7.Attachment0 = A1
  126. Trail7.Attachment1 = A3
  127. --R15 Trails
  128. local Trail1R = Trail:Clone()
  129. Trail1R.Parent = Character
  130. Trail1R.Attachment1 = A2R
  131. local Trail2R = Trail:Clone()
  132. Trail2R.Parent = Character
  133. Trail2R.Attachment1 = A3R
  134. local Trail6R = Trail:Clone()
  135. Trail6.Parent = Character
  136. Trail6.Attachment0 = A1
  137. Trail6.Attachment1 = A2R
  138. local Trail7R = Trail:Clone()
  139. Trail7.Parent = Character
  140. Trail7.Attachment0 = A1
  141. Trail7.Attachment1 = A3R
  142. end
  143. end
  144.  
  145. --Lower Body Function
  146. LowerBody = function()
  147. if TrailSettings.R15 == false then
  148. A4 = Instance.new('Attachment',Character['Right Leg'])
  149. A5 = Instance.new('Attachment',Character['Left Leg'])
  150. local Trail4 = Trail:Clone()
  151. Trail4.Parent = Character
  152. Trail4.Attachment1 = A4
  153. local Trail5 = Trail:Clone()
  154. Trail5.Parent = Character
  155. Trail5.Attachment1 = A5
  156. local Trail8 = Trail:Clone()
  157. Trail8.Parent = Character
  158. Trail8.Attachment0 = A2
  159. Trail8.Attachment1 = A4
  160. Trail8.Color = TrailSettings.Color2
  161. local Trail9 = Trail:Clone()
  162. Trail9.Parent = Character
  163. Trail9.Attachment0 = A3
  164. Trail9.Attachment1 = A5
  165. Trail9.Color = TrailSettings.Color2
  166. local FT = Trail:Clone()
  167. FT.Parent = Character
  168. FT.Attachment0 = A4
  169. FT.Attachment1 = A5
  170. FT.Color = TrailSettings.Color2
  171. else
  172. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  173. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  174. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  175. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  176. local Trail4 = Trail:Clone()
  177. Trail4.Parent = Character
  178. Trail4.Attachment1 = A4
  179. local Trail5 = Trail:Clone()
  180. Trail5.Parent = Character
  181. Trail5.Attachment1 = A5
  182. local Trail8 = Trail:Clone()
  183. Trail8.Parent = Character
  184. Trail8.Attachment0 = A2
  185. Trail8.Attachment1 = A4
  186. Trail8.Color = TrailSettings.Color2
  187. local Trail9 = Trail:Clone()
  188. Trail9.Parent = Character
  189. Trail9.Attachment0 = A3
  190. Trail9.Attachment1 = A5
  191. Trail9.Color = TrailSettings.Color2
  192. local FT = Trail:Clone()
  193. FT.Parent = Character
  194. FT.Attachment0 = A4
  195. FT.Attachment1 = A5
  196. FT.Color = TrailSettings.Color2
  197. --R15 Trails
  198. local Trail3R = Trail:Clone()
  199. Trail3R.Parent = Character
  200. Trail3R.Attachment1 = A4R
  201. local Trail4R = Trail:Clone()
  202. Trail4R.Parent = Character
  203. Trail4R.Attachment1 = A5R
  204. local Trail8 = Trail:Clone()
  205. Trail8.Parent = Character
  206. Trail8.Attachment0 = A2R
  207. Trail8.Attachment1 = A4R
  208. Trail8.Color = TrailSettings.Color2
  209. local Trail9 = Trail:Clone()
  210. Trail9.Parent = Character
  211. Trail9.Attachment0 = A3R
  212. Trail9.Attachment1 = A5R
  213. Trail9.Color = TrailSettings.Color2
  214. local FT2R = Trail:Clone()
  215. FT2R.Parent = Character
  216. FT2R.Attachment0 = A4R
  217. FT2R.Attachment1 = A5R
  218. FT2R.Color = TrailSettings.Color2
  219. end
  220. end
  221.  
  222. --All Body Function calling Both Functions
  223. AllBody = function()
  224. UpperBody()
  225. LowerBody()
  226. end
  227.  
  228. --Checking to make sure that Only some Variables are Selected else do All Body
  229. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  230. TrailSettings.UpperBodyOnly = false
  231. TrailSettings.LowerBodyOnly = false
  232. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  233. TrailSettings.UpperBodyOnly = false
  234. TrailSettings.LowerBodyOnly = false
  235. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  236. TrailSettings.UpperBodyOnly = false
  237. TrailSettings.LowerBodyOnly = false
  238. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  239. TrailSettings.AllBody = true
  240. TrailSettings.UpperBodyOnly = false
  241. TrailSettings.LowerBodyOnly = false
  242. end
  243.  
  244. --Call Trail Functions
  245. if TrailSettings.UpperBodyOnly == true then
  246. UpperBody()
  247. print('Called Upper Body Trail')
  248. elseif TrailSettings.LowerBodyOnly == true then
  249. LowerBody()
  250. print('Called Lower Body Trail')
  251. elseif TrailSettings.AllBody == true then
  252. AllBody()
  253. print('Called Full Body Trail')
  254. end
  255.  
  256. --Trails for Accessories
  257. if TrailSettings.Accessories == true then
  258. for Index,Item in pairs(Character:GetChildren()) do
  259. if Item:IsA'Accessory' then
  260. local AA = Instance.new('Attachment',Item.Handle)
  261. local ATrail = Trail:Clone()
  262. ATrail.Parent = Character
  263. ATrail.Attachment1 = AA
  264. end
  265. end
  266. end
  267.  
  268. --Extras
  269. if TrailSettings.Extras == true then
  270. --Making an Invisible Platform Part
  271. local a = Instance.new('Part',Character)
  272. a.CanCollide = false
  273. a.Size = Vector3.new(2,.2,2)
  274. a.Transparency = 1
  275.  
  276. --Constantly putting it under your feet
  277. if TrailSettings.R15 == false then
  278. spawn(function()
  279. game:GetService('RunService').RenderStepped:connect(function()
  280. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  281. end)
  282. end)
  283. else
  284. spawn(function()
  285. game:GetService('RunService').RenderStepped:connect(function()
  286. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  287. end)
  288. end)
  289. end
  290.  
  291. --Make a Trail from both feet to the Platform
  292. spawn(function()
  293. repeat wait() until Trail
  294. local AB = Instance.new('Attachment',a)
  295. local ABT = Trail:Clone()
  296. ABT.Parent = Character
  297. ABT.Attachment0 = A4
  298. ABT.Attachment1 = AB
  299. ABT.Color = TrailSettings.Color2
  300. local ABT2 = Trail:Clone()
  301. ABT2.Parent = Character
  302. ABT2.Attachment0 = A5
  303. ABT2.Attachment1 = AB
  304. ABT2.Color = TrailSettings.Color2
  305. end)
  306. end
  307. --
  308.  
  309. wait(0.2)
  310.  
  311. Player = game:GetService("Players").LocalPlayer
  312. PlayerGui = Player.PlayerGui
  313. Cam = workspace.CurrentCamera
  314. Backpack = Player.Backpack
  315. Character = Player.Character
  316. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  317. Mouse = Player:GetMouse()
  318. RootPart = Character["HumanoidRootPart"]
  319. Torso = Character["Torso"]
  320. Head = Character["Head"]
  321. RightArm = Character["Right Arm"]
  322. LeftArm = Character["Left Arm"]
  323. RightLeg = Character["Right Leg"]
  324. LeftLeg = Character["Left Leg"]
  325. RootJoint = RootPart["RootJoint"]
  326. Neck = Torso["Neck"]
  327. RightShoulder = Torso["Right Shoulder"]
  328. LeftShoulder = Torso["Left Shoulder"]
  329. RightHip = Torso["Right Hip"]
  330. LeftHip = Torso["Left Hip"]
  331. local sick = Instance.new("Sound",Character)
  332.  
  333. IT = Instance.new
  334. CF = CFrame.new
  335. VT = Vector3.new
  336. RAD = math.rad
  337. C3 = Color3.new
  338. UD2 = UDim2.new
  339. BRICKC = BrickColor.new
  340. ANGLES = CFrame.Angles
  341. EULER = CFrame.fromEulerAnglesXYZ
  342. COS = math.cos
  343. ACOS = math.acos
  344. SIN = math.sin
  345. ASIN = math.asin
  346. ABS = math.abs
  347. MRANDOM = math.random
  348. FLOOR = math.floor
  349.  
  350. --//=================================\\
  351. --|| USEFUL VALUES
  352. --\\=================================//
  353.  
  354. Animation_Speed = 3
  355. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  356. local Speed = 60
  357. local SIZE = 1.3
  358. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  359. local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  360. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  361. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  362. local ANIM = "Idle"
  363. local ATTACK = false
  364. local COMBO = 1
  365. local Rooted = false
  366. local SINE = 0
  367. local CHANGE = 2 / Animation_Speed
  368. local ROBLOXIDLEANIMATION = IT("Animation")
  369. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  370. WEAPONGUI.Name = "Big Boie Squad"
  371. local ANIMATOR = Humanoid.Animator
  372. local ANIMATE = Character.Animate
  373. local UNANCHOR = true
  374. local KILLCOUNT = 0
  375.  
  376. --//=================================\\
  377. --\\=================================//
  378.  
  379.  
  380. --//=================================\\
  381. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  382. --\\=================================//
  383.  
  384. ArtificialHB = Instance.new("BindableEvent", script)
  385. ArtificialHB.Name = "ArtificialHB"
  386.  
  387. script:WaitForChild("ArtificialHB")
  388.  
  389. frame = Frame_Speed
  390. tf = 0
  391. allowframeloss = false
  392. tossremainder = false
  393. lastframe = tick()
  394. script.ArtificialHB:Fire()
  395.  
  396. game:GetService("RunService").Heartbeat:connect(function(s, p)
  397. tf = tf + s
  398. if tf >= frame then
  399. if allowframeloss then
  400. script.ArtificialHB:Fire()
  401. lastframe = tick()
  402. else
  403. for i = 1, math.floor(tf / frame) do
  404. script.ArtificialHB:Fire()
  405. end
  406. lastframe = tick()
  407. end
  408. if tossremainder then
  409. tf = 0
  410. else
  411. tf = tf - frame * math.floor(tf / frame)
  412. end
  413. end
  414. end)
  415.  
  416. --//=================================\\
  417. --\\=================================//
  418.  
  419. --//=================================\\
  420. --|| SOME FUNCTIONS
  421. --\\=================================//
  422.  
  423. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  424. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  425. end
  426.  
  427. function PositiveAngle(NUMBER)
  428. if NUMBER >= 0 then
  429. NUMBER = 0
  430. end
  431. return NUMBER
  432. end
  433.  
  434. function NegativeAngle(NUMBER)
  435. if NUMBER <= 0 then
  436. NUMBER = 0
  437. end
  438. return NUMBER
  439. end
  440.  
  441. function Swait(NUMBER)
  442. if NUMBER == 0 or NUMBER == nil then
  443. ArtificialHB.Event:wait()
  444. else
  445. for i = 1, NUMBER do
  446. ArtificialHB.Event:wait()
  447. end
  448. end
  449. end
  450.  
  451. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  452. local NEWMESH = IT(MESH)
  453. if MESH == "SpecialMesh" then
  454. NEWMESH.MeshType = MESHTYPE
  455. if MESHID ~= "nil" and MESHID ~= "" then
  456. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  457. end
  458. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  459. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  460. end
  461. end
  462. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  463. NEWMESH.Scale = SCALE
  464. NEWMESH.Parent = PARENT
  465. return NEWMESH
  466. end
  467.  
  468. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  469. local NEWPART = IT("Part")
  470. NEWPART.formFactor = FORMFACTOR
  471. NEWPART.Reflectance = REFLECTANCE
  472. NEWPART.Transparency = TRANSPARENCY
  473. NEWPART.CanCollide = false
  474. NEWPART.Locked = true
  475. NEWPART.Anchored = true
  476. if ANCHOR == false then
  477. NEWPART.Anchored = false
  478. end
  479. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  480. NEWPART.Name = NAME
  481. NEWPART.Size = SIZE
  482. NEWPART.Position = Torso.Position
  483. NEWPART.Material = MATERIAL
  484. NEWPART:BreakJoints()
  485. NEWPART.Parent = PARENT
  486. return NEWPART
  487. end
  488.  
  489. local function weldBetween(a, b)
  490. local weldd = Instance.new("ManualWeld")
  491. weldd.Part0 = a
  492. weldd.Part1 = b
  493. weldd.C0 = CFrame.new()
  494. weldd.C1 = b.CFrame:inverse() * a.CFrame
  495. weldd.Parent = a
  496. return weldd
  497. end
  498.  
  499.  
  500. function QuaternionFromCFrame(cf)
  501. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  502. local trace = m00 + m11 + m22
  503. if trace > 0 then
  504. local s = math.sqrt(1 + trace)
  505. local recip = 0.5 / s
  506. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  507. else
  508. local i = 0
  509. if m11 > m00 then
  510. i = 1
  511. end
  512. if m22 > (i == 0 and m00 or m11) then
  513. i = 2
  514. end
  515. if i == 0 then
  516. local s = math.sqrt(m00 - m11 - m22 + 1)
  517. local recip = 0.5 / s
  518. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  519. elseif i == 1 then
  520. local s = math.sqrt(m11 - m22 - m00 + 1)
  521. local recip = 0.5 / s
  522. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  523. elseif i == 2 then
  524. local s = math.sqrt(m22 - m00 - m11 + 1)
  525. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  526. end
  527. end
  528. end
  529.  
  530. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  531. local xs, ys, zs = x + x, y + y, z + z
  532. local wx, wy, wz = w * xs, w * ys, w * zs
  533. local xx = x * xs
  534. local xy = x * ys
  535. local xz = x * zs
  536. local yy = y * ys
  537. local yz = y * zs
  538. local zz = z * zs
  539. 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))
  540. end
  541.  
  542. function QuaternionSlerp(a, b, t)
  543. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  544. local startInterp, finishInterp;
  545. if cosTheta >= 0.0001 then
  546. if (1 - cosTheta) > 0.0001 then
  547. local theta = ACOS(cosTheta)
  548. local invSinTheta = 1 / SIN(theta)
  549. startInterp = SIN((1 - t) * theta) * invSinTheta
  550. finishInterp = SIN(t * theta) * invSinTheta
  551. else
  552. startInterp = 1 - t
  553. finishInterp = t
  554. end
  555. else
  556. if (1 + cosTheta) > 0.0001 then
  557. local theta = ACOS(-cosTheta)
  558. local invSinTheta = 1 / SIN(theta)
  559. startInterp = SIN((t - 1) * theta) * invSinTheta
  560. finishInterp = SIN(t * theta) * invSinTheta
  561. else
  562. startInterp = t - 1
  563. finishInterp = t
  564. end
  565. end
  566. 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
  567. end
  568.  
  569. function Clerp(a, b, t)
  570. local qa = {QuaternionFromCFrame(a)}
  571. local qb = {QuaternionFromCFrame(b)}
  572. local ax, ay, az = a.x, a.y, a.z
  573. local bx, by, bz = b.x, b.y, b.z
  574. local _t = 1 - t
  575. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  576. end
  577.  
  578. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  579. local frame = IT("Frame")
  580. frame.BackgroundTransparency = TRANSPARENCY
  581. frame.BorderSizePixel = BORDERSIZEPIXEL
  582. frame.Position = POSITION
  583. frame.Size = SIZE
  584. frame.BackgroundColor3 = COLOR
  585. frame.BorderColor3 = BORDERCOLOR
  586. frame.Name = NAME
  587. frame.Parent = PARENT
  588. return frame
  589. end
  590.  
  591. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  592. local label = IT("TextLabel")
  593. label.BackgroundTransparency = 1
  594. label.Size = UD2(1, 0, 1, 0)
  595. label.Position = UD2(0, 0, 0, 0)
  596. label.TextColor3 = TEXTCOLOR
  597. label.TextStrokeTransparency = STROKETRANSPARENCY
  598. label.TextTransparency = TRANSPARENCY
  599. label.FontSize = TEXTFONTSIZE
  600. label.Font = TEXTFONT
  601. label.BorderSizePixel = BORDERSIZEPIXEL
  602. label.TextScaled = false
  603. label.Text = TEXT
  604. label.Name = NAME
  605. label.Parent = PARENT
  606. return label
  607. end
  608.  
  609. function NoOutlines(PART)
  610. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  611. end
  612.  
  613. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  614. local NEWWELD = IT(TYPE)
  615. NEWWELD.Part0 = PART0
  616. NEWWELD.Part1 = PART1
  617. NEWWELD.C0 = C0
  618. NEWWELD.C1 = C1
  619. NEWWELD.Parent = PARENT
  620. return NEWWELD
  621. end
  622.  
  623. local S = IT("Sound")
  624. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  625. local NEWSOUND = nil
  626. coroutine.resume(coroutine.create(function()
  627. NEWSOUND = S:Clone()
  628. NEWSOUND.Parent = PARENT
  629. NEWSOUND.Volume = VOLUME
  630. NEWSOUND.Pitch = PITCH
  631. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  632. NEWSOUND:play()
  633. if DOESLOOP == true then
  634. NEWSOUND.Looped = true
  635. else
  636. repeat wait(1) until NEWSOUND.Playing == false
  637. NEWSOUND:remove()
  638. end
  639. end))
  640. return NEWSOUND
  641. end
  642.  
  643. function CFrameFromTopBack(at, top, back)
  644. local right = top:Cross(back)
  645. 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)
  646. end
  647.  
  648. function MakeForm(PART,TYPE)
  649. if TYPE == "Cyl" then
  650. local MSH = IT("CylinderMesh",PART)
  651. elseif TYPE == "Ball" then
  652. local MSH = IT("SpecialMesh",PART)
  653. MSH.MeshType = "Sphere"
  654. elseif TYPE == "Wedge" then
  655. local MSH = IT("SpecialMesh",PART)
  656. MSH.MeshType = "Wedge"
  657. end
  658. end
  659.  
  660. Debris = game:GetService("Debris")
  661.  
  662. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  663. local DIRECTION = CF(StartPos,EndPos).lookVector
  664. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  665. end
  666.  
  667. --//=================================\\
  668. --|| WEAPON CREATION
  669. --\\=================================//
  670.  
  671. Humanoid.Parent = nil
  672. RootPart.Size = RootPart.Size*SIZE
  673. Torso.Size = Torso.Size*SIZE
  674. RightArm.Size = RightArm.Size*SIZE
  675. RightLeg.Size = RightLeg.Size*SIZE
  676. LeftArm.Size = LeftArm.Size*SIZE
  677. LeftLeg.Size = LeftLeg.Size*SIZE
  678. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  679. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  680. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  681. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  682. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  683. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  684. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  685. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  686. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  687. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  688. Head.Size = Head.Size*SIZE
  689. RootJoint.Parent = RootPart
  690. Neck.Parent = Torso
  691. RightShoulder.Parent = Torso
  692. LeftShoulder.Parent = Torso
  693. RightHip.Parent = Torso
  694. LeftHip.Parent = Torso
  695.  
  696. Humanoid.Parent = Character
  697.  
  698. Humanoid.Died:connect(function()
  699. ATTACK = true
  700. end)
  701.  
  702. local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet")
  703.  
  704. local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,1,1), 8, "Cartoon", 0, 2, 1, "Text")
  705.  
  706. --//=================================\\
  707. --|| DAMAGING
  708. --\\=================================//
  709.  
  710. local EXPLOSION = IT("Explosion",nil)
  711. EXPLOSION.BlastPressure = 0
  712. function PUNCH(Fist)
  713. TOUCH = Fist.Touched:Connect(function(hit)
  714. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  715. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  716. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  717. if TORSO and HUM.Health > 0 then
  718. CreateSound(296102734,Fist,6,1,false)
  719. CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
  720. TORSO.Parent:BreakJoints()
  721. for _, c in pairs(TORSO.Parent:GetChildren()) do
  722. if c:IsA("BasePart") then
  723. local bv = Instance.new("BodyVelocity",c)
  724. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  725. bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
  726. Debris:AddItem(bv,0.05)
  727. end
  728. end
  729. local BOOM = EXPLOSION:Clone()
  730. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  731. BOOM.Parent = Character
  732. TOUCH:Disconnect()
  733. KILLCOUNT = KILLCOUNT + 69
  734. end
  735. elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
  736. hit:remove()
  737. CreateSound(296102734,Fist,6,1,false)
  738. local BOOM = EXPLOSION:Clone()
  739. BOOM.BlastPressure = 50
  740. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  741. BOOM.Parent = Character
  742. elseif hit.Anchored == false then
  743. CreateSound(296102734,Fist,6,1,false)
  744. local BOOM = EXPLOSION:Clone()
  745. BOOM.BlastPressure = 100
  746. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  747. BOOM.Parent = Character
  748. TOUCH:Disconnect()
  749. end
  750. end)
  751. return TOUCH
  752. end
  753.  
  754. --//=================================\\
  755. --|| ATTACK FUNCTIONS AND STUFF
  756. --\\=================================//
  757.  
  758. function Yeet()
  759. ATTACK = true
  760. Rooted = false
  761. if COMBO == 1 then
  762. COMBO = 2
  763. for i=0, 0.1, 0.1 / Animation_Speed do
  764. Swait()
  765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  769. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  771. end
  772. local FIST = PUNCH(LeftArm)
  773. for i=0, 0.15, 0.1 / Animation_Speed do
  774. Swait()
  775. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
  776. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
  777. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  778. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  779. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  780. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  781. end
  782. FIST:Disconnect()
  783. else
  784. COMBO = 1
  785. for i=0, 0.1, 0.1 / Animation_Speed do
  786. Swait()
  787. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  791. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  792. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  793. end
  794. local FIST = PUNCH(RightArm)
  795. for i=0, 0.15, 0.1 / Animation_Speed do
  796. Swait()
  797. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
  798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  801. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  802. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  803. end
  804. FIST:Disconnect()
  805. end
  806. ATTACK = false
  807. Rooted = false
  808. end
  809.  
  810. function YesPlease()
  811. ATTACK = true
  812. Rooted = true
  813. CreateSound(291394633,Head,6,1,false)
  814. for i=0, 2, 0.1 / Animation_Speed do
  815. Swait()
  816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  820. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  822. end
  823. ATTACK = false
  824. Rooted = false
  825. end
  826.  
  827. --//=================================\\
  828. --|| ASSIGN THINGS TO KEYS
  829. --\\=================================//
  830.  
  831. Mouse.Button1Down:connect(function(NEWKEY)
  832. if ATTACK == false then
  833. Yeet()
  834. end
  835. end)
  836. Mouse.KeyDown:connect(function(NEWKEY)
  837. if NEWKEY == "t" and ATTACK == false then
  838. YesPlease()
  839. end
  840. end)
  841.  
  842. --//=================================\\
  843. --\\=================================//
  844.  
  845. function unanchor()
  846. if UNANCHOR == true then
  847. g = Character:GetChildren()
  848. for i = 1, #g do
  849. if g[i].ClassName == "Part" then
  850. g[i].Anchored = false
  851. end
  852. end
  853. end
  854. end
  855.  
  856. --//=================================\\
  857. --|| WRAP THE WHOLE SCRIPT UP
  858. --\\=================================//
  859.  
  860. Humanoid.Changed:connect(function(Jump)
  861. if Jump == "Jump" and (Disable_Jump == true) then
  862. Humanoid.Jump = false
  863. end
  864. end)
  865.  
  866. local FF = IT("ForceField",Character)
  867. FF.Visible = false
  868.  
  869. while true do
  870. Swait()
  871. script.Parent = WEAPONGUI
  872. ANIMATE.Parent = nil
  873. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  874. v:Stop();
  875. end
  876. SINE = SINE + CHANGE
  877. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  878. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  879. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  880. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  881. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  882. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
  883. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  884. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  885. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  886. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  887. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  888. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  889. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  890. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  891. end
  892. if HITFLOOR == nil then
  893. ANIM = "Midair"
  894. if ATTACK == false then
  895. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  899. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  900. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  901. end
  902. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  903. ANIM = "Idle"
  904. if ATTACK == false then
  905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  909. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  911. end
  912. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  913. ANIM = "Walk"
  914. if ATTACK == false then
  915. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  916. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
  917. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  918. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  919. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  920. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  921. end
  922. end
  923. unanchor()
  924. Humanoid.MaxHealth = 5e7
  925. Humanoid.Health = 5e7
  926. Humanoid.Name = "Stronk Shed"
  927. if Rooted == false then
  928. Disable_Jump = false
  929. Humanoid.WalkSpeed = Speed
  930. elseif Rooted == true then
  931. Disable_Jump = true
  932. Humanoid.WalkSpeed = 0
  933. end
  934. for _, c in pairs(Character:GetChildren()) do
  935. if c.ClassName == "Part" then
  936. c.Material = "SmoothPlastic"
  937. if c:FindFirstChildOfClass("ParticleEmitter") then
  938. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  939. end
  940. if c == Torso or c.Name == "Muscle" then
  941. c.BrickColor = BRICKC"Bright purple"
  942. elseif c == RightLeg or c == LeftLeg then
  943. c.BrickColor = BRICKC"Bright purple"
  944. else
  945. c.BrickColor = BRICKC"Bright purple"
  946. end
  947. if c == Head then
  948. if c:FindFirstChild("face") then
  949. c.face.Texture = "http://www.roblox.com/asset/?id=405704563"
  950. end
  951. end
  952. if c.ClassName == c.Name == "Body Colors" then
  953. c:remove()
  954. end
  955. end
  956. sick.SoundId = "rbxassetid://327835830"
  957. sick.Looped = true
  958. sick.Pitch = 1
  959. sick.Volume = 1
  960. sick:Resume()
  961. sick.Parent = Torso
  962. Humanoid.JumpPower = 150
  963. TEXT.Text = KILLCOUNT
  964. end
  965.  
  966. --//=================================\\
  967. --\\=================================//
  968.  
  969.  
  970.  
  971.  
  972.  
  973. --//====================================================\\--
  974. --|| END OF SCRIPT
  975. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement