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