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