Advertisement
SHADOWCRAFTER666

W//Z

May 14th, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.82 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| USEFUL VALUES
  47. --\\=================================//
  48.  
  49. Animation_Speed = 3
  50. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  51. local Speed = 45
  52. local SIZE = 1.3
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local ANIM = "Idle"
  58. local ATTACK = false
  59. local COMBO = 1
  60. local Rooted = false
  61. local SINE = 0
  62. local CHANGE = 2 / Animation_Speed
  63. local ROBLOXIDLEANIMATION = IT("Animation")
  64. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  65. WEAPONGUI.Name = "Big Boie Squad"
  66. local ANIMATOR = Humanoid.Animator
  67. local ANIMATE = Character.Animate
  68. local UNANCHOR = true
  69. local KILLCOUNT = 0
  70.  
  71. --//=================================\\
  72. --\\=================================//
  73.  
  74.  
  75. --//=================================\\
  76. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  77. --\\=================================//
  78.  
  79. ArtificialHB = Instance.new("BindableEvent", script)
  80. ArtificialHB.Name = "ArtificialHB"
  81.  
  82. script:WaitForChild("ArtificialHB")
  83.  
  84. frame = Frame_Speed
  85. tf = 0
  86. allowframeloss = false
  87. tossremainder = false
  88. lastframe = tick()
  89. script.ArtificialHB:Fire()
  90.  
  91. game:GetService("RunService").Heartbeat:connect(function(s, p)
  92. tf = tf + s
  93. if tf >= frame then
  94. if allowframeloss then
  95. script.ArtificialHB:Fire()
  96. lastframe = tick()
  97. else
  98. for i = 1, math.floor(tf / frame) do
  99. script.ArtificialHB:Fire()
  100. end
  101. lastframe = tick()
  102. end
  103. if tossremainder then
  104. tf = 0
  105. else
  106. tf = tf - frame * math.floor(tf / frame)
  107. end
  108. end
  109. end)
  110.  
  111. --//=================================\\
  112. --\\=================================//
  113.  
  114. --//=================================\\
  115. --|| SOME FUNCTIONS
  116. --\\=================================//
  117.  
  118. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  119. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  120. end
  121.  
  122. function PositiveAngle(NUMBER)
  123. if NUMBER >= 0 then
  124. NUMBER = 0
  125. end
  126. return NUMBER
  127. end
  128.  
  129. function NegativeAngle(NUMBER)
  130. if NUMBER <= 0 then
  131. NUMBER = 0
  132. end
  133. return NUMBER
  134. end
  135.  
  136. function Swait(NUMBER)
  137. if NUMBER == 0 or NUMBER == nil then
  138. ArtificialHB.Event:wait()
  139. else
  140. for i = 1, NUMBER do
  141. ArtificialHB.Event:wait()
  142. end
  143. end
  144. end
  145.  
  146. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  147. local NEWMESH = IT(MESH)
  148. if MESH == "SpecialMesh" then
  149. NEWMESH.MeshType = MESHTYPE
  150. if MESHID ~= "nil" and MESHID ~= "" then
  151. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  152. end
  153. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  154. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  155. end
  156. end
  157. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  158. NEWMESH.Scale = SCALE
  159. NEWMESH.Parent = PARENT
  160. return NEWMESH
  161. end
  162.  
  163. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  164. local NEWPART = IT("Part")
  165. NEWPART.formFactor = FORMFACTOR
  166. NEWPART.Reflectance = REFLECTANCE
  167. NEWPART.Transparency = TRANSPARENCY
  168. NEWPART.CanCollide = false
  169. NEWPART.Locked = true
  170. NEWPART.Anchored = true
  171. if ANCHOR == false then
  172. NEWPART.Anchored = false
  173. end
  174. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  175. NEWPART.Name = NAME
  176. NEWPART.Size = SIZE
  177. NEWPART.Position = Torso.Position
  178. NEWPART.Material = MATERIAL
  179. NEWPART:BreakJoints()
  180. NEWPART.Parent = PARENT
  181. return NEWPART
  182. end
  183.  
  184. local function weldBetween(a, b)
  185. local weldd = Instance.new("ManualWeld")
  186. weldd.Part0 = a
  187. weldd.Part1 = b
  188. weldd.C0 = CFrame.new()
  189. weldd.C1 = b.CFrame:inverse() * a.CFrame
  190. weldd.Parent = a
  191. return weldd
  192. end
  193.  
  194.  
  195. function QuaternionFromCFrame(cf)
  196. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  197. local trace = m00 + m11 + m22
  198. if trace > 0 then
  199. local s = math.sqrt(1 + trace)
  200. local recip = 0.5 / s
  201. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  202. else
  203. local i = 0
  204. if m11 > m00 then
  205. i = 1
  206. end
  207. if m22 > (i == 0 and m00 or m11) then
  208. i = 2
  209. end
  210. if i == 0 then
  211. local s = math.sqrt(m00 - m11 - m22 + 1)
  212. local recip = 0.5 / s
  213. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  214. elseif i == 1 then
  215. local s = math.sqrt(m11 - m22 - m00 + 1)
  216. local recip = 0.5 / s
  217. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  218. elseif i == 2 then
  219. local s = math.sqrt(m22 - m00 - m11 + 1)
  220. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  221. end
  222. end
  223. end
  224.  
  225. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  226. local xs, ys, zs = x + x, y + y, z + z
  227. local wx, wy, wz = w * xs, w * ys, w * zs
  228. local xx = x * xs
  229. local xy = x * ys
  230. local xz = x * zs
  231. local yy = y * ys
  232. local yz = y * zs
  233. local zz = z * zs
  234. 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))
  235. end
  236.  
  237. function QuaternionSlerp(a, b, t)
  238. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  239. local startInterp, finishInterp;
  240. if cosTheta >= 0.0001 then
  241. if (1 - cosTheta) > 0.0001 then
  242. local theta = ACOS(cosTheta)
  243. local invSinTheta = 1 / SIN(theta)
  244. startInterp = SIN((1 - t) * theta) * invSinTheta
  245. finishInterp = SIN(t * theta) * invSinTheta
  246. else
  247. startInterp = 1 - t
  248. finishInterp = t
  249. end
  250. else
  251. if (1 + cosTheta) > 0.0001 then
  252. local theta = ACOS(-cosTheta)
  253. local invSinTheta = 1 / SIN(theta)
  254. startInterp = SIN((t - 1) * theta) * invSinTheta
  255. finishInterp = SIN(t * theta) * invSinTheta
  256. else
  257. startInterp = t - 1
  258. finishInterp = t
  259. end
  260. end
  261. 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
  262. end
  263.  
  264. function Clerp(a, b, t)
  265. return a:lerp(b, t)
  266. end
  267.  
  268. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  269. local frame = IT("Frame")
  270. frame.BackgroundTransparency = TRANSPARENCY
  271. frame.BorderSizePixel = BORDERSIZEPIXEL
  272. frame.Position = POSITION
  273. frame.Size = SIZE
  274. frame.BackgroundColor3 = COLOR
  275. frame.BorderColor3 = BORDERCOLOR
  276. frame.Name = NAME
  277. frame.Parent = PARENT
  278. return frame
  279. end
  280.  
  281. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  282. local label = IT("TextLabel")
  283. label.BackgroundTransparency = 1
  284. label.Size = UD2(1, 0, 1, 0)
  285. label.Position = UD2(0, 0, 0, 0)
  286. label.TextColor3 = TEXTCOLOR
  287. label.TextStrokeTransparency = STROKETRANSPARENCY
  288. label.TextTransparency = TRANSPARENCY
  289. label.FontSize = TEXTFONTSIZE
  290. label.Font = TEXTFONT
  291. label.BorderSizePixel = BORDERSIZEPIXEL
  292. label.TextScaled = false
  293. label.Text = TEXT
  294. label.Name = NAME
  295. label.Parent = PARENT
  296. return label
  297. end
  298.  
  299. function NoOutlines(PART)
  300. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  301. end
  302.  
  303. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  304. local NEWWELD = IT(TYPE)
  305. NEWWELD.Part0 = PART0
  306. NEWWELD.Part1 = PART1
  307. NEWWELD.C0 = C0
  308. NEWWELD.C1 = C1
  309. NEWWELD.Parent = PARENT
  310. return NEWWELD
  311. end
  312.  
  313. local S = IT("Sound")
  314. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  315. return true
  316. end
  317.  
  318. function CFrameFromTopBack(at, top, back)
  319. local right = top:Cross(back)
  320. 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)
  321. end
  322.  
  323. function MakeForm(PART,TYPE)
  324. if TYPE == "Cyl" then
  325. local MSH = IT("CylinderMesh",PART)
  326. elseif TYPE == "Ball" then
  327. local MSH = IT("SpecialMesh",PART)
  328. MSH.MeshType = "Sphere"
  329. elseif TYPE == "Wedge" then
  330. local MSH = IT("SpecialMesh",PART)
  331. MSH.MeshType = "Wedge"
  332. end
  333. end
  334.  
  335. Debris = game:GetService("Debris")
  336.  
  337. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  338. local DIRECTION = CF(StartPos,EndPos).lookVector
  339. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  340. end
  341.  
  342. --//=================================\\
  343. --|| WEAPON CREATION
  344. --\\=================================//
  345.  
  346. Humanoid.Parent = nil
  347. RootPart.Size = RootPart.Size*SIZE
  348. Torso.Size = Torso.Size*SIZE
  349. RightArm.Size = RightArm.Size*SIZE
  350. RightLeg.Size = RightLeg.Size*SIZE
  351. LeftArm.Size = LeftArm.Size*SIZE
  352. LeftLeg.Size = LeftLeg.Size*SIZE
  353. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  354. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  355. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  356. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  357. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  358. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  359. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  360. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  361. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  362. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  363. Head.Size = Head.Size*SIZE
  364. RootJoint.Parent = RootPart
  365. Neck.Parent = Torso
  366. RightShoulder.Parent = Torso
  367. LeftShoulder.Parent = Torso
  368. RightHip.Parent = Torso
  369. LeftHip.Parent = Torso
  370.  
  371. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  372. MakeForm(PART,"Ball")
  373. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  374. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
  375. MakeForm(PART,"Ball")
  376. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
  377. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  378. MakeForm(PART,"Ball")
  379. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  380. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
  381. MakeForm(PART,"Ball")
  382. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
  383. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  384. MakeForm(PART,"Ball")
  385. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  386. local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
  387. MakeForm(PART,"Ball")
  388. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
  389.  
  390. Humanoid.Parent = Character
  391.  
  392. Humanoid.Died:connect(function()
  393. ATTACK = true
  394. end)
  395.  
  396. 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")
  397.  
  398. local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,0,0), 8, "SourceSans", 0, 2, 1, "Text")
  399.  
  400. --//=================================\\
  401. --|| DAMAGING
  402. --\\=================================//
  403.  
  404. local EXPLOSION = IT("Explosion",nil)
  405. EXPLOSION.BlastPressure = 0
  406. function PUNCH(Fist)
  407. TOUCH = Fist.Touched:Connect(function(hit)
  408. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  409. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  410. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  411. if TORSO and HUM.Health > 0 then
  412. CreateSound(296102734,Fist,6,1,false)
  413. CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
  414. TORSO.Parent:BreakJoints()
  415. for _, c in pairs(TORSO.Parent:GetChildren()) do
  416. if c:IsA("BasePart") then
  417. local bv = Instance.new("BodyVelocity",c)
  418. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  419. bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
  420. Debris:AddItem(bv,0.05)
  421. end
  422. end
  423. local BOOM = EXPLOSION:Clone()
  424. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  425. BOOM.Parent = Character
  426. TOUCH:Disconnect()
  427. KILLCOUNT = KILLCOUNT + 1
  428. end
  429. elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
  430. hit:remove()
  431. CreateSound(296102734,Fist,6,1,false)
  432. local BOOM = EXPLOSION:Clone()
  433. BOOM.BlastPressure = 15
  434. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  435. BOOM.Parent = Character
  436. elseif hit.Anchored == false then
  437. CreateSound(296102734,Fist,6,1,false)
  438. local BOOM = EXPLOSION:Clone()
  439. BOOM.BlastPressure = 70
  440. BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
  441. BOOM.Parent = Character
  442. TOUCH:Disconnect()
  443. end
  444. end)
  445. return TOUCH
  446. end
  447.  
  448. --//=================================\\
  449. --|| ATTACK FUNCTIONS AND STUFF
  450. --\\=================================//
  451.  
  452. function Yeet()
  453. ATTACK = true
  454. Rooted = false
  455. if COMBO == 1 then
  456. COMBO = 2
  457. for i=0, 0.1, 0.1 / Animation_Speed do
  458. Swait()
  459. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
  460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  461. 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)
  462. 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)
  463. 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)
  464. 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)
  465. end
  466. local FIST = PUNCH(LeftArm)
  467. for i=0, 0.15, 0.1 / Animation_Speed do
  468. Swait()
  469. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
  470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
  471. 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)
  472. 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)
  473. 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)
  474. 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)
  475. end
  476. FIST:Disconnect()
  477. else
  478. COMBO = 1
  479. for i=0, 0.1, 0.1 / Animation_Speed do
  480. Swait()
  481. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
  482. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  483. 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)
  484. 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)
  485. 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)
  486. 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)
  487. end
  488. local FIST = PUNCH(RightArm)
  489. for i=0, 0.15, 0.1 / Animation_Speed do
  490. Swait()
  491. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
  492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  493. 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)
  494. 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)
  495. 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)
  496. 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)
  497. end
  498. FIST:Disconnect()
  499. end
  500. ATTACK = false
  501. Rooted = false
  502. end
  503.  
  504. function YesPlease()
  505. ATTACK = true
  506. Rooted = true
  507. CreateSound(291394633,Head,6,1,false)
  508. for i=0, 2, 0.1 / Animation_Speed do
  509. Swait()
  510. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  512. 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)
  513. 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)
  514. 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)
  515. 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)
  516. end
  517. ATTACK = false
  518. Rooted = false
  519. end
  520.  
  521. --//=================================\\
  522. --|| ASSIGN THINGS TO KEYS
  523. --\\=================================//
  524.  
  525. Mouse.Button1Down:connect(function(NEWKEY)
  526. if ATTACK == false then
  527. Yeet()
  528. end
  529. end)
  530. Mouse.KeyDown:connect(function(NEWKEY)
  531. if NEWKEY == "t" and ATTACK == false then
  532. YesPlease()
  533. end
  534. end)
  535.  
  536. --//=================================\\
  537. --\\=================================//
  538.  
  539. function unanchor()
  540. if UNANCHOR == true then
  541. g = Character:GetChildren()
  542. for i = 1, #g do
  543. if g[i].ClassName == "Part" then
  544. g[i].Anchored = false
  545. end
  546. end
  547. end
  548. end
  549.  
  550. --//=================================\\
  551. --|| WRAP THE WHOLE SCRIPT UP
  552. --\\=================================//
  553.  
  554. Humanoid.Changed:connect(function(Jump)
  555. if Jump == "Jump" and (Disable_Jump == true) then
  556. Humanoid.Jump = false
  557. end
  558. end)
  559.  
  560. local FF = IT("ForceField",Character)
  561. FF.Visible = false
  562.  
  563. while true do
  564. Swait()
  565. script.Parent = WEAPONGUI
  566. ANIMATE.Parent = nil
  567. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  568. v:Stop();
  569. end
  570. SINE = SINE + CHANGE
  571. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  572. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  573. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  574. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  575. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  576. 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)
  577. 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)
  578. 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)
  579. 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)
  580. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  581. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  582. 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)
  583. 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)
  584. 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)
  585. end
  586. if HITFLOOR == nil then
  587. ANIM = "Midair"
  588. if ATTACK == false then
  589. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  590. 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)
  591. 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)
  592. 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)
  593. 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)
  594. 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)
  595. end
  596. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  597. ANIM = "Idle"
  598. if ATTACK == false then
  599. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  600. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  601. 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)
  602. 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)
  603. 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)
  604. 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)
  605. end
  606. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  607. ANIM = "Walk"
  608. if ATTACK == false then
  609. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  610. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
  611. 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)
  612. 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)
  613. 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)
  614. 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)
  615. end
  616. end
  617. unanchor()
  618. Humanoid.MaxHealth = 5e7
  619. Humanoid.Health = 5e7
  620. Humanoid.Name = "BigBoie"
  621. if Rooted == false then
  622. Disable_Jump = false
  623. Humanoid.WalkSpeed = Speed
  624. elseif Rooted == true then
  625. Disable_Jump = true
  626. Humanoid.WalkSpeed = 0
  627. end
  628. for _, c in pairs(Character:GetChildren()) do
  629. if c.ClassName == "Part" then
  630. c.Material = "SmoothPlastic"
  631. if c:FindFirstChildOfClass("ParticleEmitter") then
  632. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  633. end
  634. if c == Torso or c.Name == "Muscle" then
  635. c.BrickColor = BRICKC"Bright blue"
  636. elseif c == RightLeg or c == LeftLeg then
  637. c.BrickColor = BRICKC"Br. yellowish green"
  638. else
  639. c.BrickColor = BRICKC"Bright yellow"
  640. end
  641. if c == Head then
  642. if c:FindFirstChild("face") then
  643. c.face.Texture = "http://www.roblox.com/asset/?id=145914523"
  644. end
  645. end
  646. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  647. c:remove()
  648. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  649. c:remove()
  650. end
  651. end
  652. Humanoid.JumpPower = 150
  653. TEXT.Text = KILLCOUNT
  654. end
  655.  
  656. --//=================================\\
  657. --\\=================================//
  658.  
  659.  
  660.  
  661.  
  662.  
  663. --//====================================================\\--
  664. --|| END OF SCRIPT
  665. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement