Advertisement
Cute_Sylveon

Stronk noob

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