View difference between Paste ID: A3KyAtmc and 8L0P24iB
SHOW: | | - or go back to the newest paste.
1
local ArtificialHB = Instance.new("BindableEvent", script)
2
ArtificialHB.Name = "Heartbeat"
3
script:WaitForChild("Heartbeat")
4
script.Name = "Chaos"
5
local Player = game.Players.LocalPlayer
6
repeat
7
	wait()
8
until Player
9
local Character = Player.Character
10
repeat
11
	wait()
12
until Character
13
local C_Fold = Instance.new("Folder", Player.PlayerScripts)
14
C_Fold.Name = "Chaos Folder"
15
script.Parent = C_Fold
16
--[[if script.ClassName == "LocalScript" or script.ClassName == "Script" then
17
	if game.CreatorId == 17957470 then
18
		script.Parent = C_Fold
19
	else
20
		local Environment = getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call)
21
		local oxbox = getfenv()
22
		setfenv(1, setmetatable({}, {__index = Environment}))
23
		oxbox.script:Destroy()
24
	end
25
end
26
	if script ~= true then
27
		print("Escaped Sandbox")
28
	else
29
		warn("Failed sandbox escape")
30
	end]]
31
	local Mouse = Player:GetMouse()
32
	local LeftArm = Character:WaitForChild("Left Arm")
33
	local RightArm = Character:WaitForChild("Right Arm")
34
	local LeftLeg = Character:WaitForChild("Left Leg")
35
	local RightLeg = Character:WaitForChild("Right Leg")
36
	local Head = Character:WaitForChild("Head")
37
	local Torso = Character:WaitForChild("Torso")
38
	local RootPart = Character:WaitForChild("HumanoidRootPart")
39
	local Humanoid = Character:WaitForChild("Humanoid")
40
	local LeftShoulder = Torso:WaitForChild("Left Shoulder")
41
	local RightShoulder = Torso:WaitForChild("Right Shoulder")
42
	local LeftHip = Torso:WaitForChild("Left Hip")
43
	local RightHip = Torso:WaitForChild("Right Hip")
44
	local Neck = Torso:WaitForChild("Neck")
45
	local RootJoint = RootPart:WaitForChild("RootJoint")
46
	local Camera = workspace.CurrentCamera
47
	local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
48
	FLeftShoulder.Name = "LS"
49
	FRightShoulder.Name = "RS"
50
	local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
51
	FLeftHip.Name = "LH"
52
	FRightHip.Name = "RH"
53
	local FRootJoint = Instance.new("Weld", RootPart)
54
	FRootJoint.Name = "RJ"
55
	local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder"), Instance.new("Folder")
56
	F1.Name = "Parts Folder"
57
	F2.Parent = F1
58
	F2.Name = "Effects"
59
	F3.Parent = F1
60
	F3.Name = "Extra Parts"
61
	local Drag_To_Part = Instance.new("Part", F3)
62
	Drag_To_Part.Transparency = 1
63
	Drag_To_Part.Name = "Drag-to-part"
64
	Drag_To_Part.Size = Vector3.new(0.2, 0.2, 0.2)
65
	Drag_To_Part.Anchored = false
66
	Drag_To_Part.CanCollide = false
67
	Drag_To_Part.Locked = true
68
	local DTPWeld = Instance.new("Weld", Drag_To_Part)
69
	DTPWeld.Part0 = RootPart
70
	DTPWeld.Part1 = Drag_To_Part
71
	local WepWeld, WepWeld2, WepWeld3, SheWeld = nil, nil, nil, nil
72
	local NLSC0 = LeftShoulder.C0
73
	local NLSC1 = LeftShoulder.C1
74
	local NRSC0 = RightShoulder.C0
75
	local NRSC1 = RightShoulder.C1
76
	local NLHC0 = LeftHip.C0
77
	local NLHC1 = LeftHip.C1
78
	local NRHC0 = RightHip.C0
79
	local NRHC1 = RightHip.C1
80
	local NNC0 = Neck.C0
81
	local NNC1 = Neck.C1
82
	local NRJC0 = RootJoint.C0
83
	local NRJC1 = RootJoint.C1
84
	local Handle, Hit_Box, Handle2, Hit_Box2, TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil, nil, nil, nil, nil
85
	local chatServ = game:GetService("Chat")
86
	local runServ = game:GetService("RunService")
87
	local debServ = game:GetService("Debris")
88
	local CurrentSpeed = 16
89
	local Current_Anim = "Idle"
90
	local Attack_Num = 1
91
	local Damage_Buff = 0
92
	local Max_Health = 400
93
	local Last_Health = Max_Health
94
	local idle = 1
95
	local idlenum = 1
96
	local idlenum2 = 1
97
	local walk = 1
98
	local walknum = 1
99
	local walknum2 = 1
100
	local Effects = {}
101
	local DragTable = {}
102
	local InputTable = {}
103
	local InputFrameTable = {}
104
	local TEBladeP = {}
105
	local TEBEffect, c1, c2 = nil, nil, nil
106
	local RGyro = Instance.new("BodyGyro")
107
	RGyro.MaxTorque = Vector3.new(0, 0, 0)
108
	RGyro.P = 2000
109
	local LLCF = CFrame.new()
110
	local SWP = Instance.new("BoolValue")
111
	local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
112
	local Z_Pressed = false
113
	local Debounces = {Equipped = false, Equipping = false, HasWep = false, DuelWielding = false, Attacking = false, Locked_On = false, Can_Double_Jump = false, AnimOverride = false, Guarding = false, Crouching = false, JumpAnim = false, DoubleJumpAnim = false, KeyStrokeEnabled = false, Successful_KeyStroke = false, KeyStroke_CoolDown = false, UIAction = false, ZeroGravity = false, DoubleJumping = false, Charging_Erupt = false, Guarding = false, Transformed = false, DisableJump = false, Dashing = false, Hovering = false, TEWield = false, TESWield = false, CanGuard = true, SpedUp = false, HurrSlash = false, Stompped = false}
114
	local rad = math.rad
115
	local huge = math.huge
116
	local rand = math.random
117
	local Vec = Vector3.new
118
	local Cf = CFrame.new
119
	local Euler = CFrame.fromEulerAnglesXYZ
120
	local BC = BrickColor.new
121
	local Col3 = Color3.new
122
	local Inst = Instance.new
123
	local Ud2 = UDim2.new
124
	local FONT = "SourceSansLight"
125
	local DecName = "MadeBy" .. Player.Name .. ""
126
	local GodMode = true
127
	local OP_HEALTH = runServ.RenderStepped:connect(function()
128
	
129
	if GodMode and RootJoint.Parent ~= nil then
130
		Humanoid.MaxHealth = huge
131
		Humanoid.Health = huge
132
		Humanoid.MaxHealth = huge
133
		Humanoid.Health = huge
134
		wait()
135
		Humanoid.MaxHealth = huge
136
		Humanoid.Health = huge
137
		Humanoid.MaxHealth = huge
138
		Humanoid.Health = huge
139
	end
140
end
141
)
142
	local Colour1 = BC("Bright red")
143
	local Colour2 = BC("Really black")
144
	local Colour3 = BC("Smoky grey")
145
	local Chaos_UI = Inst("ScreenGui", Player.PlayerGui)
146
	Chaos_UI.Name = "Chaos UI"
147
	local ColMain, KP, Moves, OM = Inst("Frame", Chaos_UI), Inst("Frame", Chaos_UI), Inst("ScrollingFrame", Chaos_UI), Inst("TextButton", Chaos_UI)
148
	ColMain.Name = "ColorUI"
149
	ColMain.Position = Ud2(0.85, 0, 0.5, 0)
150
	ColMain.Size = Ud2(0.15, 0, 0.5, 0)
151
	ColMain.Style = "DropShadow"
152
	local col1, Done = Inst("Frame", ColMain), Inst("TextButton", ColMain)
153
	local ccol1, cc1 = Inst("TextBox", col1), Inst("TextLabel", col1)
154
	col1.BackgroundTransparency = 1
155
	col1.Name = "Col1"
156
	col1.Size = Ud2(1, 0, 0.2, 0)
157
	ccol1.BackgroundTransparency = 1
158
	ccol1.Name = "Colour"
159
	ccol1.Position = Ud2(0.3, 0, 0, 0)
160
	ccol1.Size = Ud2(0.7, 0, 1, 0)
161
	ccol1.Font = FONT
162
	ccol1.Text = "Really red"
163
	ccol1.TextColor3 = Col3(1, 1, 1)
164
	ccol1.TextScaled = true
165
	cc1.BackgroundTransparency = 1
166
	cc1.Name = "Col"
167
	cc1.Size = Ud2(0.3, 0, 1, 0)
168
	cc1.Font = FONT
169
	cc1.Text = "Colour 1:"
170
	cc1.TextColor3 = Col3(1, 1, 1)
171
	cc1.TextScaled = true
172
	local col2 = col1:Clone()
173
	col2.Parent = ColMain
174
	col2.Name = "Col2"
175
	col2.Position = Ud2(0, 0, 0.3, 0)
176
	col2:WaitForChild("Colour").Text = "Really black"
177
	col2:WaitForChild("Col").Text = "Colour 2:"
178
	local col3 = col1:Clone()
179
	col3.Parent = ColMain
180
	col3.Name = "Col3"
181
	col3.Position = Ud2(0, 0, 0.6, 0)
182
	col3:WaitForChild("Colour").Text = "Fawn brown"
183
	col3:WaitForChild("Col").Text = "Colour 3:"
184
	Done.BackgroundColor3 = Col3(0, 1, 0)
185
	Done.BorderSizePixel = 0
186
	Done.Name = "Done"
187
	Done.Position = Ud2(0.08, 0, 0.8, 0)
188
	Done.Size = Ud2(0.85, 0, 0.15, 0)
189
	Done.Font = FONT
190
	Done.Text = "Done!"
191
	Done.TextColor3 = Col3(1, 1, 1)
192
	Done.TextScaled = true
193
	KP.Name = "KeysPressed"
194
	KP.Position = Ud2(0, 0, 0.9, 0)
195
	KP.Size = Ud2(0.25, 0, 0.1, 0)
196
	KP.Style = "DropShadow"
197
	local KPTemplate = Inst("TextLabel", KP)
198
	KPTemplate.BackgroundTransparency = 1
199
	KPTemplate.Name = "Template"
200
	KPTemplate.Size = Ud2(0.125, 0, 1, 0)
201
	KPTemplate.Font = FONT
202
	KPTemplate.Text = ">"
203
	KPTemplate.TextColor3 = Col3(1, 1, 1)
204
	KPTemplate.TextScaled = true
205
	Moves.BackgroundColor3 = Col3(0.28235294117647, 0.28235294117647, 0.28235294117647)
206
	Moves.BackgroundTransparency = 0.8
207
	Moves.BorderSizePixel = 0
208
	Moves.Name = "Moves"
209
	Moves.Position = Ud2(-0.2, 0, 0.4, 0)
210
	Moves.Size = Ud2(0.2, 0, 0.5, 0)
211
	Moves.ScrollBarThickness = 8
212
	OM.Name = "VML"
213
	OM.Position = Ud2(0.002, 0, 0.83, 0)
214
	OM.Size = Ud2(0.05, 0, 0.08, 0)
215
	OM.Visible = false
216
	OM.Style = "RobloxRoundButton"
217
	OM.Font = FONT
218
	OM.Text = "View Move List"
219
	OM.TextColor3 = Col3(1, 1, 1)
220
	OM.TextScaled = true
221
	local Title = Inst("TextLabel", Moves)
222
	Title.BackgroundTransparency = 1
223
	Title.Name = "Title"
224
	Title.Size = Ud2(1, 0, 0.014, 0)
225
	Title.Font = FONT
226
	Title.Text = "Move List"
227
	Title.TextColor3 = Col3(1, 1, 1)
228
	Title.TextScaled = true
229
	Title.TextStrokeTransparency = 0
230
	CreateWeaponPart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Position, Rotation, Size, MeshClass, MeshScale, MeshId, MeshType)
231
	
232
	local Part = Instance.new(className, parent)
233
	Part.BrickColor = BrickColor.new(Brickcolor)
234
	Part.Transparency = Transparency
235
	Part.Reflectance = Reflectance
236
	Part.Material = Material
237
	Part.Name = Name
238
	Part.Anchored = true
239
	Part.CanCollide = false
240
	Part.Locked = true
241
	Part.Size = Size
242
	Part.Position = Position
243
	Part.Rotation = Rotation
244
	Part.TopSurface = "SmoothNoOutlines"
245
	Part.BottomSurface = "SmoothNoOutlines"
246
	Part.FrontSurface = "SmoothNoOutlines"
247
	Part.BackSurface = "SmoothNoOutlines"
248
	Part.RightSurface = "SmoothNoOutlines"
249
	Part.LeftSurface = "SmoothNoOutlines"
250
	local Mesh = Instance.new(MeshClass, Part)
251
	Mesh.Scale = MeshScale
252
	if MeshClass == "SpecialMesh" then
253
		Mesh.MeshId = MeshId
254
		Mesh.MeshType = MeshType
255
	end
256
	return Part
257
end
258
259
	local Denial = Inst("Model", Character)
260
	Denial.Name = "Denial"
261
	local Despair = Inst("Model")
262
	Despair.Name = "Despair"
263
	local The_End = Inst("Model")
264
	The_End.Name = "The End"
265
	local The_End_Sheath = Inst("Model")
266
	The_End_Sheath.Name = "The End\'s Sheath"
267
	local CArmour = Inst("Model")
268
	CArmour.Name = "ChaosArmour"
269
	CreateWeapon = function()
270
	
271
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(0, 7.2, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
272
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeCorner", Vec(1.4, 8.4, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "SpecialMesh", Vec(0.625, 0.625, 1.25), "", "Sphere")
273
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(1.4, 5.3, -272.2), Vec(0, 0, 0), Vec(0.4, 6.2, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
274
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeEdge", Vec(0, 4.7, -272.2), Vec(0, 0, 0), Vec(0.4, 5, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
275
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.3, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
276
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.4, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
277
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
278
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.1, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
279
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.1, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 1, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
280
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
281
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
282
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
283
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 5, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
284
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.8, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
285
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.9, -272.2), Vec(0, 0, 0), Vec(0.6, 0.2, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
286
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
287
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.4, 6, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
288
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 7.8, -272.2), Vec(0, 90, 0), Vec(0.2, 1.2, 1.4), "SpecialMesh", Vec(1.25, 1, 1), "", "Wedge")
289
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 3.6, -272.2), Vec(0, 0, 0), Vec(1.4, 2.8, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
290
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 6.6, -272.2), Vec(0, 0, 0), Vec(1.4, 1.2, 0.2), "BlockMesh", Vec(1, 1, 1.25), "", "")
291
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1, 5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.4, 0.2), "BlockMesh", Vec(0.4, 0.5, 1.25), "", "")
292
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(1.1, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
293
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.3, 5.2, -272.2), Vec(0, 0, 0), Vec(0.6, 0.4, 0.2), "BlockMesh", Vec(0.2, 0.35, 1.25), "", "")
294
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.7, 6, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.4, 1.25), "", "")
295
	CreateWeaponPart("Part", Denial, Colour2, "Metal", 0, 0, "BladePart", Vec(0.2, 5.5, -272.2), Vec(0, 0, 0), Vec(0.4, 0.6, 0.2), "BlockMesh", Vec(0.4, 1, 1.25), "", "")
296
	CreateWeaponPart("Part", Denial, Colour1, "SmoothPlastic", 0, 0, "BladeRing", Vec(0.7, 5.5, -272.2), Vec(0, 0, 0), Vec(0.2, 0.2, 0.2), "SpecialMesh", Vec(0.9, 0.9, 2), "http://www.roblox.com/asset/?id=3270017", "FileMesh")
297
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "BladeTop", Vec(0.683, 7.786, -272.2), Vec(180, 0, 49.399), Vec(0.4, 1.8, 0.2), "CylinderMesh", Vec(1.25, 1, 1.25), "", "")
298
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(1.4, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
299
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0, 2.1, -272.2), Vec(0, 0, 0), Vec(0.4, 0.2, 0.2), "CylinderMesh", Vec(1.3, 1, 1.3), "", "")
300
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1.1, 1.28, 1.1), "", "")
301
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1.1, 1, 1.28), "", "")
302
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.1, -272.2), Vec(0, 0, 0), Vec(1.4, 0.2, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
303
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.5, -272.2), Vec(0, 0, 0), Vec(0.6, 0.6, 0.2), "BlockMesh", Vec(1, 1, 1.3), "", "")
304
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.2, -272.2), Vec(0, 0, 0), Vec(1.4, 0.4, 0.2), "BlockMesh", Vec(1, 0.15, 1.28), "", "")
305
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(1, 1.3, 1), "", "")
306
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.6, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
307
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.8, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
308
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "GuardPart", Vec(0.7, 2.4, -272.2), Vec(-90, 0, 0), Vec(0.6, 0.2, 0.8), "CylinderMesh", Vec(0.2, 1.34, 0.2), "", "")
309
	Handle = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Handle", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
310
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
311
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
312
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
313
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
314
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
315
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 1.1, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
316
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.9, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
317
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.7, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
318
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.5, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
319
	CreateWeaponPart("Part", Denial, Colour2, "Fabric", 0, 0, "HandleFabric", Vec(0.7, 0.3, -272.2), Vec(0, 0, 0), Vec(1, 0.2, 0.2), "CylinderMesh", Vec(1.1, 0.9, 1.1), "", "")
320
	CreateWeaponPart("Part", Denial, Colour1, "Neon", 0, 0, "HandleNeon", Vec(0.7, 1, -272.2), Vec(0, 0, 0), Vec(1, 2, 0.2), "CylinderMesh", Vec(0.85, 0.9, 0.85), "", "")
321
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 0, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
322
	CreateWeaponPart("Part", Denial, Colour3, "Metal", 0, 0, "HandlePart", Vec(0.7, 2, -272.2), Vec(0, 0, 0), Vec(1, 0.4, 0.2), "CylinderMesh", Vec(1.15, 0.3, 1.15), "", "")
323
	Hit_Box = CreateWeaponPart("Part", Denial, "White", "SmoothPlastic", 1, 0, "Hitbox", Vec(0.7, 5.4, -272.2), Vec(0, 0, 0), Vec(2.2, 6.8, 0.6), "BlockMesh", Vec(0, 0, 0), "", "")
324
	for _,K in pairs(Denial:GetChildren()) do
325
		if K:IsA("BasePart") then
326
			K:BreakJoints()
327
		end
328
	end
329
	for _,Part in pairs(Denial:GetChildren()) do
330
		-- DECOMPILER ERROR at PC1728: Unhandled construct in 'MakeBoolean' P1
331
332
		if Part:IsA("Part") and Part.Name ~= "Handle" then
333
			local x = Handle
334
			local y = Part
335
			local W = Instance.new("Weld")
336
			W.Part0 = x
337
			W.Part1 = y
338
			local CJ = CFrame.new(x.Position)
339
			local C0 = x.CFrame:inverse() * CJ
340
			local C1 = y.CFrame:inverse() * CJ
341
			W.C0 = C0
342
			W.C1 = C1
343
			W.Parent = x
344
			x.Anchored = false
345
			y.Anchored = false
346
		end
347
		do
348
			do
349
				Part.Anchored = false
350
				-- DECOMPILER ERROR at PC1753: LeaveBlock: unexpected jumping out DO_STMT
351
352
			end
353
		end
354
	end
355
	Handle.Anchored = true
356
end
357
358
	local d = false
359
	Done.MouseButton1Click:connect(function()
360
	
361
	if not d then
362
		d = true
363
		Colour1 = col1:WaitForChild("Colour").Text
364
		Colour2 = col2:WaitForChild("Colour").Text
365
		Colour3 = col3:WaitForChild("Colour").Text
366
		debServ:AddItem(ColMain, 0)
367
		OM.Visible = true
368
		CreateWeapon()
369
		GodMode = false
370
		Handle.Anchored = false
371
		WepWeld = Inst("Motor6D", Handle)
372
		WepWeld.Name = "Handle Joint"
373
		WepWeld.Part0 = Torso
374
		WepWeld.Part1 = Handle
375
		WepWeld.C0 = Cf(1.5, -1, 0.6) * Euler(rad(-90), rad(0), rad(90))
376
		Humanoid.MaxHealth = Max_Health
377
		wait(0.1)
378
		Humanoid.Health = Max_Health
379
	end
380
end
381
)
382
	Create_Moves_In_List = function()
383
	
384
	local ah = 0.012
385
	local am = 0.012
386
	local move = Title:Clone()
387
	move.Parent = Moves
388
	move.Name = "A Move"
389
	move.Text = "CTRL - Enable/Disable Keystrokes"
390
	move.Position = Ud2(0, 0, ah, 0)
391
	move.TextXAlignment = "Left"
392
	ah = ah + am
393
	move = Title:Clone()
394
	move.Parent = Moves
395
	move.Name = "A Move"
396
	move.Text = "R - Corrupt Guard(Cannont be duelwielding)"
397
	move.Position = Ud2(0, 0, ah, 0)
398
	move.TextXAlignment = "Left"
399
	ah = ah + am
400
	move = Title:Clone()
401
	move.Parent = Moves
402
	move.Name = "A Move"
403
	move.Text = "F - Equip/Unequip"
404
	move.Position = Ud2(0, 0, ah, 0)
405
	move.TextXAlignment = "Left"
406
	ah = ah + am
407
	move = Title:Clone()
408
	move.Parent = Moves
409
	move.Name = "A Move"
410
	move.Text = "G - Equip/Unequip Denial"
411
	move.Position = Ud2(0, 0, ah, 0)
412
	move.TextXAlignment = "Left"
413
	ah = ah + am
414
	move = Title:Clone()
415
	move.Parent = Moves
416
	move.Name = "A Move"
417
	move.Text = "E - Disrupt"
418
	move.Position = Ud2(0, 0, ah, 0)
419
	move.TextXAlignment = "Left"
420
	ah = ah + am
421
	move = Title:Clone()
422
	move.Parent = Moves
423
	move.Name = "A Move"
424
	move.Text = "Z - Fatal Blow(Denial unequipped)/Hate Wave(Denial equipped)"
425
	move.Position = Ud2(0, 0, ah, 0)
426
	move.TextXAlignment = "Left"
427
	ah = ah + am
428
	move = Title:Clone()
429
	move.Parent = Moves
430
	move.Name = "A Move"
431
	move.Text = "X - Axel"
432
	move.Position = Ud2(0, 0, ah, 0)
433
	move.TextXAlignment = "Left"
434
	ah = ah + am
435
	move = Title:Clone()
436
	move.Parent = Moves
437
	move.Name = "A Move"
438
	move.Text = "C - /Dark Eruption(Denial equipped)"
439
	move.Position = Ud2(0, 0, ah, 0)
440
	move.TextXAlignment = "Left"
441
	ah = ah + am
442
	move = Title:Clone()
443
	move.Parent = Moves
444
	move.Name = "A Space"
445
	move.Text = " "
446
	move.Position = Ud2(0, 0, ah, 0)
447
	ah = ah + am
448
	move = Title:Clone()
449
	move.Parent = Moves
450
	move.Name = "A Move"
451
	move.Text = "---KeyStrokes---"
452
	move.Position = Ud2(0, 0, ah, 0)
453
	ah = ah + am
454
	move = Title:Clone()
455
	move.Parent = Moves
456
	move.Name = "A Move"
457
	move.Text = "ASDEA - Kogeki Sokudo Kojo"
458
	move.Position = Ud2(0, 0, ah, 0)
459
	move.TextXAlignment = "Left"
460
	ah = ah + am
461
	move = Title:Clone()
462
	move.Parent = Moves
463
	move.Name = "A Move"
464
	move.Text = "ASDDC - Awaken"
465
	move.Position = Ud2(0, 0, ah, 0)
466
	move.TextXAlignment = "Left"
467
	ah = ah + am
468
	move = Title:Clone()
469
	move.Parent = Moves
470
	move.Name = "A Move"
471
	move.Text = "XWW - Hurricane Slash (Must have The End equipped.)"
472
	move.Position = Ud2(0, 0, ah, 0)
473
	move.TextXAlignment = "Left"
474
	ah = ah + am
475
	move = Title:Clone()
476
	move.Parent = Moves
477
	move.Name = "A Move"
478
	move.Text = "SSZ - Stomp (Must be Awakened.)"
479
	move.Position = Ud2(0, 0, ah, 0)
480
	move.TextXAlignment = "Left"
481
	ah = ah + am
482
end
483
484
	Create_Moves_In_List()
485
	local mopen = false
486
	OM.MouseButton1Click:connect(function()
487
	
488
	if not Debounces.UIAction and not mopen then
489
		Debounces.UIAction = true
490
		OM.Text = "Hide Move List"
491
		mopen = true
492
		Moves:TweenPosition(Ud2(0.002, 0, 0.4, 0), _, "Bounce", 0.6, true)
493
		OM:TweenPosition(Ud2(0.202, 0, 0.83, 0), _, "Bounce", 0.6, true)
494
		wait(0.3)
495
		Debounces.UIAction = false
496
	else
497
		if not Debounces.UIAction and mopen then
498
			Debounces.UIAction = true
499
			OM.Text = "View Move List"
500
			mopen = false
501
			Moves:TweenPosition(Ud2(-0.2, 0, 0.4, 0), _, "Bounce", 0.6, true)
502
			OM:TweenPosition(Ud2(0.002, 0, 0.83, 0), _, "Bounce", 0.6, true)
503
			wait(0.3)
504
			Debounces.UIAction = false
505
		end
506
	end
507
end
508
)
509
	local Holder = CreateWeaponPart("Part", F3, "Bright blue", "SmoothPlastic", 1, 0, "GripPart", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
510
	Holder.Anchored = false
511
	local HWeld = Inst("Motor6D", RightArm)
512
	HWeld.Name = "Grip Joint"
513
	HWeld.Part0 = RightArm
514
	HWeld.Part1 = Holder
515
	HWeld.C0 = Cf(0, -1, 0)
516
	local Holder2 = CreateWeaponPart("Part", F3, "Bright red", "SmoothPlastic", 1, 0, "GripPart", Vec(0.7, 1, -272.2), Vec(0, 90, 0), Vec(0.6, 0.2, 0.6), "BlockMesh", Vec(1, 1, 1), "", "")
517
	Holder2.Anchored = false
518
	local HWeld2 = Inst("Motor6D", LeftArm)
519
	HWeld2.Name = "Grip Joint"
520
	HWeld2.Part0 = LeftArm
521
	HWeld2.Part1 = Holder2
522
	HWeld2.C0 = Cf(0, -1, 0)
523
	local DED = false
524
	Humanoid.Changed:connect(function()
525
	
526
	if Humanoid.Health < 0.01 or Humanoid.Parent == nil then
527
		wait()
528
		if (Humanoid.Health == 0 and not DED) or Humanoid.Parent == nil and not DED then
529
			print("ded")
530
			DED = true
531
			if Hit_Box then
532
				Hit_Box.CanCollide = true
533
			end
534
			debServ:AddItem(Denial, 36)
535
			Denial.Parent = workspace
536
		end
537
	end
538
	if Humanoid.Jump and Debounces.DisableJump then
539
		Humanoid.Jump = false
540
	end
541
end
542
)
543
Player.CharacterRemoving:connect(function()
544
	if not DED then
545
		print("ur just gone fam")
546
		DED = true
547
		if Hit_Box then
548
			Hit_Box.CanCollide = true
549
		end
550
		debServ:AddItem(Denial, 36)
551
		Denial.Parent = workspace
552
	end
553
end
554
)
555
	repeat
556
		repeat
557
			runServ.Stepped:wait()
558
		until Handle
559
	until Hit_Box
560
	print("Handle and Hitbox created")
561
	CreatePart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType)
562
	
563
	local Part = Instance.new(className, parent)
564
	Part.BrickColor = BrickColor.new(Brickcolor)
565
	Part.Transparency = Transparency
566
	Part.Reflectance = Reflectance
567
	Part.Material = Material
568
	Part.Name = Name
569
	Part.Anchored = true
570
	Part.CanCollide = false
571
	Part.Locked = true
572
	Part.Size = Size
573
	Part.Position = Position
574
	Part.Rotation = Rotation
575
	Part.TopSurface = "SmoothNoOutlines"
576
	Part.BottomSurface = "SmoothNoOutlines"
577
	Part.FrontSurface = "SmoothNoOutlines"
578
	Part.BackSurface = "SmoothNoOutlines"
579
	Part.RightSurface = "SmoothNoOutlines"
580
	Part.LeftSurface = "SmoothNoOutlines"
581
	local Mesh = Instance.new(MeshClass, Part)
582
	Mesh.Scale = MeshScale
583
	if MeshClass == "SpecialMesh" then
584
		Mesh.MeshId = MeshId
585
		Mesh.MeshType = MeshType
586
	end
587
	return Part
588
end
589
590
	Protector = function(object)
591
	
592
	if object:IsA("BasePart") or object:IsA("BodyMover") or object:IsA("JointInstance") or object:IsA("Light") then
593
		game:GetService("RunService").Stepped:wait()
594
		if object.Name ~= DecName then
595
			debServ:AddItem(object, 0)
596
			if object:IsA("BodyMover") then
597
				RootPart.Velocity = Vec(0, 0, 0)
598
				coroutine.resume(coroutine.create(function()
599
		
600
		wait()
601
		RootPart.Velocity = Vec(0, 0, 0)
602
	end
603
))
604
			end
605
		end
606
	end
607
end
608
609
	Momentum_Cancel = function(partfam)
610
	
611
	if partfam ~= nil then
612
		local MC = function()
613
		
614
		if Humanoid.WalkSpeed + 50 < partfam.Velocity.Magnitude and not Debounces.Attacking and not Debounces.DoubleJumping then
615
			local stopper = Inst("BodyVelocity", partfam)
616
			stopper.Name = DecName
617
			stopper.MaxForce = Vec(huge, huge, huge)
618
			stopper.Velocity = Vec(1, 1, 1)
619
			debServ:AddItem(stopper, 0.05)
620
		end
621
	end
622
623
		partfam.Changed:connect(MC)
624
	end
625
end
626
627
	for _,child in pairs(Character:GetChildren()) do
628
		if child:IsA("BasePart") then
629
			child.ChildAdded:connect(Protector)
630
			child.DescendantAdded:connect(Protector)
631
			Momentum_Cancel(child)
632
		end
633
	end
634
	for _,child in pairs(Denial:GetChildren()) do
635
		if child:IsA("BasePart") then
636
			child.ChildAdded:connect(Protector)
637
			child.DescendantAdded:connect(Protector)
638
		end
639
	end
640
	local FrameRate = 0.033333333333333
641
	local TimeFrame = 0
642
	local allowframeloss = false
643
	local tossremainder = false
644
	local lastframe = tick()
645
	ArtificialHB:Fire()
646
	runServ.Heartbeat:connect(function(s, p)
647
	
648
	TimeFrame = TimeFrame + s
649
	if FrameRate <= TimeFrame then
650
		if allowframeloss then
651
			ArtificialHB:Fire()
652
			lastframe = tick()
653
		else
654
			for i = 1, math.floor(TimeFrame / FrameRate) do
655
				ArtificialHB:Fire()
656
			end
657
			lastframe = tick()
658
		end
659
		if tossremainder then
660
			TimeFrame = 0
661
		else
662
			TimeFrame = TimeFrame - FrameRate * math.floor(TimeFrame / FrameRate)
663
		end
664
	end
665
end
666
)
667
	swait = function(num)
668
	
669
	if num == 0 or num == nil then
670
		ArtificialHB.Event:wait()
671
	else
672
		for i = 0, num do
673
			ArtificialHB.Event:wait()
674
		end
675
	end
676
end
677
678
	MakeText = function(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
679
	local tpart = Instance.new("Part")
680
	tpart.Parent = F2
681
	tpart.Transparency = 1
682
	tpart.Name = "hoi hoi"
683
	tpart.Anchored = true
684
	tpart.CanCollide = false
685
	tpart.Locked = true
686
	tpart.Size = Vector3.new(0.2, 0.2, 0.2)
687
	tpart.CFrame = cFrame * CFrame.new(math.random(-2, 2), 0, math.random(-2, 2))
688
	local bill = Instance.new("BillboardGui")
689
	bill.Parent = tpart
690
	bill.AlwaysOnTop = true
691
	bill.Name = "HUHHHHHNAAAA"
692
	bill.Size = UDim2.new(4, 0, 4, 0)
693
	bill.StudsOffset = Vector3.new(0, 1, 0)
694
	local counter = 0
695
	local textl = Instance.new("TextLabel")
696
	textl.Parent = bill
697
	textl.Name = "WHYYYYYYYY"
698
	textl.BackgroundTransparency = 1
699
	textl.Size = UDim2.new(1, 0, 1, 0)
700
	textl.Font = font
701
	textl.Text = text
702
	textl.TextColor3 = Color3.new(tcr / 255, tcg / 255, tcb / 255)
703
	textl.TextScaled = true
704
	textl.TextStrokeColor3 = Color3.new(scr / 255, scg / 255, scb / 255)
705
	textl.TextStrokeTransparency = 0
706
	coroutine.resume(coroutine.create(function()
707
		while textl.TextTransparency < 1 do
708
						swait()
709
						if bill.StudsOffset.Y >= 5 then
710
							if duration <= counter then
711
								textl.TextTransparency = textl.TextTransparency + 0.15
712
								textl.TextStrokeTransparency = textl.TextStrokeTransparency + 0.15
713
							end
714
						end
715
				counter = counter + 0.1
716
			bill.StudsOffset = Vec(0, bill.StudsOffset.Y + 0.15, 0)
717
		end
718
		debServ:AddItem(bill, 0)
719
		debServ:AddItem(textl, 0)
720
		debServ:AddItem(tpart, 0)
721
	end))
722
end
723
724
	Apply_Buff = function(amount, duration)
725
	
726
	coroutine.resume(coroutine.create(function()
727
		
728
		if amount > 0 and duration > 0 then
729
			Damage_Buff = Damage_Buff + amount
730
			MakeText("+" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
731
			wait(duration)
732
			Damage_Buff = Damage_Buff - amount
733
			MakeText("-" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
734
		end
735
	end
736
))
737
end
738
739
	Apply_Health_Buff = function(amount, duration)
740
	
741
	coroutine.resume(coroutine.create(function()
742
		
743
		if amount > 0 and duration > 0 then
744
			Max_Health = Max_Health + amount
745
			coroutine.resume(coroutine.create(function()
746
			
747
			wait()
748
			Humanoid.Health = Humanoid.Health + amount
749
		end
750
))
751
			MakeText("+" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
752
			wait(duration)
753
			Max_Health = Max_Health - amount
754
			MakeText("-" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
755
		end
756
	end
757
))
758
end
759
760
function clerp(a,b,t) 
761
local qa = {QuaternionFromCFrame(a)}
762
local qb = {QuaternionFromCFrame(b)} 
763
local ax, ay, az = a.x, a.y, a.z 
764
local bx, by, bz = b.x, b.y, b.z
765
local _t = 1-t
766
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
767
end 
768
 
769
function QuaternionFromCFrame(cf) 
770
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
771
local trace = m00 + m11 + m22 
772
if trace > 0 then 
773
local s = math.sqrt(1 + trace) 
774
local recip = 0.5/s 
775
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
776
else 
777
local i = 0 
778
if m11 > m00 then
779
i = 1
780
end
781
if m22 > (i == 0 and m00 or m11) then 
782
i = 2 
783
end 
784
if i == 0 then 
785
local s = math.sqrt(m00-m11-m22+1) 
786
local recip = 0.5/s 
787
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
788
elseif i == 1 then 
789
local s = math.sqrt(m11-m22-m00+1) 
790
local recip = 0.5/s 
791
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
792
elseif i == 2 then 
793
local s = math.sqrt(m22-m00-m11+1) 
794
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
795
end 
796
end 
797
end
798
 
799
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
800
local xs, ys, zs = x + x, y + y, z + z 
801
local wx, wy, wz = w*xs, w*ys, w*zs 
802
local xx = x*xs 
803
local xy = x*ys 
804
local xz = x*zs 
805
local yy = y*ys 
806
local yz = y*zs 
807
local zz = z*zs 
808
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
809
end
810
 
811
function QuaternionSlerp(a, b, t) 
812
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
813
local startInterp, finishInterp; 
814
if cosTheta >= 0.0001 then 
815
if (1 - cosTheta) > 0.0001 then 
816
local theta = math.acos(cosTheta) 
817
local invSinTheta = 1/math.sin(theta) 
818
startInterp = math.sin((1-t)*theta)*invSinTheta 
819
finishInterp = math.sin(t*theta)*invSinTheta  
820
else 
821
startInterp = 1-t 
822
finishInterp = t 
823
end 
824
else 
825
if (1+cosTheta) > 0.0001 then 
826
local theta = math.acos(-cosTheta) 
827
local invSinTheta = 1/math.sin(theta) 
828
startInterp = math.sin((t-1)*theta)*invSinTheta 
829
finishInterp = math.sin(t*theta)*invSinTheta 
830
else 
831
startInterp = t-1 
832
finishInterp = t 
833
end 
834
end 
835
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
836
end
837
838
	FindHum = function(parent)
839
	
840
	local hm = nil
841
	for _,HM in pairs(parent:GetChildren()) do
842
		if HM:IsA("Humanoid") then
843
			hm = HM
844
		end
845
	end
846
	return hm
847
end
848
849
	Sound = function(parent, ID, Volume, Pitch, Looped)
850
	
851
	local sound = Inst("Sound", parent)
852
	sound.SoundId = ID
853
	sound.Volume = Volume
854
	sound.Pitch = Pitch
855
	sound.Looped = Looped
856
	sound:Play()
857
	return sound
858
end
859
860
	local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol)
861
	
862
	local humanoid = FindHum(Hit.Parent)
863
	if humanoid and humanoid ~= Humanoid then
864
		local IsSafe = true
865
		local Deb = humanoid:FindFirstChild("ChaosDebounce")
866
		if Deb then
867
			local Cre = Deb:FindFirstChild("Creator")
868
				if Cre and Cre.Value == Player.UserId then
869
						IsSafe = false
870
				end
871
			end
872
		if IsSafe then
873
			local deb = Inst("BoolValue", humanoid)
874
			deb.Name = "ChaosDebounce"
875
			local cre = Inst("NumberValue", deb)
876
			cre.Name = "Creator"
877
			cre.Value = Player.UserId
878
			debServ:AddItem(deb, Duration)
879
			debServ:AddItem(cre, Duration)
880
			local Damage = 1
881
			if IsRan then
882
				Damage = rand(MinDam, MaxDam)
883
			else
884
				Damage = MaxDam
885
			end
886
			local this_nigga_had_op_health = false
887
				if SoEff then
888
					local HitSound = Sound(Hit, "http://roblox.com/asset/?id=" .. SoID .. "", SoVol, SoPit, false)
889
					debServ:AddItem(HitSound, 6)
890
				end
891
				-- DECOMPILER ERROR at PC100: Unhandled construct in 'MakeBoolean' P1
892
893
				if (DamType == "Compensate" or string.sub(DamType, 1, 10) == "Compensate") and (humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0) then
894
					if humanoid.MaxHealth >= 1000000000 or humanoid.MaxHealth == 0 then
895
						humanoid.MaxHealth = 100
896
						this_nigga_had_op_health = true
897
					end
898
					Damage = Damage * (humanoid.MaxHealth / 100)
899
				end
900
				if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then
901
					this_nigga_had_op_health = true
902
					humanoid.MaxHealth = 100
903
				end
904
				if Damage_Buff > 0 then
905
					Damage = Damage * Damage_Buff
906
				end
907
				humanoid.Health = humanoid.Health - Damage
908
				if humanoid.MaxHealth / 4 <= Damage then
909
					MakeText("-" .. Damage .. "", "SourceSansBold", 0.3, 170, 0, 0, 255, 85, 0, Hit.CFrame)
910
				else
911
					local mtc = BC(Colour1).Color
912
					MakeText("-" .. Damage .. "", FONT, 0.3, mtc.r * 255, mtc.g * 255, mtc.b * 255, 0, 0, 0, Hit.CFrame)
913
				end
914
				do
915
					if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then
916
						if Property.Name ~= "Point" then
917
							humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
918
							local KBCF = Cf(Hit.Position, Property.Position)
919
							Hit.Velocity = KBCF.lookVector * -Knockback
920
						else
921
							do
922
								Hit.Velocity = Property.CFrame.lookVector * Knockback
923
								if (DamType == "Normal" and DamType == "Stun") or DamType == "Compensate-Stun" then
924
									MakeText("Stunned", FONT, 0.3, 255, 255, 0, 0, 0, 0, Hit.CFrame)
925
									humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
926
									local pos = Inst("BodyPosition", Hit)
927
									pos.MaxForce = Vec(huge, huge, huge)
928
									pos.Position = Hit.Position
929
									debServ:AddItem(pos, Duration * 10)
930
								else
931
									do
932
										if DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then
933
											Humanoid.Health = Humanoid.Health + Damage / 2
934
											MakeText("+" .. Damage / 2, FONT, 0.4, 0, 0, 0, 0, 255, 0, RootPart.CFrame)
935
										else
936
											if DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then
937
												local vel = Inst("BodyVelocity", Hit)
938
												vel.Name = "MomentumStopper"
939
												vel.MaxForce = Vec(huge, huge, huge)
940
												vel.Velocity = Vec(0, 0, 0)
941
												debServ:AddItem(vel, 3)
942
											else
943
												do
944
													if DamType == "Knockdown" or DamType == "Compensate-Knockdown" then
945
														humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
946
													else
947
														if DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then
948
															humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
949
															Hit.Velocity = Vec(0, Knockback, 0)
950
															if rand(1, 4) == 1 then
951
																local Twista = Inst("BodyAngularVelocity", Hit)
952
																Twista.MaxTorque = Vec(1000000, 1000000, 1000000)
953
																Twista.AngularVelocity = Vec(rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2))
954
																debServ:AddItem(Twista, 0.01)
955
															end
956
														else
957
															do
958
																if DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then
959
																	MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 170, 0, Hit.CFrame)
960
																	coroutine.resume(coroutine.create(function()
961
		
962
		local ti = 0
963
		local hHead = Hit.Parent:FindFirstChild("Head")
964
		if hHead then
965
			hHead = Hit
966
			local h = Inst("Part", F2)
967
			h.Size = Vec(0.2, 0.2, 0.2)
968
			h.CanCollide = false
969
			h.Transparency = 1
970
			h.Position = hHead.Position
971
			local hWELD = Inst("Weld", h)
972
			hWELD.Part0 = hHead
973
			hWELD.Part1 = h
974
			hWELD.C0 = Cf(0, -4, 0)
975
			repeat
976
				ti = ti + 0.1
977
				for _,p in pairs(humanoid.Parent:GetChildren()) do
978
					if p:IsA("BasePart") then
979
						p.Anchored = true
980
					end
981
				end
982
				swait()
983
				humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
984
				local p1 = hHead.Position + Vec(rand(-200, 200) / 100, -(hHead.Size.y * 1.5), rand(-200, 200) / 100)
985
				local p0 = h.Position
986
				Lightning(p0, p1, 5, 3, Colour1, "Neon", 0.1, 0.2, 0.2)
987
			until Duration * 12 <= ti
988
			for _,p in pairs(humanoid.Parent:GetChildren()) do
989
				if p:IsA("BasePart") then
990
					p.Anchored = false
991
				end
992
			end
993
			debServ:AddItem(h, 0)
994
		end
995
	end
996
))
997
																else
998
																	if DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then
999
																		MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 64, 0, Hit.CFrame)
1000
																		coroutine.resume(coroutine.create(function()
1001
		
1002
		local ti = 0
1003
		local scf = nil
1004
		local h = Inst("Part", F2)
1005
		h.Size = Vec(0.2, 0.2, 0.2)
1006
		h.CanCollide = false
1007
		h.Anchored = true
1008
		h.Transparency = 1
1009
		h.Position = Hit.Position
1010
		h.CFrame = h.CFrame * Euler(rad(-90), 0, 0)
1011
		local IL = {Character, Hit.Parent}
1012
		local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, h.CFrame.lookVector.Unit * 999), IL, true, true)
1013
		if Ground then
1014
			Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0)
1015
			scf = Cf(Pos) * Euler(rad(-90), 0, 0)
1016
		end
1017
		repeat
1018
			ti = ti + 0.1
1019
			for _,p in pairs(humanoid.Parent:GetChildren()) do
1020
				if p:IsA("BasePart") then
1021
					p.Anchored = true
1022
				end
1023
			end
1024
			Hit.CFrame = scf
1025
			swait()
1026
			humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
1027
		until Duration * 7 <= ti
1028
		for _,p in pairs(humanoid.Parent:GetChildren()) do
1029
			if p:IsA("BasePart") then
1030
				p.Anchored = false
1031
			end
1032
		end
1033
		debServ:AddItem(h, 0)
1034
	end
1035
))
1036
																	end
1037
																end
1038
																if HDrag then
1039
																	humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
1040
																	local pos = Inst("BodyPosition", Hit)
1041
																	pos.MaxForce = Vec(huge, huge, huge)
1042
																	pos.Position = Drag_To_Part.Position
1043
																	local d = Inst("NumberValue", pos)
1044
																	d.Name = "Duration"
1045
																	d.Value = DragDuration
1046
																	table.insert(DragTable, pos)
1047
																end
1048
																do
1049
																	if this_nigga_had_op_health then
1050
																		coroutine.resume(coroutine.create(function()
1051
		
1052
		swait()
1053
		Damage = Damage * 2
1054
		humanoid.Health = humanoid.Health - Damage
1055
		MakeText("-" .. Damage .. "", FONT, 0.4, 0, 0, 0, 0, 0, 91, Hit.CFrame)
1056
	end
1057
))
1058
																	end
1059
																end
1060
															end
1061
														end
1062
													end
1063
												end
1064
											end
1065
										end
1066
									end
1067
								end
1068
							end
1069
						end
1070
					end
1071
				end
1072
			end
1073
	end
1074
end
1075
1076
	MagniDamage = function(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol)
1077
	
1078
	for _,c in pairs(workspace:GetChildren()) do
1079
		local hum = FindHum(c)
1080
		if hum and hum ~= Humanoid then
1081
			local head = c:FindFirstChild("Head")
1082
			local tor = c:FindFirstChild("Torso")
1083
			local larm = c:FindFirstChild("Left Arm")
1084
			local rarm = c:FindFirstChild("Right Arm")
1085
			local lleg = c:FindFirstChild("Left Leg")
1086
			local rleg = c:FindFirstChild("Right Leg")
1087
			local Dis = range
1088
			local Par = nil
1089
				if head then
1090
					local Mag = (head.Position - Part.Position).magnitude
1091
					if Mag <= Dis then
1092
						Dis = Mag
1093
						Par = head
1094
					end
1095
				end
1096
					if tor then
1097
						local Mag = (tor.Position - Part.Position).magnitude
1098
						if Mag <= Dis then
1099
							Dis = Mag
1100
							Par = tor
1101
						end
1102
					end
1103
						if rarm then
1104
							local Mag = (rarm.Position - Part.Position).magnitude
1105
							if Mag <= Dis then
1106
								Dis = Mag
1107
								Par = rarm
1108
							end
1109
						end
1110
							if larm then
1111
								local Mag = (larm.Position - Part.Position).magnitude
1112
								if Mag <= Dis then
1113
									Dis = Mag
1114
									Par = larm
1115
								end
1116
							end
1117
								if rleg then
1118
									local Mag = (rleg.Position - Part.Position).magnitude
1119
									if Mag <= Dis then
1120
										Dis = Mag
1121
										Par = rleg
1122
									end
1123
								end
1124
										if lleg then
1125
											local Mag = (lleg.Position - Part.Position).magnitude
1126
											if Mag <= Dis then
1127
												Dis = Mag
1128
												Par = lleg
1129
											end
1130
										end
1131
										if Par then
1132
											DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol)
1133
										end
1134
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1135
1136
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1137
1138
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1139
1140
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1141
1142
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1143
1144
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
1145
1146
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_THEN_STMT
1147
1148
										-- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_STMT
1149
1150
									end
1151
	end
1152
end
1153
1154
	rayCast = function(Pos, Dir, Max, Ignore)
1155
	
1156
	return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
1157
end
1158
1159
	local Point = Torso.CFrame * Cf(0, Torso.Size.Y, 0)
1160
	LastPoint = Point
1161
	effect = function(Color, Ref, LP, P1, returnn)
1162
	
1163
	local effectsmsh = Instance.new("CylinderMesh")
1164
	effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
1165
	effectsmsh.Name = "Mesh"
1166
	local effectsg = Instance.new("Part")
1167
	effectsg.formFactor = 3
1168
	effectsg.CanCollide = false
1169
	effectsg.Name = "Eff"
1170
	effectsg.Locked = true
1171
	effectsg.Anchored = true
1172
	effectsg.Size = Vector3.new(0.5, 1, 0.5)
1173
	effectsg.Parent = F2
1174
	effectsmsh.Parent = effectsg
1175
	effectsg.BrickColor = BrickColor.new(Color)
1176
	effectsg.Reflectance = Ref
1177
	local point1 = P1
1178
	local mg = (LP.p - point1.p).magnitude
1179
	effectsg.Size = Vector3.new(0.5, mg, 0.5)
1180
	effectsg.CFrame = Cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
1181
	effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
1182
	game:GetService("Debris"):AddItem(effectsg, 2)
1183
	if returnn then
1184
		return effectsg
1185
	end
1186
	coroutine.resume(coroutine.create(function(Part, Mesh)
1187
		
1188
		if not returnn then
1189
			for i = 0, 1, 0.05 do
1190
				swait()
1191
				Part.Transparency = 1 * i
1192
				Mesh.Scale = Vector3.new(0.5 - 0.5 * i, 1, 0.5 - 0.5 * i)
1193
			end
1194
			Part.Parent = nil
1195
		end
1196
	end
1197
), effectsg, effectsmsh)
1198
end
1199
1200
	local CFrameFromTopBack = function(at, top, back)
1201
	
1202
	local right = top:Cross(back)
1203
	return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
1204
end
1205
1206
	NoOutline = function(Part)
1207
	
1208
	Part.TopSurface = 10
1209
end
1210
1211
	part = function(parent, reflectance, transparency, brickcolor, name, size, material)
1212
	
1213
	local fp = Inst("Part")
1214
	fp.Parent = parent
1215
	fp.Reflectance = reflectance
1216
	fp.Transparency = transparency
1217
	fp.CanCollide = false
1218
	fp.Locked = true
1219
	fp.BrickColor = brickcolor
1220
	fp.Name = name
1221
	fp.Size = size
1222
	fp.Position = Torso.Position
1223
	NoOutline(fp)
1224
	fp.Material = material
1225
	fp:BreakJoints()
1226
	return fp
1227
end
1228
1229
	mesh = function(Mesh, part, meshtype, meshid, offset, scale)
1230
	
1231
	local mesh = Inst(Mesh)
1232
	mesh.Parent = part
1233
	if Mesh == "SpecialMesh" then
1234
		mesh.MeshType = meshtype
1235
		mesh.MeshId = meshid
1236
	end
1237
	mesh.Offset = offset
1238
	mesh.Scale = scale
1239
	return mesh
1240
end
1241
1242
	MagicBlock = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1243
	
1244
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1245
	prt.Anchored = true
1246
	prt.CFrame = cframe
1247
	local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1248
	game:GetService("Debris"):AddItem(prt, 5)
1249
	table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
1250
end
1251
1252
	MagicBlock2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1253
	
1254
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1255
	prt.Anchored = true
1256
	prt.CFrame = cframe
1257
	local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1258
	game:GetService("Debris"):AddItem(prt, 5)
1259
	table.insert(Effects, {prt, "Disappear", Delay, x3, y3, z3})
1260
end
1261
1262
	MagicSpikeBall = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1263
	
1264
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1265
	prt.Anchored = true
1266
	prt.CFrame = cframe
1267
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/Asset/?id=9982590", Vec(0, 0, 0), Vec(x1, y1, z1))
1268
	game:GetService("Debris"):AddItem(prt, 5)
1269
	table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
1270
end
1271
1272
	MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1273
	
1274
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1275
	prt.Anchored = true
1276
	prt.CFrame = cframe
1277
	local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1278
	game:GetService("Debris"):AddItem(prt, 5)
1279
	table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
1280
end
1281
1282
	MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1283
	
1284
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1285
	prt.Anchored = true
1286
	prt.CFrame = cframe
1287
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
1288
	game:GetService("Debris"):AddItem(prt, 5)
1289
	table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
1290
end
1291
1292
	MagicWave2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1293
	
1294
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1295
	prt.Anchored = true
1296
	prt.CFrame = cframe
1297
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
1298
	game:GetService("Debris"):AddItem(prt, 5)
1299
	table.insert(Effects, {prt, "Wave", Delay, x3, y3, z3})
1300
end
1301
1302
	MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1303
	
1304
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
1305
	prt.Anchored = true
1306
	prt.CFrame = cframe
1307
	local msh = mesh("SpecialMesh", prt, "Head", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1308
	game:GetService("Debris"):AddItem(prt, 5)
1309
	Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
1310
end
1311
1312
	MagicCylinder2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1313
	
1314
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
1315
	prt.Anchored = true
1316
	prt.CFrame = cframe
1317
	local msh = mesh("CylinderMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1318
	game:GetService("Debris"):AddItem(prt, 5)
1319
	Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
1320
end
1321
1322
	MagicBlood = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1323
	
1324
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1325
	prt.Anchored = true
1326
	prt.CFrame = cframe
1327
	local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
1328
	game:GetService("Debris"):AddItem(prt, 5)
1329
	table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
1330
end
1331
1332
	MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1333
	
1334
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1335
	prt.Anchored = true
1336
	prt.CFrame = cframe
1337
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
1338
	game:GetService("Debris"):AddItem(prt, 5)
1339
	table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
1340
end
1341
1342
	MagicRing2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
1343
	
1344
	local prt = part(F2, 0, 0, brickcolor, "Effect", Vec(), material)
1345
	prt.Anchored = true
1346
	prt.CFrame = cframe
1347
	local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
1348
	game:GetService("Debris"):AddItem(prt, 5)
1349
	table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
1350
end
1351
1352
	ElecEffect = function(brickCol, Mat, cff, x, y, z)
1353
	
1354
	local prt = part(F2, 0, 0, brickCol, "Part", Vec(1, 1, 1), Mat)
1355
	prt.Anchored = true
1356
	prt.CFrame = cff * Cf(rand(-x, x), rand(-y, y), rand(-z, z))
1357
	prt.CFrame = Cf(prt.Position)
1358
	debServ:AddItem(prt, 2)
1359
	local xval = math.random() / 2
1360
	local yval = math.random() / 2
1361
	local zval = math.random() / 2
1362
	local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(xval, yval, zval))
1363
	Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
1364
end
1365
1366
	Lightning = function(p0, p1, tym, ofs, col, mat, th, tra, last)
1367
	
1368
	local magz = (p0 - p1).magnitude
1369
	local curpos = p0
1370
	local trz = {-ofs, ofs}
1371
	for i = 1, tym do
1372
		local li = Instance.new("Part", F2)
1373
		li.TopSurface = 0
1374
		li.BottomSurface = 0
1375
		li.Anchored = true
1376
		li.Transparency = tra or 0.4
1377
		li.BrickColor = BrickColor.new(col)
1378
		li.Material = mat
1379
		li.Material = "Neon"
1380
		li.formFactor = "Custom"
1381
		li.CanCollide = false
1382
		li.Size = Vector3.new(th, th, magz / tym)
1383
		local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
1384
		local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
1385
		if tym == i then
1386
			local magz2 = (curpos - p1).magnitude
1387
			li.Size = Vector3.new(th, th, magz2)
1388
			li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
1389
			game:GetService("Debris"):AddItem(li, last)
1390
		else
1391
					li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
1392
					curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
1393
					game:GetService("Debris"):AddItem(li, last)
1394
		end
1395
	end
1396
end
1397
1398
	Triangle = function(a, b, c, tcol, tmat)
1399
	
1400
	local edg1 = (c-a):Dot((b-a).unit)
1401
	local edg2 = (a-b):Dot((c-b).unit)
1402
	local edg3 = (b-c):Dot((a-c).unit)
1403
	if edg1 <= (b - a).magnitude and edg1 >= 0 then
1404
		a = a
1405
	elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
1406
			a = b
1407
		elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
1408
				a = c
1409
			else
1410
				return 
1411
			end
1412
	local len1 = (c-a):Dot((b-a).unit)
1413
local len2 = (b-a).magnitude - len1
1414
local width = (a + (b-a).unit*len1 - c).magnitude
1415
	local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1416
	local list = {}
1417
	if len1 > 0.01 then
1418
		local w1 = Inst("WedgePart", F2)
1419
		w1.Material = tmat
1420
		w1.BrickColor = BC(tcol)
1421
		w1.Transparency = 0
1422
		w1.Reflectance = 0
1423
		w1.CanCollide = false
1424
		NoOutline(w1)
1425
		local sz = Vec(0.2, width, len1)
1426
		w1.Size = sz
1427
		local sp = Inst("SpecialMesh", w1)
1428
		sp.MeshType = "Wedge"
1429
		sp.Scale = Vec(0, 1, 1) * sz / w1.Size
1430
		w1:BreakJoints()
1431
		w1.Anchored = true
1432
		w1.Transparency = 0.7
1433
		debServ:AddItem(w1, 25)
1434
		table.insert(Effects, {w1, "Disappear", 0.045})
1435
		w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
1436
		table.insert(list, w1)
1437
	end
1438
		if len2 > 0.01 then
1439
			local w2 = Inst("WedgePart", F2)
1440
			w2.Material = tmat
1441
			w2.BrickColor = BC(tcol)
1442
			w2.Transparency = 0
1443
			w2.Reflectance = 0
1444
			w2.CanCollide = false
1445
			NoOutline(w2)
1446
			local sz = Vec(0.2, width, len2)
1447
			w2.Size = sz
1448
			local sp = Inst("SpecialMesh", w2)
1449
			sp.MeshType = "Wedge"
1450
			sp.Scale = Vec(0, 1, 1) * sz / w2.Size
1451
			w2:BreakJoints()
1452
			w2.Anchored = true
1453
			w2.Transparency = 0.7
1454
			debServ:AddItem(w2, 25)
1455
			table.insert(Effects, {w2, "Disappear", 0.045})
1456
			w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
1457
			table.insert(list, w2)
1458
		end
1459
			return unpack(list)
1460
	end
1461
1462
	Bringer = function()
1463
	
1464
	for i,d in pairs(DragTable) do
1465
		if d and d:IsA("BodyPosition") then
1466
			local tem = d:FindFirstChild("Time")
1467
			if not tem then
1468
				tem = Inst("NumberValue", d)
1469
				tem.Name = "Time"
1470
				tem.Value = 0
1471
			end
1472
			local Dur = d:FindFirstChild("Duration")
1473
			if not Dur then
1474
				Dur = Inst("NumberValue", d)
1475
				Dur.Name = "Duration"
1476
				Dur.Value = 1.5
1477
			end
1478
			if tem.Value < Dur.Value then
1479
				tem.Value = tem.Value + 0.1
1480
				d.P = 20000
1481
				d.Position = Drag_To_Part.Position
1482
			else
1483
				debServ:AddItem(tem, 0)
1484
				debServ:AddItem(Dur, 0)
1485
				debServ:AddItem(d, 0)
1486
				table.remove(DragTable, i)
1487
			end
1488
		end
1489
	end
1490
end
1491
1492
	MakeHitBox = function(size, part, customcf, c0, c1)
1493
	
1494
	local hbox = Inst("Part", F2)
1495
	hbox.Transparency = 1
1496
	hbox.Anchored = false
1497
	hbox.CanCollide = false
1498
	hbox.Locked = true
1499
	hbox.CFrame = part.CFrame
1500
	hbox.Size = size
1501
	hbox:BreakJoints()
1502
	local hbw = Inst("Weld", hbox)
1503
	hbw.Part0 = part
1504
	hbw.Part1 = hbox
1505
	if customcf then
1506
		hbw.C0 = c0
1507
		hbw.C1 = c1
1508
	else
1509
		hbw.C0 = Cf(0, -(part.Size.y / 4 + size.y / 4), 0)
1510
	end
1511
	return hbox
1512
end
1513
1514
	HTEB = function()
1515
	
1516
	coroutine.resume(coroutine.create(function()
1517
		
1518
		if #TEBladeP > 0 and TEBEffect ~= nil then
1519
			TEBEffect.Enabled = false
1520
			for _,b in pairs(TEBladeP) do
1521
				if b:IsA("BasePart") then
1522
					b.Transparency = 1
1523
				end
1524
			end
1525
		end
1526
	end
1527
))
1528
end
1529
1530
	FITEB = function(Rate)
1531
	
1532
	coroutine.resume(coroutine.create(function()
1533
		
1534
		if #TEBladeP > 0 and TEBEffect ~= nil then
1535
			TEBEffect.Enabled = true
1536
			for _,b in pairs(TEBladeP) do
1537
				if b:IsA("BasePart") then
1538
					b.Transparency = 1
1539
				end
1540
			end
1541
			for i = 1, 0, -(0.1 * (Rate / 100)) do
1542
				swait()
1543
				for _,b in pairs(TEBladeP) do
1544
					if b:IsA("BasePart") then
1545
						b.Transparency = i
1546
					end
1547
				end
1548
			end
1549
			for _,b in pairs(TEBladeP) do
1550
				if b:IsA("BasePart") then
1551
					b.Transparency = 0
1552
				end
1553
			end
1554
			TEBEffect.Enabled = false
1555
		end
1556
	end
1557
))
1558
end
1559
1560
	AssumeNormalJoints = function()
1561
	
1562
	for i = 0, 1, 0.1 do
1563
		swait()
1564
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(90), 0), 0.3)
1565
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(90), 0), 0.3)
1566
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, rad(-90), 0), 0.3)
1567
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), 0.3)
1568
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3)
1569
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
1570
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3)
1571
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(rad(-90), 0, 0), 0.3)
1572
		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
1573
		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
1574
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
1575
		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
1576
	end
1577
	LeftShoulder.Part0 = Torso
1578
	LeftShoulder.Part1 = LeftArm
1579
	RightShoulder.Part0 = Torso
1580
	RightShoulder.Part1 = RightArm
1581
	FLeftShoulder.Part0 = nil
1582
	FLeftShoulder.Part1 = nil
1583
	FRightShoulder.Part0 = nil
1584
	FRightShoulder.Part1 = nil
1585
	LeftHip.Part0 = Torso
1586
	LeftHip.Part1 = LeftLeg
1587
	RightHip.Part0 = Torso
1588
	RightHip.Part1 = RightLeg
1589
	FLeftHip.Part0 = nil
1590
	FLeftHip.Part1 = nil
1591
	FRightHip.Part0 = nil
1592
	FRightHip.Part1 = nil
1593
	RootJoint.Part0 = RootPart
1594
	RootJoint.Part1 = Torso
1595
	FRootJoint.Part0 = nil
1596
	FRootJoint.Part1 = nil
1597
end
1598
1599
	ClickCombo = function()
1600
	Debounces.Attacking = true
1601
	if not Debounces.HasWep and Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then
1602
		if Attack_Num == 1 then
1603
			Attack_Num = 2
1604
			for i = 0, 1, 0.1 do
1605
				swait()
1606
				local SwingSpeed = 0.4
1607
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed)
1608
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1609
				WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1610
				WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
1611
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed)
1612
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(-50), 0), SwingSpeed)
1613
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed)
1614
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1615
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
1616
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed)
1617
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed)
1618
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1619
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1620
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1621
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1622
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1623
			end
1624
			LeftHip.Part0 = nil
1625
			LeftHip.Part1 = nil
1626
			RightHip.Part0 = nil
1627
			RightHip.Part1 = nil
1628
			FLeftHip.Part0 = Torso
1629
			FLeftHip.Part1 = LeftLeg
1630
			FLeftHip.C0 = LeftHip.C0
1631
			FLeftHip.C1 = LeftHip.C1
1632
			FRightHip.Part0 = Torso
1633
			FRightHip.Part1 = RightLeg
1634
			FRightHip.C0 = RightHip.C0
1635
			FRightHip.C1 = RightHip.C1
1636
			RootPart.Velocity = RootPart.CFrame.lookVector * 52
1637
			local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1.8, false)
1638
			debServ:AddItem(SlashS, 2)
1639
			c1 = nil
1640
			c2 = nil
1641
			local hit = TEHit_Box.Touched:connect(function(part)
1642
		DamageFunction(part, false, 0, 600, true, 30, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4)
1643
	end
1644
)
1645
			for i = 0, 0.6, 0.1 do
1646
				swait()
1647
				local x = TEHit_Box
1648
				c2 = x.CFrame * Cf(0, 0.5, 0)
1649
				if c1 and (x.Position - c1.p).magnitude > 0.1 then
1650
					local h = 6
1651
					local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
1652
					if a then
1653
						debServ:AddItem(a, 1)
1654
					end
1655
					if b then
1656
						debServ:AddItem(b, 1)
1657
					end
1658
					local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
1659
					if c then
1660
						debServ:AddItem(c, 1)
1661
					end
1662
					if d then
1663
						debServ:AddItem(d, 1)
1664
					end
1665
					c1 = c2
1666
				else
1667
					if not c1 then
1668
							c1 = c2
1669
					end
1670
					end
1671
							local SwingSpeed = 0.5
1672
							HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed)
1673
							HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1674
							WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1675
							WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
1676
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed)
1677
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1678
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed)
1679
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1680
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
1681
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed)
1682
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.5, 0) * Euler(0, rad(-3), 0), SwingSpeed)
1683
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1684
							FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8, 0.1) * Euler(rad(-20), 0, 0), SwingSpeed)
1685
							FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
1686
							FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.4) * Euler(rad(-5), 0, 0), SwingSpeed)
1687
							FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
1688
							-- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out DO_STMT
1689
1690
							-- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out IF_ELSE_STMT
1691
1692
							-- DECOMPILER ERROR at PC844: LeaveBlock: unexpected jumping out IF_STMT
1693
1694
						end
1695
			hit:disconnect()
1696
			LeftHip.Part0 = Torso
1697
			LeftHip.Part1 = LeftLeg
1698
			RightHip.Part0 = Torso
1699
			RightHip.Part1 = RightLeg
1700
			FLeftHip.Part0 = nil
1701
			FLeftHip.Part1 = nil
1702
			LeftHip.C0 = FLeftHip.C0
1703
			LeftHip.C1 = FLeftHip.C1
1704
			FRightHip.Part0 = nil
1705
			FRightHip.Part1 = nil
1706
			RightHip.C0 = FRightHip.C0
1707
			RightHip.C1 = FRightHip.C1
1708
		elseif Attack_Num == 2 then
1709
					Attack_Num = 3
1710
					for i = 0, 1, 0.1 do
1711
						swait()
1712
						local SwingSpeed = 0.4
1713
						HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.95, 0.5) * Euler(rad(180), 0, 0), SwingSpeed)
1714
						HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1715
						WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1716
						WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1717
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(170), 0, 0), SwingSpeed)
1718
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed)
1719
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.45, 0.8, -0.95) * Euler(rad(150), 0, rad(40)), SwingSpeed)
1720
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1721
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
1722
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
1723
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
1724
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1725
						RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1726
						RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1727
						LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1728
						LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1729
					end
1730
					LeftHip.Part0 = nil
1731
					LeftHip.Part1 = nil
1732
					RightHip.Part0 = nil
1733
					RightHip.Part1 = nil
1734
					FLeftHip.Part0 = Torso
1735
					FLeftHip.Part1 = LeftLeg
1736
					FLeftHip.C0 = LeftHip.C0
1737
					FLeftHip.C1 = LeftHip.C1
1738
					FRightHip.Part0 = Torso
1739
					FRightHip.Part1 = RightLeg
1740
					FRightHip.C0 = RightHip.C0
1741
					FRightHip.C1 = RightHip.C1
1742
					local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445092", 1, 1, false)
1743
					debServ:AddItem(SlashS, 2)
1744
					c1 = nil
1745
					c2 = nil
1746
					local hit = TEHit_Box.Touched:connect(function(part)
1747
		DamageFunction(part, false, 0, 1000, true, 30, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4)
1748
	end
1749
)
1750
					for i = 0, 0.9, 0.1 do
1751
						swait()
1752
						local x = TEHit_Box
1753
						c2 = x.CFrame * Cf(0, 0.5, 0)
1754
						if c1 and (x.Position - c1.p).magnitude > 0.1 then
1755
							local h = 6
1756
							local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
1757
							if a then
1758
								debServ:AddItem(a, 1)
1759
							end
1760
							if b then
1761
								debServ:AddItem(b, 1)
1762
							end
1763
							local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
1764
							if c then
1765
								debServ:AddItem(c, 1)
1766
							end
1767
							if d then
1768
								debServ:AddItem(d, 1)
1769
							end
1770
							c1 = c2
1771
						elseif not c1 then
1772
									c1 = c2
1773
								end
1774
									local SwingSpeed = 0.5
1775
									HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed)
1776
									HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed)
1777
									WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1778
									WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
1779
									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed)
1780
									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
1781
									FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed)
1782
									FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
1783
									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
1784
									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed)
1785
									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -2.2, 0) * Euler(0, rad(60), 0), SwingSpeed)
1786
									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1787
									FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.3, 0.1) * Euler(rad(-80), 0, 0), SwingSpeed)
1788
									FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
1789
									FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.1, -0.6) * Euler(rad(-10), 0, 0), SwingSpeed)
1790
									FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
1791
									-- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out DO_STMT
1792
1793
									-- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out IF_ELSE_STMT
1794
1795
									-- DECOMPILER ERROR at PC1710: LeaveBlock: unexpected jumping out IF_STMT
1796
1797
								end
1798
					hit:disconnect()
1799
					LeftHip.Part0 = Torso
1800
					LeftHip.Part1 = LeftLeg
1801
					RightHip.Part0 = Torso
1802
					RightHip.Part1 = RightLeg
1803
					FLeftHip.Part0 = nil
1804
					FLeftHip.Part1 = nil
1805
					LeftHip.C0 = FLeftHip.C0
1806
					LeftHip.C1 = FLeftHip.C1
1807
					FRightHip.Part0 = nil
1808
					FRightHip.Part1 = nil
1809
					RightHip.C0 = FRightHip.C0
1810
					RightHip.C1 = FRightHip.C1
1811
				elseif Attack_Num == 3 then
1812
							Attack_Num = 1
1813
							for i = 0, 1, 0.1 do
1814
								swait()
1815
								local SwingSpeed = 0.2
1816
								WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
1817
								WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1818
								HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1819
								HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1820
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed)
1821
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1822
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-60)), SwingSpeed)
1823
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1824
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
1825
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-60), 0), SwingSpeed)
1826
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(-60), 0), SwingSpeed)
1827
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1828
								RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed)
1829
								RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1830
								LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed)
1831
								LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1832
							end
1833
							RootPart.Velocity = RootPart.CFrame.lookVector * 50
1834
							local hit = TEHit_Box.Touched:connect(function(part)
1835
		DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, 0.2, false, _, true, 153092227, 1.4, 0.4)
1836
	end
1837
)
1838
							local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false)
1839
							debServ:AddItem(SlashS, 2)
1840
							c1 = nil
1841
							c2 = nil
1842
							for i = 0, 0.9, 0.1 do
1843
								swait()
1844
								local x = TEHit_Box
1845
								c2 = x.CFrame * Cf(0, 0.5, 0)
1846
								if c1 and (x.Position - c1.p).magnitude > 0.1 then
1847
									local h = 6
1848
									local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
1849
									if a then
1850
										debServ:AddItem(a, 1)
1851
									end
1852
									if b then
1853
										debServ:AddItem(b, 1)
1854
									end
1855
									local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
1856
									if c then
1857
										debServ:AddItem(c, 1)
1858
									end
1859
									if d then
1860
										debServ:AddItem(d, 1)
1861
									end
1862
									c1 = c2
1863
								elseif not c1 then
1864
											c1 = c2
1865
											end
1866
											local SwingSpeed = 0.5
1867
											WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
1868
											WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1869
											HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1870
											HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1871
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1, 0.5, -0.7) * Euler(0, rad(150), rad(90)), SwingSpeed)
1872
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1873
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-10)), SwingSpeed)
1874
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1875
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
1876
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed)
1877
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(40), 0), SwingSpeed)
1878
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1879
											RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed)
1880
											RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1881
											LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed)
1882
											LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1883
											-- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out DO_STMT
1884
1885
											-- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out IF_ELSE_STMT
1886
1887
											-- DECOMPILER ERROR at PC2548: LeaveBlock: unexpected jumping out IF_STMT
1888
1889
										end
1890
							
1891
		hit:disconnect()
1892
		end
1893
		end
1894
							if Debounces.Transformed and not Debounces.TEWield and Debounces.TESWield then
1895
								if Attack_Num == 1 then
1896
									for i = 0, 0.3, 0.1 do
1897
										swait()
1898
										local SwingSpeed = 0.6
1899
										MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
1900
										MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
1901
										SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1902
										SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1903
										HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1904
										HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1905
										FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(6)), SwingSpeed)
1906
										FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1907
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-60)), SwingSpeed)
1908
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1909
										Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(25), 0), SwingSpeed)
1910
										Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1911
										FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
1912
										FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1913
										RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1914
										RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1915
										LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1916
										LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1917
									end
1918
									RootPart.Velocity = RootPart.CFrame.lookVector * 60
1919
									for i = 0, 0.2, 0.1 do
1920
										swait()
1921
										MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
1922
										MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
1923
										MagniDamage(Holder, 7, false, 0, 8, true, rand(-1, 1) * 60, "Compensate-SkyRocket", 0.1, false, 0, true, "386946017", rand(0.8, 1.2), 0.4)
1924
										local SwingSpeed = 0.7
1925
										SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1926
										SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1927
										HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1928
										HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1929
										FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(60)), SwingSpeed)
1930
										FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1931
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-10)), SwingSpeed)
1932
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1933
										Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-55), 0), SwingSpeed)
1934
										Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1935
										FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed)
1936
										FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1937
										RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1938
										RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1939
										LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1940
										LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1941
									end
1942
									Attack_Num = 2
1943
									MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07)
1944
									MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07)
1945
								elseif Attack_Num == 2 then
1946
										Attack_Num = 3
1947
										LeftHip.Part0 = nil
1948
										LeftHip.Part1 = nil
1949
										RightHip.Part0 = nil
1950
										RightHip.Part1 = nil
1951
										FLeftHip.Part0 = Torso
1952
										FLeftHip.Part1 = LeftLeg
1953
										FLeftHip.C0 = LeftHip.C0
1954
										FLeftHip.C1 = LeftHip.C1
1955
										FRightHip.Part0 = Torso
1956
										FRightHip.Part1 = RightLeg
1957
										FRightHip.C0 = RightHip.C0
1958
										FRightHip.C1 = RightHip.C1
1959
										for i = 0, 0.3, 0.1 do
1960
											swait()
1961
											local SwingSpeed = 0.6
1962
											MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1)
1963
											MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1)
1964
											SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
1965
											SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1966
											HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1967
											HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1968
											MagniDamage(LeftLeg, 10, false, 0, 2, true, -20, "Compensate", 0.1, false, 0, false, _, "", "")
1969
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(6)), SwingSpeed)
1970
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1971
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-10)), SwingSpeed)
1972
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1973
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
1974
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1975
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), SwingSpeed)
1976
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1977
											FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(30), rad(90), 0), SwingSpeed)
1978
											FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
1979
											FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-40), rad(-90), 0), SwingSpeed)
1980
											FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
1981
										end
1982
										RootPart.Velocity = RootPart.CFrame.lookVector * 60
1983
										for i = 0, 0.4, 0.1 do
1984
											swait()
1985
											local SwingSpeed = 0.5
1986
											MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1)
1987
											MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 2.1, 2.1, 2.1, 0.1)
1988
											MagniDamage(LeftLeg, 7, false, 0, 8, true, 90, "Compensate-SkyRocket", 0.1, false, 0, false, _, "", "")
1989
											SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(96), 0, 0), SwingSpeed)
1990
											SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1991
											HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
1992
											HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1993
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(6)), SwingSpeed)
1994
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1995
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, rad(-12)), SwingSpeed)
1996
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
1997
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
1998
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
1999
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed)
2000
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2001
											FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-20), rad(90), 0), SwingSpeed)
2002
											FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2003
											FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(80), rad(-90), 0), SwingSpeed)
2004
											FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2005
										end
2006
										MagicCircle(BC(Colour2), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, 0.1)
2007
										MagicBlock(BC(Colour1), "Neon", LeftLeg.CFrame, 0, 0, 0, 7, 7, 7, 0.1)
2008
										MagniDamage(LeftLeg, 12, false, 0, 12, true, 30, "Compensate", 0.1, false, 0, false, _, "", "")
2009
										LeftHip.Part0 = Torso
2010
										LeftHip.Part1 = LeftLeg
2011
										RightHip.Part0 = Torso
2012
										RightHip.Part1 = RightLeg
2013
										FLeftHip.Part0 = nil
2014
										FLeftHip.Part1 = nil
2015
										LeftHip.C0 = FLeftHip.C0
2016
										LeftHip.C1 = FLeftHip.C1
2017
										FRightHip.Part0 = nil
2018
										FRightHip.Part1 = nil
2019
										RightHip.C0 = FRightHip.C0
2020
										RightHip.C1 = FRightHip.C1
2021
									elseif Attack_Num == 3 then
2022
											Attack_Num = 1
2023
											LeftHip.Part0 = nil
2024
											LeftHip.Part1 = nil
2025
											RightHip.Part0 = nil
2026
											RightHip.Part1 = nil
2027
											FLeftHip.Part0 = Torso
2028
											FLeftHip.Part1 = LeftLeg
2029
											FLeftHip.C0 = LeftHip.C0
2030
											FLeftHip.C1 = LeftHip.C1
2031
											FRightHip.Part0 = Torso
2032
											FRightHip.Part1 = RightLeg
2033
											FRightHip.C0 = RightHip.C0
2034
											FRightHip.C1 = RightHip.C1
2035
											Humanoid.WalkSpeed = 3
2036
											for i = 0, 1.2, 0.1 do
2037
												swait()
2038
												local SwingSpeed = 0.2
2039
												SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
2040
												SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2041
												HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2042
												HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2043
												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed)
2044
												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2045
												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed)
2046
												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2047
												Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(13), rad(-60), 0), SwingSpeed)
2048
												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2049
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.6, 0) * Euler(rad(-17), rad(70), 0), SwingSpeed)
2050
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2051
												FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, 0, -0.4) * Euler(rad(-6), 0, rad(17)), SwingSpeed)
2052
												FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2053
												FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.95, 0.1) * Euler(rad(-40), 0, rad(14)), SwingSpeed)
2054
												FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2055
											end
2056
											WepWeld3.Parent = nil
2057
											WepWeld3.Part0 = Holder
2058
											WepWeld3.Part1 = TEHandle
2059
											WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position)
2060
											WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position)
2061
											WepWeld3.Parent = TEHandle
2062
											FITEB(800)
2063
											Debounces.DisableJump = true
2064
											local SlashS = Sound(TEHandle, "http://www.roblox.com/asset/?id=161006195", 1, 1.5, false)
2065
											debServ:AddItem(SlashS, 6)
2066
											local hit = (TEHit_Box.Touched:connect(function(part)
2067
		
2068
		DamageFunction(part, false, 0, 333, true, 10, "Compensate-FreezeStun", RootPart, 0.4, false, _, false, _, "", "")
2069
	end
2070
))
2071
											c1 = nil
2072
											c2 = nil
2073
											for i = 0, 1.5, 0.1 do
2074
												swait()
2075
												local x = TEHit_Box
2076
												c2 = x.CFrame * Cf(0, 0.5, 0)
2077
												if c1 and (x.Position - c1.p).magnitude > 0.1 then
2078
													local h = 6
2079
													local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
2080
													if a then
2081
														debServ:AddItem(a, 1)
2082
													end
2083
													if b then
2084
														debServ:AddItem(b, 1)
2085
													end
2086
													local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
2087
													if c then
2088
														debServ:AddItem(c, 1)
2089
													end
2090
													if d then
2091
														debServ:AddItem(d, 1)
2092
													end
2093
													c1 = c2
2094
												elseif not c1 then
2095
															c1 = c2
2096
															local SwingSpeed = 0.5
2097
															if i < 0.5 then
2098
																RootPart.Velocity = RootPart.CFrame.lookVector * 220
2099
															else
2100
																RootPart.Velocity = Vec(0, 0, 0)
2101
																Humanoid.WalkSpeed = 0
2102
															end
2103
															WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
2104
															WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2105
															SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
2106
															SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2107
															HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2108
															HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2109
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed)
2110
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(40), rad(12), 0), SwingSpeed)
2111
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.6, 0) * Euler(rad(-10), 0, rad(-15)), SwingSpeed)
2112
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2113
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
2114
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2115
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.3, 0) * Euler(rad(-15), rad(-30), 0), SwingSpeed)
2116
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2117
															FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(-20), rad(-10), 0), SwingSpeed)
2118
															FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2119
															FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.7, 0.2) * Euler(rad(10), rad(30), rad(-3)), SwingSpeed)
2120
															FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2121
															-- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out DO_STMT
2122
2123
															-- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2124
2125
															-- DECOMPILER ERROR at PC5148: LeaveBlock: unexpected jumping out IF_STMT
2126
2127
														end
2128
											end
2129
											HTEB()
2130
											for i = 0, 0.3, 0.1 do
2131
												swait()
2132
												local SwingSpeed = 0.6
2133
												WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2134
												WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2135
												SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
2136
												SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2137
												HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2138
												HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2139
												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed)
2140
												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2141
												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed)
2142
												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2143
												Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(13), rad(-60), 0), SwingSpeed)
2144
												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2145
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.6, 0) * Euler(rad(-17), rad(70), 0), SwingSpeed)
2146
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2147
												FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, 0, -0.4) * Euler(rad(-6), 0, rad(17)), SwingSpeed)
2148
												FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2149
												FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.95, 0.1) * Euler(rad(-40), 0, rad(14)), SwingSpeed)
2150
												FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
2151
											end
2152
											local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false)
2153
											debServ:AddItem(Sheath, 6)
2154
											hit:disconnect()
2155
											Debounces.DisableJump = false
2156
											Humanoid.WalkSpeed = CurrentSpeed
2157
											WepWeld3.Part0 = TESHandle
2158
											WepWeld3.Part1 = TEHandle
2159
											WepWeld3.C0 = Cf(0, 0, 0)
2160
											WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0)
2161
											LeftHip.Part0 = Torso
2162
											LeftHip.Part1 = LeftLeg
2163
											RightHip.Part0 = Torso
2164
											RightHip.Part1 = RightLeg
2165
											FLeftHip.Part0 = nil
2166
											FLeftHip.Part1 = nil
2167
											LeftHip.C0 = FLeftHip.C0
2168
											LeftHip.C1 = FLeftHip.C1
2169
											FRightHip.Part0 = nil
2170
											FRightHip.Part1 = nil
2171
											RightHip.C0 = FRightHip.C0
2172
											RightHip.C1 = FRightHip.C1
2173
										end
2174
end
2175
								if Debounces.Transformed and not Debounces.TEWield and not Debounces.TESWield then
2176
									for i = 0, 0.15, 0.1 do
2177
										swait()
2178
										local SwingSpeed = 0.8
2179
										MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
2180
										MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
2181
										MagniDamage(Holder, 3, false, 0, 3, false, 0, "Compensate", 0, false, 0, false, _, "", "")
2182
										FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(6)), SwingSpeed)
2183
										FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2184
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-60)), SwingSpeed)
2185
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2186
										Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(25), 0), SwingSpeed)
2187
										Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2188
										FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
2189
										FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2190
										RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2191
										RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2192
										LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2193
										LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2194
									end
2195
									RootPart.Velocity = RootPart.CFrame.lookVector * 60
2196
									for i = 0, 0.15, 0.1 do
2197
										swait()
2198
										MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
2199
										MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, 0, 0), 0, 0, 0, 2.5, 2.5, 2.5, 0.1)
2200
										MagniDamage(Holder, 8, false, 0, 10, true, rand(-1, 1) * 30, "Compensate-SkyRocket", 0.1, false, 0, true, "153092296", 1, 1)
2201
										local SwingSpeed = 0.8
2202
										FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(60)), SwingSpeed)
2203
										FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2204
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-8), 0, rad(-10)), SwingSpeed)
2205
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2206
										Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-55), 0), SwingSpeed)
2207
										Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2208
										FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed)
2209
										FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2210
										RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2211
										RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2212
										LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2213
										LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2214
									end
2215
									MagicCircle(BC(Colour2), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07)
2216
									MagicBlock(BC(Colour1), "Neon", RightArm.CFrame * Cf(0, -1.2, 0), 0, 0, 0, 6, 6, 6, 0.07)
2217
								end
2218
								if not Debounces.HasWep and not Debounces.Transformed then
2219
									if Attack_Num == 1 then
2220
										Attack_Num = 2
2221
										local HBox = MakeHitBox(Vec(1.6, 1.6, 1.6), RightArm, false, "", "")
2222
										local hit = HBox.Touched:connect(function(part)
2223
		DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, 0.8, false, _, false, _, "", "")
2224
	end
2225
)
2226
										for i = 0, 0.4, 0.1 do
2227
											swait()
2228
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3)
2229
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
2230
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.3)
2231
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
2232
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.3)
2233
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
2234
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3)
2235
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2236
											RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
2237
											RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
2238
											LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
2239
											LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
2240
										end
2241
										for i = 0, 0.7, 0.1 do
2242
											swait()
2243
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.5)
2244
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5)
2245
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.5)
2246
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5)
2247
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.5)
2248
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5)
2249
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.5)
2250
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5)
2251
											RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5)
2252
											RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5)
2253
											LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5)
2254
											LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5)
2255
										end
2256
										debServ:AddItem(HBox, 0)
2257
										hit:disconnect()
2258
									elseif Attack_Num == 2 then
2259
												Attack_Num = 3
2260
												local HBox = MakeHitBox(Vec(1.6, 1.6, 1.6), LeftArm, false, "", "")
2261
												local hit = HBox.Touched:connect(function(part)
2262
		
2263
		DamageFunction(part, true, 6, 7, true, 5, "Normal", RootPart, 0.8, false, _, false, _, "", "")
2264
	end
2265
)
2266
												for i = 0, 0.4, 0.1 do
2267
													swait()
2268
													FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(90), 0, rad(80)), 0.3)
2269
													FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
2270
													FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.5, 0.3, -0.8) * Euler(rad(90), 0, rad(80)), 0.3)
2271
													FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
2272
													Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(0), rad(-80), 0), 0.3)
2273
													Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
2274
													FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(80), 0), 0.3)
2275
													FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2276
													RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.3)
2277
													RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
2278
													LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.3)
2279
													LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
2280
												end
2281
												for i = 0, 0.7, 0.1 do
2282
													swait()
2283
													FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.5)
2284
													FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.5)
2285
													FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.3) * Euler(rad(90), 0, rad(-80)), 0.5)
2286
													FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.5)
2287
													Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(80), 0), 0.5)
2288
													Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.5)
2289
													FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.5)
2290
													FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.5)
2291
													RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), 0.5)
2292
													RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.5)
2293
													LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), 0.5)
2294
													LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.5)
2295
												end
2296
												debServ:AddItem(HBox, 0)
2297
												hit:disconnect()
2298
											elseif Attack_Num == 3 then
2299
														Attack_Num = 4
2300
														local HBox = MakeHitBox(Vec(2, 2, 2), LeftLeg, false, "", "")
2301
														local hit = HBox.Touched:connect(function(part)
2302
		
2303
		DamageFunction(part, true, 9, 10, false, 70, "SkyRocket", RootPart, 0.8, false, _, false, _, "", "")
2304
	end
2305
)
2306
														LeftHip.Part0 = nil
2307
														LeftHip.Part1 = nil
2308
														RightHip.Part0 = nil
2309
														RightHip.Part1 = nil
2310
														FLeftHip.Part0 = Torso
2311
														FLeftHip.Part1 = LeftLeg
2312
														FLeftHip.C0 = LeftHip.C0
2313
														FLeftHip.C1 = LeftHip.C1
2314
														FRightHip.Part0 = Torso
2315
														FRightHip.Part1 = RightLeg
2316
														FRightHip.C0 = RightHip.C0
2317
														FRightHip.C1 = RightHip.C1
2318
														for i = 0, 0.8, 0.1 do
2319
															swait()
2320
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(8)), 0.3)
2321
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2322
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-8)), 0.3)
2323
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2324
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), 0.3)
2325
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
2326
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), 0.3)
2327
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2328
															FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(30), rad(90), 0), 0.3)
2329
															FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
2330
															FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-40), rad(-90), 0), 0.3)
2331
															FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
2332
														end
2333
														RootPart.Velocity = RootPart.CFrame.lookVector * 60
2334
														for i = 0, 1.4, 0.1 do
2335
															swait()
2336
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(0), 0, rad(14)), 0.3)
2337
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2338
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4)
2339
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2340
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), 0.3)
2341
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
2342
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), 0.3)
2343
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2344
															FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-20), rad(90), 0), 0.3)
2345
															FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
2346
															FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(80), rad(-90), 0), 0.3)
2347
															FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
2348
														end
2349
														LeftHip.Part0 = Torso
2350
														LeftHip.Part1 = LeftLeg
2351
														RightHip.Part0 = Torso
2352
														RightHip.Part1 = RightLeg
2353
														FLeftHip.Part0 = nil
2354
														FLeftHip.Part1 = nil
2355
														LeftHip.C0 = FLeftHip.C0
2356
														LeftHip.C1 = FLeftHip.C1
2357
														FRightHip.Part0 = nil
2358
														FRightHip.Part1 = nil
2359
														RightHip.C0 = FRightHip.C0
2360
														RightHip.C1 = FRightHip.C1
2361
														debServ:AddItem(HBox, 0)
2362
														hit:disconnect()
2363
													elseif Attack_Num == 4 then
2364
																Attack_Num = 1
2365
																local HBox = MakeHitBox(Vec(2.4, 2.4, 2.4), RightLeg, false, "", "")
2366
																local hit = HBox.Touched:connect(function(part)
2367
		
2368
		DamageFunction(part, true, 11, 12, true, 50, "Knockdown", RootPart, 1.5, false, _, false, _, "", "")
2369
	end
2370
)
2371
																LeftHip.Part0 = nil
2372
																LeftHip.Part1 = nil
2373
																RightHip.Part0 = nil
2374
																RightHip.Part1 = nil
2375
																FLeftHip.Part0 = Torso
2376
																FLeftHip.Part1 = LeftLeg
2377
																FLeftHip.C0 = LeftHip.C0
2378
																FLeftHip.C1 = LeftHip.C1
2379
																FRightHip.Part0 = Torso
2380
																FRightHip.Part1 = RightLeg
2381
																FRightHip.C0 = RightHip.C0
2382
																FRightHip.C1 = RightHip.C1
2383
																for i = 0, 0.5, 0.1 do
2384
																	swait()
2385
																	FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45, -1) * Euler(rad(60), 0, rad(-80)), 0.3)
2386
																	FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), 0.3)
2387
																	FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3, -0.2) * Euler(rad(120), 0, rad(-80)), 0.3)
2388
																	FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), 0.3)
2389
																	Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), rad(60), 0), 0.3)
2390
																	Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1) * Euler(0, 0, 0), 0.3)
2391
																	FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-80), 0), 0.3)
2392
																	FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2393
																	FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, -0.6) * Euler(0, rad(120), 0), 0.3)
2394
																	FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), 0.3)
2395
																	FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0.4) * Euler(0, rad(-50), 0), 0.3)
2396
																	FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), 0.3)
2397
																end
2398
																Humanoid.WalkSpeed = 0
2399
																RootPart.Velocity = RootPart.CFrame.lookVector * 100
2400
																for i = 0, 1.6, 0.1 do
2401
																	swait()
2402
																	FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(60), 0, rad(16)), 0.3)
2403
																	FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2404
																	FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(30), 0, rad(-60)), 0.4)
2405
																	FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), 0.3)
2406
																	Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-60), 0), 0.3)
2407
																	Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
2408
																	FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.6, 0) * Euler(rad(60), rad(-250), 0), 0.3)
2409
																	FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2410
																	FRightHip.C0 = clerp(FRightHip.C0, Cf(1.4, -0.6, 0) * Euler(rad(10), rad(0), rad(30)), 0.3)
2411
																	FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(0), 0), 0.3)
2412
																	FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -0.4, 0) * Euler(rad(30), 0, rad(-60)), 0.3)
2413
																	FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(20), 0), 0.3)
2414
																end
2415
																Humanoid.WalkSpeed = CurrentSpeed
2416
																LeftHip.Part0 = Torso
2417
																LeftHip.Part1 = LeftLeg
2418
																RightHip.Part0 = Torso
2419
																RightHip.Part1 = RightLeg
2420
																FLeftHip.Part0 = nil
2421
																FLeftHip.Part1 = nil
2422
																LeftHip.C0 = FLeftHip.C0
2423
																LeftHip.C1 = FLeftHip.C1
2424
																FRightHip.Part0 = nil
2425
																FRightHip.Part1 = nil
2426
																RightHip.C0 = FRightHip.C0
2427
																RightHip.C1 = FRightHip.C1
2428
																debServ:AddItem(HBox, 0)
2429
																hit:disconnect()
2430
									end
2431
									end
2432
																if Debounces.HasWep and not Debounces.Transformed and not Debounces.DuelWielding then
2433
																	if Attack_Num == 1 then
2434
																		Attack_Num = 2
2435
																		for i = 0, 0.2, 0.1 do
2436
																			swait()
2437
																			local SwingSpeed = 0.6
2438
																			HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed)
2439
																			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2440
																			WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2441
																			WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
2442
																			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(80)), SwingSpeed)
2443
																			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2444
																			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), SwingSpeed)
2445
																			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2446
																			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
2447
																			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
2448
																			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
2449
																			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2450
																			RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2451
																			RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2452
																			LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2453
																			LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2454
																		end
2455
																		local hit = (Hit_Box.Touched:connect(function(part)
2456
		
2457
		DamageFunction(part, true, 7, 8, true, 10, "Compensate", RootPart, 0.12, false, _, false, _, "", "")
2458
	end
2459
))
2460
																		c1 = nil
2461
																		c2 = nil
2462
																		for i = 0, 0.5, 0.1 do
2463
																			swait()
2464
																			local x = Hit_Box
2465
																			c2 = x.CFrame * Cf(0, 0.5, 0)
2466
																			if c1 and (x.Position - c1.p).magnitude > 0.1 then
2467
																				local h = 5
2468
																				local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
2469
																				if a then
2470
																					debServ:AddItem(a, 1)
2471
																				end
2472
																				if b then
2473
																					debServ:AddItem(b, 1)
2474
																				end
2475
																				local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
2476
																				if c then
2477
																					debServ:AddItem(c, 1)
2478
																				end
2479
																				if d then
2480
																					debServ:AddItem(d, 1)
2481
																				end
2482
																				c1 = c2
2483
																			elseif not c1 then
2484
																						c1 = c2
2485
																					end
2486
																						local SwingSpeed = 0.4
2487
																						HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.98, -0.4) * Euler(rad(20), 0, 0), SwingSpeed)
2488
																						HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2489
																						WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2490
																						WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
2491
																						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed)
2492
																						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-160), 0, 0), SwingSpeed)
2493
																						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed)
2494
																						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2495
																						Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-17), 0, 0), SwingSpeed)
2496
																						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(30), 0), SwingSpeed)
2497
																						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(30), 0), SwingSpeed)
2498
																						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2499
																						RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2500
																						RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2501
																						LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2502
																						LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2503
																						-- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out DO_STMT
2504
2505
																						-- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2506
2507
																						-- DECOMPILER ERROR at PC9336: LeaveBlock: unexpected jumping out IF_STMT
2508
2509
																					end
2510
																		hit:disconnect()
2511
																	elseif Attack_Num == 2 then
2512
																				Attack_Num = 3
2513
																				for i = 0, 0.6, 0.1 do
2514
																					swait()
2515
																					local SwingSpeed = 0.5
2516
																					HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed)
2517
																					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2518
																					WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2519
																					WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
2520
																					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed)
2521
																					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(-50), 0), SwingSpeed)
2522
																					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed)
2523
																					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2524
																					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
2525
																					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed)
2526
																					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed)
2527
																					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2528
																					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2529
																					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2530
																					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2531
																					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2532
																				end
2533
																				local hit = (Hit_Box.Touched:connect(function(part)
2534
		
2535
		DamageFunction(part, true, 10, 11, true, 10, "Compensate", RootPart, 0.12, false, _, false, _, "", "")
2536
	end
2537
))
2538
																				c1 = nil
2539
																				c2 = nil
2540
																				for i = 0, 0.5, 0.1 do
2541
																					swait()
2542
																					local x = Hit_Box
2543
																					c2 = x.CFrame * Cf(0, 0.5, 0)
2544
																					if c1 and (x.Position - c1.p).magnitude > 0.1 then
2545
																						local h = 5
2546
																						local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
2547
																						if a then
2548
																							debServ:AddItem(a, 1)
2549
																						end
2550
																						if b then
2551
																							debServ:AddItem(b, 1)
2552
																						end
2553
																						local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
2554
																						if c then
2555
																							debServ:AddItem(c, 1)
2556
																						end
2557
																						if d then
2558
																							debServ:AddItem(d, 1)
2559
																						end
2560
																						c1 = c2
2561
																					elseif not c1 then
2562
																								c1 = c2
2563
																							end
2564
																								local SwingSpeed = 0.4
2565
																								HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed)
2566
																								HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2567
																								WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2568
																								WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
2569
																								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed)
2570
																								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2571
																								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed)
2572
																								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2573
																								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
2574
																								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed)
2575
																								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
2576
																								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2577
																								RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2578
																								RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2579
																								LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2580
																								LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2581
																								-- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out DO_STMT
2582
2583
																								-- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2584
2585
																								-- DECOMPILER ERROR at PC10116: LeaveBlock: unexpected jumping out IF_STMT
2586
2587
																							end
2588
																				hit:disconnect()
2589
																			elseif Attack_Num == 3 then
2590
																						Attack_Num = 1
2591
																						for i = 0, 0.7, 0.1 do
2592
																							swait()
2593
																							local SwingSpeed = 0.5
2594
																							HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.9, 0.6) * Euler(rad(160), 0, 0), SwingSpeed)
2595
																							HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
2596
																							WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2597
																							WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
2598
																							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(160), 0, 0), SwingSpeed)
2599
																							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed)
2600
																							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.6, 0.8, -0.95) * Euler(rad(120), 0, rad(60)), SwingSpeed)
2601
																							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
2602
																							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
2603
																							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
2604
																							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
2605
																							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2606
																							RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2607
																							RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2608
																							LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2609
																							LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2610
																						end
2611
																						c1 = nil
2612
																						c2 = nil
2613
																						local hit2 = Hit_Box.Touched:connect(function(part)
2614
		
2615
		DamageFunction(part, true, 11, 12, true, 10, "Compensate", RootPart, 0.2, false, _, false, _, "", "")
2616
	end
2617
)
2618
																						for i = 0, 1, 0.1 do
2619
																							swait()
2620
																							local x = Hit_Box
2621
																							c2 = x.CFrame * Cf(0, 0.5, 0)
2622
																							if c1 and (x.Position - c1.p).magnitude > 0.1 then
2623
																								local h = 5
2624
																								local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
2625
																								if a then
2626
																									debServ:AddItem(a, 1)
2627
																								end
2628
																								if b then
2629
																									debServ:AddItem(b, 1)
2630
																								end
2631
																								local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
2632
																								if c then
2633
																									debServ:AddItem(c, 1)
2634
																								end
2635
																								if d then
2636
																									debServ:AddItem(d, 1)
2637
																								end
2638
																								c1 = c2
2639
																							elseif not c1 then
2640
																										c1 = c2
2641
																									end
2642
																										local SwingSpeed = 0.5
2643
																										Humanoid.WalkSpeed = 5
2644
																										HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed)
2645
																										HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed)
2646
																										WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
2647
																										WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
2648
																										FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed)
2649
																										FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
2650
																										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed)
2651
																										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
2652
																										Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
2653
																										Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed)
2654
																										FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed)
2655
																										FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
2656
																										RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2657
																										RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
2658
																										LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2659
																										LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
2660
																										-- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out DO_STMT
2661
2662
																										-- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2663
2664
																										-- DECOMPILER ERROR at PC10906: LeaveBlock: unexpected jumping out IF_STMT
2665
2666
								end
2667
						hit2:disconnect()
2668
																	end
2669
										end
2670
							Humanoid.WalkSpeed = CurrentSpeed
2671
						Debounces.Attacking = false
2672
end
2673
--fixed by kent911t
2674
	Disrupt = function()
2675
	
2676
	Debounces.Attacking = true
2677
	LeftHip.Part0 = nil
2678
	LeftHip.Part1 = nil
2679
	RightHip.Part0 = nil
2680
	RightHip.Part1 = nil
2681
	FLeftHip.Part0 = Torso
2682
	FLeftHip.Part1 = LeftLeg
2683
	FLeftHip.C0 = LeftHip.C0
2684
	FLeftHip.C1 = LeftHip.C1
2685
	FRightHip.Part0 = Torso
2686
	FRightHip.Part1 = RightLeg
2687
	FRightHip.C0 = RightHip.C0
2688
	FRightHip.C1 = RightHip.C1
2689
	local BV = Inst("BodyVelocity", RootPart)
2690
	BV.Name = DecName
2691
	BV.MaxForce = Vec(huge, huge, huge)
2692
	BV.Velocity = RootPart.CFrame.lookVector * 150
2693
	local hbox = MakeHitBox(Vec(8, 8, 16), RootPart, true, Cf(0, 0, 4), Cf())
2694
	DTPWeld.C0 = Cf(0, 0, -2) * Euler(rad(90), 0, 0)
2695
	Humanoid.WalkSpeed = 0
2696
	local hit = hbox.Touched:connect(function(part)
2697
		
2698
		DamageFunction(part, true, 29, 30, false, 0, "LifeSteal", RootPart, 0.1, true, 2, false, _, "", "")
2699
	end
2700
)
2701
	for i = 0, 1, 0.1 do
2702
		swait()
2703
		if Debounces.HasWep then
2704
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2705
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
2706
			WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), 0.3)
2707
			WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), 0.3)
2708
		end
2709
		MagicBlock(BrickColor.new(Colour2), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 8, 8, 8, 16, 16, 16, 0.1)
2710
		MagicCircle(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 5, 0.1, 5, 15, 0.2, 15, 0.1)
2711
		MagicWave2(BrickColor.new(Colour1), "Neon", Drag_To_Part:GetRenderCFrame() * Cf(0, 0, 0), 1, 3, 1, 3, 6, 3, 0.1)
2712
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-40), 0, rad(10)), 0.3)
2713
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2714
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-40), 0, rad(-10)), 0.3)
2715
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
2716
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0.2) * Euler(rad(50), 0, 0), 0.3)
2717
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
2718
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), 0.3)
2719
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.3)
2720
		FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-12), rad(90), 0), 0.3)
2721
		FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), 0.3)
2722
		FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), 0.3)
2723
		FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), 0.3)
2724
	end
2725
	Humanoid.WalkSpeed = CurrentSpeed
2726
	debServ:AddItem(hbox, 0)
2727
	debServ:AddItem(BV, 0)
2728
	LeftHip.Part0 = Torso
2729
	LeftHip.Part1 = LeftLeg
2730
	RightHip.Part0 = Torso
2731
	RightHip.Part1 = RightLeg
2732
	FLeftHip.Part0 = nil
2733
	FLeftHip.Part1 = nil
2734
	LeftHip.C0 = FLeftHip.C0
2735
	LeftHip.C1 = FLeftHip.C1
2736
	FRightHip.Part0 = nil
2737
	FRightHip.Part1 = nil
2738
	RightHip.C0 = FRightHip.C0
2739
	RightHip.C1 = FRightHip.C1
2740
	Debounces.Attacking = false
2741
	DTPWeld.C0 = Cf(0, 0, 0)
2742
	hit:disconnect()
2743
end
2744
2745
	local GH = 5000
2746
	local VHealth = Inst("DoubleConstrainedValue")
2747
	VHealth.MaxValue = GH * 4
2748
	VHealth.MinValue = 0
2749
	VHealth.Value = GH * 4
2750
	Corrupt_Guard = function()
2751
	
2752
	Debounces.Attacking = true
2753
	Debounces.CanGuard = false
2754
	Humanoid.WalkSpeed = 0
2755
	local LHealth = Humanoid.Health
2756
	GodMode = true
2757
	local MakeGuard = function()
2758
		
2759
		local guard = Inst("Part", workspace)
2760
		guard.BrickColor = BC(Colour1)
2761
		guard.Material = "SmoothPlastic"
2762
		guard.Transparency = 0.3
2763
		guard.Anchored = true
2764
		guard.Name = "Guard"
2765
		guard.Anchored = true
2766
		guard.CanCollide = false
2767
		guard.Locked = true
2768
		guard.Size = Vec(5.6, 5.6, 1.6)
2769
		local gm = Inst("SpecialMesh", guard)
2770
		gm.MeshId = "http://www.roblox.com/asset/?id=1185246"
2771
		gm.Scale = Vec(12, 12, 5)
2772
		gm.TextureId = "http://www.roblox.com/asset/?id=74697410"
2773
		local vc = BC(Colour1).Color
2774
		gm.VertexColor = Vec(vc.r, vc.g, vc.b)
2775
		guard.CFrame = RootPart.CFrame * Cf(0, 0, -2.2)
2776
		local DBModel = Inst("Model", workspace)
2777
		DBModel.Name = "DamageBox"
2778
		local gdb = Inst("Part", DBModel)
2779
		gdb.Transparency = 1
2780
		gdb.Anchored = true
2781
		gdb.CanCollide = true
2782
		gdb.Locked = true
2783
		gdb.Size = Vec(8, 8, 6)
2784
		gdb.CFrame = guard.CFrame * Cf(0, 0, -3.2)
2785
		gdb.Name = "Head"
2786
		local gdt = Inst("Part", DBModel)
2787
		gdt.Transparency = 1
2788
		gdt.Anchored = true
2789
		gdt.CanCollide = true
2790
		gdt.Locked = true
2791
		gdt.Size = Vec(8, 8, 6)
2792
		gdt.CFrame = guard.CFrame * Cf(0, 0, -3.2)
2793
		gdt.Name = "Torso"
2794
		local kthen = Inst("Weld", gdb)
2795
		kthen.Part0 = gdb
2796
		kthen.Part1 = gdt
2797
		local GHealth = Inst("Humanoid", DBModel)
2798
		GHealth.MaxHealth = GH
2799
		coroutine.resume(coroutine.create(function()
2800
			
2801
			runServ.Stepped:wait()
2802
			GHealth.Health = GHealth.MaxHealth
2803
		end
2804
))
2805
		return guard, GHealth, gdb, gdt, DBModel
2806
	end
2807
2808
	local Guard, GuardHealth, GDB, GDT, DBM = MakeGuard()
2809
	local Projectiles = {}
2810
	local Ignore = {Character}
2811
	local DontHeal = false
2812
	local Check = function(pro)
2813
		
2814
		local isSafe = false
2815
		for _,g in pairs(Projectiles) do
2816
			if g[1] ~= pro then
2817
				isSafe = true
2818
			end
2819
		end
2820
		return isSafe
2821
	end
2822
--fixed by kent911t
2823
	runServ.Stepped:wait()
2824
	repeat
2825
		Humanoid.WalkSpeed = 0
2826
		Humanoid.MaxHealth = huge
2827
		runServ.Stepped:wait()
2828
		Humanoid.Health = huge
2829
		RootPart.Velocity = Vec(0, 0, 0)
2830
		if Guard and GuardHealth and GDB and GDT and DBM and not DontHeal and Guard.Parent ~= nil and GuardHealth.Parent ~= nil and GDB.Parent ~= nil and GDT.Parent ~= nil and DBM.Parent ~= nil and GuardHealth.Health ~= 0 then
2831
			GuardHealth.MaxHealth = GH
2832
			Guard.CFrame = RootPart:GetRenderCFrame() * Cf(0, 0, -2.2)
2833
			GDB.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2)
2834
			GDT.CFrame = Guard:GetRenderCFrame() * Cf(0, 0, -3.2)
2835
			if GuardHealth.Health ~= GuardHealth.MaxHealth then
2836
				local HealthLost = GuardHealth.MaxHealth - GuardHealth.Health
2837
				LHealth = LHealth + HealthLost / 2
2838
				VHealth.Value = VHealth.Value - HealthLost
2839
				Apply_Buff(HealthLost / (GH / (GH / 160)), 25)
2840
				MakeText("+" .. HealthLost / 2 .. "", FONT, 0.4, 0, 170, 0, 0, 255, 0, RootPart.CFrame)
2841
				GuardHealth.Health = GuardHealth.MaxHealth
2842
				RootPart.Velocity = RootPart.CFrame.lookVector * -(30 + HealthLost / (GH / 50))
2843
			end
2844
		else
2845
			do
2846
				debServ:AddItem(Guard, 0)
2847
				debServ:AddItem(GuardHealth, 0)
2848
				debServ:AddItem(GDB, 0)
2849
				debServ:AddItem(DBM, 0)
2850
				Guard = MakeGuard()
2851
				do
2852
					local s1 = Sound(RootPart, "http://roblox.com/asset/?id=233091161", 1, 1.4, false)
2853
					debServ:AddItem(s1, 3)
2854
					MagicRing(BrickColor.new(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(0, 0, 0) * Euler(rad(90), 0, 0), 2, 2, 4, 8, 8, 16, 0.05)
2855
					DBM.Parent = F2
2856
					Apply_Buff(10, 120)
2857
					MagniDamage(RootPart, 40, false, 0, 1e+19, true, 9e+15, "Compensate", 0.01, false, 0, false, _, "", "")
2858
					DBM.Parent = workspace
2859
					repeat
2860
						repeat
2861
							repeat
2862
								repeat
2863
									runServ.Stepped:wait()
2864
								until Guard
2865
							until GuardHealth
2866
						until GDB
2867
					until DBM
2868
					local GuardSpeed = 0.5
2869
					if Debounces.HasWep then
2870
						HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), GuardSpeed)
2871
						HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), GuardSpeed)
2872
						WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), GuardSpeed)
2873
						WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), GuardSpeed)
2874
					end
2875
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.53, 0.2) * Euler(0, 0, rad(12)), GuardSpeed)
2876
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), GuardSpeed)
2877
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.4, -0.5) * Euler(rad(-210), 0, 0), GuardSpeed)
2878
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-50), 0), GuardSpeed)
2879
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-12), 0, 0), GuardSpeed)
2880
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-50), 0), GuardSpeed)
2881
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.5, -1, 0) * Euler(0, rad(-50), 0), GuardSpeed)
2882
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), GuardSpeed)
2883
					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0.15) * Euler(0, rad(90), 0), GuardSpeed)
2884
					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(105), 0), GuardSpeed)
2885
					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0.3) * Euler(0, rad(-90), 0), GuardSpeed)
2886
					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-120), 0), GuardSpeed)
2887
				end
2888
			end
2889
		end
2890
	until not Debounces.Guarding or Humanoid.Health < 0.01 or VHealth.Value == VHealth.MinValue
2891
	do
2892
		debServ:AddItem(Guard, 0)
2893
		debServ:AddItem(GuardHealth, 0)
2894
		debServ:AddItem(GDB, 0)
2895
		debServ:AddItem(DBM, 0)
2896
		GodMode = false
2897
		Humanoid.MaxHealth = Max_Health
2898
		Humanoid.WalkSpeed = CurrentSpeed
2899
		Debounces.Attacking = false
2900
		wait(0.15)
2901
		Humanoid.Health = LHealth
2902
		coroutine.resume(coroutine.create(function()
2903
		
2904
		wait(1)
2905
		Debounces.CanGuard = true
2906
	end
2907
))
2908
	end
2909
end
2910
2911
	Fatal_Blow = function()
2912
	
2913
	Debounces.Attacking = true
2914
	local PlusSize = 0
2915
	local Del = 0
2916
	local Continue = false
2917
	local K = Mouse.KeyUp:connect(function(key)
2918
		
2919
		if key == "z" and Z_Pressed then
2920
			Continue = true
2921
			Z_Pressed = false
2922
		end
2923
	end
2924
)
2925
	local psm = 1
2926
	local gy = Inst("BodyGyro", RootPart)
2927
	gy.Name = DecName
2928
	gy.MaxTorque = Vec(0, 3000, 0)
2929
	repeat
2930
		gy.CFrame = Cf(RootPart.Position, Mouse.Hit.p)
2931
		if Del >= 3 then
2932
			PlusSize = PlusSize + 0.15 * psm
2933
		else
2934
			Del = Del + 0.1
2935
		end
2936
		if 15 * psm - 0.15 <= PlusSize then
2937
			psm = psm + 0.1
2938
		end
2939
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(4)), 0.4)
2940
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
2941
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), 0.4)
2942
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
2943
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4)
2944
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4)
2945
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-60), 0), 0.4)
2946
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4)
2947
		RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4)
2948
		RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4)
2949
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4)
2950
		LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4)
2951
		MagicBlood(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 0.1, 2, 0.1, 0.1, 2, 0.1, 0.05)
2952
		swait()
2953
	until Continue or PlusSize >= 5000
2954
	debServ:AddItem(gy, 0)
2955
	K:disconnect()
2956
	local FB = coroutine.create(function()
2957
		
2958
		MagicRing(BrickColor.new(Colour2), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 1, 1, 0.1, 0.05)
2959
		MagicRing(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 0.6, 0.6, 0.1, 0.05)
2960
		MagicRing(BrickColor.new(Colour1), "Neon", LeftArm:GetRenderCFrame() * Cf(0, -0.5, 0) * Euler(rad(90), 0, 0), 0.1, 0.1, 0.1, 0.3, 0.3, 0.1, 0.05)
2961
		RootPart.Velocity = RootPart.CFrame.lookVector * -60
2962
		local s = Sound(LeftArm, "http://roblox.com/asset/?id=231917750", 1, 1.6, false)
2963
		debServ:AddItem(s, 2)
2964
		local Orb = Inst("Part", F2)
2965
		Orb.Material = "Neon"
2966
		Orb.BrickColor = BC(Colour1)
2967
		Orb.Transparency = 0.5
2968
		Orb.Name = "Orb"
2969
		Orb.Anchored = false
2970
		Orb.CanCollide = false
2971
		Orb.Locked = true
2972
		Orb.Size = Vec(1.4, 1.4, 1.4)
2973
		local OrbM = Inst("SpecialMesh", Orb)
2974
		OrbM.MeshType = "Sphere"
2975
		local Ring1 = Inst("Part", F2)
2976
		Ring1.Transparency = 0.5
2977
		Ring1.BrickColor = BC(Colour1)
2978
		Ring1.Name = "Ring"
2979
		Ring1.Anchored = false
2980
		Ring1.CanCollide = false
2981
		Ring1.Locked = true
2982
		Ring1.Size = Vec(0.2, 0.2, 0.2)
2983
		local Ring1M = Inst("SpecialMesh", Ring1)
2984
		Ring1M.MeshId = "http://www.roblox.com/asset/?id=3270017"
2985
		Ring1M.Scale = Vec(2, 2, 2)
2986
		local Ring2 = Inst("Part", F2)
2987
		Ring2.Transparency = 0.5
2988
		Ring2.BrickColor = BC(Colour1)
2989
		Ring2.Name = "Ring"
2990
		Ring2.Anchored = false
2991
		Ring2.CanCollide = false
2992
		Ring2.Locked = true
2993
		Ring2.Size = Vec(0.2, 0.2, 0.2)
2994
		local Ring2M = Inst("SpecialMesh", Ring2)
2995
		Ring2M.MeshId = "http://www.roblox.com/asset/?id=3270017"
2996
		Ring2M.Scale = Vec(2, 2, 2)
2997
		local Rm1 = Inst("Motor", Ring1)
2998
		Rm1.Part0 = Orb
2999
		Rm1.Part1 = Ring1
3000
		Rm1.DesiredAngle = 1e+28
3001
		Rm1.MaxVelocity = rad(6)
3002
		Rm1.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
3003
		Rm1.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
3004
		local Rm2 = Inst("Motor", Ring2)
3005
		Rm2.Part0 = Orb
3006
		Rm2.Part1 = Ring2
3007
		Rm2.DesiredAngle = 1e+28
3008
		Rm2.MaxVelocity = rad(6)
3009
		Rm2.C0 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
3010
		Rm2.C1 = Cf() * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360)))
3011
		Orb.CFrame = LeftArm.CFrame * Cf(0, -(0.5 + Orb.Size.Y / 2), 0)
3012
		local dir = CFrame.new(LeftArm.Position, Mouse.Hit.p)
3013
		local Vel = Inst("BodyVelocity", Orb)
3014
		Vel.MaxForce = Vec(huge, huge, huge)
3015
		Vel.Velocity = dir.lookVector * (190 + PlusSize / 12)
3016
		debServ:AddItem(Orb, 40 + PlusSize / 2)
3017
		debServ:AddItem(Ring1, 40 + PlusSize / 2)
3018
		debServ:AddItem(Ring2, 40 + PlusSize / 2)
3019
		local hit = Orb.Touched:connect(function(part)
3020
			
3021
			local hum = FindHum(part.Parent)
3022
			if (hum and hum ~= Humanoid and Orb.Anchored == false) or part.Anchored == true and Orb.Anchored == false and part.Name ~= "OrbBlast" and part.Name ~= "hoi hoi" and part.Name ~= "Effect" then
3023
				Orb.Anchored = true
3024
				Orb.Transparency = 1
3025
				local s = Sound(Orb, "http://roblox.com/asset/?id=233856079", 1, 1, false)
3026
				debServ:AddItem(s, 2)
3027
				debServ:AddItem(Ring1, 0)
3028
				debServ:AddItem(Vel, 0)
3029
				debServ:AddItem(Ring2, 0)
3030
				DamageFunction(part, false, 0, 8 + PlusSize * 2, false, 0, "Compensate-Stun", RootPart, 0.2, true, 2, false, _, "", "")
3031
				local Blast = Inst("Part", F2)
3032
				Blast.BrickColor = BC(Colour2)
3033
				Blast.Material = "Neon"
3034
				Blast.Transparency = 1
3035
				Blast.Name = "OrbBlast"
3036
				Blast.Anchored = true
3037
				Blast.CanCollide = false
3038
				Blast.Locked = true
3039
				Blast.Size = Vec(0.2, 0.2, 0.2)
3040
				Blast.CFrame = Orb.CFrame
3041
				local Bm = Inst("SpecialMesh", Blast)
3042
				Bm.MeshType = "Sphere"
3043
				Bm.Scale = Vec(0, 0, 0)
3044
				local Range = 0
3045
				MagicCircle(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame(), 0, 0, 0, 20 + PlusSize * 2.5, 20 + PlusSize * 2.5, 20 + PlusSize * 2.5, 0.05)
3046
				MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(90), rad(90), 0), 0, 0, 0, 5 + PlusSize * 2.5, 5 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05)
3047
				MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(22.5), 0, 0), 0, 0, 0, 10 + PlusSize * 2.5, 10 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05)
3048
				MagicRing(BrickColor.new(Colour1), "Neon", Blast:GetRenderCFrame() * Euler(rad(-22.5), 0, 0), 0, 0, 0, 15 + PlusSize * 2.5, 15 + PlusSize * 2.5, 4 + PlusSize * 2.5, 0.05)
3049
				for t = 0, 1, 0.18 do
3050
					swait()
3051
					Range = t * (10 + PlusSize * 1.5)
3052
					Blast.Transparency = (-2 + t) * -1 / 2
3053
					Bm.Scale = Vec(t * (120 + PlusSize * 6), t * (120 + PlusSize * 6), t * (120 + PlusSize * 6))
3054
					MagniDamage(Blast, Range, true, 6 + PlusSize / 10, 7 + PlusSize / 10, false, 0, "Compensate-Normal", 0.01, false, 0, false, _, "", "")
3055
				end
3056
				for t = 0, 2, 0.08 do
3057
					swait()
3058
					MagniDamage(Blast, Range, true, 4 + PlusSize / 10, 5 + PlusSize / 10, false, 0, "Compensate-LifeSteal", 0.2, false, 0, false, _, "", "")
3059
				end
3060
				for t = 1, 0, -0.22 do
3061
					swait()
3062
					Range = t * (10 + PlusSize * 1.5)
3063
					Blast.Transparency = (-2 + t) * -1 / 2
3064
					Bm.Scale = Vec(t * (120 + PlusSize * 6), t * (120 + PlusSize * 6), t * (120 + PlusSize * 6))
3065
					MagniDamage(Blast, Range, true, 6 + PlusSize / 10, 7 + PlusSize / 10, false, 0, "Compensate-Normal", 0.01, false, 0, false, _, "", "")
3066
				end
3067
				debServ:AddItem(Blast, 0)
3068
				debServ:AddItem(Orb, 0)
3069
			end
3070
		end
3071
)
3072
		repeat
3073
			swait()
3074
		until Orb.Parent == nil
3075
		debServ:AddItem(Orb, 0)
3076
		hit:disconnect()
3077
	end
3078
)
3079
	for i = 0, 0.4, 0.1 do
3080
		swait()
3081
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), 0.4)
3082
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
3083
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(90), 0, rad(-70)), 0.4)
3084
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
3085
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), 0.4)
3086
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.4)
3087
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-70), 0), 0.4)
3088
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), 0.4)
3089
		RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0) * Euler(0, rad(90), 0), 0.4)
3090
		RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0) * Euler(0, rad(90), 0), 0.4)
3091
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-90), 0), 0.4)
3092
		LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(0, rad(-90), 0), 0.4)
3093
	end
3094
	coroutine.resume(FB)
3095
	Debounces.Attacking = false
3096
end
3097
3098
	local WaveNum = 1
3099
	Hate_Wave = function()
3100
	Debounces.Attacking = true
3101
	local MakeWave = function()
3102
		
3103
		local Wave = Inst("Model", F2)
3104
		Wave.Name = "Wave"
3105
		local WM = Inst("Part", Wave)
3106
		WM.BrickColor = BC(Colour1)
3107
		WM.Material = "Neon"
3108
		WM.Name = "WavePart"
3109
		WM.Position = Vec(10.3, 7.6, -239.4)
3110
		WM.Rotation = Vec(-180, 0, -180)
3111
		WM.Anchored = true
3112
		WM.CanCollide = false
3113
		WM.Locked = true
3114
		WM.Size = Vec(1, 2.4, 1)
3115
		local W1 = Inst("Part", Wave)
3116
		W1.BrickColor = BC(Colour1)
3117
		W1.Material = "Neon"
3118
		W1.Name = "WavePart"
3119
		W1.Position = Vec(10.3, 9.648, -239.664)
3120
		W1.Rotation = Vec(165, 0, -180)
3121
		W1.Anchored = true
3122
		W1.CanCollide = false
3123
		W1.Locked = true
3124
		W1.Size = Vec(1, 2.1, 1)
3125
		local W2 = Inst("Part", Wave)
3126
		W2.BrickColor = BC(Colour1)
3127
		W2.Material = "Neon"
3128
		W2.Name = "WavePart"
3129
		W2.Position = Vec(10.3, 11.4, -240.4)
3130
		W2.Rotation = Vec(150, 0, -180)
3131
		W2.Anchored = true
3132
		W2.CanCollide = false
3133
		W2.Locked = true
3134
		W2.Size = Vec(1, 2, 1)
3135
		local W3 = Inst("Part", Wave)
3136
		W3.BrickColor = BC(Colour1)
3137
		W3.Material = "Neon"
3138
		W3.Name = "WavePart"
3139
		W3.Position = Vec(10.3, 5.552, -239.663)
3140
		W3.Rotation = Vec(-165, 0, -180)
3141
		W3.Anchored = true
3142
		W3.CanCollide = false
3143
		W3.Locked = true
3144
		W3.Size = Vec(1, 2.1, 1)
3145
		local W4 = Inst("Part", Wave)
3146
		W4.BrickColor = BC(Colour1)
3147
		W4.Material = "Neon"
3148
		W4.Name = "WavePart"
3149
		W4.Position = Vec(10.3, 3.8, -240.4)
3150
		W4.Rotation = Vec(-150, 0, -180)
3151
		W4.Anchored = true
3152
		W4.CanCollide = false
3153
		W4.Locked = true
3154
		W4.Size = Vec(1, 2, 1)
3155
		local WH = Inst("Part", Wave)
3156
		WH.Transparency = 1
3157
		WH.Name = "WaveHitbox"
3158
		WH.Position = Vec(10.3, 7.6, -240.2)
3159
		WH.Rotation = Vec(-180, 0, -180)
3160
		WH.Anchored = true
3161
		WH.CanCollide = false
3162
		WH.Locked = true
3163
		WH.Size = Vec(5, 12, 8)
3164
		for _,w in pairs(Wave:GetChildren()) do
3165
			if w:IsA("BasePart") and w ~= WH then
3166
				local W = Inst("Weld", WH)
3167
				W.Part0 = WH
3168
				W.Part1 = w
3169
				W.C0 = WH.CFrame:inverse() * Cf(WH.Position)
3170
				W.C1 = w.CFrame:inverse() * Cf(WH.Position)
3171
				local M = Inst("BlockMesh", w)
3172
				M.Scale = Vec(0, 1, 1)
3173
			end
3174
		end
3175
		local SiP = {NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(1, 0.188, 0)}
3176
		local TrP = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)}
3177
		local PE = Inst("ParticleEmitter", WH)
3178
		PE.Color = ColorSequence.new(BC(Colour1).Color)
3179
		PE.LightEmission = 1
3180
		PE.Size = NumberSequence.new(SiP)
3181
		PE.Transparency = NumberSequence.new(TrP)
3182
		PE.EmissionDirection = "Back"
3183
		PE.Lifetime = NumberRange.new(0.2, 0.8)
3184
		PE.Rate = 500
3185
		PE.Rotation = NumberRange.new(60, 120)
3186
		PE.RotSpeed = NumberRange.new(120, 360)
3187
		PE.Speed = NumberRange.new(30)
3188
		return Wave, WH
3189
	end
3190
3191
	if WaveNum == 1 then
3192
		WaveNum = 2
3193
			for i = 0, 0.3, 0.1 do
3194
				swait()
3195
				local SwingSpeed = 0.7
3196
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed)
3197
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3198
				WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3199
				WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
3200
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(80)), SwingSpeed)
3201
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3202
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), SwingSpeed)
3203
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3204
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
3205
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3206
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3207
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3208
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3209
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3210
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3211
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3212
			end
3213
		for i = 0, 0.2, 0.1 do
3214
			swait()
3215
			local SwingSpeed = 0.7
3216
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.98, -0.4) * Euler(rad(20), 0, 0), SwingSpeed)
3217
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3218
			WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3219
			WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
3220
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(90)), SwingSpeed)
3221
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-160), 0, 0), SwingSpeed)
3222
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed)
3223
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3224
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-17), 0, 0), SwingSpeed)
3225
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(30), 0), SwingSpeed)
3226
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(30), 0), SwingSpeed)
3227
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3228
			RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3229
			RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3230
			LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3231
			LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3232
		end
3233
		local Wave, WHB = MakeWave()
3234
		for _,p in pairs(Wave:GetChildren()) do
3235
			if p:IsA("BasePart") then
3236
				p.Anchored = false
3237
			end
3238
		end
3239
		WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(90))
3240
		local Vel = Inst("BodyVelocity", WHB)
3241
		Vel.MaxForce = Vec(huge, huge, huge)
3242
		Vel.Velocity = WHB.CFrame.lookVector * 220
3243
		local Gyr = Inst("BodyGyro", WHB)
3244
		Gyr.CFrame = WHB.CFrame
3245
		Gyr.MaxTorque = Vec(huge, huge, huge)
3246
		local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false)
3247
		debServ:AddItem(s, 2)
3248
		coroutine.resume(coroutine.create(function()
3249
		
3250
		debServ:AddItem(Wave, 2)
3251
		local hit = WHB.Touched:connect(function(part)
3252
			
3253
			DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "")
3254
		end
3255
)
3256
		repeat
3257
			swait()
3258
		until Wave.Parent == nil
3259
		hit:disconnect()
3260
	end
3261
))
3262
	elseif WaveNum == 2 then
3263
				WaveNum = 3
3264
				for i = 0, 0.3, 0.1 do
3265
					swait()
3266
					local SwingSpeed = 0.7
3267
					HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(160), 0, 0), SwingSpeed)
3268
					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3269
					WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3270
					WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3271
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.6, 0.5, -1) * Euler(0, 0, rad(45)), SwingSpeed)
3272
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-150), rad(0), 0), SwingSpeed)
3273
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-25)), SwingSpeed)
3274
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3275
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3276
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed)
3277
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed)
3278
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3279
					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3280
					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3281
					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3282
					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3283
				end
3284
				for i = 0, 0.2, 0.1 do
3285
					swait()
3286
					local SwingSpeed = 0.7
3287
					HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.96, 0.5) * Euler(rad(-10), 0, 0), SwingSpeed)
3288
					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3289
					WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3290
					WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3291
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(45)), SwingSpeed)
3292
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3293
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-30)), SwingSpeed)
3294
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3295
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
3296
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), SwingSpeed)
3297
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
3298
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3299
					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3300
					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3301
					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3302
					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3303
				end
3304
				local Wave, WHB = MakeWave()
3305
				for _,p in pairs(Wave:GetChildren()) do
3306
					if p:IsA("BasePart") then
3307
						p.Anchored = false
3308
					end
3309
				end
3310
				WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(45))
3311
				local Vel = Inst("BodyVelocity", WHB)
3312
				Vel.MaxForce = Vec(huge, huge, huge)
3313
				Vel.Velocity = WHB.CFrame.lookVector * 220
3314
				local Gyr = Inst("BodyGyro", WHB)
3315
				Gyr.CFrame = WHB.CFrame
3316
				Gyr.MaxTorque = Vec(huge, huge, huge)
3317
				local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false)
3318
				debServ:AddItem(s, 2)
3319
				coroutine.resume(coroutine.create(function()
3320
		
3321
		debServ:AddItem(Wave, 2)
3322
		local hit = WHB.Touched:connect(function(part)
3323
			
3324
			DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "")
3325
		end
3326
)
3327
		repeat
3328
			swait()
3329
		until Wave.Parent == nil
3330
		hit:disconnect()
3331
	end
3332
))
3333
			elseif WaveNum == 3 then
3334
						WaveNum = 4
3335
						for i = 0, 0.3, 0.1 do
3336
							swait()
3337
							local SwingSpeed = 0.7
3338
							HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(0), 0, 0), SwingSpeed)
3339
							HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3340
							WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
3341
							WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3342
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(135), 0, 0), SwingSpeed)
3343
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(45), rad(-45)), SwingSpeed)
3344
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-40)), SwingSpeed)
3345
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3346
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
3347
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3348
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3349
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3350
							RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3351
							RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3352
							LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3353
							LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3354
						end--fixed by kent911t
3355
						for i = 0, 0.2, 0.1 do
3356
							swait()
3357
							local SwingSpeed = 0.7
3358
							HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(0), 0, 0), SwingSpeed)
3359
							HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3360
							WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
3361
							WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3362
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-25), 0, rad(0)), SwingSpeed)
3363
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), rad(-10)), SwingSpeed)
3364
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, rad(-25)), SwingSpeed)
3365
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3366
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3367
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(82), 0), SwingSpeed)
3368
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(100), 0), SwingSpeed)
3369
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3370
							RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3371
							RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3372
							LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3373
							LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3374
						end
3375
						local Wave, WHB = MakeWave()
3376
						for _,p in pairs(Wave:GetChildren()) do
3377
							if p:IsA("BasePart") then
3378
								p.Anchored = false
3379
							end
3380
						end
3381
						WHB.CFrame = RootPart.CFrame * Euler(0, 0, rad(-45))
3382
						local Vel = Inst("BodyVelocity", WHB)
3383
						Vel.MaxForce = Vec(huge, huge, huge)
3384
						Vel.Velocity = WHB.CFrame.lookVector * 220
3385
						local Gyr = Inst("BodyGyro", WHB)
3386
						Gyr.CFrame = WHB.CFrame
3387
						Gyr.MaxTorque = Vec(huge, huge, huge)
3388
						local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false)
3389
						debServ:AddItem(s, 2)
3390
						coroutine.resume(coroutine.create(function()
3391
		
3392
		debServ:AddItem(Wave, 2)
3393
		local hit = WHB.Touched:connect(function(part)
3394
			
3395
			DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "")
3396
		end
3397
)
3398
		repeat
3399
			swait()
3400
		until Wave.Parent == nil
3401
		hit:disconnect()
3402
	end
3403
))
3404
					elseif WaveNum == 4 then
3405
								WaveNum = 1
3406
								for i = 0, 0.3, 0.1 do
3407
									swait()
3408
									local SwingSpeed = 0.7
3409
									HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.9, 0.6) * Euler(rad(160), 0, 0), SwingSpeed)
3410
									HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3411
									WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3412
									WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3413
									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(160), 0, 0), SwingSpeed)
3414
									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed)
3415
									FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.6, 0.8, -0.95) * Euler(rad(120), 0, rad(60)), SwingSpeed)
3416
									FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3417
									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3418
									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3419
									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3420
									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3421
									RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3422
									RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3423
									LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3424
									LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3425
								end
3426
								for i = 0, 0.2, 0.1 do
3427
									swait()
3428
									local SwingSpeed = 0.7
3429
									HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed)
3430
									HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed)
3431
									WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3432
									WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3433
									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed)
3434
									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
3435
									FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed)
3436
									FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
3437
									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3438
									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed)
3439
									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(60), 0), SwingSpeed)
3440
									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3441
									RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3442
									RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3443
									LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3444
									LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3445
								end
3446
								local Wave, WHB = MakeWave()
3447
								for _,p in pairs(Wave:GetChildren()) do
3448
									if p:IsA("BasePart") then
3449
										p.Anchored = false
3450
									end
3451
								end
3452
								WHB.CFrame = RootPart.CFrame
3453
								local Vel = Inst("BodyVelocity", WHB)
3454
								Vel.MaxForce = Vec(huge, huge, huge)
3455
								Vel.Velocity = WHB.CFrame.lookVector * 220
3456
								local Gyr = Inst("BodyGyro", WHB)
3457
								Gyr.CFrame = WHB.CFrame
3458
								Gyr.MaxTorque = Vec(huge, huge, huge)
3459
								local s = Sound(WHB, "http://roblox.com/asset/?id=233091183", 1, 1.6, false)
3460
								debServ:AddItem(s, 2)
3461
								coroutine.resume(coroutine.create(function()
3462
		
3463
		debServ:AddItem(Wave, 2)
3464
		local hit = WHB.Touched:connect(function(part)
3465
			
3466
			DamageFunction(part, false, 0, 8, false, 0, "Compensate-LifeSteal", WHB, 0.2, false, 0, false, _, "", "")
3467
		end
3468
)
3469
		repeat
3470
			swait()
3471
		until Wave.Parent == nil
3472
		hit:disconnect()
3473
	end
3474
))
3475
	end
3476
	Debounces.Attacking = false
3477
end
3478
3479
	Dark_Eruption = function()
3480
	
3481
	Debounces.Attacking = true
3482
	local EPower = 0
3483
	local BuffDelay = 0
3484
	repeat
3485
		if BuffDelay < 3.9 then
3486
			BuffDelay = BuffDelay + 0.1
3487
		else
3488
			EPower = EPower + 0.25
3489
		end
3490
		MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3491
		MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3492
		MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3493
		MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3494
		Humanoid.WalkSpeed = 5
3495
		local SwingSpeed = 0.5
3496
		HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.95, 0.5) * Euler(rad(180), 0, 0), SwingSpeed)
3497
		HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
3498
		WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3499
		WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3500
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(170), 0, 0), SwingSpeed)
3501
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(40), 0), SwingSpeed)
3502
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.45, 0.8, -0.95) * Euler(rad(150), 0, rad(40)), SwingSpeed)
3503
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
3504
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3505
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3506
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-40), 0), SwingSpeed)
3507
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3508
		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3509
		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
3510
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3511
		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
3512
		wait()
3513
	until not Debounces.Charging_Erupt
3514
	Debounces.DisableJump = true
3515
	LeftHip.Part0 = nil
3516
	LeftHip.Part1 = nil
3517
	RightHip.Part0 = nil
3518
	RightHip.Part1 = nil
3519
	FLeftHip.Part0 = Torso
3520
	FLeftHip.Part1 = LeftLeg
3521
	FLeftHip.C0 = LeftHip.C0
3522
	FLeftHip.C1 = LeftHip.C1
3523
	FRightHip.Part0 = Torso
3524
	FRightHip.Part1 = RightLeg
3525
	FRightHip.C0 = RightHip.C0
3526
	FRightHip.C1 = RightHip.C1
3527
	local hit = Hit_Box.Touched:connect(function(part)
3528
		
3529
		DamageFunction(part, false, 0, 20 + EPower / 4, true, 40, "Compensate-Knockdown", Hit_Box, 0.2, false, 0, false, _, "", "")
3530
	end
3531
)
3532
	for i = 0, 0.4, 0.1 do
3533
		swait()
3534
		local SwingSpeed = 0.55
3535
		Humanoid.WalkSpeed = 0
3536
		MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3537
		MagicBlock(BrickColor.new(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3538
		MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3539
		MagicBlock(BrickColor.new(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(0.9, rand(-3, 3), 0), 0.1, 0, 0.1, 0.65, 0.65, 0.65, 0.05)
3540
		HWeld.C0 = clerp(HWeld.C0, Cf(0, -0.8, 0.6) * Euler(rad(146), 0, rad(-40)), SwingSpeed)
3541
		HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, rad(-5), 0), SwingSpeed)
3542
		WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
3543
		WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
3544
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-65), rad(-40)), SwingSpeed)
3545
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
3546
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.5) * Euler(rad(20), 0, rad(60)), SwingSpeed)
3547
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
3548
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
3549
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(60), 0), SwingSpeed)
3550
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -2.2, 0) * Euler(0, rad(60), 0), SwingSpeed)
3551
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
3552
		FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.3, 0.1) * Euler(rad(-80), 0, 0), SwingSpeed)
3553
		FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
3554
		FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.1, -0.6) * Euler(rad(-10), 0, 0), SwingSpeed)
3555
		FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
3556
	end
3557
	coroutine.resume(coroutine.create(function()
3558
		
3559
		for i = 1, 10 do
3560
			swait()
3561
			local Point = Inst("Part", F2)
3562
			do
3563
				Point.Anchored = true
3564
				Point.Name = "Point"
3565
				Point.CanCollide = false
3566
				Point.Transparency = 1
3567
				Point.Locked = true
3568
				Point.Size = Vec(0.2, 0.2, 0.2)
3569
				Point.CFrame = RootPart.CFrame * Cf(0, -3, -(11 * i))
3570
				local P2 = Inst("Part", Point)
3571
				P2.Anchored = true
3572
				P2.CanCollide = false
3573
				P2.Name = "Point"
3574
				P2.Transparency = 1
3575
				P2.Locked = true
3576
				P2.Size = Vec(0.2, 0.2, 0.2)
3577
				P2.CFrame = Point.CFrame * Cf(0, 10, 0)
3578
				local P3 = Inst("Part", Point)
3579
				P3.Anchored = true
3580
				P3.Name = "Point"
3581
				P3.CanCollide = false
3582
				P3.Transparency = 1
3583
				P3.Locked = true
3584
				P3.Size = Vec(0.2, 0.2, 0.2)
3585
				P3.CFrame = Point.CFrame * Cf(0, -10, 0)
3586
				local s1 = Sound(Point, "http://roblox.com/asset/?id=233091161", 0.4, 3, false)
3587
				debServ:AddItem(s1, 3)
3588
				local s2 = Sound(Point, "http://roblox.com/asset/?id=231917744", 1, 2, false)
3589
				debServ:AddItem(s2, 3)
3590
				MagicCircle(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0, 0.1, 5, 0.5, 5, 0.08)
3591
				MagicCircle(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0, 0.1, 1, 50, 1, 0.08)
3592
				MagicCircle(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.06, 0, 0.06, 4.6, 0.46, 4.6, 0.06)
3593
				MagicCircle(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.06, 0, 0.06, 0.6, 46, 0.6, 0.06)
3594
				MagicBlock(BrickColor.new(Colour1), "SmoothPlastic", Point:GetRenderCFrame(), 0.1, 0.1, 0.1, 2, 2, 2, 0.08)
3595
				MagicBlock(BrickColor.new(Colour2), "Neon", Point:GetRenderCFrame(), 0.1, 0.1, 0.1, 2, 2, 2, 0.06)
3596
				coroutine.resume(coroutine.create(function()
3597
			
3598
			for i = 0, 0.4, 0.1 do
3599
				swait()
3600
				MagniDamage(Point, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "")
3601
				MagniDamage(P2, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "")
3602
				MagniDamage(P3, 12, true, 8 + EPower, 9 + EPower, true, 90, "Compensate-LifeSteal", 0.01, false, 0, false, _, "", "")
3603
			end
3604
			debServ:AddItem(Point, 0)
3605
		end
3606
))
3607
			end
3608
		end
3609
	end
3610
))
3611
	wait(0.55)
3612
	hit:disconnect()
3613
	FLeftHip.Part0 = nil
3614
	FLeftHip.Part1 = nil
3615
	FRightHip.Part0 = nil
3616
	FRightHip.Part1 = nil
3617
	LeftHip.Part0 = Torso
3618
	LeftHip.Part1 = LeftLeg
3619
	LeftHip.C0 = FLeftHip.C0
3620
	LeftHip.C1 = FLeftHip.C1
3621
	RightHip.Part0 = Torso
3622
	RightHip.Part1 = RightLeg
3623
	RightHip.C0 = FRightHip.C0
3624
	RightHip.C1 = FRightHip.C1
3625
	Humanoid.WalkSpeed = CurrentSpeed
3626
	Debounces.DisableJump = false
3627
	Debounces.Attacking = false
3628
end
3629
3630
	Axel = function(Upward)
3631
	Debounces.Attacking = true
3632
	if not Debounces.HasWep then
3633
		if Current_Anim == "Idle" or Current_Anim == "Walking" then
3634
			LeftHip.Part0 = nil
3635
			LeftHip.Part1 = nil
3636
			RightHip.Part0 = nil
3637
			RightHip.Part1 = nil
3638
			FLeftHip.Part0 = Torso
3639
			FLeftHip.Part1 = LeftLeg
3640
			FLeftHip.C0 = LeftHip.C0
3641
			FLeftHip.C1 = LeftHip.C1
3642
			FRightHip.Part0 = Torso
3643
			FRightHip.Part1 = RightLeg
3644
			FRightHip.C0 = RightHip.C0
3645
			FRightHip.C1 = RightHip.C1
3646
			local t = 0.6
3647
				local VelPart = RootPart
3648
				local tim = 1
3649
				local Speed = 100
3650
				local HBSize = Vec(3, 5, 3)
3651
				local Vel = Inst("BodyVelocity", RootPart)
3652
				Vel.Name = DecName
3653
				Vel.MaxForce = Vec(huge, huge, huge)
3654
				Vel.Velocity = VelPart.CFrame.lookVector * 0
3655
				if Upward then
3656
					tim = 1.4
3657
					HBSize = Vec(5, 7, 5)
3658
					Speed = 250
3659
					local LVec = Inst("Part", F2)
3660
					LVec.Transparency = 1
3661
					LVec.Anchored = false
3662
					LVec.CanCollide = false
3663
					LVec.Locked = true
3664
					LVec.Size = Vec(1, 1, 1)
3665
					LVec.FrontSurface = "Hinge"
3666
					local LVW = Inst("Weld", LVec)
3667
					LVW.Part0 = LeftLeg
3668
					LVW.Part1 = LVec
3669
					LVW.Name = DecName
3670
					LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0)
3671
					LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20))
3672
					VelPart = LVec
3673
					Vel.Velocity = RootPart.CFrame.lookVector * -15 + Vec(0, 25, 0)
3674
					local noscope = 0
3675
					local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false)
3676
					debServ:AddItem(j, 2)
3677
					for i = 0, 1.4, 0.1 do
3678
						swait()
3679
						if noscope ~= 360 then
3680
							noscope = noscope + 30
3681
						end
3682
						local JumpSpeed = 0.4
3683
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed)
3684
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3685
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed)
3686
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3687
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed)
3688
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
3689
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed)
3690
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
3691
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed)
3692
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
3693
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed)
3694
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
3695
					end
3696
				end
3697
					local HBox = MakeHitBox(HBSize, LeftLeg, true, Cf(0, -(HBSize.Y / 4), 0), Cf())
3698
					local T = 0
3699
						local hit = HBox.Touched:connect(function(part)
3700
		
3701
		local hum = FindHum(part.Parent)
3702
		local Axeld = part.Parent:FindFirstChild("Axeld")
3703
		if hum and hum ~= Humanoid and not Axeld then
3704
			tim = tim + 1.2
3705
			local ax = Inst("BoolValue", part.Parent)
3706
			ax.Name = "Axeld"
3707
			local QuickDelay = Inst("BodyPosition", RootPart)
3708
			QuickDelay.Name = DecName
3709
			QuickDelay.MaxForce = Vec(huge, huge, huge)
3710
			QuickDelay.Position = RootPart.Position
3711
			debServ:AddItem(QuickDelay, 0.3)
3712
			debServ:AddItem(ax, 0.4)
3713
			DamageFunction(part, true, 20, 21, false, 150, "SkyRocket", RootPart, 0.1, false, 0, false, _, "", "")
3714
		end
3715
	end
3716
)
3717
						repeat
3718
							Vel.Velocity = VelPart.CFrame.lookVector * Speed
3719
							MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1)
3720
							MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1)
3721
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t)
3722
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t)
3723
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t)
3724
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t)
3725
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t)
3726
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t)
3727
							if not Upward then
3728
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(40), rad(-80), 0), t)
3729
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
3730
							else
3731
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(100), rad(-80), 0), t)
3732
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
3733
							end
3734
							FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t)
3735
							FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t)
3736
							FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t)
3737
							FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t)
3738
							T = T + 0.1
3739
							swait()
3740
						until tim <= T
3741
						debServ:AddItem(HBox, 0)
3742
						hit:disconnect()
3743
						debServ:AddItem(Vel, 0)
3744
						if Upward then
3745
							debServ:AddItem(VelPart, 0)
3746
						end
3747
						if not Upward then
3748
							for i = 0, 1.4, 0.1 do
3749
								swait()
3750
								Humanoid.WalkSpeed = 0
3751
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3)
3752
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
3753
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3)
3754
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3)
3755
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3)
3756
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3)
3757
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3)
3758
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
3759
								FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3)
3760
								FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
3761
								FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3)
3762
								FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
3763
							end
3764
						end
3765
							Humanoid.WalkSpeed = CurrentSpeed
3766
							LeftHip.Part0 = Torso
3767
							LeftHip.Part1 = LeftLeg
3768
							RightHip.Part0 = Torso
3769
							RightHip.Part1 = RightLeg
3770
							FLeftHip.Part0 = nil
3771
							FLeftHip.Part1 = nil
3772
							LeftHip.C0 = FLeftHip.C0
3773
							LeftHip.C1 = FLeftHip.C1
3774
							FRightHip.Part0 = nil
3775
							FRightHip.Part1 = nil
3776
							RightHip.C0 = FRightHip.C0
3777
							RightHip.C1 = FRightHip.C1
3778
						end
3779
						if Current_Anim == "Falling" or Current_Anim == "Jumping" then
3780
							LeftHip.Part0 = nil
3781
							LeftHip.Part1 = nil
3782
							RightHip.Part0 = nil
3783
							RightHip.Part1 = nil
3784
							FLeftHip.Part0 = Torso
3785
							FLeftHip.Part1 = LeftLeg
3786
							FLeftHip.C0 = LeftHip.C0
3787
							FLeftHip.C1 = LeftHip.C1
3788
							FRightHip.Part0 = Torso
3789
							FRightHip.Part1 = RightLeg
3790
							FRightHip.C0 = RightHip.C0
3791
							FRightHip.C1 = RightHip.C1
3792
							local t = 0.6
3793
							local HBox = MakeHitBox(Vec(3, 5, 3), LeftLeg, true, Cf(0, -1.25, 0), Cf())
3794
							local LVec = Inst("Part", F2)
3795
							LVec.Transparency = 1
3796
							LVec.Anchored = false
3797
							LVec.CanCollide = false
3798
							LVec.Locked = true
3799
							LVec.Size = Vec(1, 1, 1)
3800
							LVec.FrontSurface = "Hinge"
3801
							local LVW = Inst("Weld", LVec)
3802
							LVW.Part0 = LeftLeg
3803
							LVW.Part1 = LVec
3804
							LVW.Name = DecName
3805
							LVW.C0 = Cf(0, -0.5, 0) * Euler(rad(-90), 0, 0)
3806
							LVW.C1 = Cf(0, 0, 0) * Euler(0, 0, rad(-20))
3807
							local Vel = Inst("BodyVelocity", RootPart)
3808
							Vel.Name = DecName
3809
							Vel.MaxForce = Vec(huge, huge, huge)
3810
							Vel.Velocity = LVec.CFrame.lookVector * 0
3811
							local FallDamage = 0
3812
							local CanDiveKick = true
3813
							local TouchedGround = false
3814
							local BuffN = 3
3815
							local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 5, Character)
3816
							local hit = HBox.Touched:connect(function(part)
3817
		
3818
		local hum = FindHum(part.Parent)
3819
		if hum and hum ~= Humanoid and CanDiveKick then
3820
			CanDiveKick = false
3821
			FallDamage = FallDamage + 4
3822
			Vel.Velocity = RootPart.CFrame.lookVector * -8 + Vec(0, 20, 0)
3823
			local noscope = 0
3824
			local s = Sound(part, "http://roblox.com/asset/?id=401057895", 1, 1, false)
3825
			debServ:AddItem(s, 2)
3826
			local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false)
3827
			debServ:AddItem(j, 2)
3828
			DamageFunction(part, false, 0, 45, false, 0, "LifeSteal", RootPart, 0.1, false, 0, false, _, "", "")
3829
			Apply_Buff(BuffN, 15)
3830
			if BuffN > 0 then
3831
				BuffN = BuffN - 0.1
3832
			end
3833
			for i = 0, 1.4, 0.1 do
3834
				swait()
3835
				Vel.Velocity = RootPart.CFrame.lookVector * -8 + Vec(0, 22, 0)
3836
				if noscope ~= 360 then
3837
					noscope = noscope + 30
3838
				end
3839
				local JumpSpeed = 0.4
3840
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed)
3841
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3842
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed)
3843
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3844
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed)
3845
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
3846
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed)
3847
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
3848
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed)
3849
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
3850
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed)
3851
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
3852
			end
3853
			CanDiveKick = true
3854
		end
3855
	end
3856
)
3857
							repeat
3858
								swait()
3859
								if CanDiveKick then
3860
									FallDamage = FallDamage + 1
3861
									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, rad(15), rad(70)), t)
3862
									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), t)
3863
									FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -0.9) * Euler(rad(90), 0, 0), t)
3864
									FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-70)), t)
3865
									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.3) * Euler(rad(-35), rad(60), 0), t)
3866
									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), t)
3867
									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-5), rad(-80), 0), t)
3868
									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), t)
3869
									FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -0.5, -0.7) * Euler(rad(-30), 0, 0), t)
3870
									FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, rad(25)), t)
3871
									FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.8, -1, -0.15) * Euler(rad(-20), rad(60), 0), t)
3872
									FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(-40), 0, 0), t)
3873
									Vel.Velocity = LVec.CFrame.lookVector * 150
3874
									MagicBlock(BrickColor.new(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -5, -1), 3, 3, 3, 7, 7, 7, 0.1)
3875
									MagicBlock(BrickColor.new(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -4, -1), 2, 2, 2, 6, 6, 6, 0.1)
3876
									ground = rayCast(LVec.Position, LVec.CFrame.lookVector, 15, Character)
3877
									if ground and ground.Anchored == true then
3878
										TouchedGround = true
3879
									end
3880
								end
3881
							until TouchedGround
3882
							MagicWave(ground.BrickColor, ground.Material, Cf(pos), 0, 0, 0, 3, 1, 3, 0.1)
3883
							local WaveP = Inst("Part", F2)
3884
							WaveP.Transparency = 1
3885
							WaveP.Anchored = true
3886
							WaveP.CanCollide = false
3887
							WaveP.Locked = true
3888
							WaveP.CFrame = Cf(pos)
3889
							MagniDamage(WaveP, 25, true, 4 + (FallDamage), 5 + (FallDamage), false, 0, "Stun", 0.06 + (FallDamage) / 100, false, 0, false, _, "", "")
3890
							debServ:AddItem(WaveP, 3)
3891
							local boo = Sound(WaveP, "http://roblox.com/asset/?id=157878578", 1, 1, false)
3892
							debServ:AddItem(boo, 0.4)
3893
							debServ:AddItem(HBox, 0)
3894
							debServ:AddItem(LVec, 0)
3895
							hit:disconnect()
3896
							debServ:AddItem(Vel, 0)
3897
							for i = 0, 1.8, 0.1 do
3898
								swait()
3899
								Humanoid.WalkSpeed = 0
3900
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(70)), 0.3)
3901
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.3)
3902
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(70), 0, rad(60)), 0.3)
3903
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), 0.3)
3904
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.35, -0.5) * Euler(rad(-45), 0, 0), 0.3)
3905
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-30), 0), 0.3)
3906
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.4, 0) * Euler(rad(-20), rad(-60), 0), 0.3)
3907
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.3)
3908
								FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1.8, -0.7) * Euler(0, rad(20), 0), 0.3)
3909
								FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
3910
								FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1, -1.4, -0.6) * Euler(0, rad(60), 0), 0.3)
3911
								FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 0, 0) * Euler(rad(-15), 0, 0), 0.3)
3912
							end
3913
							Humanoid.WalkSpeed = CurrentSpeed
3914
							LeftHip.Part0 = Torso
3915
							LeftHip.Part1 = LeftLeg
3916
							RightHip.Part0 = Torso
3917
							RightHip.Part1 = RightLeg
3918
							FLeftHip.Part0 = nil
3919
							FLeftHip.Part1 = nil
3920
							LeftHip.C0 = FLeftHip.C0
3921
							LeftHip.C1 = FLeftHip.C1
3922
							FRightHip.Part0 = nil
3923
							FRightHip.Part1 = nil
3924
							RightHip.C0 = FRightHip.C0
3925
							RightHip.C1 = FRightHip.C1
3926
						end
3927
							if Debounces.HasWep and not Debounces.DuelWielding then
3928
								if Current_Anim == "Idle" or Current_Anim == "Walking" then
3929
									LeftHip.Part0 = nil
3930
									LeftHip.Part1 = nil
3931
									RightHip.Part0 = nil
3932
									RightHip.Part1 = nil
3933
									FLeftHip.Part0 = Torso
3934
									FLeftHip.Part1 = LeftLeg
3935
									FLeftHip.C0 = LeftHip.C0
3936
									FLeftHip.C1 = LeftHip.C1
3937
									FRightHip.Part0 = Torso
3938
									FRightHip.Part1 = RightLeg
3939
									FRightHip.C0 = RightHip.C0
3940
									FRightHip.C1 = RightHip.C1
3941
									local t = 0.6
3942
									local VelPart = RootPart
3943
									local tim = 1
3944
									local Speed = 150
3945
									local HBSize = Vec(4, 8, 3)
3946
									local Vel = Inst("BodyVelocity", RootPart)
3947
									Vel.Name = DecName
3948
									Vel.MaxForce = Vec(huge, huge, huge)
3949
									Vel.Velocity = VelPart.CFrame.lookVector * 0
3950
									if Upward then
3951
										tim = 1.4
3952
										Speed = 300
3953
										local LVec = Inst("Part", F2)
3954
										LVec.Transparency = 1
3955
										LVec.Anchored = false
3956
										LVec.CanCollide = false
3957
										LVec.Locked = true
3958
										-- DECOMPILER ERROR at PC2022: Overwrote pending register: R11 in 'AssignReg'
3959
3960
										LVec.Size = Vec(2, 2, 2--[[pos]])
3961
										LVec.FrontSurface = "Hinge"
3962
										local LVW = Inst("Weld", LVec)
3963
										LVW.Part0 = RootPart
3964
										LVW.Part1 = LVec
3965
										LVW.Name = DecName
3966
										LVW.C0 = Cf(0, 0, 0) * Euler(rad(50), 0, 0)
3967
										VelPart = LVec
3968
										Vel.Velocity = RootPart.CFrame.lookVector * -15 + Vec(0, 25, 0)
3969
										local noscope = 0
3970
										local j = Sound(RootPart, "http://roblox.com/asset/?id=158149887", 0.5, 1, false)
3971
										debServ:AddItem(j, 2)
3972
										for i = 0, 1.4, 0.1 do
3973
											swait()
3974
											if noscope ~= 360 then
3975
												noscope = noscope + 30
3976
											end
3977
											local JumpSpeed = 0.4
3978
											HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
3979
											HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
3980
											WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed)
3981
											WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed)
3982
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-60), 0, rad(10)), JumpSpeed)
3983
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3984
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-60), 0, rad(-10)), JumpSpeed)
3985
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
3986
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0.2) * Euler(rad(30), 0, 0), JumpSpeed)
3987
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
3988
											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(noscope), 0, 0), JumpSpeed)
3989
											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
3990
											FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-18), rad(90), 0), JumpSpeed)
3991
											FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
3992
											FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-30), rad(-90), 0), JumpSpeed)
3993
											FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
3994
										end
3995
									end
3996
										local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf())
3997
										local T = 0
3998
										local Penetrates = 0
3999
										local hit = HBox.Touched:connect(function(part)
4000
		
4001
		local hum = FindHum(part.Parent)
4002
		local p = part.Parent:FindFirstChild("Penetrated")
4003
		local tor = part.Parent:FindFirstChild("Torso")
4004
		if hum and hum ~= Humanoid and not p and tor then
4005
			if not Upward then
4006
				tim = tim + 1.2
4007
			else
4008
				tim = tim + 1.6
4009
			end
4010
			DamageFunction(part, false, 0, 30, false, 0, "Compensate", RootPart, 0.1, false, _, false, _, "", "")
4011
			local Penetrate = Inst("Part")
4012
			if hum.MaxHealth / 12 < hum.Health then
4013
				debServ:AddItem(Penetrate, 0)
4014
				Penetrate = Inst("Weld", HBox)
4015
				Penetrate.Part0 = HBox
4016
				Penetrate.Part1 = tor
4017
				Penetrate.C0 = Cf(0, 2.6 - Penetrates, 0) * Euler(rad(90), 0, rad(-90))
4018
			end
4019
			local P = Inst("BoolValue", part.Parent)
4020
			P.Name = "Penetrated"
4021
			debServ:AddItem(P, 4)
4022
			debServ:AddItem(Penetrate, 2)
4023
			if Penetrates ~= 6 then
4024
				Penetrates = Penetrates + 1
4025
			end
4026
			local rip = runServ.RenderStepped:connect(function()
4027
			
4028
			hum.PlatformStand = true
4029
			DamageFunction(part, false, 0, 0 + Penetrates, false, 0, "Compensate", RootPart, 0.02, false, _, false, _, "", "")
4030
		end
4031
)
4032
			repeat
4033
				swait()
4034
			until Penetrate.Parent == nil or T == tim or hum.Health <= hum.MaxHealth / 12
4035
			hum.PlatformStand = false
4036
			if Penetrates ~= 6 then
4037
				Penetrates = Penetrates - 1
4038
			end
4039
			debServ:AddItem(P, 0)
4040
			debServ:AddItem(Penetrate, 0)
4041
			rip:disconnect()
4042
		end
4043
	end
4044
)
4045
										repeat
4046
											Vel.Velocity = VelPart.CFrame.lookVector * Speed
4047
											MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1)
4048
											MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1)
4049
											MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1)
4050
											MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1)
4051
											local SwingSpeed = 0.5
4052
											HWeld.C0 = clerp(HWeld.C0, Cf(-0.7, -0.15, 0) * Euler(0, 0, 0), SwingSpeed)
4053
											HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4054
											WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(180), 0, rad(-20)), SwingSpeed)
4055
											WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4056
											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-50), 0), SwingSpeed)
4057
											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
4058
											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(60), 0, rad(80)), SwingSpeed)
4059
											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
4060
											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
4061
											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(70), 0), SwingSpeed)
4062
											if not Upward then
4063
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(0, rad(70), 0), SwingSpeed)
4064
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4065
											else
4066
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(rad(50), 0, 0), SwingSpeed)
4067
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed)
4068
											end
4069
											FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed)
4070
											FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed)
4071
											FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-60), 0), SwingSpeed)
4072
											FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed)
4073
											T = T + 0.1
4074
											swait()
4075
										until tim <= T
4076
										debServ:AddItem(HBox, 0)
4077
										hit:disconnect()
4078
										debServ:AddItem(Vel, 0)
4079
										if Upward then
4080
											debServ:AddItem(VelPart, 0)
4081
										end
4082
										if not Upward then
4083
											for i = 0, 1.4, 0.1 do
4084
												swait()
4085
												Humanoid.WalkSpeed = 0
4086
												local SwingSpeed = 0.5
4087
												HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4088
												HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4089
												WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
4090
												WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
4091
												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed)
4092
												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
4093
												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-60)), SwingSpeed)
4094
												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-30), 0), SwingSpeed)
4095
												Neck.C0 = clerp(Neck.C0, Cf(0, 1.52, 0.2) * Euler(rad(30), 0, 0), SwingSpeed)
4096
												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4097
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.2, 0) * Euler(rad(-40), 0, 0), SwingSpeed)
4098
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4099
												FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1, -0.4) * Euler(rad(-12), 0, 0), SwingSpeed)
4100
												FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4101
												FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -0.6, -0.5) * Euler(rad(40), 0, 0), SwingSpeed)
4102
												FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4103
											end
4104
										end
4105
												Humanoid.WalkSpeed = CurrentSpeed
4106
												LeftHip.Part0 = Torso
4107
												LeftHip.Part1 = LeftLeg
4108
												RightHip.Part0 = Torso
4109
												RightHip.Part1 = RightLeg
4110
												FLeftHip.Part0 = nil
4111
												FLeftHip.Part1 = nil
4112
												LeftHip.C0 = FLeftHip.C0
4113
												LeftHip.C1 = FLeftHip.C1
4114
												FRightHip.Part0 = nil
4115
												FRightHip.Part1 = nil
4116
												RightHip.C0 = FRightHip.C0
4117
												RightHip.C1 = FRightHip.C1
4118
												end
4119
												if Current_Anim == "Falling" or Current_Anim == "Jumping" then
4120
													LeftHip.Part0 = nil
4121
													LeftHip.Part1 = nil
4122
													RightHip.Part0 = nil
4123
													RightHip.Part1 = nil
4124
													FLeftHip.Part0 = Torso
4125
													FLeftHip.Part1 = LeftLeg
4126
													FLeftHip.C0 = LeftHip.C0
4127
													FLeftHip.C1 = LeftHip.C1
4128
													FRightHip.Part0 = Torso
4129
													FRightHip.Part1 = RightLeg
4130
													FRightHip.C0 = RightHip.C0
4131
													FRightHip.C1 = RightHip.C1
4132
													local Speed = 150
4133
													local HBSize = Vec(4, 8, 3)
4134
													local Vel = Inst("BodyVelocity", RootPart)
4135
													Vel.Name = DecName
4136
													Vel.MaxForce = Vec(huge, huge, huge)
4137
													Vel.Velocity = RootPart.CFrame.lookVector * 0
4138
													local LVec = Inst("Part", F2)
4139
													LVec.Transparency = 1
4140
													LVec.Anchored = false
4141
													LVec.CanCollide = false
4142
													LVec.Locked = true
4143
													LVec.Size = Vec(2, 2, 1)
4144
													LVec.FrontSurface = "Hinge"
4145
													local LVW = Inst("Weld", LVec)
4146
													LVW.Part0 = RootPart
4147
													LVW.Part1 = LVec
4148
													LVW.Name = DecName
4149
													LVW.C0 = Cf(0, 0, 0) * Euler(rad(-60), 0, 0)
4150
													local HBox = MakeHitBox(HBSize, Hit_Box, true, Cf(), Cf())
4151
													local FallDamage = 0
4152
													local Penetrates = 0
4153
													local ground, pos = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character)
4154
													local TouchedGround = false
4155
													local hit = HBox.Touched:connect(function(part)
4156
		
4157
		local hum = FindHum(part.Parent)
4158
		local p = part.Parent:FindFirstChild("Penetrated")
4159
		local tor = part.Parent:FindFirstChild("Torso")
4160
		if hum and hum ~= Humanoid and not p and tor then
4161
			DamageFunction(part, false, 0, 25, false, 0, "Compensate", RootPart, 0.1, false, _, false, _, "", "")
4162
			local Penetrate = Inst("Part")
4163
			if hum.MaxHealth / 12 < hum.Health then
4164
				debServ:AddItem(Penetrate, 0)
4165
				Penetrate = Inst("Weld", HBox)
4166
				Penetrate.Part0 = HBox
4167
				Penetrate.Part1 = tor
4168
				Penetrate.C0 = Cf(0, 2.6 - Penetrates, 0) * Euler(rad(90), 0, rad(-90))
4169
			end
4170
			local P = Inst("BoolValue", part.Parent)
4171
			P.Name = "Penetrated"
4172
			debServ:AddItem(P, 4)
4173
			debServ:AddItem(Penetrate, 2)
4174
			if Penetrates ~= 6 then
4175
				Penetrates = Penetrates + 1
4176
			end
4177
			local rip = runServ.RenderStepped:connect(function()
4178
			
4179
			hum.PlatformStand = true
4180
			DamageFunction(part, false, 0, 0 + Penetrates * 2 + FallDamage, false, 0, "Compensate", RootPart, 0.01, false, _, false, _, "", "")
4181
		end
4182
)
4183
			repeat
4184
				swait()
4185
			until Penetrate.Parent == nil or hum.Health <= hum.MaxHealth / 12 or TouchedGround
4186
			hum.PlatformStand = false
4187
			if Penetrates ~= 6 then
4188
				Penetrates = Penetrates - 1
4189
			end
4190
			debServ:AddItem(P, 0)
4191
			debServ:AddItem(Penetrate, 0)
4192
			rip:disconnect()
4193
		end
4194
	end
4195
)
4196
													repeat
4197
														Vel.Velocity = LVec.CFrame.lookVector * Speed
4198
														FallDamage = FallDamage + 1
4199
														MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1)
4200
														MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1)
4201
														MagicBlock(BrickColor.new(Colour1), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 5, 5, 5, 7, 7, 7, 0.1)
4202
														MagicBlock(BrickColor.new(Colour2), "Neon", HBox:GetRenderCFrame() * Cf(rand(-3, 3), 4, rand(-3, 3)), 4, 4, 4, 6, 6, 6, 0.1)
4203
														local SwingSpeed = 0.5
4204
														HWeld.C0 = clerp(HWeld.C0, Cf(-0.7, -0.15, 0) * Euler(0, 0, 0), SwingSpeed)
4205
														HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4206
														WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(180), 0, rad(-20)), SwingSpeed)
4207
														WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4208
														FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.3) * Euler(0, rad(-50), 0), SwingSpeed)
4209
														FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
4210
														FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(60), 0, rad(80)), SwingSpeed)
4211
														FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(65), 0), SwingSpeed)
4212
														Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(0, 0, 0), SwingSpeed)
4213
														Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(20), rad(70), 0), SwingSpeed)
4214
														FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0.65, -1, 0) * Euler(rad(-60), 0, 0), SwingSpeed)
4215
														FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed)
4216
														FRightHip.C0 = clerp(FRightHip.C0, Cf(0.8, -1, 0) * Euler(0, rad(-70), 0), SwingSpeed)
4217
														FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed)
4218
														FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -1, 0) * Euler(0, rad(-60), 0), SwingSpeed)
4219
														FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(rad(50), 0, 0), SwingSpeed)
4220
														ground = rayCast(LVec.Position, LVec.CFrame.lookVector, 30, Character)
4221
														if ground and ground.Anchored == true then
4222
															TouchedGround = true
4223
														end
4224
														swait()
4225
													until TouchedGround
4226
													MagicWave(ground.BrickColor, ground.Material, Cf(pos), 0, 0, 0, 8, 1, 8, 0.1)
4227
													local WaveP = Inst("Part", F2)
4228
													WaveP.Transparency = 1
4229
													WaveP.Anchored = true
4230
													WaveP.CanCollide = false
4231
													WaveP.Locked = true
4232
													WaveP.CFrame = Cf(pos)
4233
													MagniDamage(WaveP, 40, true, 2 + (FallDamage), 6 + (FallDamage), false, 0, "Compensate-Stun", 0.1 + (FallDamage) / 100, false, 0, false, _, "", "")
4234
													debServ:AddItem(WaveP, 3)
4235
													local boo = Sound(WaveP, "http://roblox.com/asset/?id=157878578", 1, 1, false)
4236
													debServ:AddItem(boo, 0.4)
4237
													debServ:AddItem(HBox, 0)
4238
													debServ:AddItem(LVec, 0)
4239
													hit:disconnect()
4240
													debServ:AddItem(Vel, 0)
4241
													if not Upward then
4242
														for i = 0, 1.8, 0.1 do
4243
															swait()
4244
															Humanoid.WalkSpeed = 0
4245
															local SwingSpeed = 0.5
4246
															HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4247
															HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4248
															WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
4249
															WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
4250
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(60)), SwingSpeed)
4251
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
4252
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-60)), SwingSpeed)
4253
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-30), 0), SwingSpeed)
4254
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.52, 0.2) * Euler(rad(30), 0, 0), SwingSpeed)
4255
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4256
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.2, 0) * Euler(rad(-40), 0, 0), SwingSpeed)
4257
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4258
															FRightHip.C0 = clerp(FRightHip.C0, Cf(0.5, -1, -0.4) * Euler(rad(-12), 0, 0), SwingSpeed)
4259
															FRightHip.C1 = clerp(FRightHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4260
															FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-0.5, -0.6, -0.5) * Euler(rad(40), 0, 0), SwingSpeed)
4261
															FLeftHip.C1 = clerp(FLeftHip.C1, Cf(0, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4262
														end
4263
													end
4264
														end
4265
													end
4266
											end
4267
																Humanoid.WalkSpeed = CurrentSpeed
4268
															LeftHip.Part0 = Torso
4269
															LeftHip.Part1 = LeftLeg
4270
															RightHip.Part0 = Torso
4271
															RightHip.Part1 = RightLeg
4272
															FLeftHip.Part0 = nil
4273
															FLeftHip.Part1 = nil
4274
															LeftHip.C0 = FLeftHip.C0
4275
															LeftHip.C1 = FLeftHip.C1
4276
															FRightHip.Part0 = nil
4277
															FRightHip.Part1 = nil
4278
															RightHip.C0 = FRightHip.C0
4279
															RightHip.C1 = FRightHip.C1
4280
															Debounces.Attacking = false
4281
	end
4282
	
4283
	Equip_Denial = function()
4284
	
4285
	Debounces.Equipping = true
4286
	Attack_Num = 1
4287
	for i = 0, 0.5, 0.1 do
4288
		swait()
4289
		local equips = 0.5
4290
		HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(25), 0, 0), equips)
4291
		HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), equips)
4292
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, 0), equips)
4293
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips)
4294
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, 0), equips)
4295
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips)
4296
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.2) * Euler(-rad(10), 0, 0), equips)
4297
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), equips)
4298
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), equips)
4299
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), equips)
4300
		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), equips)
4301
		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), equips)
4302
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), equips)
4303
		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), equips)
4304
	end
4305
	WepWeld.Part0 = Holder
4306
	WepWeld.Part1 = Handle
4307
	WepWeld.C0 = Cf() * Euler(rad(90), 0, rad(90))
4308
	WepWeld.C1 = Cf() * Euler(0, rad(180), 0)
4309
	CurrentSpeed = 12
4310
	Humanoid.WalkSpeed = CurrentSpeed
4311
	Debounces.HasWep = true
4312
	Debounces.Equipping = false
4313
end
4314
4315
	Unequip_Denial = function()
4316
	
4317
	Debounces.Equipping = true
4318
	Attack_Num = 1
4319
	LeftShoulder.Part0 = nil
4320
	LeftShoulder.Part1 = nil
4321
	FLeftShoulder.Part0 = Torso
4322
	FLeftShoulder.Part1 = LeftArm
4323
	FLeftShoulder.C0 = LeftShoulder.C0
4324
	FLeftShoulder.C1 = LeftShoulder.C1
4325
	for i = 0, 0.5, 0.1 do
4326
		swait()
4327
		local equips = 0.5
4328
		HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(25), 0, 0), equips)
4329
		HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), equips)
4330
		WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, rad(90)), equips)
4331
		WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), equips)
4332
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, 0), equips)
4333
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips)
4334
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, 0), equips)
4335
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), equips)
4336
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.2) * Euler(-rad(10), 0, 0), equips)
4337
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), equips)
4338
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), equips)
4339
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), equips)
4340
		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), equips)
4341
		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), equips)
4342
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), equips)
4343
		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), equips)
4344
	end
4345
	WepWeld.Part0 = Torso
4346
	WepWeld.Part1 = Handle
4347
	WepWeld.C0 = Cf(1.5, -1, 0.6) * Euler(rad(-90), 0, rad(90))
4348
	WepWeld.C1 = Cf() * Euler(0, 0, 0)
4349
	CurrentSpeed = 20
4350
	Humanoid.WalkSpeed = CurrentSpeed
4351
	Debounces.HasWep = false
4352
	Debounces.Equipping = false
4353
end
4354
4355
	EquipTES = function()
4356
	
4357
	if not Debounces.TESWield then
4358
		Debounces.Equipping = true
4359
		for i = 0, 0.5, 0.1 do
4360
			swait()
4361
			local SwingSpeed = 0.5
4362
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed)
4363
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4364
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
4365
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4366
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
4367
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4368
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4369
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4370
			RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4371
			RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4372
			LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4373
			LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4374
		end
4375
		SheWeld.Parent = nil
4376
		SheWeld.Part0 = Holder2
4377
		SheWeld.Part1 = TESHandle
4378
		SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position)
4379
		SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position)
4380
		SheWeld.Parent = TESHandle
4381
		Debounces.Equipping = false
4382
		Debounces.TESWield = true
4383
		CurrentSpeed = 16
4384
		Humanoid.WalkSpeed = CurrentSpeed
4385
	else
4386
		Debounces.Equipping = true
4387
		for i = 0, 0.5, 0.1 do
4388
			swait()
4389
			local SwingSpeed = 0.5
4390
			SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
4391
			SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4392
			HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4393
			HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4394
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed)
4395
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4396
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
4397
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4398
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
4399
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4400
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4401
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4402
			RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4403
			RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4404
			LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4405
			LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4406
		end
4407
		CurrentSpeed = 6
4408
		Humanoid.WalkSpeed = CurrentSpeed
4409
		SheWeld.Part0 = Torso
4410
		SheWeld.Part1 = TESHandle
4411
		SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0)
4412
		Debounces.Equipping = false
4413
		Debounces.TESWield = false
4414
	end
4415
end
4416
4417
	EquipTE = function()
4418
	if not Debounces.TEWield then
4419
		Debounces.Equipping = true
4420
		Humanoid.WalkSpeed = 0
4421
		Debounces.DisableJump = true
4422
		LeftHip.Part0 = nil
4423
		LeftHip.Part1 = nil
4424
		RightHip.Part0 = nil
4425
		RightHip.Part1 = nil
4426
		FLeftHip.Part0 = Torso
4427
		FLeftHip.Part1 = LeftLeg
4428
		FLeftHip.C0 = LeftHip.C0
4429
		FLeftHip.C1 = LeftHip.C1
4430
		FRightHip.Part0 = Torso
4431
		FRightHip.Part1 = RightLeg
4432
		FRightHip.C0 = RightHip.C0
4433
		FRightHip.C1 = RightHip.C1
4434
		for i = 0, 0.7, 0.1 do
4435
			swait()
4436
			local SwingSpeed = 0.3
4437
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed)
4438
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4439
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
4440
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4441
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
4442
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4443
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4444
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4445
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4446
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4447
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4448
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4449
		end
4450
		SheWeld.Parent = nil
4451
		SheWeld.Part0 = Holder2
4452
		SheWeld.Part1 = TESHandle
4453
		SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position)
4454
		SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position)
4455
		SheWeld.Parent = TESHandle
4456
		for i = 0, 0.7, 0.1 do
4457
			swait()
4458
			local SwingSpeed = 0.3
4459
			SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
4460
			SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4461
			HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4462
			HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4463
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed)
4464
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4465
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed)
4466
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4467
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-8), rad(-15), 0), SwingSpeed)
4468
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4469
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(15), 0), SwingSpeed)
4470
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4471
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4472
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed)
4473
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed)
4474
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4475
		end
4476
		WepWeld3.Parent = nil
4477
		WepWeld3.Part0 = Holder
4478
		WepWeld3.Part1 = TEHandle
4479
		WepWeld3.C0 = Holder.CFrame:inverse() * Cf(Holder.Position)
4480
		WepWeld3.C1 = TEHandle.CFrame:inverse() * Cf(Holder.Position)
4481
		WepWeld3.Parent = TEHandle
4482
		FITEB(11)
4483
		for i = 0, 0.5, 0.1 do
4484
			swait()
4485
			local SwingSpeed = 0.08
4486
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-90), 0, 0), SwingSpeed)
4487
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4488
			HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), SwingSpeed)
4489
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4490
			SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
4491
			SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4492
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed)
4493
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4494
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.6, 0) * Euler(0, 0, rad(-15)), SwingSpeed)
4495
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4496
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed)
4497
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4498
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
4499
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4500
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4501
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed)
4502
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed)
4503
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4504
		end
4505
		local rotatebecauseitscool = 0
4506
		local swing = Sound(TEHandle, "http://roblox.com/asset/?id=161006212", 1, 2.5, true)
4507
		for i = 0, 0.5, 0.1 do
4508
			swait()
4509
			if rotatebecauseitscool < 1980 then
4510
				rotatebecauseitscool = rotatebecauseitscool + 60
4511
			end
4512
			local SwingSpeed = 0.05
4513
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(rotatebecauseitscool), 0, 0), 0.7)
4514
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7)
4515
			HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), 0.7)
4516
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7)
4517
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed)
4518
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4519
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), 0.4)
4520
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
4521
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed)
4522
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4523
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
4524
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4525
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4526
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed)
4527
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed)
4528
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4529
		end
4530
		SheWeld.Part0 = Torso
4531
		SheWeld.Part1 = TESHandle
4532
		SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0)
4533
		for i = 0, 2, 0.1 do
4534
			swait()
4535
			if rotatebecauseitscool < 1980 then
4536
				rotatebecauseitscool = rotatebecauseitscool + 60
4537
			end
4538
			local SwingSpeed = 0.05
4539
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(rotatebecauseitscool), 0, 0), 0.7)
4540
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7)
4541
			HWeld.C0 = clerp(HWeld.C0, Cf(0.4, -0.92, 0) * Euler(0, 0, rad(-20)), 0.7)
4542
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), 0.7)
4543
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.3, 0.5, -0.4) * Euler(rad(90), 0, rad(20)), SwingSpeed)
4544
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4545
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4)
4546
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), 0.4)
4547
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed)
4548
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4549
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
4550
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4551
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4552
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed)
4553
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed)
4554
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4555
		end
4556
		swing:Stop()
4557
		debServ:AddItem(swing, 1)
4558
		local leash = Sound(TEHandle, "rbxasset://sounds\\unsheath.wav", 1, 0.7, false)
4559
		debServ:AddItem(leash, 1)
4560
		for i = 0, 2, 0.1 do
4561
			swait()
4562
			local SwingSpeed = 0.08
4563
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-100), 0, 0), 0.5)
4564
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4565
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4566
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4567
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.6, 0.4, -0.4) * Euler(rad(30), 0, rad(20)), SwingSpeed)
4568
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), SwingSpeed)
4569
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4)
4570
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-15), 0), 0.4)
4571
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-11), rad(-40), 0), SwingSpeed)
4572
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4573
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed)
4574
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4575
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4576
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(13), 0), SwingSpeed)
4577
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(3), 0), SwingSpeed)
4578
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4579
		end
4580
		chatServ:Chat(Head, "It\'s time to end this fairy tale.", 2)
4581
		for i = 0, 7.5, 0.1 do
4582
			swait()
4583
			local SwingSpeed = 0.08
4584
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(-100), 0, 0), 0.5)
4585
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4586
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4587
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4588
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.6, 0.4, -0.4) * Euler(rad(30), 0, rad(20)), SwingSpeed)
4589
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), SwingSpeed)
4590
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-15)), 0.4)
4591
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-15), 0), 0.4)
4592
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-11), rad(-40), 0), SwingSpeed)
4593
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4594
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(40), 0), SwingSpeed)
4595
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4596
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4597
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(13), 0), SwingSpeed)
4598
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(3), 0), SwingSpeed)
4599
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4600
		end
4601
		LeftHip.Part0 = Torso
4602
		LeftHip.Part1 = LeftLeg
4603
		RightHip.Part0 = Torso
4604
		RightHip.Part1 = RightLeg
4605
		FLeftHip.Part0 = nil
4606
		FLeftHip.Part1 = nil
4607
		LeftHip.C0 = FLeftHip.C0
4608
		LeftHip.C1 = FLeftHip.C1
4609
		FRightHip.Part0 = nil
4610
		FRightHip.Part1 = nil
4611
		RightHip.C0 = FRightHip.C0
4612
		RightHip.C1 = FRightHip.C1
4613
		Debounces.Equipping = false
4614
		Debounces.DisableJump = false
4615
		Debounces.TEWield = true
4616
		Attack_Num = 1
4617
		CurrentSpeed = 14
4618
		Humanoid.WalkSpeed = CurrentSpeed
4619
	else
4620
		do
4621
			Debounces.Equipping = true
4622
			Debounces.DisableJump = true
4623
			Humanoid.WalkSpeed = 0
4624
			LeftHip.Part0 = nil
4625
			LeftHip.Part1 = nil
4626
			RightHip.Part0 = nil
4627
			RightHip.Part1 = nil
4628
			FLeftHip.Part0 = Torso
4629
			FLeftHip.Part1 = LeftLeg
4630
			FLeftHip.C0 = LeftHip.C0
4631
			FLeftHip.C1 = LeftHip.C1
4632
			FRightHip.Part0 = Torso
4633
			FRightHip.Part1 = RightLeg
4634
			FRightHip.C0 = RightHip.C0
4635
			FRightHip.C1 = RightHip.C1
4636
			for i = 0, 0.5, 0.1 do
4637
				swait()
4638
				local SwingSpeed = 0.5
4639
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed)
4640
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4641
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
4642
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4643
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
4644
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4645
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4646
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4647
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4648
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4649
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4650
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4651
			end
4652
			SheWeld.Parent = nil
4653
			SheWeld.Part0 = Holder2
4654
			SheWeld.Part1 = TESHandle
4655
			SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position)
4656
			SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position)
4657
			SheWeld.Parent = TESHandle
4658
			HTEB()
4659
			for i = 0, 0.5, 0.1 do
4660
				swait()
4661
				local SwingSpeed = 0.5
4662
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
4663
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4664
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.1, 0.325, -1.27) * Euler(rad(60), 0, rad(-25)), SwingSpeed)
4665
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4666
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.6, 0.5, -0.4) * Euler(rad(8), rad(-50), 0), SwingSpeed)
4667
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4668
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-8), rad(-15), 0), SwingSpeed)
4669
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4670
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(15), 0), SwingSpeed)
4671
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4672
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4673
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(9), 0), SwingSpeed)
4674
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(6), 0), SwingSpeed)
4675
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4676
			end
4677
			local Sheath = Sound(TESHandle, "rbxasset://sounds\\unsheath.wav", 1, 1, false)
4678
			for i = 0, 0.5, 0.1 do
4679
				swait()
4680
				local SwingSpeed = 0.5
4681
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(3)), SwingSpeed)
4682
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4683
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
4684
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4685
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
4686
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4687
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4688
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4689
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4690
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4691
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4692
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4693
			end
4694
			Attack_Num = 1
4695
			SheWeld.Part0 = Torso
4696
			SheWeld.Part1 = TESHandle
4697
			SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0)
4698
			LeftHip.Part0 = Torso
4699
			LeftHip.Part1 = LeftLeg
4700
			RightHip.Part0 = Torso
4701
			RightHip.Part1 = RightLeg
4702
			FLeftHip.Part0 = nil
4703
			FLeftHip.Part1 = nil
4704
			LeftHip.C0 = FLeftHip.C0
4705
			LeftHip.C1 = FLeftHip.C1
4706
			FRightHip.Part0 = nil
4707
			FRightHip.Part1 = nil
4708
			RightHip.C0 = FRightHip.C0
4709
			RightHip.C1 = FRightHip.C1
4710
			WepWeld3.Part0 = TESHandle
4711
			WepWeld3.Part1 = TEHandle
4712
			WepWeld3.C0 = Cf(0, 0, 0)
4713
			WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0)
4714
			Debounces.Equipping = false
4715
			Debounces.DisableJump = false
4716
			Debounces.TEWield = false
4717
			CurrentSpeed = 6
4718
			Humanoid.WalkSpeed = CurrentSpeed
4719
		end
4720
	end
4721
end
4722
4723
	Awaken = function()
4724
	Debounces.Successful_KeyStroke = true
4725
	Debounces.Attacking = true
4726
	Debounces.DisableJump = true
4727
	GodMode = true
4728
	Humanoid.WalkSpeed = 0
4729
	WepWeld.Part0 = RootPart
4730
	WepWeld.Part1 = Handle
4731
	WepWeld.C0 = RootPart.CFrame:inverse() * Cf(RootPart.Position)
4732
	WepWeld.C1 = Handle.CFrame:inverse() * Cf(RootPart.Position)
4733
	local BP = Inst("BodyPosition", RootPart)
4734
	local StopEffects = false
4735
	if not runServ:IsStudio() then
4736
		local RingP = Inst("Part", F2)
4737
			RingP.Anchored = true
4738
			RingP.CanCollide = false
4739
			RingP.Transparency = 1
4740
			RingP.CFrame = RootPart.CFrame * CFrame.new(0, -3, 0)
4741
			BP.Parent = RootPart
4742
			BP.Name = DecName
4743
			BP.Position = RootPart.Position
4744
			local OGPos = RootPart.Position
4745
			BP.MaxForce = Vec(huge, huge, huge)
4746
			local StopRings = false
4747
			coroutine.resume(coroutine.create(function()
4748
		repeat
4749
			wait(0.3)
4750
			local boo = Sound(RingP, "http://roblox.com/asset/?id=228343249", 0.1, 0.5, false)
4751
			debServ:AddItem(boo, 0.3)
4752
			MagniDamage(RingP, 38, true, 4, 8, true, 200, "Compensate-Knockdown", 0.01, false, 0, false, _, "", "")
4753
			MagniDamage(RootPart, 38, true, 4, 8, true, 200, "Compensate-Knockdown", 0.01, false, 0, false, _, "", "")
4754
			MagicRing(BrickColor.new(Colour1), "Neon", RingP:GetRenderCFrame() * Cf(0, 0, 0) * Euler(rad(90), 0, 0), 0, 0, 1, 3, 3, 1.2, 0.05)
4755
		until StopRings
4756
	end
4757
))
4758
			chatServ:Chat(Head, "Seal 6, disable.", 2)
4759
			for i = 0, 5, 0.1 do
4760
				swait()
4761
				local SwingSpeed = 0.5
4762
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4763
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4764
				WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed)
4765
				WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4766
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed)
4767
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4768
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed)
4769
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4770
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed)
4771
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4772
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(15), 0, 0), SwingSpeed)
4773
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4774
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-15), rad(90), 0), SwingSpeed)
4775
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4776
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-15), rad(-90), 0), SwingSpeed)
4777
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4778
			end
4779
			chatServ:Chat(Head, "This world and I are irreconcilable.", 2)
4780
			wait(2)
4781
			for i = 0, 16, 0.2 do
4782
				swait()
4783
				BP.Position = Vec(OGPos.x, OGPos.y + i, OGPos.z)
4784
				local SwingSpeed = 0.5
4785
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4786
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4787
				WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed)
4788
				WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4789
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed)
4790
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4791
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed)
4792
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4793
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), SwingSpeed)
4794
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4795
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed)
4796
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4797
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-30), rad(90), 0), SwingSpeed)
4798
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4799
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-30), rad(-90), 0), SwingSpeed)
4800
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4801
			end
4802
			chatServ:Chat(Head, "I deny this world its existence,", 2)
4803
			wait(2)
4804
			debServ:AddItem(RingP, 0)
4805
			local s = Sound(Hit_Box, "http://roblox.com/asset/?id=178452217", 0.6, 0.5, false)
4806
			debServ:AddItem(s, 5)
4807
			for i = 0, 5, 0.1 do
4808
				local SwingSpeed = 0.5
4809
				for _,p in pairs(Denial:GetChildren()) do
4810
					if p.Transparency ~= 1 then
4811
						p.Transparency = i / 4.5
4812
					end
4813
				end
4814
				MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05)
4815
				MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05)
4816
				MagicBlock(BC(Colour1), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05)
4817
				MagicBlock(BC(Colour2), "Neon", Hit_Box:GetRenderCFrame() * Cf(rand(-1, 1), rand(-5, 5), rand(-1, 1)), 0.1, 0.1, 0.1, 1.2, 1.2, 1.2, 0.05)
4818
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4819
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4820
				WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed)
4821
				WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4822
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(60)), SwingSpeed)
4823
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4824
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-60)), SwingSpeed)
4825
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4826
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed)
4827
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4828
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(15), 0, 0), SwingSpeed)
4829
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4830
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-15), rad(90), 0), SwingSpeed)
4831
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
4832
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-15), rad(-90), 0), SwingSpeed)
4833
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
4834
				swait()
4835
			end
4836
			chatServ:Chat(Head, "and I shall erase it!", 2)
4837
			FRightHip.Part0 = Torso
4838
			FRightHip.Part1 = RightLeg
4839
			RightHip.Part0 = nil
4840
			RightHip.Part1 = nil
4841
			FRightHip.C0 = RightHip.C0
4842
			FRightHip.C1 = RightHip.C1
4843
			FLeftHip.Part0 = Torso
4844
			FLeftHip.Part1 = LeftLeg
4845
			LeftHip.Part0 = nil
4846
			LeftHip.Part1 = nil
4847
			FLeftHip.C0 = LeftHip.C0
4848
			FLeftHip.C1 = LeftHip.C1
4849
			StopRings = true
4850
			for i = 0, 0.6, 0.1 do
4851
				local SwingSpeed = 0.3
4852
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4853
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4854
				WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 13, -1.7) * Euler(rad(180), 0, 0), SwingSpeed)
4855
				WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(0), 0), SwingSpeed)
4856
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.8, 0.5, -0.6) * Euler(rad(70), 0, rad(-60)), SwingSpeed)
4857
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4858
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.8, 0.5, -0.6) * Euler(rad(66), 0, rad(60)), SwingSpeed)
4859
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
4860
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.2, -0.4) * Euler(rad(-60), 0, 0), SwingSpeed)
4861
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
4862
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-30), 0, 0), SwingSpeed)
4863
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
4864
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.15, -1.2) * Euler(rad(-25), 0, 0), SwingSpeed)
4865
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4866
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.15, -1.2) * Euler(rad(-25), 0, 0), SwingSpeed)
4867
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
4868
				swait()
4869
			end
4870
			coroutine.resume(coroutine.create(function()
4871
		
4872
		coroutine.resume(coroutine.create(function()
4873
			
4874
			repeat
4875
				wait()
4876
				MagniDamage(RootPart, 18, true, 60, 90, true, 666, "Compensate-Knockdown", 0.5, false, 0, false, _, "", "")
4877
				MagniDamage(RootPart, 52, false, 0, 2, true, -20, "Compensate", 0.1, false, 0, false, _, "", "")
4878
				local rnum = 40
4879
				local Rand1, Rand2, Rand3, Rand4 = {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}, {rand(-360, 360), rand(-360, 360), rand(-360, 360)}, {rand(-rnum, rnum), rand(-rnum, rnum), rand(-rnum, rnum)}
4880
				MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05)
4881
				MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand1[1], Rand1[2], Rand1[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05)
4882
				MagicBlood(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05)
4883
				MagicBlood(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand2[1], Rand2[2], Rand2[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05)
4884
				MagicBlock(BC(Colour1), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 14, 14, 14, 0.1, 0.1, 0.1, 0.05)
4885
				MagicBlock(BC(Colour2), "Neon", RootPart:GetRenderCFrame() * Cf(Rand4[1], Rand4[2], Rand4[3]), 8, 8, 8, 0.1, 0.1, 0.1, 0.05)
4886
			until StopEffects
4887
		end
4888
))
4889
		repeat
4890
			MagicSpikeBall(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.7, 0.7, 0.7, 0.05)
4891
			MagicSpikeBall(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.5, 0.5, 0.5, 0.05)
4892
			MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.4, 0.4, 0.4, 0.05)
4893
			MagicCircle(BC(Colour2), "Neon", RootPart:GetRenderCFrame(), 0, 0, 0, 0.3, 0.3, 0.3, 0.05)
4894
			wait(0.3)
4895
		until StopEffects
4896
	end
4897
))
4898
			wait(10)
4899
		end
4900
		CArmour.Parent = Character
4901
		local WeldBase = Inst("Model", CArmour)
4902
		WeldBase.Name = "WeldBase"
4903
		local aHead = Inst("Part", WeldBase)
4904
		aHead.Transparency = 1
4905
		aHead.Name = "FakeHead"
4906
		aHead.Anchored = true
4907
		aHead.CanCollide = false
4908
		aHead.Locked = true
4909
		aHead.Size = Vec(0.2, 0.2, 0.2)
4910
		aHead.Position = Vec(60.2, 5.3, -275)
4911
		aHead.Rotation = Vec(-180, 0, -180)
4912
		local aLarm = Inst("Part", WeldBase)
4913
		aLarm.Transparency = 1
4914
		aLarm.Name = "FakeLeftArm"
4915
		aLarm.Anchored = true
4916
		aLarm.CanCollide = false
4917
		aLarm.Locked = true
4918
		aLarm.Size = Vec(0.2, 0.2, 0.2)
4919
		aLarm.Position = Vec(58.7, 3.8, -275)
4920
		aLarm.Rotation = Vec(-180, 0, -180)
4921
		local aLleg = Inst("Part", WeldBase)
4922
		aLleg.Transparency = 1
4923
		aLleg.Name = "FakeLeftLeg"
4924
		aLleg.Anchored = true
4925
		aLleg.CanCollide = false
4926
		aLleg.Locked = true
4927
		aLleg.Size = Vec(0.2, 0.2, 0.2)
4928
		aLleg.Position = Vec(59.7, 1.8, -275)
4929
		aLleg.Rotation = Vec(-180, 0, -180)
4930
		local aRarm = Inst("Part", WeldBase)
4931
		aRarm.Transparency = 1
4932
		aRarm.Name = "FakeRightArm"
4933
		aRarm.Anchored = true
4934
		aRarm.CanCollide = false
4935
		aRarm.Locked = true
4936
		aRarm.Size = Vec(0.2, 0.2, 0.2)
4937
		aRarm.Position = Vec(58.7, 3.8, -275)
4938
		aRarm.Rotation = Vec(-180, 0, -180)
4939
		local aRleg = Inst("Part", WeldBase)
4940
		aRleg.Transparency = 1
4941
		aRleg.Name = "FakeRightLeg"
4942
		aRleg.Anchored = true
4943
		aRleg.CanCollide = false
4944
		aRleg.Locked = true
4945
		aRleg.Size = Vec(0.2, 0.2, 0.2)
4946
		aRleg.Position = Vec(59.7, 1.8, -275)
4947
		aRleg.Rotation = Vec(-180, 0, -180)
4948
		local aTor = Inst("Part", WeldBase)
4949
		aTor.Transparency = 1
4950
		aTor.Name = "FakeTorso"
4951
		aTor.Anchored = true
4952
		aTor.CanCollide = false
4953
		aTor.Locked = true
4954
		aTor.Size = Vec(0.2, 0.2, 0.2)
4955
		aTor.Position = Vec(60.2, 3.8, -275)
4956
		aTor.Rotation = Vec(-180, 0, -180)
4957
		for _,k in pairs(WeldBase:GetChildren()) do
4958
			if k:IsA("BasePart") then
4959
				k:BreakJoints()
4960
			end
4961
		end
4962
		local MakeHelmet = function()
4963
		
4964
		local Parent = Inst("Model", CArmour)
4965
		Parent.Name = "Helmet"
4966
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBack", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.4, -275.73), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.2, 2, 1.6), "http://www.roblox.com/asset/?id=20637493", "FileMesh")
4967
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetBase", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.4, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=87249889", "FileMesh")
4968
		local HEpart = CreatePart("Part", Parent, Colour1, "Neon", 1, 0, "HelmetEffect", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.5, -275.7), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(0, 0, 0), "", "")
4969
		local peSize = {NumberSequenceKeypoint.new(0, 1.31, 0), NumberSequenceKeypoint.new(1, 0, 0)}
4970
		local peTrans = {NumberSequenceKeypoint.new(0, 0.137, 0), NumberSequenceKeypoint.new(1, 1, 0)}
4971
		local pe = Inst("ParticleEmitter", HEpart)
4972
		pe.LightEmission = 0.5
4973
		pe.Color = ColorSequence.new(HEpart.BrickColor.Color)
4974
		pe.Size = NumberSequence.new(peSize)
4975
		pe.Transparency = NumberSequence.new(peTrans)
4976
		pe.Texture = "rbxassetid://37332909"
4977
		pe.Acceleration = Vec(0, -100, 0)
4978
		pe.EmissionDirection = "Front"
4979
		pe.Lifetime = NumberRange.new(0.35)
4980
		pe.Rate = 800000
4981
		pe.Speed = NumberRange.new(15)
4982
		CEP = HEpart
4983
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "HelmetPart", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5.8, -275), Vector3.new(-150, 0, -180), "SpecialMesh", Vector3.new(1, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh")
4984
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "MouthGuard", Vector3.new(0.2, 0.2, 0.2), Vector3.new(60.2, 5, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1.2, 1.1), "http://www.roblox.com/asset/?id=19380683", "FileMesh")
4985
		for _,K in pairs(Parent:GetChildren()) do
4986
			if K:IsA("BasePart") then
4987
				K:BreakJoints()
4988
			end
4989
		end
4990
		for _,z in pairs(Parent:GetChildren()) do
4991
			if z:IsA("BasePart") then
4992
				local Weld = Inst("Weld", aHead)
4993
				Weld.Part0 = aHead
4994
				Weld.Part1 = z
4995
				Weld.Name = z.Name .. "-to-" .. aHead.Name
4996
				Weld.C0 = aHead.CFrame:inverse() * Cf(aHead.Position)
4997
				Weld.C1 = z.CFrame:inverse() * Cf(aHead.Position)
4998
				z.Anchored = false
4999
				z.CanCollide = false
5000
			end
5001
		end
5002
	end
5003
5004
		local Cape = nil
5005
		local MakeTorsoArmour = function()
5006
		
5007
		local Parent = Inst("Model", CArmour)
5008
		Parent.Name = "TorsoArmour"
5009
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(2, 2, 1), Vector3.new(60.2, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.01), "", "")
5010
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge1", Vector3.new(0.2, 1, 0.2), Vector3.new(59.7, 3.7, -275.4), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5011
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart1", Vector3.new(2, 0.2, 0.2), Vector3.new(60.2, 3.5, -275.4), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.1), "", "")
5012
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5013
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart2", Vector3.new(2, 0.6, 1), Vector3.new(60.2, 3.1, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.02), "", "")
5014
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge2", Vector3.new(1, 0.8, 0.2), Vector3.new(60.8, 3.5, -275), Vector3.new(90, 0, 90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge")
5015
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart3", Vector3.new(0.4, 1, 0.4), Vector3.new(60.2, 4.3, -275.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.4, 1, 0.5), "", "Sphere")
5016
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5017
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 2.9, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5018
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge3", Vector3.new(1, 0.8, 0.2), Vector3.new(59.6, 3.5, -275), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.02, 1.025, 1), "", "Wedge")
5019
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPartWedge4", Vector3.new(0.2, 1, 0.2), Vector3.new(60.7, 3.7, -275.4), Vector3.new(90, 0, -90), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5020
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5021
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail5", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 4.7, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5022
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail6", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5023
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart4", Vector3.new(0.4, 0.4, 0.2), Vector3.new(60.2, 3.6, -274.6), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(1, 1, 1.1), "", "Torso")
5024
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail7", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5025
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail8", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5026
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail9", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 3.5, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5027
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail10", Vector3.new(0.2, 0.2, 0.2), Vector3.new(59.3, 2.9, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5028
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPartNail11", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 4.7, -275.4), Vector3.new(90, 90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5029
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ArmourPart5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(0.68, 1.1, 0.68), "", "")
5030
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(60.2, 3.8, -274.6), Vector3.new(-90, 0, 0), "CylinderMesh", Vector3.new(0.45, 1.15, 0.45), "", "")
5031
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourPart7", Vector3.new(0.2, 0.2, 0.2), Vector3.new(61.1, 3.5, -274.6), Vector3.new(-90, -90, 0), "CylinderMesh", Vector3.new(0.6, 1.18, 0.6), "", "")
5032
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon1", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5033
		k.Mesh.Offset = Vec(0, 0, -0.01)
5034
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon2", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5035
		k.Mesh.Offset = Vec(0, 0, -0.01)
5036
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon3", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 2.9, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5037
		k.Mesh.Offset = Vec(0, 0, -0.01)
5038
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon4", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5039
		k.Mesh.Offset = Vec(0, 0, -0.01)
5040
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon5", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5041
		k.Mesh.Offset = Vec(0, 0, -0.01)
5042
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon6", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 2.9, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5043
		k.Mesh.Offset = Vec(0, 0, -0.01)
5044
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon7", Vector3.new(0.4, 0.4, 0.4), Vector3.new(60.2, 3.8, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.4, 0.4, 0.2), "", "Sphere")
5045
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon8", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5046
		k.Mesh.Offset = Vec(0, 0, -0.01)
5047
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon9", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5048
		k.Mesh.Offset = Vec(0, 0, -0.01)
5049
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon10", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 4.7, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5050
		k.Mesh.Offset = Vec(0, 0, -0.01)
5051
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon11", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 3.5, -275.5), Vector3.new(0, 0, 0), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5052
		k.Mesh.Offset = Vec(0, 0, -0.01)
5053
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon12", Vector3.new(0.2, 0.2, 0.4), Vector3.new(61.1, 3.5, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5054
		k.Mesh.Offset = Vec(0, 0, -0.01)
5055
		local k = CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ArmourPartNeon13", Vector3.new(0.2, 0.2, 0.4), Vector3.new(59.3, 4.7, -274.5), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 0.5, 0.1), "", "Sphere")
5056
		k.Mesh.Offset = Vec(0, 0, -0.01)
5057
		Cape = CreatePart("Part", Parent, "White", "SmoothPlastic", 1, 0, "Mini-CapeSpot", Vector3.new(2, 0.2, 0.2), Vector3.new(60.2, 3.49, -275.47), Vector3.new(120, 0, -180), "BlockMesh", Vector3.new(0, 0, 0), "", "")
5058
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour1", Vector3.new(1, 0.4, 0.4), Vector3.new(59.4, 4.4, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
5059
		kk.Mesh.Offset = Vec(0, -0.01, 0)
5060
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour2", Vector3.new(1, 0.4, 0.4), Vector3.new(61, 4.4, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
5061
		kk.Mesh.Offset = Vec(0, -0.01, 0)
5062
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour3", Vector3.new(1, 0.4, 0.2), Vector3.new(59.8, 4.7, -275), Vector3.new(-90, 0, -90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
5063
		kk.Mesh.Offset = Vec(0, -0.01, 0.001)
5064
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour4", Vector3.new(0.4, 0.2, 1), Vector3.new(59.4, 4.7, -275), Vector3.new(0, 0, 0), "BlockMesh", Vector3.new(1, 1.01, 1.03), "", "")
5065
		kk.Mesh.Offset = Vec(-0.01, 0.001, 0)
5066
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour5", Vector3.new(1, 0.4, 0.2), Vector3.new(60.6, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
5067
		kk.Mesh.Offset = Vec(0, -0.01, 0.001)
5068
		local kk = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShoulderArmour6", Vector3.new(0.4, 0.2, 1), Vector3.new(61, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1.01, 1.03), "", "")
5069
		kk.Mesh.Offset = Vec(-0.01, 0.001, 0)
5070
		for _,K in pairs(Parent:GetChildren()) do
5071
			if K:IsA("BasePart") then
5072
				K:BreakJoints()
5073
			end
5074
		end
5075
		for _,z in pairs(Parent:GetChildren()) do
5076
			if z:IsA("BasePart") then
5077
				local Weld = Inst("Weld", aTor)
5078
				Weld.Part0 = aTor
5079
				Weld.Part1 = z
5080
				Weld.Name = z.Name .. "-to-" .. aTor.Name
5081
				Weld.C0 = aTor.CFrame:inverse() * Cf(aTor.Position)
5082
				Weld.C1 = z.CFrame:inverse() * Cf(aTor.Position)
5083
				z.Anchored = false
5084
				z.CanCollide = false
5085
			end
5086
		end
5087
	end
5088
5089
		local MakeArmArmour = function(limb, limbname)
5090
		
5091
		local Parent = Inst("Model", CArmour)
5092
		Parent.Name = limbname .. "Armour"
5093
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(58.7, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), "", "")
5094
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Glove", Vector3.new(1, 0.4, 1), Vector3.new(58.7, 2.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, 0.1, 1.02), "", "")
5095
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour1", Vector3.new(0.2, 0.2, 0.6), Vector3.new(58.3, 4.5, -274.6), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5096
		y.Mesh.Offset = Vec(0, 0, 0.001)
5097
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour2", Vector3.new(1, 0.6, 0.2), Vector3.new(58.5, 4.7, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1.01), "", "Wedge")
5098
		y.Mesh.Offset = Vec(0, -0.01, 0.001)
5099
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour3", Vector3.new(1, 0.2, 0.4), Vector3.new(59.1, 4.2, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
5100
		y.Mesh.Offset = Vec(0, -0.01, 0)
5101
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour4", Vector3.new(0.2, 0.2, 1), Vector3.new(59.1, 4.5, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), "", "")
5102
		y.Mesh.Offset = Vec(-0.01, 0, 0)
5103
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour5", Vector3.new(0.4, 0.2, 1), Vector3.new(59, 4.7, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.03), "", "")
5104
		y.Mesh.Offset = Vec(-0.01, 0.001, 0)
5105
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour6", Vector3.new(1, 0.2, 0.2), Vector3.new(58.9, 4.5, -275), Vector3.new(-90, 0, 90), "SpecialMesh", Vector3.new(1.03, 1, 1), "", "Wedge")
5106
		y.Mesh.Offset = Vec(0, -0.01, 0)
5107
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour7", Vector3.new(0.2, 2, 0.6), Vector3.new(58.3, 3.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.1, 1.001, 1), "", "")
5108
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour8", Vector3.new(0.2, 0.2, 0.4), Vector3.new(58.3, 3, -274.6), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5109
		y.Mesh.Offset = Vec(0, 0, 0.001)
5110
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour9", Vector3.new(0.2, 0.2, 0.4), Vector3.new(58.3, 3, -275.4), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5111
		y.Mesh.Offset = Vec(0, 0, 0.001)
5112
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmour10", Vector3.new(0.2, 0.2, 0.6), Vector3.new(58.3, 4.5, -275.4), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1), "", "Wedge")
5113
		y.Mesh.Offset = Vec(0, 0, 0.001)
5114
		local y = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "SideArmourDesign1", Vector3.new(1, 1, 0.4), Vector3.new(58.7, 4.6, -275), Vector3.new(-90, 30, 90), "SpecialMesh", Vector3.new(0.5, 1, 1), "http://www.roblox.com/asset/?id=189962102", "FileMesh")
5115
		y.Mesh.Offset = Vec(0, 0.4, 0)
5116
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign2", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(0.08, 1, 0.6), "", "Sphere")
5117
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "SideArmourDesign3", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(0.08, 1, 0.6), "", "Sphere")
5118
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign1", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -275.2), Vector3.new(-165, 0, -180), "SpecialMesh", Vector3.new(0.1, 0.8, 0.4), "", "Sphere")
5119
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign2", Vector3.new(0.4, 0.6, 0.2), Vector3.new(58.2, 3.1, -274.8), Vector3.new(165, 0, -180), "SpecialMesh", Vector3.new(0.1, 0.8, 0.4), "", "Sphere")
5120
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "SideArmourNeonDesign3", Vector3.new(0.6, 0.2, 0.2), Vector3.new(58.3, 4.1, -275), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(0.5, 1.5, 2), "", "Sphere")
5121
		for _,K in pairs(Parent:GetChildren()) do
5122
			if K:IsA("BasePart") then
5123
				K:BreakJoints()
5124
			end
5125
		end
5126
		for _,z in pairs(Parent:GetChildren()) do
5127
			if z:IsA("BasePart") then
5128
				local Weld = Inst("Weld", limb)
5129
				Weld.Part0 = limb
5130
				Weld.Part1 = z
5131
				Weld.Name = z.Name .. "-to-" .. limb.Name
5132
				Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position)
5133
				Weld.C1 = z.CFrame:inverse() * Cf(limb.Position)
5134
				z.Anchored = false
5135
				z.CanCollide = false
5136
			end
5137
		end
5138
	end
5139
5140
		local MakeLegArmour = function(limb, limbname)
5141
		
5142
		local Parent = Inst("Model", CArmour)
5143
		Parent.Name = limbname .. "Armour"
5144
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ArmourBody", Vector3.new(1, 2, 1), Vector3.new(59.7, 1.8, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.01, 1, 1.01), "", "")
5145
		local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart1", Vector3.new(0.4, 0.4, 0.4), Vector3.new(60, 2.2, -274.7), Vector3.new(-180, -90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge")
5146
		cri.Mesh.Offset = Vec(0, 0, -0.01)
5147
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart2", Vector3.new(0.2, 0.4, 0.2), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1, 1, 1.2), "", "")
5148
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "KneeGuardPart3", Vector3.new(0.4, 0.2, 0.6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(1, 0.8, 0.47), "", "Sphere")
5149
		local cri = CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart4", Vector3.new(0.4, 0.4, 0.4), Vector3.new(59.4, 2.2, -274.7), Vector3.new(180, 90, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.05), "", "Wedge")
5150
		cri.Mesh.Offset = Vec(0, 0, -0.01)
5151
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "KneeGuardPart5", Vector3.new(1, 0.4, 0.4), Vector3.new(59.7, 2.6, -274.7), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.04, 1, 1.1), "", "")
5152
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "KneeGuardPartNeon", Vector3.new(0.4, 0.2, 0.6), Vector3.new(59.7, 2.2, -274.6), Vector3.new(-180, 0, 90), "SpecialMesh", Vector3.new(0.8, 0.5, 0.5), "", "Sphere")
5153
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard1", Vector3.new(0.6, 0.2, 0.6), Vector3.new(59.7, 1.7, -274.6), Vector3.new(-180, 0, -180), "SpecialMesh", Vector3.new(1, 1, 0.4), "", "Torso")
5154
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "ShinGuard2", Vector3.new(0.6, 0.4, 0.6), Vector3.new(59.7, 1.4, -274.6), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1, 1, 0.4), "", "Torso")
5155
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5156
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5157
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5158
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5159
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5160
		CreatePart("Part", Parent, Colour1, "Neon", 0, 0, "ShinGuardNeon6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.4, 0.2, 0.2), "", "Sphere")
5161
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.5, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5162
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.7, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5163
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.5, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5164
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.8, 1.3, -274.5), Vector3.new(-180, 0, 165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5165
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.7, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5166
		CreatePart("Part", Parent, Colour2, "SmoothPlastic", 0, 0, "ShinGuardPart6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(59.6, 1.3, -274.5), Vector3.new(-180, 0, -165), "SpecialMesh", Vector3.new(0.46, 0.26, 0.18), "", "Sphere")
5167
		CreatePart("Part", Parent, Colour3, "SmoothPlastic", 0, 0, "Shoe", Vector3.new(1, 0.2, 1), Vector3.new(59.7, 0.9, -275), Vector3.new(-180, 0, -180), "BlockMesh", Vector3.new(1.02, 1.2, 1.02), "", "")
5168
		for _,K in pairs(Parent:GetChildren()) do
5169
			if K:IsA("BasePart") then
5170
				K:BreakJoints()
5171
			end
5172
		end
5173
		for _,z in pairs(Parent:GetChildren()) do
5174
			if z:IsA("BasePart") then
5175
				local Weld = Inst("Weld", limb)
5176
				Weld.Part0 = limb
5177
				Weld.Part1 = z
5178
				Weld.Name = z.Name .. "-to-" .. limb.Name
5179
				Weld.C0 = limb.CFrame:inverse() * Cf(limb.Position)
5180
				Weld.C1 = z.CFrame:inverse() * Cf(limb.Position)
5181
				z.Anchored = false
5182
				z.CanCollide = false
5183
			end
5184
		end
5185
	end
5186
5187
		local MakeTeeWeapon = function()
5188
		The_End.Parent = Character
5189
		The_End_Sheath.Parent = Character
5190
		local BL1 = CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0.2, "Blade", Vector3.new(0.2, 0.4, 6.4), Vector3.new(42.5, 3.8, -252.5), Vector3.new(90, 0, -180), "SpecialMesh", Vector3.new(1, 0.5, 1), "", "Torso")
5191
		local BL2 = CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0.2, "BladeDesign", Vector3.new(0.2, 6.4, 0.2), Vector3.new(42.5, 3.8, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(0.1, 1.001, 1.05), "", "")
5192
		local BL3 = CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "BladeNeon", Vector3.new(0.2, 0.4, 6.4), Vector3.new(42.5, 3.8, -252.3), Vector3.new(90, 0, 0), "SpecialMesh", Vector3.new(1, 0.5, 1), "", "Torso")
5193
		CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
5194
		CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
5195
		CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign3", Vector3.new(0.2, 1, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(0.4, 1.005, 0.4), "", "")
5196
		CreatePart("Part", The_End, Colour2, "SmoothPlastic", 0, 0, "GuardDesign4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.4, 1.84, 0.4), "", "")
5197
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
5198
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
5199
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign3", Vector3.new(0.2, 1, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(90, 0, -180), "CylinderMesh", Vector3.new(0.3, 1.01, 0.3), "", "")
5200
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "GuardNeonDesign4", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.2), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.85, 0.3), "", "")
5201
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart1", Vector3.new(0.6, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.8), "", "")
5202
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252.8), Vector3.new(-90, 0, 0), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso")
5203
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "GuardPart2", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.1, -252), Vector3.new(-90, 0, -180), "SpecialMesh", Vector3.new(1.8, 1, 1), "", "Torso")
5204
		TEHandle = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "Handle", Vector3.new(0.6, 0.2, 0.6), Vector3.new(42.5, 8.5, -252.4), Vector3.new(-180, 0, 0), "BlockMesh", Vector3.new(1, 1, 1), "", "")
5205
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), "", "")
5206
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign2", Vector3.new(0.2, 0.4, 0.2), Vector3.new(42.5, 9.6, -252.4), Vector3.new(-180, 0, 0), "SpecialMesh", Vector3.new(1.1, 1, 1.1), "", "Wedge")
5207
		CreatePart("Part", The_End, Colour3, "SmoothPlastic", 0, 0, "HiltDesign3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 7.3, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1.1, 1, 1.1), "", "")
5208
		CreatePart("Part", The_End, Colour2, "Fabric", 0, 0, "HiltFabric", Vector3.new(0.2, 2.4, 0.2), Vector3.new(42.5, 8.6, -252.4), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1), "", "")
5209
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign1", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.7, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
5210
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign2", Vector3.new(0.2, 0.2, 0.4), Vector3.new(42.5, 9.8, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
5211
		CreatePart("Part", The_End, Colour1, "Neon", 0, 0, "HiltNeonDesign3", Vector3.new(0.2, 0.2, 0.2), Vector3.new(42.5, 9.9, -252.4), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
5212
		TEHit_Box = CreatePart("Part", The_End, "White", "SmoothPlastic", 1, 0, "HitBox", Vector3.new(1.4, 7, 0.6), Vector3.new(42.5, 3.5, -252.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(0.2, 1.14, 0.2), "", "")
5213
		TESHandle = CreatePart("Part", The_End_Sheath, "White", "Neon", 1, 0, "Handle", Vector3.new(0.6, 0.2, 0.6), Vector3.new(42.5, 5.5, -253.6), Vector3.new(0, 0, -180), "BlockMesh", Vector3.new(1, 1, 1), "", "")
5214
		CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1, 1.1), "", "")
5215
		CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBodyCylinder1", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), "", "")
5216
		CreatePart("Part", The_End_Sheath, Colour2, "SmoothPlastic", 0, 0, "SheathBody", Vector3.new(0.4, 6, 0.2), Vector3.new(42.5, 3.8, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.1, 1, 1.1), "", "")
5217
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign1", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
5218
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign2", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
5219
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign3", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 6.9, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), "", "")
5220
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign4", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.4), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
5221
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign5", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.8), Vector3.new(-180, -90, 0), "CylinderMesh", Vector3.new(1.2, 1.1, 1.2), "", "")
5222
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesign6", Vector3.new(0.4, 0.2, 0.2), Vector3.new(42.5, 0.7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(1, 1.1, 1.2), "", "")
5223
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5224
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5225
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5226
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5227
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5228
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5229
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing7", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5230
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing8", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5231
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing9", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5232
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing10", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5233
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing11", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5234
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing12", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5235
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing13", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5236
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing14", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5237
		CreatePart("Part", The_End_Sheath, Colour3, "SmoothPlastic", 0, 0, "SheathDesignRing15", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.3, 1.14, 0.3), "", "")
5238
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing1", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5239
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing2", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5240
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing3", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5241
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing4", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 6.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5242
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing5", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5243
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing6", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5244
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing7", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 1, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5245
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing8", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5246
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing9", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 2.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5247
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing10", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.2, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5248
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing11", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5249
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing12", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.8, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5250
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing13", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 5.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5251
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing14", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 3.4, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5252
		CreatePart("Part", The_End_Sheath, Colour1, "Neon", 0, 0, "SheathDesignNeonRing15", Vector3.new(0.4, 0.2, 0.4), Vector3.new(42.5, 4.6, -253.6), Vector3.new(90, 0, -90), "CylinderMesh", Vector3.new(0.2, 1.16, 0.2), "", "")
5253
		CreatePart("Part", The_End_Sheath, "Really black", "SmoothPlastic", 0, 0, "SheathHole", Vector3.new(0.8, 0.4, 0.2), Vector3.new(42.5, 7, -253.6), Vector3.new(-180, -90, 0), "BlockMesh", Vector3.new(0.6, 0.06, 0.6), "", "")
5254
		for _,K in pairs(The_End:GetChildren()) do
5255
			if K:IsA("BasePart") then
5256
				K:BreakJoints()
5257
			end
5258
		end
5259
		for _,K in pairs(The_End_Sheath:GetChildren()) do
5260
			if K:IsA("BasePart") then
5261
				K:BreakJoints()
5262
			end
5263
		end
5264
		for _,p in pairs(The_End:GetChildren()) do
5265
			if p:IsA("BasePart") and p ~= TEHandle then
5266
				local Weld = Inst("Weld", TEHandle)
5267
				Weld.Part0 = TEHandle
5268
				Weld.Part1 = p
5269
				Weld.C0 = TEHandle.CFrame:inverse() * Cf(TEHandle.Position)
5270
				Weld.C1 = p.CFrame:inverse() * Cf(TEHandle.Position)
5271
				p.Anchored = false
5272
				p.CanCollide = false
5273
			end
5274
		end
5275
		for _,p in pairs(The_End_Sheath:GetChildren()) do
5276
			if p:IsA("BasePart") and p ~= TESHandle then
5277
				local Weld = Inst("Weld", TESHandle)
5278
				Weld.Part0 = TESHandle
5279
				Weld.Part1 = p
5280
				Weld.C0 = TESHandle.CFrame:inverse() * Cf(TESHandle.Position)
5281
				Weld.C1 = p.CFrame:inverse() * Cf(TESHandle.Position)
5282
				p.Anchored = false
5283
				p.CanCollide = false
5284
			end
5285
		end
5286
		table.insert(TEBladeP, BL1)
5287
		table.insert(TEBladeP, BL2)
5288
		table.insert(TEBladeP, BL3)
5289
		TEBEffect = Inst("ParticleEmitter", BL2)
5290
		local colSeq = {ColorSequenceKeypoint.new(0, BC(Colour1).Color), ColorSequenceKeypoint.new(0.25, BC(Colour2).Color), ColorSequenceKeypoint.new(0.5, BC(Colour1).Color), ColorSequenceKeypoint.new(0.7, BC(Colour2).Color), ColorSequenceKeypoint.new(1, BC(Colour2).Color)}
5291
		local sizSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(0.5, 0.6, 0), NumberSequenceKeypoint.new(1, 0, 0)}
5292
		local traSeq = {NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)}
5293
		TEBEffect.Color = ColorSequence.new(colSeq)
5294
		TEBEffect.LightEmission = 0.2
5295
		TEBEffect.Size = NumberSequence.new(sizSeq)
5296
		TEBEffect.Texture = "rbxassetid://37332909"
5297
		TEBEffect.Transparency = NumberSequence.new(traSeq)
5298
		TEBEffect.Enabled = false
5299
		TEBEffect.Lifetime = NumberRange.new(0.7)
5300
		TEBEffect.Rate = 90000000
5301
		TEBEffect.Speed = NumberRange.new(0)
5302
	end
5303
5304
		MakeHelmet()
5305
		MakeTorsoArmour()
5306
		MakeArmArmour(aRarm, "RightArm")
5307
		MakeArmArmour(aLarm, "LeftArm")
5308
		MakeLegArmour(aRleg, "RightLeg")
5309
		MakeLegArmour(aLleg, "LeftLeg")
5310
		MakeTeeWeapon()
5311
		Denial.Parent = nil
5312
		if not runServ:IsStudio() then
5313
			StopEffects = true
5314
			coroutine.resume(coroutine.create(function()
5315
		
5316
		repeat
5317
			runServ.Stepped:wait()
5318
			MagniDamage(RootPart, 25, false, 0, 1, true, 200, "Compensate-Knockdown", 0, false, 0, false, _, _, _)
5319
		until Debounces.Transformed
5320
	end
5321
))
5322
		end
5323
		local Weld1 = Inst("Weld", Head)
5324
		Weld1.Name = DecName
5325
		Weld1.Part0 = Head
5326
		Weld1.Part1 = aHead
5327
		local Weld2 = Inst("Weld", Torso)
5328
		Weld2.Name = DecName
5329
		Weld2.Part0 = Torso
5330
		Weld2.Part1 = aTor
5331
		local Weld3 = Inst("Weld", LeftArm)
5332
		Weld3.Name = DecName
5333
		Weld3.Part0 = LeftArm
5334
		Weld3.Part1 = aLarm
5335
		Weld3.C0 = Cf() * Euler(0, rad(180), 0)
5336
		local Weld4 = Inst("Weld", RightArm)
5337
		Weld4.Name = DecName
5338
		Weld4.Part0 = RightArm
5339
		Weld4.Part1 = aRarm
5340
		local Weld5 = Inst("Weld", LeftLeg)
5341
		Weld5.Name = DecName
5342
		Weld5.Part0 = LeftLeg
5343
		Weld5.Part1 = aLleg
5344
		local Weld6 = Inst("Weld", RightLeg)
5345
		Weld6.Name = DecName
5346
		Weld6.Part0 = RightLeg
5347
		Weld6.Part1 = aRleg
5348
		WepWeld3 = Inst("Weld", TEHandle)
5349
		WepWeld3.Part0 = TESHandle
5350
		WepWeld3.Part1 = TEHandle
5351
		WepWeld3.C0 = Cf(0, 0, 0)
5352
		WepWeld3.C1 = Cf(0, 3, 0) * Euler(0, rad(180), 0)
5353
		SheWeld = Inst("Weld", TESHandle)
5354
		SheWeld.Part0 = RootPart
5355
		SheWeld.Part1 = TESHandle
5356
		SheWeld.C0 = Cf(0, 1.5, -1.8) * Euler(rad(180), 0, 0)
5357
		TEHandle.Anchored = false
5358
		TESHandle.Anchored = false
5359
		for _,p in pairs(WeldBase:GetChildren()) do
5360
			if p:IsA("BasePart") then
5361
				p.Anchored = false
5362
			end
5363
		end
5364
		for _,p in pairs(Character:GetChildren()) do
5365
			if p:IsA("BasePart") and p.Name ~= "Head" then
5366
				p.Transparency = 1
5367
				for _,d in pairs(p:GetChildren()) do
5368
					if d:IsA("Decal") then
5369
						d.Transparency = 1
5370
					end
5371
				end
5372
			elseif p.Name == "Head" then
5373
						p.Transparency = 0
5374
						for _,d in pairs(p:GetChildren()) do
5375
							if d:IsA("Decal") then
5376
								d.Transparency = 1
5377
							end
5378
						end
5379
						if p:IsA("Hat") then
5380
							for _,P in pairs(p:GetChildren()) do
5381
								if P:IsA("BasePart") then
5382
									P.Transparency = 1
5383
								end
5384
							end
5385
						end
5386
							-- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out DO_STMT
5387
5388
							-- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out DO_STMT
5389
5390
							-- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out IF_ELSE_STMT
5391
5392
							-- DECOMPILER ERROR at PC2110: LeaveBlock: unexpected jumping out IF_STMT
5393
5394
						end
5395
					end
5396
		if not runServ:IsStudio() then
5397
			MagicCircle(BC(Colour1), "Neon", RootPart:GetRenderCFrame(), 2, 2, 2, 6, 6, 6, 0.1)
5398
			local boo = Sound(RootPart, "http://roblox.com/asset/?id=168586621", 1, 0.5, false)
5399
			debServ:AddItem(boo, 4)
5400
			for i = 0, 5, 0.2 do
5401
				swait()
5402
				local SwingSpeed = 0.5
5403
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(140), 0, rad(20)), SwingSpeed)
5404
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5405
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(140), 0, rad(-20)), SwingSpeed)
5406
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5407
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), SwingSpeed)
5408
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5409
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(20), 0, 0), SwingSpeed)
5410
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5411
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8, 0) * Euler(rad(-30), 0, 0), SwingSpeed)
5412
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-15)), SwingSpeed)
5413
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, 0) * Euler(rad(-30), 0, 0), SwingSpeed)
5414
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(15)), SwingSpeed)
5415
			end
5416
			for i = 0, 0.8, 0.1 do
5417
				swait()
5418
				local SwingSpeed = 0.5
5419
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.6, 0) * Euler(0, 0, rad(10)), SwingSpeed)
5420
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5421
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-10)), SwingSpeed)
5422
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5423
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed)
5424
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5425
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5426
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5427
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5428
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed)
5429
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5430
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed)
5431
			end
5432
			for i = 0, 0.6, 0.1 do
5433
				swait()
5434
				local SwingSpeed = 0.5
5435
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-8), 0, rad(15)), SwingSpeed)
5436
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5437
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(90), 0, rad(-50)), SwingSpeed)
5438
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5439
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed)
5440
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(20), 0), SwingSpeed)
5441
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
5442
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5443
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.55, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5444
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed)
5445
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.55, -1, -0.4) * Euler(rad(-7), rad(-20), 0), SwingSpeed)
5446
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed)
5447
			end
5448
			for i = 0, 1, 0.1 do
5449
				swait()
5450
				local SwingSpeed = 0.5
5451
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5452
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5453
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-13), 0, rad(15)), SwingSpeed)
5454
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5455
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.15, 0.5, -0.6) * Euler(rad(90), 0, rad(50)), SwingSpeed)
5456
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5457
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-13), 0, 0), SwingSpeed)
5458
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-28), 0), SwingSpeed)
5459
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5460
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5461
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.55, -1, -0.4) * Euler(rad(-7), rad(20), 0), SwingSpeed)
5462
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, rad(-3)), SwingSpeed)
5463
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.55, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
5464
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, rad(3)), SwingSpeed)
5465
				do
5466
					do
5467
						if i == 0.4 then
5468
							local boo = Sound(LeftArm, "http://roblox.com/asset/?id=227194112", 1, 1, false)
5469
							debServ:AddItem(boo, 4)
5470
							SheWeld.Part0 = Holder2
5471
							SheWeld.Part1 = TESHandle
5472
							SheWeld.C0 = Holder2.CFrame:inverse() * Cf(Holder2.Position)
5473
							SheWeld.C1 = TESHandle.CFrame:inverse() * Cf(Holder2.Position)
5474
						end
5475
						if i >= 0.4 then
5476
							SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
5477
							SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5478
						end
5479
						-- DECOMPILER ERROR at PC3236: LeaveBlock: unexpected jumping out DO_STMT
5480
5481
					end
5482
				end
5483
			end
5484
			debServ:AddItem(BP, 0)
5485
			for i = 0, 1.5, 0.1 do
5486
				swait()
5487
				local SwingSpeed = 0.5
5488
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(80), 0, 0), SwingSpeed)
5489
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5490
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5491
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5492
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.2, 0.5, -0.4) * Euler(rad(80), 0, rad(-50)), SwingSpeed)
5493
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5494
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(50), 0, rad(-11)), SwingSpeed)
5495
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5496
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-30), 0, 0), SwingSpeed)
5497
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5498
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(rad(-40), 0, 0), SwingSpeed)
5499
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5500
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1.2, -0.3) * Euler(rad(-50), 0, 0), SwingSpeed)
5501
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5502
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.3, -0.8) * Euler(rad(10), 0, 0), SwingSpeed)
5503
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5504
			end
5505
			coroutine.resume(coroutine.create(function()
5506
		
5507
		chatServ:Chat(Head, "I am the ominous dusk.", 2)
5508
		wait(2.6)
5509
		chatServ:Chat(Head, "I am the aching pressence.", 2)
5510
		wait(2.6)
5511
		chatServ:Chat(Head, "I am the adversary of just.", 2)
5512
		wait(2.6)
5513
		chatServ:Chat(Head, "Wielding this blade I shall eradicate every being in this world and purge it in the clouds of chaos!", 2)
5514
		wait(5)
5515
		chatServ:Chat(Head, "I am Shiminuki! The end is near!", 2)
5516
	end
5517
))
5518
			for i = 0, 37, 0.1 do
5519
				swait()
5520
				local SwingSpeed = 0.007
5521
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
5522
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5523
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5524
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5525
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed)
5526
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5527
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-10)), SwingSpeed)
5528
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5529
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5530
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5531
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(20), 0), SwingSpeed)
5532
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5533
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0.2) * Euler(0, rad(-20), 0), SwingSpeed)
5534
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5535
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0.1) * Euler(0, rad(10), 0), SwingSpeed)
5536
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5537
			end
5538
			for i = 0, 0.7, 0.1 do
5539
				swait()
5540
				local SwingSpeed = 0.5
5541
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
5542
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5543
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5544
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5545
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed)
5546
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5547
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(-10)), SwingSpeed)
5548
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5549
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5550
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5551
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5552
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5553
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
5554
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
5555
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5556
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5557
			end
5558
			for i = 0, 0.5, 0.1 do
5559
				swait()
5560
				local SwingSpeed = 0.5
5561
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), SwingSpeed)
5562
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5563
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(10)), SwingSpeed)
5564
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5565
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(0, 0, rad(12)), SwingSpeed)
5566
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5567
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, 0, 0), SwingSpeed)
5568
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5569
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5570
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5571
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), SwingSpeed)
5572
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
5573
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5574
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5575
			end
5576
		end
5577
			FRightHip.Part0 = nil
5578
			FRightHip.Part1 = nil
5579
			RightHip.Part0 = Torso
5580
			RightHip.Part1 = RightLeg
5581
			RightHip.C0 = FRightHip.C0
5582
			RightHip.C1 = FRightHip.C1
5583
			FLeftHip.Part0 = nil
5584
			FLeftHip.Part1 = nil
5585
			LeftHip.Part0 = Torso
5586
			LeftHip.Part1 = LeftLeg
5587
			LeftHip.C0 = FLeftHip.C0
5588
			LeftHip.C1 = FLeftHip.C1
5589
			GodMode = false
5590
			Max_Health = 80000
5591
			coroutine.resume(coroutine.create(function()
5592
		
5593
		swait()
5594
		Humanoid.Health = Max_Health
5595
	end
5596
))
5597
			SheWeld.Part0 = Torso
5598
			SheWeld.Part1 = TESHandle
5599
			SheWeld.C0 = Cf(-1.1, -1.1, -0.2) * Euler(rad(100), 0, 0)
5600
			CurrentSpeed = 6
5601
			Debounces.HasWep = false
5602
			Debounces.Transformed = true
5603
			Debounces.Attacking = false
5604
			Debounces.DisableJump = false
5605
			Humanoid.WalkSpeed = CurrentSpeed
5606
			Humanoid.JumpPower = 120
5607
		end
5608
5609
	ActivateDash = function()
5610
	
5611
	Debounces.Successful_KeyStroke = true
5612
	swait()
5613
	Debounces.Dashing = true
5614
	RightHip.Part0 = nil
5615
	RightHip.Part1 = nil
5616
	FRightHip.Part0 = Torso
5617
	FRightHip.Part1 = RightLeg
5618
	FRightHip.C0 = RightHip.C0
5619
	FRightHip.C1 = RightHip.C1
5620
	LeftHip.Part0 = nil
5621
	LeftHip.Part1 = nil
5622
	FLeftHip.Part0 = Torso
5623
	FLeftHip.Part1 = LeftLeg
5624
	FLeftHip.C0 = LeftHip.C0
5625
	FLeftHip.C1 = LeftHip.C1
5626
	Humanoid.WalkSpeed = CurrentSpeed * 30
5627
	repeat
5628
		runServ.Stepped:wait()
5629
	until not Debounces.Dashing or Debounces.Equipping or Debounces.Attacking or Debounces.Hovering
5630
	FRightHip.Part0 = nil
5631
	FRightHip.Part1 = nil
5632
	RootPart.Velocity = Vec(0, 0, 0)
5633
	Current_Anim = "Idle"
5634
	Debounces.Dashing = false
5635
	RightHip.Part0 = Torso
5636
	RightHip.Part1 = RightLeg
5637
	RightHip.C0 = FRightHip.C0
5638
	RightHip.C1 = FRightHip.C1
5639
	FLeftHip.Part0 = nil
5640
	FLeftHip.Part1 = nil
5641
	LeftHip.Part0 = Torso
5642
	LeftHip.Part1 = LeftLeg
5643
	LeftHip.C0 = FLeftHip.C0
5644
	LeftHip.C1 = FLeftHip.C1
5645
	Humanoid.WalkSpeed = CurrentSpeed
5646
end
5647
5648
	Kogeki_Sokudo_Kojo = function()
5649
	
5650
	Debounces.Attacking = true
5651
	Debounces.Successful_KeyStroke = true
5652
	Debounces.SpedUp = true
5653
	Debounces.DisableJump = true
5654
	Humanoid.WalkSpeed = 0
5655
	RightHip.Part0 = nil
5656
	RightHip.Part1 = nil
5657
	FRightHip.Part0 = Torso
5658
	FRightHip.Part1 = RightLeg
5659
	FRightHip.C0 = RightHip.C0
5660
	FRightHip.C1 = RightHip.C1
5661
	LeftHip.Part0 = nil
5662
	LeftHip.Part1 = nil
5663
	FLeftHip.Part0 = Torso
5664
	FLeftHip.Part1 = LeftLeg
5665
	FLeftHip.C0 = LeftHip.C0
5666
	FLeftHip.C1 = LeftHip.C1
5667
	for i = 0, 2, 0.1 do
5668
		swait()
5669
		local SwingSpeed = 0.15
5670
		if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then
5671
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
5672
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5673
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(5), 0, 0), SwingSpeed)
5674
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5675
			FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed)
5676
			FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed)
5677
			FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed)
5678
			FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5679
			Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
5680
			Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5681
			FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
5682
			FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5683
			FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5684
			FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed)
5685
			FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed)
5686
			FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5687
		else
5688
			if Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then
5689
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5690
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5691
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.05, -1.5) * Euler(rad(90), rad(90), 0), SwingSpeed)
5692
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5693
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed)
5694
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5695
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed)
5696
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5697
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
5698
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5699
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(6), 0, 0), SwingSpeed)
5700
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5701
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-6), rad(-8), 0), SwingSpeed)
5702
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5703
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-6), rad(8), 0), SwingSpeed)
5704
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5705
			else
5706
				if Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then
5707
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed)
5708
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed)
5709
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed)
5710
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5711
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
5712
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5713
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
5714
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5715
					FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5716
					FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed)
5717
					FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed)
5718
					FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5719
				else
5720
					if not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then
5721
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed)
5722
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed)
5723
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed)
5724
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5725
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
5726
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5727
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
5728
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5729
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5730
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed)
5731
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed)
5732
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5733
					else
5734
						if not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then
5735
							HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5736
							HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5737
							WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
5738
							WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
5739
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(5), 0, rad(10)), SwingSpeed)
5740
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), SwingSpeed)
5741
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(90), 0, rad(-30)), SwingSpeed)
5742
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5743
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(30), 0), SwingSpeed)
5744
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5745
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-30), 0), SwingSpeed)
5746
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5747
							FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5748
							FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(5), 0), SwingSpeed)
5749
							FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(16), 0), SwingSpeed)
5750
							FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5751
						else
5752
						end
5753
					end
5754
				end
5755
			end
5756
		end
5757
	end
5758
	if Debounces.Transformed or not Debounces.HasWep or Debounces.DuelWielding then
5759
		chatServ:Chat(Head, "Seal 3, disable...", 2)
5760
		local SPP = Inst("Part", F2)
5761
		SPP.Anchored = true
5762
		SPP.CanCollide = false
5763
		SPP.Transparency = 1
5764
		SPP.Size = Vec(20, 1, 20)
5765
		local SPart = Inst("Part", F2)
5766
		SPart.Anchored = false
5767
		SPart.CanCollide = false
5768
		SPart.Transparency = 1
5769
		SPart.Size = Vec(20, 0.2, 20)
5770
		local SPW = Inst("Motor", SPart)
5771
		SPW.Part0 = SPP
5772
		SPW.Part1 = SPart
5773
		SPW.C0 = Cf() * Euler(rad(90), 0, 0)
5774
		SPW.C1 = Cf() * Euler(rad(90), 0, 0)
5775
		SPW.DesiredAngle = 1e+48
5776
		SPW.MaxVelocity = rad(8)
5777
		local SPSGui = Inst("SurfaceGui", SPart)
5778
		SPSGui.Face = "Top"
5779
		local SPSCOL = BC(Colour1)
5780
		local SPS = Inst("ImageLabel", SPSGui)
5781
		SPS.BackgroundTransparency = 1
5782
		SPS.Image = "rbxassetid://144076055"
5783
		SPS.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b)
5784
		SPS.ImageTransparency = 0.5
5785
		SPS.Position = Ud2(0.45, 0, 0.45, 0)
5786
		SPS.Size = Ud2(0.1, 0, 0.1, 0)
5787
		local SPSGui2 = Inst("SurfaceGui", SPart)
5788
		SPSGui2.Face = "Bottom"
5789
		local SPS2 = Inst("ImageLabel", SPSGui2)
5790
		SPS2.BackgroundTransparency = 1
5791
		SPS2.Image = "rbxassetid://144076055"
5792
		SPS2.ImageColor3 = Col3(SPSCOL.r, SPSCOL.g, SPSCOL.b)
5793
		SPS2.ImageTransparency = 0.5
5794
		SPS2.Position = Ud2(0.45, 0, 0.45, 0)
5795
		SPS2.Size = Ud2(0.1, 0, 0.1, 0)
5796
		local cre = Sound(SPart, "http://roblox.com/asset/?id=231917894", 0.7, 1, false)
5797
		debServ:AddItem(cre, 5)
5798
		for i = 0, 1, 0.3 do
5799
			swait()
5800
			SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0)
5801
			SPS:TweenSize(Ud2(i, 0, i, 0), _, "Linear", 0.2, true)
5802
			SPS:TweenPosition(Ud2((-1 + i) * -1 / 2.22222, 0, (-1 + i) * -1 / 2.22222, 0), _, "Linear", 0.2, true)
5803
			SPS2:TweenSize(Ud2(i, 0, i, 0), _, "Linear", 0.2, true)
5804
			SPS2:TweenPosition(Ud2((-1 + i) * -1 / 2.22222, 0, (-1 + i) * -1 / 2.22222, 0), _, "Linear", 0.2, true)
5805
		end
5806
		local num = 0
5807
		local nmax = 5
5808
		local stopwave = false
5809
		coroutine.resume(coroutine.create(function()
5810
		
5811
		while not stopwave do
5812
			wait(0.45)
5813
			MagniDamage(RootPart, 20, false, 0, 10, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _)
5814
			MagicRing(BC(Colour1), "SmoothPlastic", SPart.CFrame * Cf(0, 0.1, 0) * Euler(rad(90), 0, 0), 1, 1, 0.1, 2, 2, 0.1, 0.05)
5815
		end
5816
	end
5817
))
5818
		while num <= nmax do
5819
			swait()
5820
			num = num + 0.1
5821
			SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, -3.1, 0)
5822
		end
5823
		for i = -3.1, 5, 0.4 do
5824
			swait()
5825
			SPP.CFrame = RootPart:GetRenderCFrame() * Cf(0, i, 0)
5826
			local SwingSpeed = 0.3
5827
			if Debounces.Transformed and Debounces.TEWield and not Debounces.TESWield then
5828
				WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
5829
				WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5830
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(5), 0, 0), SwingSpeed)
5831
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5832
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed)
5833
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5834
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed)
5835
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5836
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed)
5837
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5838
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5839
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5840
				FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5841
				FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed)
5842
				FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed)
5843
				FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5844
			else
5845
				if Debounces.Transformed and Debounces.TESWield and not Debounces.TEWield then
5846
					HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5847
					HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5848
					SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.05, -1.5) * Euler(rad(90), rad(90), 0), SwingSpeed)
5849
					SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5850
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed)
5851
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5852
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, -0.4) * Euler(rad(84), 0, 0), SwingSpeed)
5853
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5854
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(10), 0, 0), SwingSpeed)
5855
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5856
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -0.5, 0) * Euler(rad(6), 0, 0), SwingSpeed)
5857
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5858
					FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-6), rad(-8), 0), SwingSpeed)
5859
					FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5860
					FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(-6), rad(8), 0), SwingSpeed)
5861
					FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5862
				else
5863
					if Debounces.Transformed and not Debounces.TESWield and not Debounces.TEWield then
5864
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed)
5865
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5866
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed)
5867
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5868
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed)
5869
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5870
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5871
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5872
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5873
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed)
5874
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed)
5875
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5876
					else
5877
						if not Debounces.Transformed and not Debounces.HasWep and not Debounces.DuelWielding then
5878
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed)
5879
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5880
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed)
5881
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5882
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed)
5883
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5884
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5885
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5886
							FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5887
							FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed)
5888
							FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed)
5889
							FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5890
						else
5891
							if not Debounces.Transformed and Debounces.HasWep and not Debounces.DuelWielding then
5892
								HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5893
								HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5894
								WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), SwingSpeed)
5895
								WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), SwingSpeed)
5896
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(5)), SwingSpeed)
5897
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5898
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.5, -0.4) * Euler(rad(150), 0, rad(30)), SwingSpeed)
5899
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5900
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-15), rad(50), 0), SwingSpeed)
5901
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5902
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(0, rad(-20), 0), SwingSpeed)
5903
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5904
								FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5905
								FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(2), 0), SwingSpeed)
5906
								FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(8), 0), SwingSpeed)
5907
								FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
5908
							else
5909
							end
5910
						end
5911
					end
5912
				end
5913
			end
5914
		end
5915
		if Debounces.Transformed or not Debounces.HasWep or Debounces.DuelWielding then
5916
			chatServ:Chat(Head, "Kogeki sokudo kojo!", 2)
5917
			debServ:AddItem(SPart, 0)
5918
			debServ:AddItem(SPP, 0)
5919
			stopwave = true
5920
			MagicCircle(BC(Colour1), "Neon", RootPart.CFrame, 2, 2, 2, 5, 5, 5, 0.02)
5921
			MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(0, 0, 0), 1, 1, 1, 4, 4, 1, 0.02)
5922
			MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(45), rad(-45), 0), 2, 2, 1, 5, 5, 1, 0.02)
5923
			MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(-45), rad(45), 0), 3, 3, 1, 6, 6, 1, 0.02)
5924
			MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Euler(rad(90), 0, 0), 4, 4, 1, 7, 7, 1, 0.02)
5925
			MagniDamage(RootPart, 25, false, 0, 20, true, 100, "Compensate-Knockdown", 0, false, 0, false, _, _, _)
5926
			local boo = Sound(RootPart, "http://roblox.com/asset/?id=233091136", 1, 1, false)
5927
			debServ:AddItem(boo, 5)
5928
			wait(0.5)
5929
			FRightHip.Part0 = nil
5930
			FRightHip.Part1 = nil
5931
			RightHip.Part0 = Torso
5932
			RightHip.Part1 = RightLeg
5933
			RightHip.C0 = FRightHip.C0
5934
			RightHip.C1 = FRightHip.C1
5935
			FLeftHip.Part0 = nil
5936
			FLeftHip.Part1 = nil
5937
			LeftHip.Part0 = Torso
5938
			LeftHip.Part1 = LeftLeg
5939
			LeftHip.C0 = FLeftHip.C0
5940
			LeftHip.C1 = FLeftHip.C1
5941
			local LFR = FrameRate
5942
			FrameRate = 0.0125
5943
			Apply_Buff(6, 60)
5944
			Humanoid.WalkSpeed = CurrentSpeed
5945
			Debounces.Attacking = false
5946
			Debounces.DisableJump = false
5947
			coroutine.resume(coroutine.create(function()
5948
		
5949
		wait(60)
5950
		FrameRate = LFR
5951
		wait(80)
5952
		Debounces.SpedUp = false
5953
	end
5954
))
5955
		end
5956
	end
5957
end
5958
5959
	HurricaneSlash = function()
5960
	
5961
	Debounces.Attacking = true
5962
	Debounces.Successful_KeyStroke = true
5963
	Debounces.HurrSlash = true
5964
	Debounces.DisableJump = true
5965
	Humanoid.WalkSpeed = 0
5966
	for i = 0, 1.4, 0.1 do
5967
		swait()
5968
		local SwingSpeed = 0.2
5969
		WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
5970
		WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5971
		HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5972
		HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
5973
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(0, 0, rad(90)), SwingSpeed)
5974
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5975
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(80), 0, rad(-60)), SwingSpeed)
5976
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
5977
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
5978
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-60), 0), SwingSpeed)
5979
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(-60), 0), SwingSpeed)
5980
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
5981
		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed)
5982
		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
5983
		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed)
5984
		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
5985
	end
5986
	local hit = TEHit_Box.Touched:connect(function(part)
5987
		
5988
		DamageFunction(part, false, 0, 500, true, 50, "Compensate", RootPart, 0.05, false, _, true, 153092227, 1.4, 0.4)
5989
	end
5990
)
5991
	local SlashS = Sound(TEHandle, "http://roblox.com/asset/?id=169445073", 1, 1, false)
5992
	debServ:AddItem(SlashS, 2)
5993
	c1 = nil
5994
	c2 = nil
5995
	coroutine.resume(coroutine.create(function()
5996
		
5997
		wait(0.1)
5998
		local Hur = Inst("Part", F2)
5999
		Hur.BrickColor = BC(Colour1)
6000
		Hur.Material = "SmoothPlastic"
6001
		Hur.Transparency = 0.8
6002
		Hur.Name = "Hurricane"
6003
		Hur.Anchored = false
6004
		Hur.CanCollide = false
6005
		Hur.Locked = true
6006
		Hur.Size = Vec(0.2, 0.2, 0.2)
6007
		local HM = Inst("SpecialMesh", Hur)
6008
		HM.MeshId = "http://www.roblox.com/asset/?id=102638417"
6009
		HM.Scale = Vec(15, 10, 15)
6010
		Hur.CFrame = RootPart.CFrame * Cf(0, 12, -3) * Euler(0, 0, rad(-10))
6011
		local Hmo = Inst("BodyVelocity", Hur)
6012
		Hmo.MaxForce = Vec(huge, huge, huge)
6013
		Hmo.Velocity = RootPart.CFrame.lookVector * 110
6014
		local Hpo = Inst("BodyPosition", Hur)
6015
		Hpo.MaxForce = Vec(0, huge, 0)
6016
		Hpo.Position = Hur.Position
6017
		local Hro = Inst("BodyGyro", Hur)
6018
		Hro.MaxTorque = Vec(0, huge, 0)
6019
		Hro.CFrame = Hur.CFrame
6020
		Hro.P = 30000
6021
		local howl = Sound(Hur, "http://roblox.com/asset/?id=138161364", 1, 0.5, true)
6022
		coroutine.resume(coroutine.create(function()
6023
			
6024
			while Hur.Parent do
6025
				swait()
6026
				Hro.CFrame = Hur.CFrame * CFrame.Angles(0, 600, 0)
6027
				MagniDamage(Hur, 18, false, 0, 111, true, -110, "Compensate-Knockdown", 0.01, false, 0, true, "233856140", 2, 0.3)
6028
				local IL = {Character}
6029
				local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(Hur.Position, Hur.CFrame * Euler(rad(-90), 0, rad(10)).lookVector.Unit * 20), IL, true, true)
6030
				if Ground then
6031
					MagicBlock(BC(Colour1), "Neon", Cf(Pos) * Euler(rad(rand(-360, 360)), rad(rand(-360, 360)), rad(rand(-360, 360))), 16, 16, 16, -3, -3, -3, 0.06)
6032
				end
6033
			end
6034
		end
6035
))
6036
		wait(1.5)
6037
		for i = 0.8, 1, 0.04 do
6038
			swait()
6039
			Hur.Transparency = i
6040
		end
6041
		debServ:AddItem(Hur, 0)
6042
		debServ:AddItem(howl, 0)
6043
	end
6044
))
6045
	for i = 0, 1.4, 0.1 do
6046
		swait()
6047
		local x = TEHit_Box
6048
		c2 = x.CFrame * Cf(0, 0.5, 0)
6049
		if c1 and (x.Position - c1.p).magnitude > 0.1 then
6050
			local h = 6
6051
			local a, b = Triangle(c1 * Cf(0, h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, c2 * Cf(0, h / 2, 0).p, Colour1, "Neon")
6052
			if a then
6053
				debServ:AddItem(a, 1)
6054
			end
6055
			if b then
6056
				debServ:AddItem(b, 1)
6057
			end
6058
			local c, d = Triangle(c2 * Cf(0, h / 2, 0).p, c2 * Cf(0, -h / 2, 0).p, c1 * Cf(0, -h / 2, 0).p, Colour1, "Neon")
6059
			if c then
6060
				debServ:AddItem(c, 1)
6061
			end
6062
			if d then
6063
				debServ:AddItem(d, 1)
6064
			end
6065
			c1 = c2
6066
		elseif not c1 then
6067
					c1 = c2
6068
				end
6069
					local SwingSpeed = 0.7
6070
					WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0, -0.1, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
6071
					WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6072
					HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6073
					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6074
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1, 0.5, -0.7) * Euler(0, rad(150), rad(90)), SwingSpeed)
6075
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6076
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-10)), SwingSpeed)
6077
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6078
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
6079
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(40), 0), SwingSpeed)
6080
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1.4, 0) * Euler(0, rad(40), 0), SwingSpeed)
6081
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6082
					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.6, 0) * Euler(rad(-4), rad(80), 0), SwingSpeed)
6083
					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), SwingSpeed)
6084
					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.6, 0.14) * Euler(rad(-6), rad(-75), 0), SwingSpeed)
6085
					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), SwingSpeed)
6086
					-- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out DO_STMT
6087
6088
					-- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out IF_ELSE_STMT
6089
6090
					-- DECOMPILER ERROR at PC817: LeaveBlock: unexpected jumping out IF_STMT
6091
6092
				end
6093
	hit:disconnect()
6094
	Debounces.Attacking = false
6095
	coroutine.resume(coroutine.create(function()
6096
		
6097
		wait(4)
6098
		Debounces.HurrSlash = false
6099
	end
6100
))
6101
	Debounces.DisableJump = false
6102
	Humanoid.WalkSpeed = CurrentSpeed
6103
end
6104
6105
	Stomp = function()
6106
	
6107
	Debounces.Attacking = true
6108
	Debounces.Successful_KeyStroke = true
6109
	Debounces.Stompped = true
6110
	Debounces.DisableJump = true
6111
	Humanoid.WalkSpeed = 5
6112
	RightHip.Part0 = nil
6113
	RightHip.Part1 = nil
6114
	FRightHip.Part0 = Torso
6115
	FRightHip.Part1 = RightLeg
6116
	FRightHip.C0 = RightHip.C0
6117
	FRightHip.C1 = RightHip.C1
6118
	LeftHip.Part0 = nil
6119
	LeftHip.Part1 = nil
6120
	FLeftHip.Part0 = Torso
6121
	FLeftHip.Part1 = LeftLeg
6122
	FLeftHip.C0 = LeftHip.C0
6123
	FLeftHip.C1 = LeftHip.C1
6124
	local hit = LeftLeg.Touched:connect(function(part)
6125
		
6126
		DamageFunction(part, false, 0, 100, false, 25, "Compensate-SkyRocket", RootPart, 0.2, false, _, true, 153092296, 1.4, 0.4)
6127
	end
6128
)
6129
	for i = 0, 1.6, 0.1 do
6130
		swait()
6131
		local SwingSpeed = 0.25
6132
		if Debounces.TEWield and not Debounces.TESWield then
6133
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
6134
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6135
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6136
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6137
		else
6138
			if Debounces.TESWield and not Debounces.TEWield then
6139
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
6140
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6141
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6142
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6143
			end
6144
		end
6145
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-12), 0, rad(10)), SwingSpeed)
6146
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6147
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.3, 0) * Euler(rad(120), 0, 0), SwingSpeed)
6148
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6149
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
6150
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6151
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), SwingSpeed)
6152
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6153
		FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
6154
		FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
6155
		FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.4) * Euler(rad(60), 0, 0), SwingSpeed)
6156
		FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
6157
	end
6158
	hit:disconnect()
6159
	Humanoid.WalkSpeed = 0
6160
	for i = 0, 0.8, 0.1 do
6161
		swait()
6162
		local SwingSpeed = 0.3
6163
		MagniDamage(LeftLeg, 8, false, 0, 5, false, -50, "Compensate-SkyRocket", 0.1, false, 0, true, "153092285", 0.75, 0.4)
6164
		if Debounces.TEWield and not Debounces.TESWield then
6165
			WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), SwingSpeed)
6166
			WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6167
			HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6168
			HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6169
		else
6170
			if Debounces.TESWield and not Debounces.TEWield then
6171
				SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), SwingSpeed)
6172
				SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6173
				HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6174
				HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6175
			end
6176
		end
6177
		FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-20), 0, rad(10)), SwingSpeed)
6178
		FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6179
		FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-20), 0, 0), SwingSpeed)
6180
		FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), SwingSpeed)
6181
		Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-22), 0, 0), SwingSpeed)
6182
		Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), SwingSpeed)
6183
		FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), SwingSpeed)
6184
		FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), SwingSpeed)
6185
		FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(10), 0, 0), SwingSpeed)
6186
		FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
6187
		FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, -0.8) * Euler(rad(10), 0, 0), SwingSpeed)
6188
		FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), SwingSpeed)
6189
	end
6190
	coroutine.resume(coroutine.create(function()
6191
		
6192
		for i = 0, 0.6, 0.1 do
6193
			swait()
6194
			MagniDamage(LeftLeg, 22, false, 0, 50, false, 0, "Compensate-FreezeStun", 0.6, false, 0, true, "153092213", 1.4, 0.4)
6195
		end
6196
	end
6197
))
6198
	MagicRing(BC(Colour1), "Neon", RootPart.CFrame * Cf(0.3, -3, -0.3) * Euler(rad(90), 0, 0), 3, 3, 1, 7, 7, 1, 0.1)
6199
	MagicWave2(BC(Colour1), "Neon", RootPart.CFrame * Cf(0, -3, 0), 3, 0.3, 3, 7, 0.3, 7, 0.1)
6200
	local boo = Sound(RootPart, "http://roblox.com/asset/?id=231917806", 1, 1, false)
6201
	debServ:AddItem(boo, 5)
6202
	wait(0.6)
6203
	FRightHip.Part0 = nil
6204
	FRightHip.Part1 = nil
6205
	RightHip.Part0 = Torso
6206
	RightHip.Part1 = RightLeg
6207
	RightHip.C0 = FRightHip.C0
6208
	RightHip.C1 = FRightHip.C1
6209
	FLeftHip.Part0 = nil
6210
	FLeftHip.Part1 = nil
6211
	LeftHip.Part0 = Torso
6212
	LeftHip.Part1 = LeftLeg
6213
	LeftHip.C0 = FLeftHip.C0
6214
	LeftHip.C1 = FLeftHip.C1
6215
	Debounces.Attacking = false
6216
	coroutine.resume(coroutine.create(function()
6217
		
6218
		wait(5)
6219
		Debounces.Stompped = false
6220
	end
6221
))
6222
	Debounces.DisableJump = false
6223
	Humanoid.WalkSpeed = CurrentSpeed
6224
end
6225
6226
	KeyStrokesAttacks = function()
6227
	if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" and InputTable[4] == "d" and InputTable[5] == "c" and not Debounces.Transformed and not Debounces.DuelWielding then
6228
		Awaken()
6229
	end
6230
	if InputTable[1] == "w" and InputTable[2] == "w" and Debounces.Transformed and not Debounces.Dashing and not Debounces.Hovering then
6231
		ActivateDash()
6232
	end
6233
	if InputTable[1] == "a" and InputTable[2] == "s" and InputTable[3] == "d" and InputTable[4] == "e" and InputTable[5] == "a" then
6234
		if not Debounces.SpedUp then
6235
			Kogeki_Sokudo_Kojo()
6236
		else
6237
			Debounces.KeyStroke_CoolDown = true
6238
		end
6239
	else
6240
		if InputTable[1] == "x" and InputTable[2] == "w" and InputTable[3] == "w" and Debounces.Transformed and Debounces.TEWield then
6241
			if not Debounces.HurrSlash then
6242
				HurricaneSlash()
6243
			else
6244
				Debounces.KeyStroke_CoolDown = true
6245
			end
6246
		end
6247
	end
6248
	if InputTable[1] == "s" and InputTable[2] == "s" and InputTable[3] == "z" and Debounces.Transformed then
6249
		if not Debounces.Stompped then
6250
			Stomp()
6251
		else
6252
			Debounces.KeyStroke_CoolDown = true
6253
		end
6254
	end
6255
end
6256
6257
	local Input_Time = 0
6258
	local Input_MaxTime = 0.5
6259
	local Input_Addition = 0.16
6260
	local Max_Input = 7
6261
	local Running_Timer = false
6262
	Input_Timer = function()
6263
	
6264
	if not Running_Timer then
6265
		Running_Timer = true
6266
		repeat
6267
			wait()
6268
			Input_Time = Input_Time - 0.1
6269
		until Input_Time <= 0.1 or Debounces.Successful_KeyStroke or #InputTable == Max_Input or Debounces.KeyStroke_CoolDown
6270
		local TweenTransCol = function(p, newCol, i)
6271
		
6272
		p.TextColor3 = newCol
6273
		p:TweenPosition(Ud2(0.125 * i, 0, 2, 0), _, "Linear", 0.5, true)
6274
		debServ:AddItem(p, 1)
6275
		coroutine.resume(coroutine.create(function()
6276
			
6277
			for i = 0, 1, 0.1 do
6278
				swait()
6279
				p.TextTransparency = i
6280
				p.TextStrokeTransparency = i
6281
			end
6282
		end
6283
))
6284
	end
6285
6286
		if Input_Time <= 0.1 and not Debounces.Successful_KeyStroke then
6287
			for i,p in pairs(InputFrameTable) do
6288
				if p:IsA("TextLabel") then
6289
					TweenTransCol(p, Col3(0.66666666666667, 0, 0), i)
6290
				end
6291
			end
6292
			InputFrameTable = {}
6293
			InputTable = {}
6294
		end
6295
		if #InputTable == Max_Input then
6296
			wait()
6297
			if not Debounces.Successful_KeyStroke then
6298
				for i,p in pairs(InputFrameTable) do
6299
					if p:IsA("TextLabel") then
6300
						TweenTransCol(p, Col3(0.66666666666667, 0, 0), i)
6301
					end
6302
				end
6303
				InputFrameTable = {}
6304
				InputTable = {}
6305
			end
6306
		end
6307
		if Debounces.Successful_KeyStroke then
6308
			for i,p in pairs(InputFrameTable) do
6309
				if p:IsA("TextLabel") then
6310
					TweenTransCol(p, Col3(0, 1, 0), i)
6311
				end
6312
			end
6313
			InputFrameTable = {}
6314
			InputTable = {}
6315
		end
6316
		if Debounces.KeyStroke_CoolDown then
6317
			for i,p in pairs(InputFrameTable) do
6318
				if p:IsA("TextLabel") then
6319
					TweenTransCol(p, Col3(1, 0.66666666666667, 0), i)
6320
				end
6321
			end
6322
			InputFrameTable = {}
6323
			InputTable = {}
6324
		end
6325
		Debounces.Successful_KeyStroke = false
6326
		Debounces.KeyStroke_CoolDown = false
6327
		Input_Time = Input_MaxTime
6328
		Running_Timer = false
6329
	end
6330
end
6331
6332
	Mouse.KeyDown:connect(function(key)
6333
	if Debounces.KeyStrokeEnabled and not Debounces.Attacking and #InputTable ~= Max_Input and (key == "w" or key == "a" or key == "s" or key == "d" or key == "q" or key == "e" or key == "c" or key == "x" or key == "z") then
6334
		table.insert(InputTable, key)
6335
		local newKP = KPTemplate:Clone()
6336
		newKP.Parent = KP
6337
		newKP.Text = string.upper(key)
6338
		if Input_Time < Input_MaxTime then
6339
			Input_Time = Input_Time + Input_Addition
6340
		end
6341
		table.insert(InputFrameTable, newKP)
6342
		for i,p in pairs(InputFrameTable) do
6343
			if p == newKP then
6344
				newKP:TweenPosition(Ud2(0.125 * i, 0, 0, 0), _, "Linear", 0.03, true)
6345
			end
6346
		end
6347
		coroutine.resume(coroutine.create(function()
6348
		
6349
		KeyStrokesAttacks()
6350
	end
6351
))
6352
		Input_Timer()
6353
	end
6354
end
6355
)
6356
	Mouse.KeyDown:connect(function(key)
6357
	if key == "f" and not Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6358
		Debounces.Equipping = true
6359
		LeftShoulder.Part0 = nil
6360
		LeftShoulder.Part1 = nil
6361
		RightShoulder.Part0 = nil
6362
		RightShoulder.Part1 = nil
6363
		FLeftShoulder.Part0 = Torso
6364
		FLeftShoulder.Part1 = LeftArm
6365
		FLeftShoulder.C0 = NLSC0
6366
		FLeftShoulder.C1 = NLSC1
6367
		FRightShoulder.Part0 = Torso
6368
		FRightShoulder.Part1 = RightArm
6369
		FRightShoulder.C0 = NRSC0
6370
		FRightShoulder.C1 = NRSC1
6371
		RootJoint.Part0 = nil
6372
		RootJoint.Part1 = nil
6373
		FRootJoint.Part0 = RootPart
6374
		FRootJoint.Part1 = Torso
6375
		FRootJoint.C0 = NRJC0
6376
		FRootJoint.C1 = NRJC1
6377
		swait()
6378
		CurrentSpeed = 20
6379
		Humanoid.JumpPower = 90
6380
		Humanoid.WalkSpeed = CurrentSpeed
6381
		Debounces.Equipped = true
6382
		Debounces.Equipping = false
6383
		wait(3)
6384
	elseif key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6385
			Debounces.Equipping = true
6386
			AssumeNormalJoints()
6387
			swait()
6388
			CurrentSpeed = 16
6389
			Humanoid.JumpPower = 50
6390
			Humanoid.WalkSpeed = CurrentSpeed
6391
			Debounces.Equipped = false
6392
			Debounces.Equipping = false
6393
		end
6394
	if key == "f" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TESWield then
6395
		EquipTE()
6396
	end
6397
	if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.Transformed and not Debounces.TEWield then
6398
		EquipTES()
6399
	end
6400
	if key == " " and Debounces.Equipped and not Debounces.Equipping and (Current_Anim == "Falling" or Current_Anim == "Jumping") and not Debounces.DisableJump and not Debounces.Attack and Debounces.Transformed and not Debounces.Hovering and not Debounces.TEWield then
6401
		Debounces.Hovering = true
6402
		Debounces.AnimOverride = true
6403
		Humanoid.WalkSpeed = CurrentSpeed * 8
6404
		local holdk = Mouse.KeyUp:connect(function(Key)
6405
		if Key == " " and Debounces.Hovering then
6406
			Debounces.Hovering = false
6407
		end
6408
	end
6409
		)
6410
			local hover = Inst("BodyPosition", RootPart)
6411
			hover.Name = DecName
6412
			hover.MaxForce = Vec(0, huge, 0)
6413
			hover.Position = RootPart.Position
6414
			hover.P = 25000
6415
			local moving = false
6416
			local go_up = Mouse.KeyDown:connect(function(k)
6417
		
6418
		if k == "n" and not moving then
6419
			moving = true
6420
			local kek = Mouse.KeyUp:connect(function(K)
6421
			
6422
			if K == "n" and moving then
6423
				moving = false
6424
			end
6425
		end
6426
)
6427
			repeat
6428
				hover.Position = Vec(0, RootPart.Position.Y + 6, 0)
6429
					if not Debounces.Attacking then
6430
						local WalkSpeed = 0.5
6431
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-10), 0, rad(8)), WalkSpeed)
6432
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6433
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-8)), WalkSpeed)
6434
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6435
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(20), 0, 0), WalkSpeed)
6436
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6437
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-6), 0, 0), WalkSpeed)
6438
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6439
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, -0.3) * Euler(rad(-10), rad(90), 0), WalkSpeed)
6440
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
6441
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, -0.1) * Euler(rad(-6), rad(-90), 0), WalkSpeed)
6442
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
6443
					end
6444
					swait()
6445
			until not moving
6446
		end
6447
	end
6448
)
6449
				local go_down = Mouse.KeyDown:connect(function(k)
6450
		if k == "m" and not moving then
6451
			moving = true
6452
			local kek = Mouse.KeyUp:connect(function(K)
6453
			
6454
			if K == "m" and moving then
6455
				moving = false
6456
			end
6457
		end
6458
)
6459
			repeat
6460
				hover.Position = Vec(0, RootPart.Position.Y - 6, 0)
6461
					if not Debounces.Attacking then
6462
						local WalkSpeed = 0.5
6463
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-5), 0, rad(50)), WalkSpeed)
6464
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6465
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-5), 0, rad(-50)), WalkSpeed)
6466
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6467
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, -0.4) * Euler(rad(-30), 0, 0), WalkSpeed)
6468
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6469
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-6), 0, 0), WalkSpeed)
6470
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6471
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.6, -0.3) * Euler(rad(-5), rad(80), 0), WalkSpeed)
6472
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
6473
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.6, -0.1) * Euler(rad(-2), rad(-85), 0), WalkSpeed)
6474
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
6475
					end
6476
					swait()
6477
			until not moving
6478
		end
6479
	end
6480
)
6481
				LeftHip.Part0 = nil
6482
				LeftHip.Part1 = nil
6483
				FLeftHip.Part0 = Torso
6484
				FLeftHip.Part1 = LeftLeg
6485
				FLeftHip.C0 = LeftHip.C0
6486
				FLeftHip.C1 = LeftHip.C1
6487
				RightHip.Part0 = nil
6488
				RightHip.Part1 = nil
6489
				FRightHip.Part0 = Torso
6490
				FRightHip.Part1 = RightLeg
6491
				FRightHip.C0 = RightHip.C0
6492
				FRightHip.C1 = RightHip.C1
6493
				repeat
6494
					wait()
6495
					Humanoid.WalkSpeed = CurrentSpeed * 4
6496
					Debounces.AnimOverride = true
6497
					MagniDamage(LeftLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", 0.1, false, 0, false, _, _, _)
6498
					MagniDamage(RightLeg, 6, true, 2, 6, true, 1, "Compensate-LifeSteal", 0.1, false, 0, false, _, _, _)
6499
					MagicBlock(BC(Colour1), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12)
6500
					MagicBlock(BC(Colour2), "Neon", LeftLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12)
6501
					MagicBlock(BC(Colour1), "Neon", RightLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12)
6502
					MagicBlock(BC(Colour2), "Neon", RightLeg:GetRenderCFrame() * Cf(0, -1.15, 0), 0.3, 0.3, 0.3, 1.3, 1.3, 1.3, 0.12)
6503
					if not moving and not Debounces.Attacking and not Debounces.Equipping then
6504
						LeftHip.Part0 = nil
6505
						LeftHip.Part1 = nil
6506
						FLeftHip.Part0 = Torso
6507
						FLeftHip.Part1 = LeftLeg
6508
						RightHip.Part0 = nil
6509
						RightHip.Part1 = nil
6510
						FRightHip.Part0 = Torso
6511
						FRightHip.Part1 = RightLeg
6512
						if RootPart.Velocity.Magnitude > 5 then
6513
							local WalkSpeed = 0.5
6514
							if Debounces.TESWield then
6515
								SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), WalkSpeed)
6516
								SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6517
								HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6518
								HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6519
							end
6520
							FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-15), 0, rad(17)), WalkSpeed)
6521
							FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6522
							FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-15), 0, rad(-17)), WalkSpeed)
6523
							FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6524
							Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(8), 0, 0), WalkSpeed)
6525
							Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6526
							FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), 0, 0), WalkSpeed)
6527
							FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6528
							FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.3) * Euler(rad(-12), rad(90), 0), WalkSpeed)
6529
							FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
6530
							FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed)
6531
							FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
6532
						else
6533
								idlenum = 0.3
6534
								if idlenum2 < 9.999 and idle == 1 then
6535
									idlenum2 = idlenum2 + idlenum
6536
								elseif idlenum2 > 9.999 and idle == 1 then
6537
										idle = -1
6538
									elseif idlenum2 > 0.999 and idle == -1 then
6539
											idlenum2 = idlenum2 - idlenum
6540
										elseif idlenum2 < 0.999 and idle == -1 then
6541
												idle = 1
6542
								end
6543
								local IdleSpeed = 0.4
6544
								if Debounces.TESWield then
6545
									SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), IdleSpeed)
6546
									SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6547
									HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6548
									HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6549
								end
6550
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + idlenum2 / 1.5)), IdleSpeed)
6551
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed)
6552
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - idlenum2 / 1.5)), IdleSpeed)
6553
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed)
6554
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-10 - idlenum2 / 1.25), 0, 0), IdleSpeed)
6555
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(16), 0), IdleSpeed)
6556
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - idlenum2 / 60, 0) * Euler(0, rad(16), 0), IdleSpeed)
6557
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6558
								FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.8 + idlenum2 / 60, 0.08) * Euler(rad(-4), rad(-10), 0), IdleSpeed)
6559
								FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, 0, 0), IdleSpeed)
6560
								FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1 + idlenum2 / 60, 0.02) * Euler(rad(-4), rad(8), 0), IdleSpeed)
6561
								FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, 0, 0), IdleSpeed)
6562
							end
6563
					end
6564
				until not Debounces.Hovering or Debounces.Guarding or Debounces.Successful_KeyStroke
6565
					FLeftHip.Part0 = nil
6566
					FLeftHip.Part1 = nil
6567
					LeftHip.Part0 = Torso
6568
					LeftHip.Part1 = LeftLeg
6569
					LeftHip.C0 = FLeftHip.C0
6570
					LeftHip.C1 = FLeftHip.C1
6571
					FRightHip.Part0 = nil
6572
					FRightHip.Part1 = nil
6573
					RightHip.Part0 = Torso
6574
					RightHip.Part1 = RightLeg
6575
					RightHip.C0 = FRightHip.C0
6576
					RightHip.C1 = FRightHip.C1
6577
					debServ:AddItem(hover, 0)
6578
					Humanoid.WalkSpeed = CurrentSpeed
6579
					Debounces.AnimOverride = false
6580
					Debounces.Hovering = false
6581
					end
6582
				if key == " " and Debounces.Equipped and not Debounces.Equipping and Debounces.Can_Double_Jump and not Debounces.DisableJump and not Debounces.Transformed then
6583
					Debounces.Can_Double_Jump = false
6584
					Debounces.DoubleJumping = true
6585
					RootPart.Velocity = Vec(0, 180, 0)
6586
					local noscope = 0
6587
					if not Debounces.DoubleJumpAnim then
6588
						Debounces.AnimOverride = true
6589
						Debounces.DoubleJumpAnim = true
6590
						Current_Anim = "Jumping"
6591
						for i = 0, 1.6, 0.1 do
6592
							swait()
6593
							if noscope ~= 360 then
6594
								noscope = noscope + 30
6595
							end
6596
							if not Debounces.Attacking then
6597
								local JumpSpeed = 0.4
6598
								if Debounces.HasWep then
6599
									HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
6600
									HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6601
									WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed)
6602
									WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed)
6603
								end
6604
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed)
6605
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
6606
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed)
6607
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
6608
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed)
6609
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6610
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), JumpSpeed)
6611
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, rad(noscope), 0), JumpSpeed)
6612
								RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed)
6613
								RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
6614
								LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed)
6615
								LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
6616
							end
6617
						end
6618
						Current_Anim = "Falling"
6619
						Debounces.DoubleJumpAnim = false
6620
						Debounces.AnimOverride = false
6621
					end
6622
					Debounces.DoubleJumping = false
6623
				end
6624
					if key == "e" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6625
						Disrupt()
6626
					end
6627
					if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6628
						Z_Pressed = true
6629
						Fatal_Blow()
6630
						Z_Pressed = false
6631
					end
6632
					if key == "z" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6633
						Hate_Wave()
6634
					end
6635
					if key == "c" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and Debounces.HasWep and not Debounces.DuelWielding and not Debounces.Transformed and not Debounces.KeyStrokeEnabled and not Debounces.Charging_Erupt then
6636
						Debounces.Charging_Erupt = true
6637
						releasez = Mouse.KeyUp:connect(function(Key)
6638
					if Key == "c" and Debounces.Charging_Erupt then
6639
					Debounces.Charging_Erupt = false
6640
					releasez:disconnect()
6641
					end
6642
			end)
6643
		Dark_Eruption()
6644
	end
6645
					if key == "r" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.DuelWielding and not Debounces.TEWield and not Debounces.TESWield and not Debounces.Guarding and Debounces.CanGuard then
6646
						Debounces.Guarding = true
6647
						greal = Mouse.KeyUp:connect(function(Key)
6648
		
6649
		if Key == "r" and Debounces.Guarding then
6650
			Debounces.Guarding = false
6651
			greal:disconnect()
6652
		end
6653
	end)
6654
Corrupt_Guard()
6655
end
6656
					if key == "x" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6657
						game:GetService("RunService").Stepped:wait()
6658
						Axel(SWP.Value)
6659
					end
6660
					if key == "s" and not SWP.Value and not Debounces.Transformed and not Debounces.KeyStrokeEnabled then
6661
						SWP.Value = true
6662
						swait(0.08)
6663
						SWP.Value = false
6664
					end
6665
					if key == "g" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then
6666
						if not Debounces.DuelWielding and not Debounces.HasWep then
6667
							Equip_Denial()
6668
						elseif not Debounces.DuelWielding and Debounces.HasWep then
6669
								Unequip_Denial()
6670
						end
6671
					end
6672
					if key == "2" and Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking and not Debounces.Transformed then
6673
						swait()
6674
						Debounces.KeyStrokeEnabled = not Debounces.KeyStrokeEnabled
6675
					end
6676
				end
6677
)
6678
	Mouse.Button1Down:connect(function()
6679
	
6680
	if Debounces.Equipped and not Debounces.Equipping and not Debounces.Attacking then
6681
		ClickCombo()
6682
	end
6683
end
6684
)
6685
	local SSS = 1
6686
	Humanoid.Running:connect(function(speed)
6687
	if SSS < speed then
6688
		if not Debounces.Dashing and Humanoid.WalkSpeed == CurrentSpeed then
6689
			Current_Anim = "Walking"
6690
		else
6691
			Current_Anim = "Dashing"
6692
		end
6693
		Debounces.Can_Double_Jump = false
6694
	elseif speed < SSS or speed == 0 then
6695
			Current_Anim = "Idle"
6696
			Debounces.Dashing = false
6697
			Debounces.Can_Double_Jump = false
6698
	end
6699
end
6700
)
6701
	Humanoid.FreeFalling:connect(function()
6702
	if Current_Anim ~= "Falling" then
6703
		Current_Anim = "Falling"
6704
		Debounces.Can_Double_Jump = true
6705
	end
6706
end
6707
)
6708
	Humanoid.Jumping:connect(function()
6709
	Current_Anim = "Jumping"
6710
	if Debounces.Equipped and not Debounces.Equipping and not Debounces.JumpAnim and not Debounces.DisableJump then
6711
		Debounces.Can_Double_Jump = true
6712
		Debounces.AnimOverride = true
6713
		Debounces.JumpAnim = true
6714
		for i = 0, 0.8, 0.1 do
6715
			swait()
6716
			if not Debounces.Attacking then
6717
				local JumpSpeed = 0.4
6718
				if Debounces.HasWep then
6719
					HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
6720
					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6721
					WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), JumpSpeed)
6722
					WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), JumpSpeed)
6723
				end
6724
				if Debounces.TEWield then
6725
					WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.6) * Euler(rad(90), rad(180), 0), JumpSpeed)
6726
					WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6727
					HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-10), rad(18), 0), JumpSpeed)
6728
					HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6729
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(-10)), JumpSpeed)
6730
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), JumpSpeed)
6731
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.4, -0.96) * Euler(rad(52), 0, rad(34)), JumpSpeed)
6732
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), JumpSpeed)
6733
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(4), rad(-12), 0), JumpSpeed)
6734
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
6735
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(7), rad(12), 0), JumpSpeed)
6736
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6737
					if not Debounces.Dashing then
6738
						RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-16), rad(80), 0), JumpSpeed)
6739
						RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
6740
						LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-8), rad(-86), 0), JumpSpeed)
6741
						LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
6742
					else
6743
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-16), rad(80), 0), JumpSpeed)
6744
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
6745
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-8), rad(-86), 0), JumpSpeed)
6746
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
6747
					end
6748
				else
6749
					FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-30), 0, rad(10)), JumpSpeed)
6750
					FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
6751
					FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-30), 0, rad(-10)), JumpSpeed)
6752
					FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), JumpSpeed)
6753
					Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(15), 0, 0), JumpSpeed)
6754
					Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), JumpSpeed)
6755
					FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), 0, 0), JumpSpeed)
6756
					FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), JumpSpeed)
6757
					if not Debounces.Dashing then
6758
						RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed)
6759
						RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
6760
						LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed)
6761
						LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
6762
					else
6763
						FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -1, 0) * Euler(rad(-8), rad(90), 0), JumpSpeed)
6764
						FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), JumpSpeed)
6765
						FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.5, -0.8) * Euler(rad(-20), rad(-90), 0), JumpSpeed)
6766
						FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), JumpSpeed)
6767
					end
6768
				end
6769
			end
6770
		end
6771
		Debounces.JumpAnim = false
6772
		Debounces.AnimOverride = false
6773
	end
6774
end
6775
)
6776
	Humanoid.Swimming:connect(function()
6777
	
6778
	Current_Anim = "Walking"
6779
	Debounces.Can_Double_Jump = true
6780
end
6781
)
6782
	Humanoid.Changed:connect(function()
6783
	
6784
	if Humanoid.PlatformStand then
6785
		Humanoid.PlatformStand = false
6786
	end
6787
end
6788
)
6789
	runServ.RenderStepped:connect(function()
6790
	
6791
	Bringer()
6792
	if Debounces.KeyStrokeEnabled then
6793
		KPTemplate.Text = ">>>"
6794
		KPTemplate.TextColor3 = Col3(1, 1, 1)
6795
	else
6796
		KPTemplate.Text = "-X-"
6797
		KPTemplate.TextColor3 = Col3(0.66666666666667, 0, 0)
6798
	end
6799
	if not GodMode then
6800
		Humanoid.MaxHealth = Max_Health
6801
	end
6802
	Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
6803
	Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying, false)
6804
	Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
6805
	if #Effects > 0 then
6806
		for e = 1, #Effects do
6807
			if Effects[e] ~= nil then
6808
				local Thing = Effects[e]
6809
				if Thing ~= nil then
6810
					local Part = Thing[1]
6811
					local Mode = Thing[2]
6812
					local Delay = Thing[3]
6813
					local IncX = Thing[4]
6814
					local IncY = Thing[5]
6815
					local IncZ = Thing[6]
6816
					if Thing[1].Transparency <= 1 then
6817
						if Thing[2] == "Block1" then
6818
							Thing[1].CFrame = Thing[1].CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
6819
							Mesh = Thing[1]:FindFirstChild("Mesh")
6820
							if not Mesh then
6821
								Mesh = Instance.new("BlockMesh")
6822
							end
6823
							Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
6824
							Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6825
						elseif Thing[2] == "Wave" then
6826
								Thing[1].CFrame = Thing[1].CFrame * CFrame.Angles(0, rad(10), 0)
6827
								Mesh = Thing[1]:FindFirstChild("Mesh")
6828
								if not Mesh then
6829
									Mesh = Instance.new("BlockMesh")
6830
								end
6831
								Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
6832
								Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6833
							elseif Thing[2] == "Cylinder" then
6834
									Mesh = Thing[1]:FindFirstChild("Mesh")
6835
									if not Mesh then
6836
										Mesh = Instance.new("BlockMesh")
6837
									end
6838
									Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
6839
									Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6840
								elseif Thing[2] == "Blood" then
6841
										Mesh = Thing[1]:FindFirstChild("Mesh")
6842
										if not Mesh then
6843
											Mesh = Instance.new("BlockMesh")
6844
										end
6845
										Thing[1].CFrame = Thing[1].CFrame * Cf(0, 0.5, 0)
6846
										Mesh.Scale = Mesh.Scale + Vec(Thing[4], Thing[5], Thing[6])
6847
										Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6848
									elseif Thing[2] == "Elec" then
6849
											Mesh = Thing[1]:FindFirstChild("Mesh")
6850
											if not Mesh then
6851
												Mesh = Instance.new("BlockMesh")
6852
											end
6853
											Mesh.Scale = Mesh.Scale + Vec(Thing[7], Thing[8], Thing[9])
6854
											Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6855
										elseif Thing[2] == "Disappear" then
6856
												Thing[1].Transparency = Thing[1].Transparency + Thing[3]
6857
										end
6858
					else
6859
						Part.Parent = nil
6860
						debServ:AddItem(Part, 0)
6861
						table.remove(Effects, e)
6862
					end
6863
				end
6864
			end
6865
		end
6866
	end
6867
end
6868
)
6869
	while true do
6870
		swait()
6871
		if not Debounces.Guarding and Debounces.CanGuard then
6872
			VHealth.Value = VHealth.Value + GH / 6000
6873
		end
6874
		if Debounces.Equipped and not Debounces.Attacking and not Debounces.AnimOverride and not Debounces.Equipping and Debounces.Transformed then
6875
			if Current_Anim == "Idle" and not Debounces.TEWield and not Debounces.TESWield then
6876
				idlenum = 0.3
6877
				if idlenum2 < 9.999 and idle == 1 then
6878
					idlenum2 = idlenum2 + idlenum
6879
				elseif 9.999 < idlenum2 and idle == 1 then
6880
						idle = -1
6881
					elseif 0.999 < idlenum2 and idle == -1 then
6882
							idlenum2 = idlenum2 - idlenum
6883
						elseif idlenum2 < 0.999 and idle == -1 then
6884
								idle = 1
6885
				end
6886
				local IdleSpeed = 0.4
6887
				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6888
				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6889
				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + (idlenum2) / 1.5)), IdleSpeed)
6890
				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed)
6891
				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - (idlenum2) / 1.5)), IdleSpeed)
6892
				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed)
6893
				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-20 - (idlenum2) / 1.25), 0, 0), IdleSpeed)
6894
				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(10), 0), IdleSpeed)
6895
				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 60, 0) * Euler(0, rad(10), 0), IdleSpeed)
6896
				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6897
				RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 60, 0.08) * Euler(0, rad(90), 0), IdleSpeed)
6898
				RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(100), 0), IdleSpeed)
6899
				LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 60, 0.02) * Euler(0, rad(-90), 0), IdleSpeed)
6900
				LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-96), 0), IdleSpeed)
6901
			elseif Current_Anim == "Idle" and not Debounces.TEWield and Debounces.TESWield then
6902
						idlenum = 0.3
6903
						if idlenum2 < 9.999 and idle == 1 then
6904
							idlenum2 = idlenum2 + idlenum
6905
						elseif 9.999 < idlenum2 and idle == 1 then
6906
								idle = -1
6907
							elseif 0.999 < idlenum2 and idle == -1 then
6908
									idlenum2 = idlenum2 - idlenum
6909
								elseif idlenum2 < 0.999 and idle == -1 then
6910
										idle = 1
6911
									end
6912
						local IdleSpeed = 0.4
6913
						SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(100), 0, 0), IdleSpeed)
6914
						SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6915
						HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6916
						HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6917
						FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.6, 0.2) * Euler(0, 0, rad(6 + (idlenum2) / 1.5)), IdleSpeed)
6918
						FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed)
6919
						FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.6, 0) * Euler(0, 0, rad(-6 - (idlenum2) / 1.5)), IdleSpeed)
6920
						FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed)
6921
						Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-20 - (idlenum2) / 1.25), 0, 0), IdleSpeed)
6922
						Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-10), 0), IdleSpeed)
6923
						FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 60, 0) * Euler(0, rad(-10), 0), IdleSpeed)
6924
						FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6925
						RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 60, 0.08) * Euler(0, rad(90), 0), IdleSpeed)
6926
						RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(100), 0), IdleSpeed)
6927
						LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 60, 0.02) * Euler(0, rad(-90), 0), IdleSpeed)
6928
						LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-96), 0), IdleSpeed)
6929
					elseif Current_Anim == "Idle" and Debounces.TEWield and not Debounces.TESWield then
6930
								idlenum = 0.2
6931
								if idlenum2 < 9.999 and idle == 1 then
6932
									idlenum2 = idlenum2 + idlenum
6933
								elseif 9.999 < idlenum2 and idle == 1 then
6934
										idle = -1
6935
									elseif 0.999 < idlenum2 and idle == -1 then
6936
											idlenum2 = idlenum2 - idlenum
6937
										elseif idlenum2 < 0.999 and idle == -1 then
6938
												idle = 1
6939
								end
6940
								local IdleSpeed = 0.4
6941
								WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.7) * Euler(rad(90), 0, 0), IdleSpeed)
6942
								WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6943
								HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-120), rad(70), 0), IdleSpeed)
6944
								HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
6945
								FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0 - (idlenum2) / 65, 0) * Euler(rad(120), rad(0), rad(10)), IdleSpeed)
6946
								FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.45, 0) * Euler(0, 0, 0), IdleSpeed)
6947
								FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.86, 0.4 - (idlenum2) / 65, -1.2) * Euler(rad(110), 0, rad(40)), IdleSpeed)
6948
								FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), IdleSpeed)
6949
								Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(60), 0), IdleSpeed)
6950
								Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(5 + (idlenum2) / 2), 0, 0), IdleSpeed)
6951
								FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 50, 0) * Euler(rad(-7), rad(-70), 0), IdleSpeed)
6952
								FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
6953
								RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 50, 0) * Euler(0, rad(80), 0), IdleSpeed)
6954
								RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), IdleSpeed)
6955
								LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.8, -1 + (idlenum2) / 50, -0.36) * Euler(rad(-7), rad(-27), 0), IdleSpeed)
6956
								LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0) * Euler(rad(-15), rad(-90), 0), IdleSpeed)
6957
							end
6958
								if Current_Anim == "Walking" and not Debounces.TEWield then
6959
									local WalkSpeed = 0.5
6960
									RightHip.MaxVelocity = 0.04
6961
									LeftHip.MaxVelocity = 0.04
6962
									if Debounces.TESWield then
6963
										SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(95), 0, 0), WalkSpeed)
6964
										SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6965
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-10), 0, rad(-5)), 0.8)
6966
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6967
									else
6968
										FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(math.deg(LeftHip.CurrentAngle) / 1.5), 0, rad(-5)), 0.8)
6969
										FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6970
									end
6971
									HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6972
									HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6973
									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(-rad(math.deg(LeftHip.CurrentAngle) / 1.5), 0, rad(5)), 0.8)
6974
									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
6975
									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-16), 0, 0), WalkSpeed)
6976
									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6977
									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-12), 0, 0), WalkSpeed)
6978
									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6979
									RightHip.C0 = clerp(RightHip.C0, Cf(0.5, -1, 0.2) * Euler(0, rad(90), 0), WalkSpeed)
6980
									RightHip.C1 = clerp(RightHip.C1, Cf(0, 1, 0.2) * Euler(0, rad(90), 0), WalkSpeed)
6981
									LeftHip.C0 = clerp(LeftHip.C0, Cf(-0.5, -1, 0.2) * Euler(0, rad(-90), 0), WalkSpeed)
6982
									LeftHip.C1 = clerp(LeftHip.C1, Cf(0, 1, 0.2) * Euler(0, rad(-90), 0), WalkSpeed)
6983
								elseif Current_Anim == "Walking" and Debounces.TEWield then
6984
												local WalkSpeed = 0.5
6985
												WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, -0.6) * Euler(rad(90), rad(180), 0), WalkSpeed)
6986
												WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6987
												HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-10), rad(18), 0), WalkSpeed)
6988
												HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
6989
												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(-10)), WalkSpeed)
6990
												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-20), 0), WalkSpeed)
6991
												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.4, -0.96) * Euler(rad(52), 0, rad(34)), WalkSpeed)
6992
												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(60), 0), WalkSpeed)
6993
												Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(0, rad(20), 0), WalkSpeed)
6994
												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(rad(5), 0, 0), WalkSpeed)
6995
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-11), rad(-20), 0), WalkSpeed)
6996
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
6997
												RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(82), 0), WalkSpeed)
6998
												RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
6999
												LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, -0.1) * Euler(rad(-7), rad(-80), 0), WalkSpeed)
7000
												LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(rad(-15), rad(-90), 0), WalkSpeed)
7001
											end
7002
											if Current_Anim == "Dashing" and not Debounces.TEWield then
7003
												local WalkSpeed = 0.5
7004
												if Debounces.TESWield then
7005
													SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(130), 0, 0), WalkSpeed)
7006
													SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7007
												end
7008
												HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7009
												HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7010
												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(-50), 0, rad(15)), 0.8)
7011
												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7012
												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(-50), 0, rad(-15)), 0.8)
7013
												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7014
												Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(30), 0, 0), WalkSpeed)
7015
												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7016
												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), WalkSpeed)
7017
												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7018
												FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), WalkSpeed)
7019
												FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7020
												FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed)
7021
												FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7022
											elseif Current_Anim == "Dashing" and Debounces.TEWield then
7023
															local WalkSpeed = 0.5
7024
															WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(60), rad(180), 0), WalkSpeed)
7025
															WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7026
															HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7027
															HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7028
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(95), 0, rad(15)), 0.8)
7029
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7030
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.5, 0) * Euler(rad(10), 0, rad(-15)), 0.8)
7031
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7032
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.4, 0) * Euler(rad(30), 0, 0), WalkSpeed)
7033
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7034
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-60), 0, 0), WalkSpeed)
7035
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7036
															FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.6) * Euler(rad(-20), rad(90), 0), WalkSpeed)
7037
															FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7038
															FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.8, -0.1) * Euler(rad(-8), rad(-90), 0), WalkSpeed)
7039
															FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7040
															end
7041
														if Current_Anim == "Falling" and not Debounces.TEWield and not Debounces.TESWield then
7042
															local FallSpeed = 0.5
7043
															HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7044
															HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7045
															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), FallSpeed)
7046
															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed)
7047
															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), FallSpeed)
7048
															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed)
7049
															Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed)
7050
															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7051
															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed)
7052
															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7053
															if not Debounces.Dashing then
7054
																RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
7055
																RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7056
																LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
7057
																LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7058
															else
7059
																FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
7060
																FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7061
																FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
7062
																FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7063
															end
7064
														elseif Current_Anim == "Falling" and not Debounces.TEWield and Debounces.TESWield then
7065
																	local FallSpeed = 0.5
7066
																	HWeld2.C0 = clerp(HWeld2.C0, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7067
																	HWeld2.C1 = clerp(HWeld2.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7068
																	SheWeld.C0 = clerp(SheWeld.C0, Cf(0, -0.24, 0) * Euler(rad(90), 0, 0), FallSpeed)
7069
																	SheWeld.C1 = clerp(SheWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7070
																	FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
7071
																	FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-15)), FallSpeed)
7072
																	FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
7073
																	FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(15)), FallSpeed)
7074
																	Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed)
7075
																	Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7076
																	FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed)
7077
																	FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7078
																	if not Debounces.Dashing then
7079
																		RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
7080
																		RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7081
																		LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
7082
																		LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7083
																	else
7084
																		FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
7085
																		FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7086
																		FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
7087
																		FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7088
																	end
7089
																elseif Current_Anim == "Falling" and Debounces.TEWield and not Debounces.TESWield then
7090
																				local FallSpeed = 0.5
7091
																				WepWeld3.C0 = clerp(WepWeld3.C0, Cf(0.1, 0, 0) * Euler(rad(90), rad(180), 0), FallSpeed)
7092
																				WepWeld3.C1 = clerp(WepWeld3.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7093
																				HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(-12), 0, 0), FallSpeed)
7094
																				HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7095
																				FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.5, 0) * Euler(rad(30), 0, rad(10)), FallSpeed)
7096
																				FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(10), 0), FallSpeed)
7097
																				FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), FallSpeed)
7098
																				FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), FallSpeed)
7099
																				FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-20), rad(-12), 0), FallSpeed)
7100
																				FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7101
																				Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-16), rad(12), 0), FallSpeed)
7102
																				Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7103
																				if not Debounces.Dashing then
7104
																					RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(20), rad(80), 0), FallSpeed)
7105
																					RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7106
																					LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -0.3, -0.5) * Euler(rad(7), rad(-86), 0), FallSpeed)
7107
																					LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7108
																				else
7109
																					FRightHip.C0 = clerp(FRightHip.C0, Cf(1.5, -0.7, 0) * Euler(rad(20), rad(80), 0), FallSpeed)
7110
																					FRightHip.C1 = clerp(FRightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7111
																					FLeftHip.C0 = clerp(FLeftHip.C0, Cf(-1.5, -0.3, -0.5) * Euler(rad(7), rad(-86), 0), FallSpeed)
7112
																					FLeftHip.C1 = clerp(FLeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7113
																				end
7114
														end
7115
														end
7116
																			if Debounces.Equipped then
7117
																				if not Debounces.Attacking then
7118
																					if not Debounces.AnimOverride then
7119
																						if not Debounces.Equipping then
7120
																							if not Debounces.Transformed then
7121
																								if Current_Anim == "Idle" and not Debounces.HasWep then
7122
																									idlenum = 0.3
7123
																									if idlenum2 < 9.999 and idle == 1 then
7124
																										idlenum2 = idlenum2 + idlenum
7125
																									elseif 9.999 < idlenum2 and idle == 1 then
7126
																											idle = -1
7127
																										elseif 0.999 < idlenum2 and idle == -1 then
7128
																												idlenum2 = idlenum2 - idlenum
7129
																											elseif idlenum2 < 0.999 and idle == -1 then
7130
																													idle = 1
7131
																									end
7132
																									local IdleSpeed = 0.4
7133
																									FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(0.85, 0.45 - (idlenum2) / 70, -1) * Euler(rad(60), 0, rad(-40)), IdleSpeed)
7134
																									FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(-20), 0), IdleSpeed)
7135
																									FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.4, 0.3 - (idlenum2) / 70, -0.3) * Euler(rad(120), 0, rad(-40)), IdleSpeed)
7136
																									FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(rad(1 - (idlenum2) * 2), rad(20), 0), IdleSpeed)
7137
																									Neck.C0 = clerp(Neck.C0, Cf(0, 1.5 + (idlenum2) / 50, 0) * Euler(rad(-20), rad(40), 0), IdleSpeed)
7138
																									Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0.1 + (idlenum2) / 50) * Euler(rad(1 + (idlenum2) * 1.5), 0, 0), IdleSpeed)
7139
																									FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1 - (idlenum2) / 40, 0) * Euler(0, rad(-40), 0), IdleSpeed)
7140
																									FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
7141
																									RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1 + (idlenum2) / 38, -0.6) * Euler(0, rad(120), 0), IdleSpeed)
7142
																									RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(rad(10), rad(90), 0), IdleSpeed)
7143
																									LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1 + (idlenum2) / 38, 0.4) * Euler(0, rad(-50), 0), IdleSpeed)
7144
																									LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(rad(10), rad(-90), 0), IdleSpeed)
7145
																								elseif Current_Anim == "Idle" and Debounces.HasWep and not Debounces.DuelWielding then
7146
																											idlenum = 0.3
7147
																											if idlenum2 < 9.999 and idle == 1 then
7148
																												idlenum2 = idlenum2 + idlenum
7149
																											elseif 9.999 < idlenum2 and idle == 1 then
7150
																													idle = -1
7151
																												elseif 0.999 < idlenum2 and idle == -1 then
7152
																														idlenum2 = idlenum2 - idlenum
7153
																													elseif idlenum2 < 0.999 and idle == -1 then
7154
																															idle = 1
7155
																											end
7156
																											local IdleSpeed = 0.4
7157
																											HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(6.5 - (idlenum2) / 2), 0, 0), IdleSpeed)
7158
																											HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), IdleSpeed)
7159
																											WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), IdleSpeed)
7160
																											WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), IdleSpeed)
7161
																											FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.51, 0.53, 0.2) * Euler(0, 0, rad(12 + (idlenum2) / 2)), IdleSpeed)
7162
																											FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(20), 0), IdleSpeed)
7163
																											FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 0.53, 0) * Euler(0, 0, rad(-12 - (idlenum2) / 2)), IdleSpeed)
7164
																											FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, rad(-12), 0), IdleSpeed)
7165
																											Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, -0.1) * Euler(rad(-10 - (idlenum2) / 2), 0, 0), IdleSpeed)
7166
																											Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, rad(-20), 0), IdleSpeed)
7167
																											FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -(1 + (idlenum2) / 50), 0) * Euler(0, rad(-20), 0), IdleSpeed)
7168
																											FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), IdleSpeed)
7169
																											RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -(1 - (idlenum2) / 50), 0.15) * Euler(0, rad(90), 0), IdleSpeed)
7170
																											RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(105), 0), IdleSpeed)
7171
																											LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -(1 - (idlenum2) / 50), 0.3) * Euler(0, rad(-90), 0), IdleSpeed)
7172
																											LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-115), 0), IdleSpeed)
7173
																											end
7174
																											if Current_Anim == "Walking" and not Debounces.HasWep then
7175
																												local WalkSpeed = 0.4
7176
																												FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.35, 0) * Euler(rad(-25), 0, rad(8)), WalkSpeed)
7177
																												FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7178
																												FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(80), 0, rad(60)), WalkSpeed)
7179
																												FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7180
																												Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(3), 0, 0), WalkSpeed)
7181
																												Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7182
																												FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-10), 0, 0), WalkSpeed)
7183
																												FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7184
																												RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7185
																												RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7186
																												LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7187
																												LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7188
																											elseif Current_Anim == "Walking" and Debounces.HasWep and not Debounces.DuelWielding then
7189
																															local WalkSpeed = 0.4
7190
																															HWeld.C0 = clerp(HWeld.C0, Cf(0, -1.3, 0.3) * Euler(rad(24), 0, 0), WalkSpeed)
7191
																															HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7192
																															WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), WalkSpeed)
7193
																															WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), WalkSpeed)
7194
																															FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 0.65, 0) * Euler(0, 0, rad(12)), WalkSpeed)
7195
																															FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7196
																															FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-0.7, 0.5, -1) * Euler(rad(85), 0, rad(70)), WalkSpeed)
7197
																															FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, 0), WalkSpeed)
7198
																															Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(7), 0, 0), WalkSpeed)
7199
																															Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), WalkSpeed)
7200
																															FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(-13), 0, 0), WalkSpeed)
7201
																															FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), WalkSpeed)
7202
																															RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7203
																															RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), WalkSpeed)
7204
																															LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7205
																															LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), WalkSpeed)
7206
																															end
7207
																															if Current_Anim == "Falling" then
7208
																																local FallSpeed = 0.5
7209
																																if Debounces.HasWep and not Debounces.DuelWielding then
7210
																																	HWeld.C0 = clerp(HWeld.C0, Cf(0, -1, 0) * Euler(rad(90), 0, 0), FallSpeed)
7211
																																	HWeld.C1 = clerp(HWeld.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7212
																																	WepWeld.C0 = clerp(WepWeld.C0, Cf(0, 0, 0) * Euler(rad(90), 0, 0), FallSpeed)
7213
																																	WepWeld.C1 = clerp(WepWeld.C1, Cf(0, 0, 0) * Euler(0, rad(180), 0), FallSpeed)
7214
																																end
7215
																																FRightShoulder.C0 = clerp(FRightShoulder.C0, Cf(1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
7216
																																FRightShoulder.C1 = clerp(FRightShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(-15)), FallSpeed)
7217
																																FLeftShoulder.C0 = clerp(FLeftShoulder.C0, Cf(-1.5, 1, 0) * Euler(rad(160), 0, 0), FallSpeed)
7218
																																FLeftShoulder.C1 = clerp(FLeftShoulder.C1, Cf(0, 0.5, 0) * Euler(0, 0, rad(15)), FallSpeed)
7219
																																Neck.C0 = clerp(Neck.C0, Cf(0, 1.5, 0) * Euler(rad(-20), 0, 0), FallSpeed)
7220
																																Neck.C1 = clerp(Neck.C1, Cf(0, 0, 0) * Euler(0, 0, 0), FallSpeed)
7221
																																FRootJoint.C0 = clerp(FRootJoint.C0, Cf(0, -1, 0) * Euler(rad(10), 0, 0), FallSpeed)
7222
																																FRootJoint.C1 = clerp(FRootJoint.C1, Cf(0, -1, 0) * Euler(0, 0, 0), FallSpeed)
7223
																																RightHip.C0 = clerp(RightHip.C0, Cf(1.5, -0.5, -0.8) * Euler(rad(-20), rad(90), 0), FallSpeed)
7224
																																RightHip.C1 = clerp(RightHip.C1, Cf(1, 1, 0) * Euler(0, rad(90), 0), FallSpeed)
7225
																																LeftHip.C0 = clerp(LeftHip.C0, Cf(-1.5, -1, 0) * Euler(rad(8), rad(-90), 0), FallSpeed)
7226
																																LeftHip.C1 = clerp(LeftHip.C1, Cf(-1, 1, 0) * Euler(0, rad(-90), 0), FallSpeed)
7227
																															end
7228
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7229
7230
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7231
7232
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7233
7234
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7235
7236
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7237
7238
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7239
7240
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7241
7242
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7243
7244
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7245
7246
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7247
7248
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7249
7250
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7251
7252
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7253
7254
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7255
7256
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7257
7258
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7259
7260
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7261
7262
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7263
7264
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7265
7266
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7267
7268
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7269
7270
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7271
7272
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7273
7274
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7275
7276
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7277
7278
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7279
7280
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7281
7282
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7283
7284
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7285
7286
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7287
7288
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7289
7290
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7291
7292
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7293
7294
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7295
7296
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7297
7298
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7299
7300
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7301
7302
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out DO_STMT
7303
7304
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_ELSE_STMT
7305
7306
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7307
7308
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_THEN_STMT
7309
7310
																															-- DECOMPILER ERROR at PC6588: LeaveBlock: unexpected jumping out IF_STMT
7311
7312
																														end
7313
																							end
7314
																						end
7315
																					end
7316
																				end
7317
																			end