Advertisement
Cute_Sylveon

Stronk shedletsky go kys

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