Advertisement
rivahaviz

Untitled

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