View difference between Paste ID: EWsBhU7y and Pjwfeixn
SHOW: | | - or go back to the newest paste.
1
Player = game:GetService("Players").LocalPlayer
2
Character = Player.Character
3
PlayerGui = Player.PlayerGui
4
Backpack = Player.Backpack
5
Torso = Character.Torso
6
Head = Character.Head
7
Humanoid = Character.Humanoid
8
RootPart = Character.HumanoidRootPart
9
RootJoint = RootPart.RootJoint
10
LeftArm = Character["Left Arm"]
11
LeftLeg = Character["Left Leg"]
12
RightArm = Character["Right Arm"]
13
RightLeg = Character["Right Leg"]
14
LS = Torso["Left Shoulder"]
15
LH = Torso["Left Hip"]
16
RS = Torso["Right Shoulder"]
17
RH = Torso["Right Hip"]
18
Humanoid.MaxHealth = math.huge
19
wait()
20
Humanoid.Health = Humanoid.MaxHealth
21
local BC = Character["Body Colors"]
22
BC.HeadColor = BrickColor.new("Pastel brown")
23
BC.LeftArmColor = BrickColor.new("Pastel brown")
24
BC.LeftLegColor = BrickColor.new("Pastel brown")
25
BC.RightArmColor = BrickColor.new("Pastel brown")
26
BC.RightLegColor = BrickColor.new("Pastel brown")
27
BC.TorsoColor = BrickColor.new("Pastel brown")
28
for i,v in pairs(Character:children()) do
29
    if v:IsA("Shirt") then
30
        v:Destroy()
31
    end
32
end
33
--//Reaper\\--
34
local Orbd = Instance.new("Part", Character)
35
Orbd.Name = "Orbd"
36
Orbd.Shape = Enum.PartType.Ball
37
Orbd.CanCollide = false
38
Orbd.BrickColor = BrickColor.new("Really black")
39
Orbd.Transparency = 0
40
Orbd.Material = "Neon"
41
Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
42
Orbd.TopSurface = Enum.SurfaceType.Smooth
43
Orbd.BottomSurface = Enum.SurfaceType.Smooth
44
45
local Weld = Instance.new("Weld", Orbd)
46
Weld.Part0 = Character.Head
47
Weld.Part1 = Orbd
48
Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
49
50
--------------------------------------------------------
51
local Orbvc = Instance.new("Part", Character)
52
Orbvc.Name = "Orbvc"
53
Orbvc.Shape = Enum.PartType.Ball
54
Orbvc.CanCollide = false
55
Orbvc.BrickColor = BrickColor.new("Really black")
56
Orbvc.Transparency = 0
57
Orbvc.Material = "Neon"
58
Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
59
Orbvc.TopSurface = Enum.SurfaceType.Smooth
60
Orbvc.BottomSurface = Enum.SurfaceType.Smooth
61
62
local Weld = Instance.new("Weld", Orbvc)
63
Weld.Part0 = Character.Head
64
Weld.Part1 = Orbvc
65
Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
66
67
local Mask = Instance.new("Part", Character)
68
Mask.Name = "Mask"
69
Mask.CanCollide = false
70
Mask.BrickColor = BrickColor.new("Mid gray")
71
Mask.Transparency = 0
72
Mask.Material = "Plastic"
73
Mask.Size = Vector3.new(0.1, 0.1, 0.1)
74
Mask.TopSurface = Enum.SurfaceType.Smooth
75
Mask.BottomSurface = Enum.SurfaceType.Smooth
76
77
local Weld = Instance.new("Weld", Mask)
78
Weld.Part0 = Character.Head
79
Weld.Part1 = Mask
80
Weld.C1 = CFrame.new(0, -0.1, 0.8)
81
82
local M1 = Instance.new("SpecialMesh")
83
M1.Parent = Mask
84
M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
85
M1.Scale = Vector3.new( 1, 1, 2)
86
----------------------------------------------------------
87
local Hood = Instance.new("Part", Character)
88
Hood.Name = "Hood"
89
Hood.CanCollide = false
90
Hood.BrickColor = BrickColor.new("Really black")
91
Hood.Transparency = 0
92
Hood.Material = "Plastic"
93
Hood.Size = Vector3.new(0.1, 0.1, 0.1)
94
Hood.TopSurface = Enum.SurfaceType.Smooth
95
Hood.BottomSurface = Enum.SurfaceType.Smooth
96
97
local Weld = Instance.new("Weld", Hood)
98
Weld.Part0 = Character.Head
99
Weld.Part1 = Hood
100
Weld.C1 = CFrame.new(0, -0.2, 0)
101
102
local M2 = Instance.new("SpecialMesh")
103
M2.Parent = Hood
104
M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
105
M2.Scale = Vector3.new( 1, 1.2, 1.1)
106
--//Name Tag\\--
107
CV="Maroon"
108
	Player = game.Players.LocalPlayer
109
	char = Player.Character
110
	local txt = Instance.new("BillboardGui", Character)
111
	txt.Adornee = Character .Head
112
	txt.Name = "_status"
113
	txt.Size = UDim2.new(2, 0, 1.2, 0)
114
	txt.StudsOffset = Vector3.new(-9, 8, 0)
115
	local text = Instance.new("TextLabel", txt)
116
	text.Size = UDim2.new(10, 0, 7, 0)
117
	text.FontSize = "Size24"
118
	text.TextScaled = true
119
	text.TextTransparency = 0
120
	text.BackgroundTransparency = 1 
121
	text.TextTransparency = 0
122
	text.TextStrokeTransparency = 0
123
	text.Font = "Bodoni"
124
	text.TextStrokeColor3 = Color3.new(255,255,255)
125
126
	v=Instance.new("Part")
127
	v.Name = "ColorBrick"
128
	v.Parent=Player.Character
129
	v.FormFactor="Symmetric"
130
	v.Anchored=true
131
	v.CanCollide=false
132
	v.BottomSurface="Smooth"
133
	v.TopSurface="Smooth"
134
	v.Size=Vector3.new(10,5,3)
135
	v.Transparency=1
136
	v.CFrame=Character.Torso.CFrame
137
	v.BrickColor=BrickColor.new(CV)
138
	v.Transparency=1
139
	text.TextColor3 = Color3.new(0,0,0)
140
	v.Shape="Block"
141
	text.Text = "SCP - 049 Status:Happy"
142
	-----------------------------------------
143
for i,v in pairs(Character:children()) do
144
    if v:IsA("Pants") then
145
        v:Destroy()
146
    end
147
end
148
shirt = Instance.new("Shirt", Character)
149
shirt.Name = "Shirt"
150
pants = Instance.new("Pants", Character)
151
pants.Name = "Pants"
152
Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=648758131"
153
Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=472675863"
154
sound = Instance.new("Sound", Character)
155-
sound.SoundId = "rbxassetid://537549688"
155+
sound.SoundId = "rbxassetid://"
156
sound.Volume = 5
157
sound.EmitterSize = 25
158
sound:Play()
159
sound.Looped = true
160
Face = Head.face
161
Neck = Torso.Neck
162
it = Instance.new
163
vt = Vector3.new
164
cf = CFrame.new
165
rad = math.rad
166
euler = CFrame.fromEulerAnglesXYZ
167
angles = CFrame.Angles
168
Mouse = Player:GetMouse()
169
coroutine.resume(coroutine.create(function()
170
game.StarterGui:SetCore("ChatMakeSystemMessage", {
171
	Text = "Fixed by PixelFir3 / Cortana#8155 Edited: Sawyerqqqqq";
172
	Color = Color3.new(0, 1, 1);
173
	Font = Enum.Font.Bodoni;
174
	FontSize = Enum.FontSize.Size24;
175
})
176
end))
177
ArtificialHB = Instance.new("BindableEvent", script)
178
ArtificialHB.Name = "ArtificialHB"
179
script:WaitForChild("ArtificialHB")
180
frame = 0.016666666666667
181
tf = 0
182
allowframeloss = false
183
tossremainder = false
184
lastframe = tick()
185
script.ArtificialHB:Fire()
186
game:GetService("RunService").Heartbeat:connect(function(s, p)
187
	
188
	tf = tf + s
189
	if frame <= tf then
190
		if allowframeloss then
191
			script.ArtificialHB:Fire()
192
			lastframe = tick()
193
		else
194
			for i = 1, math.floor(tf / frame) do
195
				script.ArtificialHB:Fire()
196
			end
197
			lastframe = tick()
198
		end
199
		if tossremainder then
200
			tf = 0
201
		else
202
			tf = tf - frame * math.floor(tf / frame)
203
		end
204
	end
205
end
206
)
207
local animationspeed = 2
208
hbwait = function(number)
209
	
210
	if number == 0 or number == nil then
211
		ArtificialHB.Event:wait()
212
	else
213
		for i = 0, number do
214
			ArtificialHB.Event:wait()
215
		end
216
	end
217
end
218
219
local Stats = Instance.new("Folder", Character)
220
Stats.Name = "Stats"
221
local Defense = Instance.new("NumberValue", Stats)
222
Defense.Name = "Defense"
223
Defense.Value = 0.1
224
local Movement = Instance.new("NumberValue", Stats)
225
Movement.Name = "Movement"
226
Movement.Value = 0.35
227
local Damage = Instance.new("NumberValue", Stats)
228
Damage.Name = "Damage"
229
Damage.Value = 0
230
local Mana = Instance.new("NumberValue", Stats)
231
Mana.Name = "Mana"
232
Mana.Value = 0
233
local Rooted = Instance.new("BoolValue", Stats)
234
Rooted.Name = "Rooted"
235
Rooted.Value = false
236
local BlockValue = Instance.new("BoolValue", Stats)
237
BlockValue.Name = "BlockValue"
238
BlockValue.Value = false
239
local StaggerHitAnim = Instance.new("BoolValue", Stats)
240
StaggerHitAnim.Name = "StaggerHitAnim"
241
StaggerHitAnim.Value = false
242
local StaggerAnim = Instance.new("BoolValue", Stats)
243
StaggerAnim.Name = "StaggerAnim"
244
StaggerAnim.Value = false
245
local StunAnim = Instance.new("BoolValue", Stats)
246
StunAnim.Name = "StunAnim"
247
StunAnim.Value = false
248
local StunValue = Instance.new("NumberValue", Stats)
249
StunValue.Name = "StunValue"
250
StunValue.Value = 0
251
local CanCrit = Instance.new("BoolValue", Stats)
252
CanCrit.Name = "CanCrit"
253
CanCrit.Value = false
254
local CritChance = Instance.new("NumberValue", Stats)
255
CritChance.Name = "CritChance"
256
CritChance.Value = 20
257
local CanPenetrateArmor = Instance.new("BoolValue", Stats)
258
CanPenetrateArmor.Name = "CanPenetrateArmor"
259
CanPenetrateArmor.Value = false
260
local AntiTeamKill = Instance.new("BoolValue", Stats)
261
AntiTeamKill.Name = "AntiTeamKill"
262
AntiTeamKill.Value = false
263
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
264
RootCF = angles(rad(-90), 0, rad(180))
265
local idle = 0
266
local Anim = "Idle"
267
local animtype = math.floor(math.random(1, 3))
268
local attacktype = 1
269
local attack = false
270
local equipped = false
271
local LastPoint = nil
272
local staggerhitanim = false
273
local staggeranim = false
274
local stunanim = false
275
local CritChanceNumber = 0
276
local idlen = 0
277
local donum = 0
278
local sine = 0
279
local change = 2 / animationspeed
280
local walkinganim = false
281
local handidle = false
282
local walk = 0
283
local stundelay = 0
284
local manadelay = 0
285
local robloxidleanimation = Instance.new("Animation", Torso)
286
robloxidleanimation.Name = "robloxidleanimation"
287
robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
288
local Animator = Humanoid:FindFirstChild("Animator")
289
local Animate = Character:FindFirstChild("Animate")
290
local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
291
local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
292
local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
293
local HitBlockSounds = {199148933, 199148947}
294
local cooldown1 = 0
295
local cooldown2 = 0
296
local cooldown3 = 0
297
local cooldown4 = 0
298
local scrn = Instance.new("ScreenGui", PlayerGui)
299
local ud = UDim2.new
300
local c3 = Color3.new
301
local skillcolorscheme = c3(1, 1, 1)
302
subtractmana = function(k)
303
	
304
	if k <= Mana.Value then
305
		Mana.Value = Mana.Value - k
306
	end
307
end
308
309
local co1 = 0
310
local co2 = 0
311
local co3 = 0
312
local co4 = 0
313
local maxmana = 0
314
local maxstun = 1
315
local recovermana = 0
316
local losestun = 0
317
local stunwait = 0
318
local manawait = 0
319
local skill1mana = 0
320
local skill2mana = 0
321
local skill3mana = 0
322
local skill4mana = 0
323
local menuupdatespeed = 0
324
local constantupdate = false
325
local showstats = false
326
local allowstunbar = false
327
local CustomColor = Torso.BrickColor
328
local Colorpart1 = CustomColor.r
329
local Colorpart2 = CustomColor.g
330
local Colorpart3 = CustomColor.b
331
local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
332
makeframe = function(par, trans, pos, size, color, name)
333
	
334
	local frame = Instance.new("Frame")
335
	frame.Parent = par
336
	frame.BackgroundTransparency = trans
337
	frame.BorderSizePixel = 2
338
	frame.Position = pos
339
	frame.Size = size
340
	frame.BackgroundColor3 = color
341
	frame.Name = name
342
	return frame
343
end
344
345
makelabel = function(par, text, trans, stroketrans, name)
346
	
347
	local label = Instance.new("TextLabel")
348
	label.Parent = par
349
	label.BackgroundTransparency = 1
350
	label.Size = ud(1, 0, 1, 0)
351
	label.Position = ud(0, 0, 0, 0)
352
	label.TextColor3 = c3(255, 255, 255)
353
	label.TextStrokeTransparency = stroketrans
354
	label.TextTransparency = trans
355
	label.FontSize = Enum.FontSize.Size32
356
	label.Font = Enum.Font.Legacy
357
	label.BorderSizePixel = 0
358
	label.TextScaled = true
359
	label.Text = text
360
	label.Name = name
361
	return label
362
end
363
364
framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
365
framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
366
framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
367
framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
368
bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
369
bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
370
bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
371
bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
372
text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
373
text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
374
text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
375
text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
376
manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
377
manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
378
manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
379
healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
380
healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
381
healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
382
if allowstunbar == true then
383
	stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
384
	stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
385
	stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
386
end
387
if showstats == true then
388
	defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
389
	damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
390
	movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
391
	defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
392
	damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
393
	movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
394
end
395
NoOutline = function(Part)
396
	
397
	Part.TopSurface = 10
398
end
399
400
local weldBetween = function(a, b)
401
	
402
	local weldd = Instance.new("ManualWeld")
403
	weldd.Part0 = a
404
	weldd.Part1 = b
405
	weldd.C0 = CFrame.new()
406
	weldd.C1 = b.CFrame:inverse() * a.CFrame
407
	weldd.Parent = a
408
	return weldd
409
end
410
411
nooutline = function(part)
412
	
413
	part.TopSurface = 10
414
end
415
416
part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
417
	
418
	local fp = it("Part")
419
	fp.formFactor = formfactor
420
	fp.Parent = parent
421
	fp.Reflectance = reflectance
422
	fp.Transparency = transparency
423
	fp.CanCollide = false
424
	fp.Locked = true
425
	fp.BrickColor = BrickColor.new(tostring(brickcolor))
426
	fp.Name = name
427
	fp.Size = size
428
	fp.Position = Character.Torso.Position
429
	nooutline(fp)
430
	fp.Material = material
431
	fp:BreakJoints()
432
	return fp
433
end
434
435
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
436
	
437
	local mesh = it(Mesh)
438
	mesh.Parent = part
439
	if Mesh == "SpecialMesh" then
440
		mesh.MeshType = meshtype
441
		mesh.MeshId = meshid
442
	end
443
	mesh.Offset = offset
444
	mesh.Scale = scale
445
	return mesh
446
end
447
448
weld = function(parent, part0, part1, c0, c1)
449
	
450
	local weld = it("Motor")
451
	weld.Parent = parent
452
	weld.Part0 = part0
453
	weld.Part1 = part1
454
	weld.C0 = c0
455
	weld.C1 = c1
456
	return weld
457
end
458
459
local WeaponName = "Russian Kick"
460
local ClassName = "Russian Kick"
461
local PlayerSize = 1
462
local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
463
local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
464
if PlayerSize ~= 1 then
465
	RootPart.Size = RootPart.Size * PlayerSize
466
	Torso.Size = Torso.Size * PlayerSize
467
	Head.Size = Head.Size * PlayerSize
468
	RightArm.Size = RightArm.Size * PlayerSize
469
	LeftArm.Size = LeftArm.Size * PlayerSize
470
	RightLeg.Size = RightLeg.Size * PlayerSize
471
	LeftLeg.Size = LeftLeg.Size * PlayerSize
472
	RootJoint.Parent = RootPart
473
	Neck.Parent = Torso
474
	LS.Parent = Torso
475
	RS.Parent = Torso
476
	LH.Parent = Torso
477
	RH.Parent = Torso
478
	RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
479
	Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
480
	Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
481
	RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
482
	LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
483
	RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
484
	LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
485
	RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
486
	LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
487
	RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
488
	LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
489
	for _,v in pairs(Character:GetChildren()) do
490
		if v.ClassName == "Hat" or v.ClassName == "Accessory" then
491
			v.Parent = nil
492
			v.Parent = Character
493
			v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
494
			for _,b in pairs(v.Handle:GetChildren()) do
495
				if b.ClassName == "Weld" or b.ClassName == "Motor" then
496
					local p1 = b.Part1
497
					b.Part1 = nil
498
					local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
499
					local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
500
					b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
501
					b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
502
					b.Part1 = p1
503
				end
504
			end
505
		end
506
	end
507
end
508
	m = Instance.new("Model", Character)
509
	m.Name = WeaponName
510
	Effects = Instance.new("Folder", m)
511
	Effects.Name = "Effects"
512
	Humanoid.Died:connect(function()
513
	
514
	attack = true
515
	for _,v in pairs(Character:GetChildren()) do
516
		if v.ClassName == "Model" then
517
			v:Destroy()
518
		end
519
	end
520
end
521
)
522
	for i,v in pairs(Character:GetChildren()) do
523
		if v.ClassName == "Model" then
524
			for _,c in pairs(v:GetChildren()) do
525
				if c.ClassName == "Part" then
526
					c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
527
				end
528
			end
529
		end
530
	end
531
	print(ClassName .. " loaded.")
532
	clerp = function(a, b, t)
533
return a:lerp(b, t)
534
end
535
536
	positiveangle = function(number)
537
	
538
	if number > 0 then
539
		number = 0
540
	end
541
	return number
542
end
543
544
	negativeangle = function(number)
545
	
546
	if number < 0 then
547
		number = 0
548
	end
549
	return number
550
end
551
552
	so = function(id, par, vol, pit)
553
	
554
	coroutine.resume(coroutine.create(function()
555
		
556
		local sou = Instance.new("Sound", par or workspace)
557
		sou.Volume = vol
558
		sou.Pitch = pit or 1
559
		sou.SoundId = "http://roblox.com/asset/?id=" .. id
560
		hbwait()
561
		sou:play()
562
		game:GetService("Debris"):AddItem(sou, 10)
563
	end
564
))
565
end
566
567
	GetDistance = function(Part1, Part2, magnitude)
568
	
569
	local target = Part1.Position - Part2.Position
570
	local mag = target.magnitude
571
	if mag <= magnitude then
572
		return true
573
	else
574
		return false
575
	end
576
end
577
578
	rayCast = function(Pos, Dir, Max, Ignore)
579
	
580
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
581
end
582
583
	DamageStatLabel = function(labeltype, cframe, text, color)
584
	
585
	local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
586
	c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
587
	game:GetService("Debris"):AddItem(c, 5)
588
	Instance.new("BodyGyro", c)
589
	local f = Instance.new("BodyPosition", c)
590
	f.P = 2000
591
	f.D = 100
592
	f.maxForce = vt(math.huge, math.huge, math.huge)
593
	if labeltype == "Normal" then
594
		f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
595
	else
596
		if labeltype == "Debuff" then
597
			f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
598
		else
599
			if labeltype == "Interruption" then
600
				f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
601
			end
602
		end
603
	end
604
	game:GetService("Debris"):AddItem(c, 5)
605
	local bg = Instance.new("BillboardGui", c)
606
	bg.Adornee = c
607
	bg.Size = UDim2.new(2.5, 0, 2.5, 0)
608
	bg.StudsOffset = vt(-2, 2, 0)
609
	bg.AlwaysOnTop = false
610
	local tl = Instance.new("TextLabel", bg)
611
	tl.BackgroundTransparency = 1
612
	tl.Size = UDim2.new(2.5, 0, 2.5, 0)
613
	tl.Text = text
614
	tl.Font = Enum.Font.SourceSans
615
	tl.FontSize = Enum.FontSize.Size42
616
	tl.TextColor3 = color
617
	tl.TextScaled = false
618
	tl.TextStrokeTransparency = 0
619
	tl.TextScaled = true
620
	tl.TextWrapped = true
621
	f.Parent = c
622
	coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
623
		
624
		wait(0.25)
625
		for i = 1, 5 do
626
			wait()
627
			BodyPosition.position = Part.Position - vt(0, 0.5, 0)
628
		end
629
		wait(1.25)
630
		for i = 1, 5 do
631
			wait()
632
			TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
633
			TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
634
			BodyPosition.position = Part.Position + vt(0, 0.5, 0)
635
		end
636
		Part.Parent = nil
637
	end
638
), c, f, tl)
639
end
640
641
	IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
642
	
643
	-- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
644
645
	-- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
646
647
	if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
648
		Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
649
		if ShowTheStat == true then
650
			if Stat == "Defense" then
651
				DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
652
			else
653
				if Stat == "Damage" then
654
					DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
655
				else
656
					if Stat == "Movement" then
657
						DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
658
					end
659
				end
660
			end
661
		end
662
		coroutine.resume(coroutine.create(function(CurrentDecrease)
663
		
664
		wait(Duration)
665
		CurrentDecrease.Value = CurrentDecrease.Value - Amount
666
	end
667
), Location.Stats[Stat])
668
	end
669
	DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
670
end
671
672
	DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
673
	
674
	-- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
675
676
	-- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
677
678
	if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
679
		Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
680
		if ShowTheStat == true then
681
			if Stat == "Defense" then
682
				DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
683
			else
684
				if Stat == "Damage" then
685
					DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
686
				else
687
					if Stat == "Movement" then
688
						DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
689
					end
690
				end
691
			end
692
		end
693
		coroutine.resume(coroutine.create(function(CurrentDecrease)
694
		
695
		wait(Duration)
696
		CurrentDecrease.Value = CurrentDecrease.Value + Amount
697
	end
698
), Location.Stats[Stat])
699
	end
700
	DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
701
end
702
703
	Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
704
	
705
	if hit.Parent == nil then
706
		return 
707
	end
708
	h = hit.Parent:FindFirstChild("Humanoid")
709
	for _,v in pairs(hit.Parent:GetChildren()) do
710
		if v:IsA("Humanoid") then
711
			h = v
712
		end
713
	end
714
	if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
715
		StaggerHitAnim.Value = true
716
		so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
717
		return 
718
	end
719
	if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
720
		h = hit.Parent.Parent:FindFirstChild("Humanoid")
721
	end
722
	if hit.Parent.className == "Hat" then
723
		hit = hit.Parent.Parent:FindFirstChild("Head")
724
	end
725
	if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
726
		if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
727
			return 
728
		end
729
		if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
730
			return 
731
		end
732
		if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
733
			return 
734
		end
735
		if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
736
			hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
737
		end
738
		if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
739
			hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
740
		end
741
		if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
742
			if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
743
				DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
744
				local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
745
				BlockDebounce.Name = "BlockDebounce"
746
				BlockDebounce.Value = true
747
				game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
748
			end
749
			do
750
				if ranged ~= true then
751
					do
752
						if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
753
							local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
754
							BlockDebounce2.Name = "BlockDebounce2"
755
							BlockDebounce2.Value = true
756
							game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
757
							so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
758
						end
759
						hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
760
						StaggerAnim.Value = true
761
						do return  end
762
						if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
763
							if DecreaseTheStat == "Defense" then
764
								DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
765
							else
766
								if DecreaseTheStat == "Damage" then
767
									DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
768
								else
769
									if DecreaseTheStat == "Movement" then
770
										DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
771
									end
772
								end
773
							end
774
						end
775
						local D = math.random(minim, maxim) * Damage.Value
776
						if hit.Parent:FindFirstChild("Stats") ~= nil then
777
							if hit.Parent.Stats:FindFirstChild("Defense") then
778
								if CanPenetrateArmor.Value == true then
779
									D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
780
									-- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
781
782
									if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
783
										CritChanceNumber = math.random(1, CritChance.Value)
784
										if CritChanceNumber == CritChance.Value then
785
											D = D * 2
786
										end
787
									end
788
									D = math.floor(D)
789
									h.Health = h.Health - D
790
									if D <= 3 and staggerhit == true then
791
										if ranged ~= true then
792
											StaggerHitAnim.Value = true
793
										end
794
										if ranged ~= true then
795
											so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
796
										end
797
									else
798
										if D > 3 and ranged ~= true then
799
											so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
800
										end
801
									end
802
									if D > 3 and D < 20 then
803
										if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
804
											DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
805
											so("296102734", hit, 1, 1)
806
										else
807
											DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
808
										end
809
									else
810
										if D >= 20 then
811
											if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
812
												DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
813
												so("296102734", hit, 1, 1)
814
											else
815
												DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
816
											end
817
										else
818
											if D <= 3 then
819
												if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
820
													DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
821
													so("296102734", hit, 1, 1)
822
												else
823
													DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
824
												end
825
											end
826
										end
827
									end
828
									do
829
										if Type == "Normal" then
830
											local vp = Instance.new("BodyVelocity")
831
											vp.P = 500
832
											vp.maxForce = vt(math.huge, 0, math.huge)
833
											if KnockbackType == 1 then
834
												vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
835
											else
836
												if KnockbackType == 2 then
837
													vp.Velocity = Property.CFrame.lookVector * knockback
838
												end
839
											end
840
											if knockback > 0 then
841
												vp.Parent = hit.Parent.Torso
842
											end
843
											game:GetService("Debris"):AddItem(vp, 0.5)
844
										end
845
										local DebounceHit = Instance.new("BoolValue", hit.Parent)
846
										DebounceHit.Name = "DebounceHit"
847
										DebounceHit.Value = true
848
										game:GetService("Debris"):AddItem(DebounceHit, Delay)
849
									end
850
								end
851
							end
852
						end
853
					end
854
				end
855
			end
856
		end
857
	end
858
end
859
860
	MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
861
	
862
	for _,c in pairs(workspace:GetChildren()) do
863
		local hum = (c:FindFirstChild("Humanoid"))
864
		local head = nil
865
		if hum ~= nil then
866
			head = c:FindFirstChild("Torso")
867
			if head ~= nil then
868
				local targ = head.Position - Part.Position
869
				local mag = targ.magnitude
870
				if mag <= magni and c.Name ~= Player.Name then
871
					Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
872
				end
873
			end
874
			do
875
				for _,d in pairs(c:GetChildren()) do
876
					if d.ClassName == "Model" and ranged ~= true then
877
						head = d:FindFirstChild("Hitbox")
878
						if head ~= nil then
879
							local targ = head.Position - Part.Position
880
							local mag = targ.magnitude
881
							if mag <= magni and c.Name ~= Player.Name then
882
								local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
883
								hitrefpart.Anchored = true
884
								hitrefpart.CFrame = cf(head.Position)
885
								so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
886
								StaggerHitAnim.Value = true
887
							end
888
						end
889
					end
890
				end
891
				do
892
					-- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
893
894
					-- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
895
896
					-- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
897
898
				end
899
			end
900
		end
901
	end
902
end
903
904
	MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
905
	
906
	if Player.Neutral == true then
907
		if Type == "Buff" then
908
			IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
909
		else
910
			if Type == "Debuff" then
911
				DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
912
			end
913
		end
914
	end
915
	for _,c in pairs(workspace:GetChildren()) do
916
		local hum = (c:FindFirstChild("Humanoid"))
917
		local head = nil
918
		if hum ~= nil then
919
			head = c:FindFirstChild("Torso")
920
			if head ~= nil then
921
				local targ = head.Position - Part.Position
922
				local mag = targ.magnitude
923
				-- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
924
925
				if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
926
					if Type == "Buff" then
927
						IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
928
					else
929
						if Type == "Debuff" then
930
							DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
931
						end
932
					end
933
				end
934
			end
935
		end
936
		if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
937
			if Type == "Buff" then
938
				IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
939
			else
940
				if Type == "Debuff" then
941
					DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
942
				end
943
			end
944
		end
945
	end
946
end
947
948
	Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
949
	
950
	local magz = p0 - p1.magnitude
951
	local curpos = p0
952
	local trz = {-ofs, ofs}
953
	for i = 1, tym do
954
		local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
955
		do
956
			li.Anchored = true
957
			local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
958
			local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
959
			if tym == i then
960
				local magz2 = curpos - p1.magnitude
961
				li.Size = vt(th, th, magz2)
962
				li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
963
			else
964
				do
965
					do
966
						li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
967
						curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
968
						game.Debris:AddItem(li, last)
969
						coroutine.resume(coroutine.create(function()
970
		
971
		while li.Transparency ~= 1 do
972
			for i = 0, 1, last do
973
				hbwait()
974
				li.Transparency = li.Transparency + 0.1 / last
975
			end
976
		end
977
	end
978
))
979
					end
980
					-- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
981
982
					-- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
983
984
					-- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
985
986
				end
987
			end
988
		end
989
	end
990
end
991
992
	MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
993
	
994
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
995
	prt.Anchored = true
996
	prt.CFrame = cframe
997
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
998
	game:GetService("Debris"):AddItem(prt, 10)
999
	coroutine.resume(coroutine.create(function(Part, Mesh)
1000
		
1001
		for i = 0, 1, delay do
1002
			hbwait()
1003
			Part.CFrame = Part.CFrame
1004
			Part.Transparency = i
1005
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1006
		end
1007
		Part.Parent = nil
1008
	end
1009
), prt, msh)
1010
end
1011
1012
	MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1013
	
1014
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1015
	prt.Anchored = true
1016
	prt.CFrame = cframe
1017
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
1018
	game:GetService("Debris"):AddItem(prt, 10)
1019
	coroutine.resume(coroutine.create(function(Part, Mesh)
1020
		
1021
		for i = 0, 1, delay do
1022
			hbwait()
1023
			Part.CFrame = Part.CFrame
1024
			Part.Transparency = i
1025
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1026
		end
1027
		Part.Parent = nil
1028
	end
1029
), prt, msh)
1030
end
1031
1032
	MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
1033
	
1034
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1035
	prt.Anchored = true
1036
	prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1037
	local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1038
	game:GetService("Debris"):AddItem(prt, 10)
1039
	coroutine.resume(coroutine.create(function(Part, Mesh)
1040
		
1041
		for i = 0, 1, delay do
1042
			hbwait()
1043
			if rotate == true then
1044
				Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1045
			end
1046
			Part.Transparency = i
1047
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1048
		end
1049
		Part.Parent = nil
1050
	end
1051
), prt, msh)
1052
end
1053
1054
	MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
1055
	
1056
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1057
	prt.Anchored = true
1058
	prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1059
	local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1060
	game:GetService("Debris"):AddItem(prt, 10)
1061
	CF = prt.CFrame
1062
	num = math.random(5, 20)
1063
	coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
1064
		
1065
		for i = 0, 1, delay do
1066
			hbwait()
1067
			if rotate == true then
1068
				Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1069
			else
1070
				Part.CFrame = CF2 * cf(0, i * Num, 0)
1071
			end
1072
			Part.Transparency = i
1073
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1074
		end
1075
		Part.Parent = nil
1076
	end
1077
), prt, msh, CF, num)
1078
end
1079
1080
	MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1081
	
1082
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1083
	prt.Anchored = true
1084
	prt.CFrame = cframe
1085
	local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
1086
	game:GetService("Debris"):AddItem(prt, 10)
1087
	coroutine.resume(coroutine.create(function(Part, Mesh)
1088
		
1089
		for i = 0, 1, delay do
1090
			hbwait()
1091
			Part.Transparency = i
1092
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1093
		end
1094
		Part.Parent = nil
1095
	end
1096
), prt, msh)
1097
end
1098
1099
	MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1100
	
1101
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1102
	prt.Anchored = true
1103
	prt.CFrame = cframe
1104
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1105
	game:GetService("Debris"):AddItem(prt, 10)
1106
	coroutine.resume(coroutine.create(function(Part, Mesh)
1107
		
1108
		for i = 0, 1, delay do
1109
			hbwait()
1110
			Part.Transparency = i
1111
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1112
		end
1113
		Part.Parent = nil
1114
	end
1115
), prt, msh)
1116
end
1117
1118
	MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1119
	
1120
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1121
	prt.Anchored = true
1122
	prt.CFrame = cframe
1123
	local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
1124
	game:GetService("Debris"):AddItem(prt, 10)
1125
	coroutine.resume(coroutine.create(function(Part, Mesh)
1126
		
1127
		for i = 0, 1, delay do
1128
			hbwait()
1129
			Part.Transparency = i
1130
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1131
		end
1132
		Part.Parent = nil
1133
	end
1134
), prt, msh)
1135
end
1136
1137
	BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
1138
	
1139
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1140
	prt.Anchored = true
1141
	prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1142
	local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
1143
	game:GetService("Debris"):AddItem(prt, 10)
1144
	coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
1145
		
1146
		CF = Part.CFrame
1147
		Numbb = 0
1148
		randnumb = math.random() - math.random()
1149
		for i = 0, 1, delay do
1150
			hbwait()
1151
			CF = CF * cf(0, 1, 0)
1152
			if rotate == true then
1153
				Part.CFrame = CF * angles(Numbb, 0, 0)
1154
			else
1155
				if rotate == false then
1156
					Part.CFrame = CF
1157
				end
1158
			end
1159
			Part.Transparency = i
1160
			Numbb = Numbb + (randnumb)
1161
		end
1162
		Part.Parent = nil
1163
	end
1164
), prt, CF, Numbb, randnumb)
1165
end
1166
1167
	ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
1168
	
1169
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1170
	prt.Anchored = true
1171
	prt.CFrame = cf
1172
	xval = math.random()
1173
	yval = math.random()
1174
	zval = math.random()
1175
	local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
1176
	game:GetService("Debris"):AddItem(prt, 10)
1177
	coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
1178
		
1179
		for i = 0, 1, delay do
1180
			hbwait()
1181
			Part.CFrame = Part.CFrame
1182
			xvaal = xvaal - 0.1 * (delay * 10)
1183
			yvaal = yvaal - 0.1 * (delay * 10)
1184
			zvaal = zvaal - 0.1 * (delay * 10)
1185
			Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
1186
			Part.Transparency = i
1187
		end
1188
		Part.Parent = nil
1189
	end
1190
), prt, msh, xval, yval, zval)
1191
end
1192
1193
	TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
1194
	
1195
	local magnitudecframe = currentcf.p - oldcf.p.magnitude
1196
	if magnitudecframe > 0.01 then
1197
		local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
1198
		prt.Anchored = true
1199
		prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
1200
		local TheMeshType = "BlockMesh"
1201
		if meshtype == "Cylinder" then
1202
			TheMeshType = "CylinderMesh"
1203
		end
1204
		local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
1205
		game:GetService("Debris"):AddItem(prt, 10)
1206
		coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
1207
		
1208
		for i = 0, 1, delay do
1209
			hbwait()
1210
			Part.Transparency = i
1211
			Mesh.Scale = Mesh.Scale + vt(x, y, z)
1212
		end
1213
		Part.Parent = nil
1214
	end
1215
), prt, msh, currentcf, oldcf)
1216
	end
1217
end
1218
1219
	ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
1220
	
1221
	local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
1222
	prt.Anchored = true
1223
	prt.CFrame = cframe
1224
	local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
1225
	game:GetService("Debris"):AddItem(prt, 10)
1226
	local TheLastPoint = cframe
1227
	coroutine.resume(coroutine.create(function(Part)
1228
		
1229
		for i = 1, duration do
1230
			hbwait()
1231
			Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
1232
			TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
1233
			TheLastPoint = Part.CFrame
1234
		end
1235
		Part.Parent = nil
1236
	end
1237
), prt)
1238
end
1239
1240
	MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1241
	
1242
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1243
	prt.Anchored = true
1244
	prt.CFrame = cframe
1245
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
1246
	game:GetService("Debris"):AddItem(prt, 10)
1247
	coroutine.resume(coroutine.create(function(Part, Mesh)
1248
		
1249
		for i = 0, 1, delay do
1250
			hbwait()
1251
			Part.Transparency = i
1252
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1253
		end
1254
		Part.Parent = nil
1255
	end
1256
), prt, msh)
1257
end
1258
1259
	MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1260
	
1261
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1262
	prt.Anchored = true
1263
	prt.CFrame = cframe
1264
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
1265
	game:GetService("Debris"):AddItem(prt, 10)
1266
	coroutine.resume(coroutine.create(function(Part, Mesh)
1267
		
1268
		for i = 0, 1, delay do
1269
			hbwait()
1270
			Part.Transparency = i
1271
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1272
		end
1273
		Part.Parent = nil
1274
	end
1275
), prt, msh)
1276
end
1277
1278
	MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1279
	
1280
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1281
	prt.Anchored = true
1282
	prt.CFrame = cframe
1283
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
1284
	game:GetService("Debris"):AddItem(prt, 10)
1285
	coroutine.resume(coroutine.create(function(Part, Mesh)
1286
		
1287
		for i = 0, 1, delay do
1288
			hbwait()
1289
			Part.Transparency = i
1290
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1291
		end
1292
		Part.Parent = nil
1293
	end
1294
), prt, msh)
1295
end
1296
1297
	MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1298
	
1299
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1300
	prt.Anchored = true
1301
	prt.CFrame = cframe
1302
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
1303
	game:GetService("Debris"):AddItem(prt, 10)
1304
	coroutine.resume(coroutine.create(function(Part, Mesh)
1305
		
1306
		for i = 0, 1, delay do
1307
			hbwait()
1308
			Part.Transparency = i
1309
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1310
		end
1311
		Part.Parent = nil
1312
	end
1313
), prt, msh)
1314
end
1315
1316
	MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
1317
	
1318
	local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
1319
	prt.Anchored = true
1320
	prt.CFrame = cframe
1321
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
1322
	game:GetService("Debris"):AddItem(prt, 10)
1323
	coroutine.resume(coroutine.create(function(Part, Mesh)
1324
		
1325
		for i = 0, 1, delay do
1326
			hbwait()
1327
			Part.Transparency = i
1328
			Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
1329
		end
1330
		Part.Parent = nil
1331
	end
1332
), prt, msh)
1333
end
1334
1335
	local startequipped = true
1336
	local startequippedwithequipanimation = false
1337
	local disableanimator = true
1338
	local disableanimate = true
1339
	local alternatewalk = false
1340
	local hidemenu = false
1341
	local allowmenutofunction = false
1342
	local allowabilitiestofunction = false
1343
	local canunequiporequip = false
1344
	local allowwalking = false
1345
	local disablemovingarms = false
1346
	local usemotorsinsteadofwelds = false
1347
	local leftarm = false
1348
	local rightarm = false
1349
	local allowhopperbin = false
1350
	local showstunbar = false
1351
	local walkspeeddependsonmovementvalue = true
1352
	local alternatemanaregensystem = false
1353
	local showhealthmanaandstunnumbers = false
1354
	local changebarcolorsifnotenoughmana = false
1355
	local disablejump = false
1356
	if hidemenu == true or allowmenutofunction == false then
1357
		for _,v in pairs(scrn:GetChildren()) do
1358
			if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
1359
				v.Visible = false
1360
				v.BorderSizePixel = 0
1361
			end
1362
		end
1363
	end
1364
	do
1365
		Humanoid.Changed:connect(function(Jump)
1366
	
1367
	if Jump == "Jump" and disablejump == true then
1368
		Humanoid.Jump = false
1369
	end
1370
end
1371
)
1372
		if allowmenutofunction == true then
1373
			for _,v in pairs(scrn:GetChildren()) do
1374
				if v.ClassName == "Frame" then
1375
					for _,b in pairs(v:GetChildren()) do
1376
						if b.ClassName == "TextLabel" then
1377
							coroutine.resume(coroutine.create(function(TheTextLabel)
1378
	
1379
	wait(menuupdatespeed)
1380
	for i = 1, 0, -0.1 do
1381
		hbwait()
1382
		TheTextLabel.TextTransparency = i
1383
		TheTextLabel.TextStrokeTransparency = i
1384
	end
1385
	TheTextLabel.TextTransparency = 0
1386
	TheTextLabel.TextStrokeTransparency = 0
1387
end
1388
), b)
1389
							if showstats == true then
1390
								coroutine.resume(coroutine.create(function(TheTextLabel)
1391
	
1392
	wait(menuupdatespeed)
1393
	for i = 1, 0, -0.1 do
1394
		hbwait()
1395
		TheTextLabel.TextTransparency = i
1396
		TheTextLabel.TextStrokeTransparency = i
1397
	end
1398
	TheTextLabel.TextTransparency = 0
1399
	TheTextLabel.TextStrokeTransparency = 0
1400
end
1401
), b)
1402
							end
1403
							if showstunbar == true then
1404
								coroutine.resume(coroutine.create(function(TheTextLabel)
1405
	
1406
	wait(menuupdatespeed)
1407
	for i = 1, 0, -0.1 do
1408
		hbwait()
1409
		TheTextLabel.TextTransparency = i
1410
		TheTextLabel.TextStrokeTransparency = i
1411
	end
1412
	TheTextLabel.TextTransparency = 0
1413
	TheTextLabel.TextStrokeTransparency = 0
1414
end
1415
), b)
1416
							end
1417
							if allowabilitiestofunction == true then
1418
								coroutine.resume(coroutine.create(function(TheTextLabel)
1419
	
1420
	wait(menuupdatespeed)
1421
	for i = 1, 0, -0.1 do
1422
		hbwait()
1423
		TheTextLabel.TextTransparency = i
1424
		TheTextLabel.TextStrokeTransparency = i
1425
	end
1426
	TheTextLabel.TextTransparency = 0
1427
	TheTextLabel.TextStrokeTransparency = 0
1428
end
1429
), b)
1430
							end
1431
						end
1432
					end
1433
				end
1434
			end
1435
		end
1436
		do
1437
			if allowhopperbin == true then
1438
				if script.Parent.className ~= "HopperBin" then
1439
					Tool = Instance.new("HopperBin")
1440
					Tool.Parent = Backpack
1441
					Tool.Name = WeaponName
1442
					script.Parent = Tool
1443
				end
1444
				Bin = script.Parent
1445
			end
1446
			if disablemovingarms == true then
1447
				RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
1448
				LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
1449
				RSH = nil
1450
				if usemotorsinsteadofwelds == true then
1451
					RW = Instance.new("Motor")
1452
					LW = Instance.new("Motor")
1453
				else
1454
					RW = Instance.new("Weld")
1455
					LW = Instance.new("Weld")
1456
				end
1457
				RW.Name = "Right Shoulder"
1458
				LW.Name = "Left Shoulder"
1459
				RSH = Torso["Right Shoulder"]
1460
				LSH = Torso["Left Shoulder"]
1461
				RSH.Parent = Torso
1462
				LSH.Parent = Torso
1463
				RW.Name = "Right Shoulder"
1464
				RW.Part0 = Torso
1465
				RW.C0 = cf(1.5, 0.5, 0)
1466
				RW.C1 = cf(0, 0.5, 0)
1467
				RW.Part1 = Character["Right Arm"]
1468
				RW.Parent = nil
1469
				LW.Name = "Left Shoulder"
1470
				LW.Part0 = Torso
1471
				LW.C0 = cf(-1.5, 0.5, 0)
1472
				LW.C1 = cf(0, 0.5, 0)
1473
				LW.Part1 = Character["Left Arm"]
1474
				LW.Parent = nil
1475
			else
1476
				RW = Torso["Right Shoulder"]
1477
				LW = Torso["Left Shoulder"]
1478
				RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
1479
				LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
1480
			end
1481
			equipanim = function()
1482
	
1483
	attack = true
1484
	Movement.Value = Movement.Value - 0.1
1485
	Defense.Value = Defense.Value + 0.4
1486
	for i = 0, 1, 0.08 / animationspeed do
1487
		hbwait()
1488
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1489
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1490
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
1491
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
1492
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1493
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1494
	end
1495
	attack = false
1496
end
1497
1498
			unequipanim = function()
1499
	
1500
	attack = true
1501
	for i = 0, 1, 0.08 / animationspeed do
1502
		hbwait()
1503
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1504
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
1505
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
1506
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
1507
		if disablemovingarms == false then
1508
			RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
1509
			LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
1510
		end
1511
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1512
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1513
		RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
1514
		LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
1515
	end
1516
	RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
1517
	Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
1518
	Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
1519
	RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
1520
	LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
1521
	if disablemovingarms == false then
1522
		RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
1523
		LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
1524
	end
1525
	RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
1526
	LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
1527
	RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
1528
	LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
1529
	Movement.Value = Movement.Value + 0.1
1530
	Defense.Value = Defense.Value - 0.4
1531
	attack = false
1532
end
1533
1534
			if startequipped == true then
1535
				equipped = true
1536
				if disableanimate == true then
1537
					Animate.Disabled = true
1538
					local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
1539
					idleanimation:Play()
1540
				end
1541
					if disableanimator == true then
1542
						Animator.Parent = nil
1543
					end
1544
					if disablemovingarms == true then
1545
						RW.Parent = Torso
1546
						LW.Parent = Torso
1547
						RSH.Parent = nil
1548
						LSH.Parent = nil
1549
					end
1550
					Movement.Value = Movement.Value - 0.1
1551
					Defense.Value = Defense.Value + 0.4
1552
end
1553
					if startequippedwithequipanimation == true then
1554
						equipped = true
1555
						if disableanimate == true then
1556
							Animate.Disabled = true
1557
							local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
1558
							idleanimation:Play()
1559
						end
1560
							if disableanimator == true then
1561
								Animator.Parent = nil
1562
							end
1563
							if disablemovingarms == true then
1564
								RW.Parent = Torso
1565
								LW.Parent = Torso
1566
								RSH.Parent = nil
1567
								LSH.Parent = nil
1568
							end
1569
							coroutine.resume(coroutine.create(function()
1570
	
1571
	hbwait()
1572
	equipanim()
1573
end
1574
))
1575
end
1576
1577
							StaggerHit = function()
1578
	
1579
	attack = true
1580
	if Hitbox ~= nil then
1581
		for i = 1, math.random(2, 4) do
1582
			ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
1583
		end
1584
	end
1585
	do
1586
		for i = 0, 1, 0.1 / animationspeed do
1587
			hbwait()
1588
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
1589
			Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
1590
			RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
1591
			LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
1592
			RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
1593
			LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
1594
			if StaggerAnim.Value ~= true then
1595
				do
1596
					if StunAnim.Value == true then
1597
						break
1598
					end
1599
					-- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
1600
1601
					-- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
1602
1603
				end
1604
			end
1605
		end
1606
		attack = false
1607
	end
1608
end
1609
1610
							Stagger = function()
1611
	
1612
	attack = true
1613
	disablejump = true
1614
	if Hitbox ~= nil then
1615
		for i = 1, math.random(2, 4) do
1616
			ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
1617
		end
1618
	end
1619
	do
1620
		attacktype = 1
1621
		DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
1622
		local staggervelocity = Instance.new("BodyVelocity", Torso)
1623
		staggervelocity.P = 500
1624
		staggervelocity.maxForce = vt(math.huge, 0, math.huge)
1625
		if Rooted.Value == false then
1626
			staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
1627
		end
1628
		for i = 0, 1, 0.35 / animationspeed do
1629
			hbwait()
1630
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
1631
			Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1632
			RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
1633
			LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
1634
			RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
1635
			LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
1636
		end
1637
		for i = 0, 1, 0.2 / animationspeed do
1638
			hbwait()
1639
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
1640
			Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1641
			RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
1642
			LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
1643
			RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
1644
			LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
1645
		end
1646
		staggervelocity:Destroy()
1647
		for i = 0, 1, 0.015 / animationspeed do
1648
			hbwait()
1649
			RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
1650
			Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
1651
			RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
1652
			LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
1653
			RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
1654
			LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
1655
			if StunAnim.Value == true then
1656
				break
1657
			end
1658
		end
1659
		do
1660
			attacktype = 1
1661
			disablejump = false
1662
			attack = false
1663
		end
1664
	end
1665
end
1666
1667
							Stun = function()
1668
	
1669
	attack = true
1670
	disablejump = true
1671
	attacktype = 1
1672
	DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
1673
	for i = 0, 1, 0.4 / animationspeed do
1674
		hbwait()
1675
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
1676
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1677
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
1678
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
1679
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
1680
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
1681
	end
1682
	for i = 0, 1, 0.4 / animationspeed do
1683
		hbwait()
1684
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
1685
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1686
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
1687
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
1688
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
1689
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
1690
	end
1691
	for i = 0, 1, 0.4 / animationspeed do
1692
		hbwait()
1693
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
1694
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1695
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
1696
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
1697
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
1698
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
1699
	end
1700
	Humanoid.AutoRotate = false
1701
	for i = 1, 70 * animationspeed do
1702
		hbwait()
1703
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
1704
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1705
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
1706
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
1707
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
1708
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
1709
	end
1710
	for i = 0, 1, 0.15 / animationspeed do
1711
		hbwait()
1712
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
1713
		Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
1714
		RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
1715
		LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
1716
		RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
1717
		LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
1718
	end
1719
	Humanoid.AutoRotate = true
1720
	attacktype = 1
1721
	disablejump = false
1722
	attack = false
1723
end
1724
1725
							EAbility = function()
1726
	
1727
	attack = true
1728
	attack = false
1729
end
1730
1731
							Attack1 = function()
1732
	
1733
	attack = true
1734
	attack = false
1735
end
1736
1737
							Attack2 = function()
1738
	
1739
	attack = true
1740
	attack = false
1741
end
1742
1743
							Attack3 = function()
1744
	
1745
	attack = true
1746
	attack = false
1747
end
1748
1749
							Attack4 = function()
1750
	
1751
	attack = true
1752
	attack = false
1753
end
1754
1755
							Move1 = function()
1756
	
1757
	attack = true
1758
	attack = false
1759
end
1760
1761
							Move2 = function()
1762
	
1763
	attack = true
1764
	attack = false
1765
end
1766
1767
							Move3 = function()
1768
	
1769
	attack = true
1770
	attack = false
1771
end
1772
1773
							Move4 = function()
1774
	
1775
	attack = true
1776
	attack = false
1777
end
1778
1779
							hold = false
1780
							Mouse.Button1Down:connect(function()
1781
	
1782
	if attack == true or equipped == false then
1783
		return 
1784
	end
1785
	hold = true
1786
	if attacktype == 1 then
1787
		attacktype = 2
1788
		Attack1()
1789
	else
1790
		if attacktype == 2 then
1791
			attacktype = 3
1792
			Attack2()
1793
		else
1794
			if attacktype == 3 then
1795
				attacktype = 4
1796
				Attack3()
1797
			else
1798
				if attacktype == 4 then
1799
					attacktype = 1
1800
					Attack4()
1801
				end
1802
			end
1803
		end
1804
	end
1805
	coroutine.resume(coroutine.create(function()
1806
		
1807
		for i = 1, 50 do
1808
			if attack == false then
1809
				hbwait()
1810
			end
1811
		end
1812
		if attack == false then
1813
			attacktype = 1
1814
		end
1815
	end
1816
))
1817
end
1818
)
1819
							if allowhopperbin == true then
1820
								ob1u = function(Mouse)
1821
	
1822
	hold = false
1823
end
1824
1825
							end
1826
							Mouse.KeyDown:connect(function(key)
1827
	
1828
	if key == "f" and canunequiporequip == true and attack == false then
1829
		if equipped == false then
1830
			equipped = true
1831
			if disableanimate == true then
1832
				Animate.Disabled = true
1833
				local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
1834
				idleanimation:Play()
1835
			end
1836
				if disableanimator == true then
1837
					Animator.Parent = nil
1838
				end
1839
				if disablemovingarms == true then
1840
					RW.Parent = Torso
1841
					LW.Parent = Torso
1842
					RSH.Parent = nil
1843
					LSH.Parent = nil
1844
				end
1845
				equipanim()
1846
				elseif equipped == true then
1847
					equipped = false
1848
					unequipanim()
1849
					hbwait()
1850
					if disablemovingarms == true then
1851
						RW.Parent = nil
1852
						LW.Parent = nil
1853
						RSH.Parent = Torso
1854
						LSH.Parent = Torso
1855
					end
1856
					if disableanimator == true then
1857
						Animator.Parent = Humanoid
1858
					end
1859
					if disableanimate == true then
1860
						Animate.Disabled = false
1861
					end
1862
				end
1863
end
1864
				if key == "e" and attack == false and equipped == true then
1865
					if animtype < 3 then
1866
						animtype = animtype + 1
1867
					elseif animtype >= 3 then
1868
						animtype = 1
1869
					end
1870
				end
1871
				if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
1872
					subtractmana(skill1mana)
1873
					cooldown1 = 0
1874
					Move1()
1875
				end
1876
				if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
1877
					subtractmana(skill2mana)
1878
					cooldown2 = 0
1879
					Move2()
1880
				end
1881
				if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
1882
					subtractmana(skill3mana)
1883
					cooldown3 = 0
1884
					Move3()
1885
				end
1886
				if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
1887
					subtractmana(skill4mana)
1888
					cooldown4 = 0
1889
					Move4()
1890
				end
1891
				if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
1892
					if key == "q" then
1893
						Mana.Value = 100
1894
						cooldown1 = co1
1895
						cooldown2 = co2
1896
						cooldown3 = co3
1897
						cooldown4 = co4
1898
					end
1899
					if key == "p" then
1900
						StaggerHitAnim.Value = true
1901
					end
1902
					if key == "[" then
1903
						StaggerAnim.Value = true
1904
					end
1905
					if key == "]" then
1906
						StunAnim.Value = true
1907
					end
1908
end
1909
				end
1910
)
1911
							Mouse.KeyUp:connect(function(key2)
1912
	
1913
end
1914
)
1915
							if allowhopperbin == true then
1916
								s = function(Mouse)
1917
	
1918
	Mouse.Button1Down:connect(function()
1919
		
1920
		ob1d(Mouse)
1921
	end
1922
)
1923
	Mouse.Button1Up:connect(function()
1924
		
1925
		ob1u(Mouse)
1926
	end
1927
)
1928
	Mouse.KeyDown:connect(key)
1929
	Mouse.KeyUp:connect(key2)
1930
end
1931
1932
							end
1933
							if allowhopperbin == true then
1934
								ds = function(Mouse)
1935
	
1936
end
1937
1938
							end
1939
							if allowhopperbin == true then
1940
								Bin.Selected:connect(s)
1941
								Bin.Deselected:connect(ds)
1942
							end
1943
							updateskills = function()
1944
	
1945
	if allowabilitiestofunction == true then
1946
		if cooldown1 <= co1 then
1947
			cooldown1 = cooldown1 + 0.033333333333333
1948
			if co1 <= cooldown1 then
1949
				cooldown1 = co1
1950
			end
1951
		end
1952
		if cooldown2 <= co2 then
1953
			cooldown2 = cooldown2 + 0.033333333333333
1954
			if co2 <= cooldown2 then
1955
				cooldown2 = co2
1956
			end
1957
		end
1958
		if cooldown3 <= co3 then
1959
			cooldown3 = cooldown3 + 0.033333333333333
1960
			if co3 <= cooldown3 then
1961
				cooldown3 = co3
1962
			end
1963
		end
1964
		if cooldown4 <= co4 then
1965
			cooldown4 = cooldown4 + 0.033333333333333
1966
			if co4 <= cooldown4 then
1967
				cooldown4 = co4
1968
			end
1969
		end
1970
		if changebarcolorsifnotenoughmana == true then
1971
			if Mana.Value <= skill1mana then
1972
				bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
1973
			else
1974
				bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1975
			end
1976
			if Mana.Value <= skill2mana then
1977
				bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
1978
			else
1979
				bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1980
			end
1981
			if Mana.Value <= skill3mana then
1982
				bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
1983
			else
1984
				bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1985
			end
1986
			if Mana.Value <= skill4mana then
1987
				bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
1988
			else
1989
				bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1990
			end
1991
		else
1992
			if changebarcolorsifnotenoughmana == false then
1993
				bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1994
				bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1995
				bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1996
				bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
1997
			end
1998
		end
1999
	end
2000
	if alternatemanaregensystem == false then
2001
		if Mana.Value <= maxmana then
2002
			Mana.Value = Mana.Value + recovermana / 30
2003
		else
2004
			if maxmana <= Mana.Value then
2005
				Mana.Value = maxmana
2006
			end
2007
		end
2008
	else
2009
		if alternatemanaregensystem == true then
2010
			if maxmana <= Mana.Value then
2011
				Mana.Value = maxmana
2012
			else
2013
				if manadelay <= manawait then
2014
					manadelay = manadelay + 1
2015
				else
2016
					manadelay = 0
2017
					Mana.Value = Mana.Value + 1
2018
				end
2019
			end
2020
		end
2021
	end
2022
	if allowstunbar == true then
2023
		if StunValue.Value <= 0 then
2024
			StunValue.Value = 0
2025
		else
2026
			if stundelay <= stunwait then
2027
				stundelay = stundelay + 1
2028
			else
2029
				stundelay = 0
2030
				StunValue.Value = StunValue.Value - 1
2031
			end
2032
		end
2033
	else
2034
		if allowstunbar == false then
2035
			StunValue.Value = 0
2036
		end
2037
	end
2038
end
2039
2040
							if allowmenutofunction == true then
2041
								ArtificialHB.Event:connect(function()
2042
	
2043
	updateskills()
2044
	if allowabilitiestofunction == true then
2045
		framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2046
		framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2047
		framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2048
		framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2049
		bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2050
		bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2051
		bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2052
		bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2053
	end
2054
	manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2055
	manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2056
	healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2057
	healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2058
	if allowstunbar == true and showstunbar == true and stunframe ~= nil then
2059
		stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2060
		stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2061
	end
2062
	if showhealthmanaandstunnumbers == true then
2063
		manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
2064
		healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
2065
		if allowstunbar == true and showstunbar == true then
2066
			stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
2067
		end
2068
	end
2069
	if showstats == true then
2070
		defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2071
		damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2072
		movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
2073
		defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
2074
		damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
2075
		if Rooted.Value == false then
2076
			movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
2077
		else
2078
			if Rooted.Value == true or Movement.Value <= 0 then
2079
				movementtext.Text = "Movement: 0%"
2080
			end
2081
		end
2082
	end
2083
end
2084
)
2085
							end
2086
							while 1 do
2087
										hbwait()
2088
										if Hitbox ~= nil then
2089
											if attack == true then
2090
												Hitbox.Name = "Hitbox"
2091
											else
2092
												if attack == false then
2093
													Hitbox.Name = "NilHitbox"
2094
												end
2095
											end
2096
										end
2097
										if 0 < Humanoid.Health then
2098
											if walkspeeddependsonmovementvalue == true then
2099
												if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
2100
													Humanoid.WalkSpeed = 0
2101
												else
2102
													Humanoid.WalkSpeed = 16 * Movement.Value
2103
												end
2104
											end
2105
											if maxstun <= StunValue.Value then
2106
												StunValue.Value = 0
2107
												StunAnim.Value = true
2108
											end
2109
											if StaggerAnim.Value == true and staggeranim == false then
2110
												coroutine.resume(coroutine.create(function()
2111
	
2112
	staggeranim = true
2113
	while attack == true do
2114
		hbwait()
2115
	end
2116
	Stagger()
2117
	StaggerAnim.Value = false
2118
	staggeranim = false
2119
end
2120
))
2121
											end
2122
											if StaggerHitAnim.Value == true and staggerhitanim == false then
2123
												coroutine.resume(coroutine.create(function()
2124
	
2125
	staggerhitanim = true
2126
	while attack == true do
2127
		hbwait()
2128
	end
2129
	StaggerHit()
2130
	StaggerHitAnim.Value = false
2131
	staggerhitanim = false
2132
end
2133
))
2134
											end
2135
											if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
2136
												coroutine.resume(coroutine.create(function()
2137
	
2138
	StunValue.Value = 0
2139
	stunanim = true
2140
	while attack == true do
2141
		hbwait()
2142
	end
2143
	Stun()
2144
	StunAnim.Value = false
2145
	stunanim = false
2146
end
2147
))
2148
											end
2149
											sine = sine + change
2150
											local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
2151
											local velderp = RootPart.Velocity.y
2152
											local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
2153
											hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
2154
											if 0.5 <= donum then
2155
												handidle = true
2156
											else
2157
												if donum <= 0 then
2158
													handidle = false
2159
												end
2160
											end
2161
											if handidle == false then
2162
												donum = donum + 0.003 / animationspeed
2163
											else
2164
												donum = donum - 0.003 / animationspeed
2165
											end
2166
											if equipped == true or equipped == false then
2167
												if attack == false then
2168
													idle = idle + 1
2169
												else
2170
													idle = 0
2171
												end
2172
												if leftarm == true then
2173
													if Anim == "Walk" and equipped == true and attack == false then
2174
														if alternatewalk == false then
2175
															if walkinganim == true then
2176
																LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2177
															else
2178
																LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2179
															end
2180
														else
2181
															if walkinganim == true then
2182
																LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2183
															else
2184
																LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2185
															end
2186
														end
2187
													else
2188
														-- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
2189
2190
														if (Anim ~= "Walk" and equipped == true) or leftarm == false then
2191
															LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
2192
														end
2193
													end
2194
												end
2195
												if rightarm == true then
2196
													if Anim == "Walk" and equipped == true and attack == false then
2197
														if alternatewalk == false then
2198
															if walkinganim == true then
2199
																RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2200
															else
2201
																RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2202
															end
2203
														else
2204
															if walkinganim == true then
2205
																RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2206
															else
2207
																RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2208
															end
2209
														end
2210
													else
2211
														-- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
2212
2213
														if (Anim ~= "Walk" and equipped == true) or rightarm == false then
2214
															RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
2215
														end
2216
													end
2217
												end
2218
												if allowwalking == true then
2219
													if Anim == "Walk" and equipped == true then
2220
														if alternatewalk == false then
2221
															if walkinganim == true then
2222
																RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2223
																LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2224
															else
2225
																RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2226
																LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2227
															end
2228
														else
2229
															if walkinganim == true then
2230
																RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2231
																LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2232
															else
2233
																RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2234
																LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
2235
															end
2236
														end
2237
													else
2238
														if Anim ~= "Walk" and equipped == true then
2239
															RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
2240
															LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
2241
														end
2242
													end
2243
												end
2244
												Anim = "Idle"
2245
												if attack == false then
2246
													if equipped == true then
2247
														if animtype == 1 then
2248
															RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
2249
															Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
2250
															RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
2251
															LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
2252
															RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2253
															LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2254
														end
2255
									if animtype == 2 then
2256
										RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
2257
										Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
2258
										RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
2259
										LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
2260
										RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2261
										LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2262
									end
2263
								end
2264
								if animtype == 3 then
2265
									RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
2266
									Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
2267
									RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
2268
									LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
2269
									RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2270
									LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2271
								end
2272
							end
2273
						end
2274
					end
2275
				end
2276
			end
2277
		end