Advertisement
Gametoy

Untitled

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