Advertisement
Guest User

Thanos (Big Boi Edit) - ROBLOX Script

a guest
May 23rd, 2018
24,750
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.60 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 = "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. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  697. MakeForm(PART,"Ball")
  698. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  699. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  700. MakeForm(PART,"Ball")
  701. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  702. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  703. MakeForm(PART,"Ball")
  704. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  705. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  706. MakeForm(PART,"Ball")
  707. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  708. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  709. MakeForm(PART,"Ball")
  710. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  711. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  712. MakeForm(PART,"Ball")
  713. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  714.  
  715. Humanoid.Parent = Character
  716.  
  717. Humanoid.Died:connect(function()
  718. ATTACK = true
  719. end)
  720.  
  721. 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")
  722.  
  723. local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,1,1), 8, "Cartoon", 0, 2, 1, "Text")
  724.  
  725. --//=================================\\
  726. --|| DAMAGING
  727. --\\=================================//
  728.  
  729. local EXPLOSION = IT("Explosion",nil)
  730. EXPLOSION.BlastPressure = 0
  731. function PUNCH(Fist)
  732. TOUCH = Fist.Touched:Connect(function(hit)
  733. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  734. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  735. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  736. if TORSO and HUM.Health > 0 then
  737. CreateSound(296102734,Fist,6,1,false)
  738. CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
  739. TORSO.Parent:BreakJoints()
  740. for _, c in pairs(TORSO.Parent:GetChildren()) do
  741. if c:IsA("BasePart") then
  742. local bv = Instance.new("BodyVelocity",c)
  743. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  744. bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
  745. Debris:AddItem(bv,0.05)
  746. end
  747. end
  748. local BOOM = EXPLOSION:Clone()
  749. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  750. BOOM.Parent = Character
  751. TOUCH:Disconnect()
  752. KILLCOUNT = KILLCOUNT + 69
  753. end
  754. elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
  755. hit:remove()
  756. CreateSound(296102734,Fist,6,1,false)
  757. local BOOM = EXPLOSION:Clone()
  758. BOOM.BlastPressure = 50
  759. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  760. BOOM.Parent = Character
  761. elseif hit.Anchored == false then
  762. CreateSound(296102734,Fist,6,1,false)
  763. local BOOM = EXPLOSION:Clone()
  764. BOOM.BlastPressure = 100
  765. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  766. BOOM.Parent = Character
  767. TOUCH:Disconnect()
  768. end
  769. end)
  770. return TOUCH
  771. end
  772.  
  773. --//=================================\\
  774. --|| ATTACK FUNCTIONS AND STUFF
  775. --\\=================================//
  776.  
  777. function Yeet()
  778. ATTACK = true
  779. Rooted = false
  780. if COMBO == 1 then
  781. COMBO = 2
  782. for i=0, 0.1, 0.1 / Animation_Speed do
  783. Swait()
  784. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  785. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  786. 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)
  787. 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)
  788. 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)
  789. 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)
  790. end
  791. local FIST = PUNCH(LeftArm)
  792. for i=0, 0.15, 0.1 / Animation_Speed do
  793. Swait()
  794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
  795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
  796. 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)
  797. 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)
  798. 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)
  799. 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)
  800. end
  801. FIST:Disconnect()
  802. else
  803. COMBO = 1
  804. for i=0, 0.1, 0.1 / Animation_Speed do
  805. Swait()
  806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  808. 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)
  809. 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)
  810. 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)
  811. 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)
  812. end
  813. local FIST = PUNCH(RightArm)
  814. for i=0, 0.15, 0.1 / Animation_Speed do
  815. Swait()
  816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
  817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  818. 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)
  819. 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)
  820. 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)
  821. 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)
  822. end
  823. FIST:Disconnect()
  824. end
  825. ATTACK = false
  826. Rooted = false
  827. end
  828.  
  829. function YesPlease()
  830. ATTACK = true
  831. Rooted = true
  832. CreateSound(291394633,Head,6,1,false)
  833. for i=0, 2, 0.1 / Animation_Speed do
  834. Swait()
  835. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  836. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  837. 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)
  838. 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)
  839. 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)
  840. 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)
  841. end
  842. ATTACK = false
  843. Rooted = false
  844. end
  845.  
  846. --//=================================\\
  847. --|| ASSIGN THINGS TO KEYS
  848. --\\=================================//
  849.  
  850. Mouse.Button1Down:connect(function(NEWKEY)
  851. if ATTACK == false then
  852. Yeet()
  853. end
  854. end)
  855. Mouse.KeyDown:connect(function(NEWKEY)
  856. if NEWKEY == "t" and ATTACK == false then
  857. YesPlease()
  858. end
  859. end)
  860.  
  861. --//=================================\\
  862. --\\=================================//
  863.  
  864. function unanchor()
  865. if UNANCHOR == true then
  866. g = Character:GetChildren()
  867. for i = 1, #g do
  868. if g[i].ClassName == "Part" then
  869. g[i].Anchored = false
  870. end
  871. end
  872. end
  873. end
  874.  
  875. --//=================================\\
  876. --|| WRAP THE WHOLE SCRIPT UP
  877. --\\=================================//
  878.  
  879. Humanoid.Changed:connect(function(Jump)
  880. if Jump == "Jump" and (Disable_Jump == true) then
  881. Humanoid.Jump = false
  882. end
  883. end)
  884.  
  885. local FF = IT("ForceField",Character)
  886. FF.Visible = false
  887.  
  888. while true do
  889. Swait()
  890. script.Parent = WEAPONGUI
  891. ANIMATE.Parent = nil
  892. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  893. v:Stop();
  894. end
  895. SINE = SINE + CHANGE
  896. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  897. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  898. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  899. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  900. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  901. 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)
  902. 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)
  903. 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)
  904. 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)
  905. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  906. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  907. 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)
  908. 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)
  909. 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)
  910. end
  911. if HITFLOOR == nil then
  912. ANIM = "Midair"
  913. if ATTACK == false then
  914. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  915. 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)
  916. 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)
  917. 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)
  918. 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)
  919. 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)
  920. end
  921. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  922. ANIM = "Idle"
  923. if ATTACK == false then
  924. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  926. 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)
  927. 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)
  928. 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)
  929. 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)
  930. end
  931. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  932. ANIM = "Walk"
  933. if ATTACK == false then
  934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
  936. 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)
  937. 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)
  938. 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)
  939. 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)
  940. end
  941. end
  942. unanchor()
  943. Humanoid.MaxHealth = 5e7
  944. Humanoid.Health = 5e7
  945. Humanoid.Name = "Stronk Shed"
  946. if Rooted == false then
  947. Disable_Jump = false
  948. Humanoid.WalkSpeed = Speed
  949. elseif Rooted == true then
  950. Disable_Jump = true
  951. Humanoid.WalkSpeed = 0
  952. end
  953. for _, c in pairs(Character:GetChildren()) do
  954. if c.ClassName == "Part" then
  955. c.Material = "SmoothPlastic"
  956. if c:FindFirstChildOfClass("ParticleEmitter") then
  957. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  958. end
  959. if c == Torso or c.Name == "Muscle" then
  960. c.BrickColor = BRICKC"Bright purple"
  961. elseif c == RightLeg or c == LeftLeg then
  962. c.BrickColor = BRICKC"Bright purple"
  963. else
  964. c.BrickColor = BRICKC"Bright purple"
  965. end
  966. if c == Head then
  967. if c:FindFirstChild("face") then
  968. c.face.Texture = "http://www.roblox.com/asset/?id=405704563"
  969. end
  970. end
  971. elseif c.ClassName == c.Name == "Body Colors" then
  972. c:remove()
  973. end
  974. end
  975. sick.SoundId = "rbxassetid://1333021608"
  976. sick.Looped = true
  977. sick.Pitch = 1
  978. sick.Volume = 1
  979. sick:Resume()
  980. sick.Parent = Torso
  981. Humanoid.JumpPower = 150
  982. TEXT.Text = KILLCOUNT
  983. end
  984.  
  985. --//=================================\\
  986. --\\=================================//
  987.  
  988.  
  989.  
  990.  
  991.  
  992. --//====================================================\\--
  993. --|| END OF SCRIPT
  994. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement