View difference between Paste ID: qNPNNpMH and 5F0BcsZn
SHOW: | | - or go back to the newest paste.
1
    -- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10-
	p = game.Players.LocalPlayer
10+
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = owner
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80-
	Player = game:GetService("Players").LocalPlayer
80+
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
	local s = Instance.new("Sound",char)
88
	s.Name = "BGMusic"
89
	s.SoundId = "http://www.roblox.com/asset/?id=573660225"
90
	s.Pitch = 1
91
	s.Volume = 1
92
	s.Looped = true
93
	wait(0.1)
94
	s:play()
95
	
96
	p = owner
97
	char = p.Character
98
	torso = char.Torso
99
	neck = char.Torso.Neck
100
	hum = char.Humanoid
101
	hum.MaxHealth = 987654321987654321987654321987654321987654321
102
	wait()
103
	hum.Health =hum.MaxHealth
104
	char.Head.face.Texture = "rbxassetid://515293110"
105
	
106
	for i,v in pairs(char:children()) do
107
	    if v:IsA("Accessory") then
108
	        v:Destroy()
109
	    end
110
	end
111
	
112
	ypcall(function()
113
	char.Shirt:Destroy()
114
	char.Pants:Destroy()
115
	shirt = Instance.new("Shirt", char)
116
	shirt.Name = "Shirt"
117
	pants = Instance.new("Pants", char)
118
	pants.Name = "Pants"
119
	char.Shirt.ShirtTemplate = "rbxassetid://519610322"
120
	char.Pants.PantsTemplate = "rbxassetid://515125291"
121
	end)
122
	
123
	local BC = char["Body Colors"]
124
	BC.HeadColor = BrickColor.new("White")
125
	BC.LeftArmColor = BrickColor.new("White")
126
	BC.LeftLegColor = BrickColor.new("White")
127
	BC.RightArmColor = BrickColor.new("White")
128
	BC.RightLegColor = BrickColor.new("White")
129
	BC.TorsoColor = BrickColor.new("White")
130
	
131
	CV="Maroon"
132
		
133
	local txt = Instance.new("BillboardGui", char)
134
	txt.Adornee = char .Head
135
	txt.Name = "_status"
136
	txt.Size = UDim2.new(2, 0, 1.2, 0)
137
	txt.StudsOffset = Vector3.new(-9, 8, 0)
138
	local text = Instance.new("TextLabel", txt)
139
	text.Size = UDim2.new(10, 0, 7, 0)
140
	text.FontSize = "Size24"
141
	text.TextScaled = true
142
	text.TextTransparency = 0
143
	text.BackgroundTransparency = 1 
144
	text.TextTransparency = 0
145
	text.TextStrokeTransparency = 0
146
	text.Font = "Bodoni"
147
	text.TextStrokeColor3 = Color3.new(0,0,0)
148
	
149
	v=Instance.new("Part")
150
	v.Name = "ColorBrick"
151
	v.Parent=p.Character
152
	v.FormFactor="Symmetric"
153
	v.Anchored=true
154
	v.CanCollide=false
155
	v.BottomSurface="Smooth"
156
	v.TopSurface="Smooth"
157
	v.Size=Vector3.new(10,5,3)
158
	v.Transparency=1
159
	v.CFrame=char.Torso.CFrame
160
	v.BrickColor=BrickColor.new(CV)
161
	v.Transparency=1
162
	text.TextColor3 = Color3.new(255,0,0)
163
	v.Shape="Block"
164
	text.Text = "Cross!Sans"
165
	
166
	Player = owner
167
	Character = Player.Character
168
	PlayerGui = Player.PlayerGui
169
	Backpack = Player.Backpack
170
	Torso = Character.Torso
171
	Head = Character.Head
172
	Humanoid = Character.Humanoid
173
	Face = Head.face
174
	LeftArm = Character["Left Arm"]
175
	LeftLeg = Character["Left Leg"]
176
	RightArm = Character["Right Arm"]
177
	RightLeg = Character["Right Leg"]
178
	LS = Torso["Left Shoulder"]
179
	LH = Torso["Left Hip"]
180
	RS = Torso["Right Shoulder"]
181
	RH = Torso["Right Hip"]
182
	Neck = Torso.Neck
183
	it = Instance.new
184
	vt = Vector3.new
185
	cf = CFrame.new
186
	euler = CFrame.fromEulerAnglesXYZ
187
	angles = CFrame.Angles
188
	necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
189
	necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
190
	LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
191
	LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
192
	RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
193
	RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
194
	RootPart = Character.HumanoidRootPart
195
	RootJoint = RootPart.RootJoint
196
	RootCF = euler(-1.57, 0, 3.14)
197
	Reaper = Instance.new("Model")
198
	Reaper.Parent = Player.Character
199
	Reaper.Name = "Reaper"
200
	rh = Instance.new("Part")
201
	rh.Parent = Reaper
202
	rh.Locked = true
203
	rh.CanCollide = false
204
	mesh = Instance.new("SpecialMesh")
205
	rh.formFactor =  "Symmetric"
206
	mesh.MeshType = "FileMesh"
207
	mesh.MeshId = "http://www.roblox.com/asset/?id=99856331"
208
	mesh.TextureId = "http://www.roblox.com/asset/?id=34644652"
209
	mesh.Parent = rh
210
	local weld = Instance.new("Weld")
211
	weld.Parent = rh
212
	rh.Transparency = 0
213
	weld.Part0 = rh
214
	weld.Part1 = Player.Character.Head
215
	weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, 0.85, 0)
216
	Reaper2 = Instance.new("Model")
217
	Reaper2.Parent = Player.Character
218
	Reaper2.Name = "Reaper2"
219
	rh1 = Instance.new("Part")
220
	rh1.Parent = Reaper2
221
	rh1.Locked = true
222
	rh1.CanCollide = false
223
	mesh2 = Instance.new("SpecialMesh")
224
	rh1.formFactor =  "Symmetric"
225
	mesh2.MeshType = "FileMesh"
226
	mesh2.MeshId = "http://www.roblox.com/asset/?id=136756097"
227
	mesh2.TextureId = "http://www.roblox.com/asset/?id=4770560"
228
	mesh2.Parent = rh1
229
	local weld2 = Instance.new("Weld")
230
	weld2.Parent = rh1
231
	rh1.Transparency = 0
232
	weld2.Part0 = rh1
233
	weld2.Part1 = Player.Character.Head
234
	weld2.C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0)
235
	e1 = Instance.new("Part")
236
	e1.Parent = Reaper
237
	e1.Locked = true
238
	e1.CanCollide = false
239
	e1.formFactor = "Symmetric"
240
	e1.Size = Vector3.new(-3.05,-5.05, -3.05)
241
	e1.Material = "Neon"
242
	e1.BrickColor = BrickColor.new("Smokey grey")
243
	e1.Shape = "Ball"
244
	e1.Transparency = 1
245
	local weld = Instance.new("Weld")
246
	weld.Parent = e1
247
	weld.Part0 = e1
248
	weld.Part1 = Player.Character.Head
249
	weld.C0 = CFrame.new(0.17, 0.01, 0.76)*CFrame.Angles(0, 0, 0)
250
	e2 = Instance.new("Part")
251
	e2.Parent = Reaper
252
	e2.Locked = true
253
	e2.CanCollide = false
254
	e2.formFactor = "Symmetric"
255
	e2.Size = Vector3.new(-3.05,-5.05, -3.05)
256
	e2.Material = "Neon"
257
	e2.BrickColor = BrickColor.new("Smokey grey")
258
	e2.Shape = "Ball"
259
	e2.Transparency = 1
260
	local weld = Instance.new("Weld")
261
	weld.Parent = e2
262
	weld.Part0 = e2
263
	weld.Part1 = Player.Character.Head
264
	weld.C0 = CFrame.new(-0.17, 0.01, 0.76)*CFrame.Angles(0, 0, 0)
265
	attack = false
266
	attackdebounce = false
267
	MMouse = nil
268
	combo = 0
269
	local hitfloor, posfloor = nil, nil
270
	local idle = 0
271
	local Anim = "Idle"
272
	local Effects = {}
273
	local Weapon = {}
274
	local Welds = {}
275
	local invisible = false
276
	local doing2 = false
277
	local doing4 = false
278
	local Marked = {}
279
	local MarkedGUI = {}
280
	local decreaseatk = 0
281
	local decreasedef = 0
282
	local decreasemvmt = 0
283
	local pursuitnum = 0
284
	local arcorb = false
285
	local move1 = "(Z)\nSoul Taker"
286
	local move2 = "(X)\nGaster Shot"
287
	local move3 = "(C)\nGaster Beam"
288
	local move4 = "(V)\nThe X-Event"
289
	local cooldowns = {}
290
	local cooldown1 = 0
291
	table.insert(cooldowns, cooldown1)
292
	local cooldown2 = 0
293
	table.insert(cooldowns, cooldown2)
294
	local cooldown3 = 0
295
	table.insert(cooldowns, cooldown3)
296
	local cooldown4 = 0
297
	table.insert(cooldowns, cooldown4)
298
	local cooldownsadd = {}
299
	local cooldownadd1 = 100
300
	table.insert(cooldownsadd, cooldownadd1)
301
	local cooldownadd2 = 100
302
	table.insert(cooldownsadd, cooldownadd2)
303
	local cooldownadd3 = 100
304
	table.insert(cooldownsadd, cooldownadd3)
305
	local cooldownadd4 = 100
306
	table.insert(cooldownsadd, cooldownadd4)
307
	local cooldownmax = 100
308
	player = nil
309
	RSH = nil
310
	RW = Instance.new("Motor")
311
	LW = Instance.new("Motor")
312
	RW.Name = "Right Shoulder"
313
	LW.Name = "Left Shoulder"
314
	LH = Torso["Left Hip"]
315
	RH = Torso["Right Hip"]
316
	TorsoColor = Torso.BrickColor
317
	TorsoRed = TorsoColor.Color.r
318
	TorsoGreen = TorsoColor.Color.g
319
	TorsoBlue = TorsoColor.Color.b
320
	NewCol = Color3.new(255, 0, 0)
321
	NewCol2 = Color3.new(255, 0, 0)
322
	if Player:findFirstChild("Color1") ~= nil then
323
	  NewCol = Player.Color1.Value
324
	end
325
	if Player:findFirstChild("Color2") ~= nil then
326
	  NewCol2 = Player.Color2.Value
327
	end
328
	print(BrickColor.new(NewCol))
329
	local mdec = Instance.new("NumberValue", Decrease)
330
	mdec.Name = "DecreaseDef"
331
	mdec.Value = 0.4
332
	local mdec2 = Instance.new("NumberValue", Decrease)
333
	mdec2.Name = "DecreaseMvmt"
334
	mdec2.Value = 0.1
335
	if Character:findFirstChild("Effects", true) ~= nil then
336
	  Character:findFirstChild("Effects", true).Parent = nil
337
	end
338
	local effects = it("Model", Character)
339
	effects.Name = "Effects"
340
	local Animate = Humanoid.Animator
341
	local canjump = true
342
	removeControl = function()
343
	  canjump = false
344
	end
345
	resumeControl = function()
346
	  canjump = true
347
	end
348
	Player.Character.Humanoid.Changed:connect(function()
349
	  if canjump == false then
350
	    Player.Character.Humanoid.Jump = false
351
	  end
352
	end)
353
	ArtificialHB = Instance.new("BindableEvent", script)
354
	ArtificialHB.Name = "Heartbeat"
355
	
356
	script:WaitForChild("Heartbeat")
357
	
358
	frame = 1 / 30
359
	tf = 0
360
	allowframeloss = true
361
	tossremainder = false
362
	lastframe = tick()
363
	script.Heartbeat:Fire()
364
	
365
	game:GetService("RunService").Heartbeat:connect(function(s, p)
366
	    tf = tf + s
367
	    if tf >= frame then
368
	        if allowframeloss then
369
	            script.Heartbeat:Fire()
370
	            lastframe = tick()
371
	        else
372
	            for i = 1, math.floor(tf / frame) do
373
	                script.Heartbeat:Fire()
374
	            end
375
	            lastframe = tick()
376
	        end
377
	        if tossremainder then
378
	            tf = 0
379
	        else
380
	            tf = tf - frame * math.floor(tf / frame)
381
	        end
382
	    end
383
	end)
384
	
385
	function swait(num)
386
	    if num == 0 or num == nil then
387
	        ArtificialHB.Event:wait()
388
	    else
389
	        for i = 0, num do
390
	            ArtificialHB.Event:wait()
391
	        end
392
	    end
393
	end
394
	if Character:findFirstChild("Carnufico", true) ~= nil then
395
	  Character:findFirstChild("Carnufico", true).Parent = nil
396
	end
397
	if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
398
	  Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
399
	end
400
	if Character:findFirstChild("Stats", true) ~= nil then
401
	  Character:findFirstChild("Stats", true).Parent = nil
402
	end
403
	local Stats = Instance.new("BoolValue")
404
	Stats.Name = "Stats"
405
	Stats.Parent = Character
406
	local Atk = Instance.new("NumberValue")
407
	Atk.Name = "Damage"
408
	Atk.Parent = Stats
409
	Atk.Value = 1
410
	local Def = Instance.new("NumberValue")
411
	Def.Name = "Defense"
412
	Def.Parent = Stats
413
	Def.Value = 1
414
	local Mvmt = Instance.new("NumberValue")
415
	Mvmt.Name = "Movement"
416
	Mvmt.Parent = Stats
417
	Mvmt.Value = 1
418
	local Block = Instance.new("BoolValue")
419
	Block.Name = "Block"
420
	Block.Parent = Stats
421
	Block.Value = false
422
	local Stun = Instance.new("NumberValue")
423
	Stun.Name = "Stun"
424
	Stun.Parent = Stats
425
	Stun.Value = 0
426
	local StunT = Instance.new("NumberValue")
427
	StunT.Name = "StunThreshold"
428
	StunT.Parent = Stats
429
	StunT.Value = 100
430
	local Rooted = Instance.new("BoolValue")
431
	Rooted.Name = "Rooted"
432
	Rooted.Parent = Stats
433
	Rooted.Value = false
434
	local Stunned = Instance.new("BoolValue")
435
	Stunned.Name = "Stunned"
436
	Stunned.Parent = Stats
437
	Stunned.Value = false
438
	local Stagger = Instance.new("BoolValue")
439
	Stagger.Name = "Stagger"
440
	Stagger.Parent = Stats
441
	Stagger.Value = false
442
	local StaggerHit = Instance.new("BoolValue")
443
	StaggerHit.Name = "StaggerHit"
444
	StaggerHit.Parent = Stats
445
	StaggerHit.Value = false
446
	local RecentEnemy = Instance.new("ObjectValue")
447
	RecentEnemy.Name = "RecentEnemy"
448
	RecentEnemy.Parent = Stats
449
	RecentEnemy.Value = nil
450
	local Decrease = Instance.new("BoolValue")
451
	Decrease.Name = "Decrease"
452
	Decrease.Parent = Stats
453
	Decrease.Value = false
454
	local mana = Instance.new("NumberValue")
455
	mana.Name = "Mana"
456
	mana.Parent = Stats
457
	mana.Value = 0
458
	local invisnum = Instance.new("NumberValue")
459
	invisnum.Name = "Pursuit"
460
	invisnum.Parent = Stats
461
	invisnum.Value = 0
462
	local isinvis = Instance.new("BoolValue")
463
	isinvis.Name = "IsInvisible"
464
	isinvis.Parent = Stats
465
	isinvis.Value = false
466
	local passive = Instance.new("NumberValue", Decrease)
467
	passive.Name = "DecreaseAtk"
468
	passive.Value = 0
469
	local passive2 = Instance.new("NumberValue", nil)
470
	passive2.Name = "DecreaseDef"
471
	passive2.Value = 0.2
472
	local passive3 = Instance.new("NumberValue", nil)
473
	passive3.Name = "DecreaseMvmt"
474
	passive3.Value = -0.2
475
	NoOutline = function(Part)
476
	  Part.TopSurface = 10
477
	end
478
	part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
479
	  local fp = it("Part")
480
	  fp.formFactor = formfactor
481
	  fp.Parent = parent
482
	  fp.Reflectance = reflectance
483
	  fp.Transparency = transparency
484
	  fp.CanCollide = false
485
	  fp.Locked = true
486
	  fp.BrickColor = brickcolor
487
	  fp.Name = name
488
	  fp.Size = size
489
	  fp.Position = Torso.Position
490
	  NoOutline(fp)
491
	  fp.Material = "SmoothPlastic"
492
	  fp:BreakJoints()
493
	  return fp
494
	end
495
	mesh = function(Mesh, part, meshtype, meshid, offset, scale)
496
	  local mesh = it(Mesh)
497
	  mesh.Parent = part
498
	  if Mesh == "SpecialMesh" then
499
	    mesh.MeshType = meshtype
500
	    if meshid ~= "nil" then
501
	      mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
502
	    end
503
	  end
504
	  mesh.Offset = offset
505
	  mesh.Scale = scale
506
	  return mesh
507
	end
508
	weld = function(parent, part0, part1, c0)
509
	  local weld = it("Motor")
510
	  weld.Parent = parent
511
	  weld.Part0 = part0
512
	  weld.Part1 = part1
513
	  weld.C0 = c0
514
	  return weld
515
	end
516
	gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
517
	  local gui = it(GuiType)
518
	  gui.Parent = parent
519
	  gui.Text = text
520
	  gui.BackgroundTransparency = backtrans
521
	  gui.BackgroundColor3 = backcol
522
	  gui.SizeConstraint = "RelativeXY"
523
	  gui.TextXAlignment = "Center"
524
	  gui.TextYAlignment = "Center"
525
	  gui.Position = pos
526
	  gui.Size = size
527
	  gui.Font = "Bodoni"
528
	  gui.FontSize = "Size14"
529
	  gui.TextWrapped = false
530
	  gui.TextStrokeTransparency = 0
531
	  gui.TextColor = BrickColor.new("White")
532
	  return gui
533
	end
534
	local Color1 = Torso.BrickColor
535
	local fengui = it("GuiMain")
536
	fengui.Parent = Player.PlayerGui
537
	fengui.Name = "WeaponGUI"
538
	local fenframe = it("Frame")
539
	fenframe.Parent = fengui
540
	fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
541
	fenframe.BackgroundTransparency = 1
542
	fenframe.BorderColor3 = Color3.new(17, 17, 17)
543
	fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
544
	fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
545
	local fenframe2 = it("Frame")
546
	fenframe2.Parent = fengui
547
	fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
548
	fenframe2.BackgroundTransparency = 1
549
	fenframe2.BorderColor3 = Color3.new(17, 17, 17)
550
	fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
551
	fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
552
	local fenframe3 = it("Frame")
553
	fenframe3.Parent = fengui
554
	fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
555
	fenframe3.BackgroundTransparency = 1
556
	fenframe3.BorderColor3 = Color3.new(17, 17, 17)
557
	fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
558
	fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
559
	fenframe3.Name = "MoveFrame"
560
	local fenframe4 = it("Frame")
561
	fenframe4.Parent = fengui
562
	fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
563
	fenframe4.BackgroundTransparency = 1
564
	fenframe4.BorderColor3 = Color3.new(17, 17, 17)
565
	fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
566
	fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
567
	local pressedf = false
568
	local fenframe5 = it("Frame")
569
	fenframe5.Parent = fengui
570
	fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
571
	fenframe5.BackgroundTransparency = 1
572
	fenframe5.BorderColor3 = Color3.new(0, 0, 0)
573
	fenframe5.Size = UDim2.new(1, 0, 1, 0)
574
	fenframe5.Position = UDim2.new(0, 0, 0, 0)
575
	fenframe5.ZIndex = 2
576
	local tellbar = gui("TextLabel", fenframe5, "Press F if you ready to fight everyone.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
577
	tellbar.Font = "Bodoni"
578
	tellbar.TextScaled = true
579
	tellbar.TextTransparency = 1
580
	tellbar.TextStrokeTransparency = 1
581
	tellbar.ZIndex = 2
582
	local fnumb = 0
583
	local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
584
	local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
585
	local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
586
	local fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
587
	local fenbarblock2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
588
	local fenbarblock3 = gui("TextLabel", fenframe, "Pursuit(" .. invisnum.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
589
	local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
590
	local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
591
	local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
592
	local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
593
	local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
594
	local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
595
	local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
596
	local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
597
	local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
598
	local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
599
	fenbarmove1.ZIndex = 2
600
	local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
601
	local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
602
	fenbarmove2.ZIndex = 2
603
	local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
604
	local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
605
	fenbarmove3.ZIndex = 2
606
	local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
607
	local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
608
	fenbarmove4.ZIndex = 2
609
	local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
610
	local testpart = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt())
611
	testpart.Anchored = true
612
	local scarfp2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt())
613
	scarfp2.Anchored = true
614
	local modelzorz = Instance.new("Model")
615
	modelzorz.Parent = Character
616
	modelzorz.Name = "Carnufico"
617
	local handle = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Handle", vt())
618
	local prt1 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol2), "Part01", vt())
619
	local prt2 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part02", vt())
620
	local prt3 = part(3, modelzorz, 0, 0, BrickColor.new("Medium stone grey"), "Part03", vt())
621
	local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Medium stone grey"), "Part04", vt())
622
	local prt5 = part(3, modelzorz, 0, 0, BrickColor.new("Medium stone grey"), "Part05", vt())
623
	local prt6 = part(3, modelzorz, 0, 0, BrickColor.new("Medium stone grey"), "Part06", vt())
624
	local prt7 = part(3, modelzorz, 0.5, 0, BrickColor.new("Medium stone grey"), "Part07", vt())
625
	local prt8 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part07", vt())
626
	local prt9 = part(3, modelzorz, 0.5, 0, BrickColor.new("Medium stone grey"), "Part09", vt())
627
	local prt10 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part10", vt())
628
	msh1 = mesh("CylinderMesh", prt1, "", "", vt(0, 0, 0), vt(2, 30, 2))
629
	msh2 = mesh("SpecialMesh", prt2, "FileMesh", "9756362", vt(0, 0, 0), vt(1, 1, 1))
630
	msh3 = mesh("CylinderMesh", prt3, "", "", vt(0, 0, 0), vt(3, 3, 3))
631
	msh4 = mesh("SpecialMesh", prt4, "FileMesh", "3270017", vt(0, 0, 0), vt(1, 1, 1))
632
	msh5 = mesh("SpecialMesh", prt5, "FileMesh", "3270017", vt(0, 0, 0), vt(1, 1, 1))
633
	msh6 = mesh("SpecialMesh", prt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.8, 1, 1))
634
	msh7 = mesh("BlockMesh", prt7, "", "", vt(0, 0, 0), vt(1, 2, 2))
635
	msh8 = mesh("BlockMesh", prt8, "", "", vt(0, 0, 0), vt(1, 1, 2))
636
	msh9 = mesh("SpecialMesh", prt9, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4))
637
	msh10 = mesh("SpecialMesh", prt10, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4))
638
	local handlewld = weld(handle, handle, Torso, euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6))
639
	local wld1 = weld(prt1, prt1, handle, euler(0, 0, 0) * cf(0, 0, 0))
640
	local wld2 = weld(prt1, prt2, prt1, euler(3.14, 0, 0) * cf(0, 3, 0))
641
	local wld3 = weld(prt1, prt3, prt1, euler(0, 0, 0) * cf(0, -3.2, 0))
642
	local wld4 = weld(prt1, prt4, prt3, euler(-1.57, 0, 1.57) * euler(0, -0.7, 0) * cf(-0.16, -0.2, -0.1))
643
	local wld5 = weld(prt1, prt5, prt3, euler(-1.57, 0, -1.57) * euler(0, 0.7, 0) * cf(0.16, -0.2, -0.1))
644
	local wld6 = weld(prt1, prt6, prt3, euler(4.55, 0, 0) * cf(0, -0.2, 0.1))
645
	local wld7 = weld(prt1, prt7, prt6, euler(0, 0, 0) * cf(0, 0.2, 0.2))
646
	local wld8 = weld(prt1, prt8, prt6, euler(0, 0, 0) * cf(0, -0.1, 0.2))
647
	local wld9 = weld(prt1, prt9, prt7, euler(0, 0, 0) * cf(0, 0, 0.7))
648
	local wld10 = weld(prt1, prt10, prt8, euler(0, 0, 0) * cf(0, -0.1, 0.7))
649
	for i = 0, 2.355, 0.785 do
650
	  local prt4 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part04", vt())
651
	  msh4 = mesh("SpecialMesh", prt4, "FileMesh", "9756362", vt(0, 0, 0), vt(1, 0.2, 0.2))
652
	  local wld4 = weld(prt1, prt4, prt3, euler(0, i, 0) * cf(0, 0.6, 0))
653
	end
654
	oldprt = prt9
655
	oldprt2 = prt10
656
	cff = 0.1
657
	eul = 0.02
658
	siz = 0.99
659
	for i = 1, 6 do
660
	  local prt11 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really black"), "Part11", vt())
661
	  msh11 = mesh("SpecialMesh", prt11, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6))
662
	  local wld11 = weld(prt1, prt11, oldprt, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
663
	  if i < 4 then
664
	    num = 6
665
	    if i == 3 then
666
	      num = 6.8
667
	    end
668
	    local prt12 = part(3, modelzorz, 0.5, 0, BrickColor.new("Black"), "Part12", vt())
669
	    msh12 = mesh("BlockMesh", prt12, "", "", vt(0, 0, 0), vt(siz / 2, 2, num))
670
	    local wld12 = weld(prt1, prt12, prt11, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
671
	  end
672
	  do
673
	    do
674
	      oldprt = prt11
675
	      cff = 0.6
676
	      eul = 0.15
677
	      siz = siz - 0.1
678
	      -- DECOMPILER ERROR at PC2114: LeaveBlock: unexpected jumping out DO_STMT
679
	
680
	    end
681
	  end
682
	end
683
	modelzorz.Name = "Chakra Gauntlets"
684
	local rprt1 = part(3, modelzorz, 0, 0, BrickColor.new("Really red"), "Right Part01", vt())
685
	local rprt2 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Right Part02", vt())
686
	local rprt3 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Right Part03", vt())
687
	local rprt4 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Right Part04", vt())
688
	local rprt5 = part(3, modelzorz, 0, 0, BrickColor.new("Really black"), "Right Part05", vt())
689
	local rprt6 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Right Part06", vt())
690
	d = Instance.new("Decal", rprt5)
691
	d.Face = "Top"
692
	d.Texture = "rbxassetid://333659455"
693
	rgui = Instance.new("BillboardGui")
694
	rgui.Parent = rprt5
695
	rgui.Size = UDim2.new(3, 0, 2.4, 0)
696
	rgui.AlwaysOnTop = false
697
	rimg = Instance.new("ImageLabel")
698
	rimg.Parent = rgui
699
	rimg.BackgroundTransparency = 1
700
	rimg.Size = UDim2.new(1, 0, 1, 0)
701
	rimg.Image = "rbxassetid://200369289"
702
	rimg.ImageColor3 = BrickColor.new(NewCol).Color
703
	local lprt1 = part(3, modelzorz, 0, 0, BrickColor.new("Really red"), "Left Part01", vt())
704
	local lprt2 = part(3, modelzorz, 0, 0, BrickColor.new(NewCol), "Left Part02", vt())
705
	local lprt3 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Left Part03", vt())
706
	local lprt4 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Left Part04", vt())
707
	local lprt5 = part(3, modelzorz, 0, 0, BrickColor.new("Really black"), "Left Part05", vt())
708
	local lprt6 = part(3, modelzorz, 0.5, 0, BrickColor.new("Really red"), "Left Part06", vt())
709
	d = Instance.new("Decal", lprt5)
710
	d.Face = "Bottom"
711
	d.Texture = "rbxassetid://333659455"
712
	lgui = Instance.new("BillboardGui")
713
	lgui.Parent = lprt5
714
	lgui.Size = UDim2.new(3, 0, 2.4, 0)
715
	lgui.AlwaysOnTop = false
716
	limg = Instance.new("ImageLabel")
717
	limg.Parent = lgui
718
	limg.BackgroundTransparency = 1
719
	limg.Size = UDim2.new(1, 0, 1, 0)
720
	limg.Image = "rbxassetid://200369289"
721
	limg.ImageColor3 = BrickColor.new(NewCol).Color
722
	lgui = Instance.new("BillboardGui")
723
	lgui.Parent = prt3
724
	lgui.Size = UDim2.new(3, 0, 2.4, 3)
725
	lgui.AlwaysOnTop = false
726
	timg = Instance.new("ImageLabel")
727
	timg.Parent = lgui
728
	timg.BackgroundTransparency = 1
729
	timg.Size = UDim2.new(1, 0, 1, 0)
730
	timg.Image = "rbxassetid://200369289"
731
	timg.ImageColor3 = BrickColor.new(NewCol).Color
732
	rimg.Rotation = rimg.Rotation + 2
733
	limgRotation = limg.Rotation + 2
734
	timg.Rotation = timg.Rotation + -2
735
	local rmsh1 = mesh("SpecialMesh", rprt1, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
736
	local rmsh2 = mesh("CylinderMesh", rprt2, "", "", vt(0, 0, 0), vt(5, 2, 5))
737
	local rmsh3 = mesh("SpecialMesh", rprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6))
738
	local rmsh4 = mesh("SpecialMesh", rprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3))
739
	local rmsh5 = mesh("CylinderMesh", rprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4))
740
	local rmsh6 = mesh("SpecialMesh", rprt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
741
	local lmsh1 = mesh("SpecialMesh", lprt1, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
742
	local lmsh2 = mesh("CylinderMesh", lprt2, "", "", vt(0, 0, 0), vt(5, 2, 5))
743
	local lmsh3 = mesh("SpecialMesh", lprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6))
744
	local lmsh4 = mesh("SpecialMesh", lprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3))
745
	local lmsh5 = mesh("CylinderMesh", lprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4))
746
	local lmsh6 = mesh("SpecialMesh", lprt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
747
	local rwld1 = weld(lprt1, rprt1, RightArm, euler(1.57, 0, 0) * cf(0, 0.3, 0))
748
	local rwld2 = weld(rprt1, rprt2, rprt1, euler(0, 0, 1.57) * cf(-0.6, 0, 0))
749
	local rwld3 = weld(rprt1, rprt3, rprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4))
750
	local rwld4 = weld(rprt1, rprt4, rprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2))
751
	local rwld5 = weld(rprt1, rprt5, rprt2, euler(0, 0, 0) * cf(0, 0, 0))
752
	local rwld6 = weld(rprt1, rprt6, rprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45))
753
	local lwld1 = weld(lprt1, lprt1, LeftArm, euler(1.57, 0, 0) * cf(0, 0.3, 0))
754
	local lwld2 = weld(rprt1, lprt2, lprt1, euler(0, 0, 1.57) * cf(0.6, 0, 0))
755
	local lwld3 = weld(rprt1, lprt3, lprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4))
756
	local lwld4 = weld(rprt1, lprt4, lprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2))
757
	local lwld5 = weld(rprt1, lprt5, lprt2, euler(0, 0, 0) * cf(0, 0, 0))
758
	local lwld6 = weld(rprt1, lprt6, lprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45))
759
	for _,c in pairs(modelzorz:children()) do
760
	  table.insert(Weapon, c)
761
	end
762
	for _,c in pairs(rprt1:children()) do
763
	  if c.className == "Motor" then
764
	    table.insert(Welds, c)
765
	  end
766
	end
767
	oldprt2 = prt10
768
	cff = 0.1
769
	eul = 0.02
770
	siz = 0.99
771
	for i = 1, 7 do
772
	  local prt13 = part(3, modelzorz, 0.5, 0, BrickColor.new(NewCol), "Part13", vt())
773
	  msh13 = mesh("SpecialMesh", prt13, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6))
774
	  local wld13 = weld(prt1, prt13, oldprt2, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
775
	  oldprt2 = prt13
776
	  cff = 0.6
777
	  eul = 0.14
778
	  siz = siz - 0.1
779
	end
780
	for _,c in pairs(modelzorz:children()) do
781
	  table.insert(Weapon, c)
782
	end
783
	for _,c in pairs(prt1:children()) do
784
	  if c.className == "Motor" then
785
	    table.insert(Welds, c)
786
	  end
787
	end
788
	local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
789
	hitbox.Anchored = false
790
	local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
791
	local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
792
	hitbox2.Anchored = true
793
	local hitboxCF = cf(0, 0, 0)
794
	hboxpos = Instance.new("BodyPosition", nil)
795
	hboxpos.P = 2000
796
	hboxpos.D = 100
797
	hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
798
	hitboxweld = function()
799
	  hbwld.Parent = modelzorz
800
	  hbwld.Part0 = hitbox
801
	  hbwld.Part1 = prt6
802
	end
803
	if script.Parent.className ~= "HopperBin" then
804
	  Tool = Instance.new("HopperBin")
805
	  Tool.Parent = Backpack
806
	  Tool.Name = "Carnufico"
807
	  script.Parent = Tool
808
	end
809
	Bin = script.Parent
810
	if Bin.Name == "Renegade: Adjudicator" then
811
	  Bin.Name = "Carnufico"
812
	end
813
	local bodvel = Instance.new("BodyVelocity")
814
	local bg = Instance.new("BodyGyro")
815
	so = function(id, par, vol, pit)
816
	  local sou = Instance.new("Sound", par or workspace)
817
	  sou.Volume = vol
818
	  sou.Pitch = pit or 1
819
	  sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
820
	  coroutine.resume(coroutine.create(function(Sound)
821
	    swait()
822
	    Sound:play()
823
	  end), sou)
824
	  game:GetService("Debris"):AddItem(sou, 6)
825
	end
826
	function clerp(a,b,t) 
827
	local qa = {QuaternionFromCFrame(a)}
828
	local qb = {QuaternionFromCFrame(b)} 
829
	local ax, ay, az = a.x, a.y, a.z 
830
	local bx, by, bz = b.x, b.y, b.z
831
	local _t = 1-t
832
	return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
833
	end 
834
	 
835
	function QuaternionFromCFrame(cf) 
836
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
837
	local trace = m00 + m11 + m22 
838
	if trace > 0 then 
839
	local s = math.sqrt(1 + trace) 
840
	local recip = 0.5/s 
841
	return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
842
	else 
843
	local i = 0 
844
	if m11 > m00 then
845
	i = 1
846
	end
847
	if m22 > (i == 0 and m00 or m11) then 
848
	i = 2 
849
	end 
850
	if i == 0 then 
851
	local s = math.sqrt(m00-m11-m22+1) 
852
	local recip = 0.5/s 
853
	return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
854
	elseif i == 1 then 
855
	local s = math.sqrt(m11-m22-m00+1) 
856
	local recip = 0.5/s 
857
	return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
858
	elseif i == 2 then 
859
	local s = math.sqrt(m22-m00-m11+1) 
860
	local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
861
	end 
862
	end 
863
	end
864
	 
865
	function QuaternionToCFrame(px, py, pz, x, y, z, w) 
866
	local xs, ys, zs = x + x, y + y, z + z 
867
	local wx, wy, wz = w*xs, w*ys, w*zs 
868
	local xx = x*xs 
869
	local xy = x*ys 
870
	local xz = x*zs 
871
	local yy = y*ys 
872
	local yz = y*zs 
873
	local zz = z*zs 
874
	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)) 
875
	end
876
	 
877
	function QuaternionSlerp(a, b, t) 
878
	local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
879
	local startInterp, finishInterp; 
880
	if cosTheta >= 0.0001 then 
881
	if (1 - cosTheta) > 0.0001 then 
882
	local theta = math.acos(cosTheta) 
883
	local invSinTheta = 1/math.sin(theta) 
884
	startInterp = math.sin((1-t)*theta)*invSinTheta 
885
	finishInterp = math.sin(t*theta)*invSinTheta  
886
	else 
887
	startInterp = 1-t 
888
	finishInterp = t 
889
	end 
890
	else 
891
	if (1+cosTheta) > 0.0001 then 
892
	local theta = math.acos(-cosTheta) 
893
	local invSinTheta = 1/math.sin(theta) 
894
	startInterp = math.sin((t-1)*theta)*invSinTheta 
895
	finishInterp = math.sin(t*theta)*invSinTheta 
896
	else 
897
	startInterp = t-1 
898
	finishInterp = t 
899
	end 
900
	end 
901
	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 
902
	end
903
	hideanim = function()
904
	  equipped = false
905
	  for i = 0, 1, 0.5 do
906
	    swait()
907
	    handlewld.C0 = clerp(handlewld.C0, euler(0, -1.57, 0) * cf(0, 1, 0), 0.4)
908
	    wld1.C0 = clerp(wld1.C0, cf(0, -1.5, 0) * euler(0.2, 0, 0.4), 0.4)
909
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
910
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
911
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 1), 0.4)
912
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
913
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
914
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
915
	  end
916
	  for i = 0, 1, 0.2 do
917
	    swait()
918
	    handlewld.C0 = clerp(handlewld.C0, euler(0, -1.57, 0) * cf(0, 1, 0), 0.4)
919
	    wld1.C0 = clerp(wld1.C0, cf(0, -1.5, 0) * euler(0.2, 0, 0.4), 0.4)
920
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
921
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
922
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(4, 0, 1), 0.4)
923
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
924
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
925
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
926
	    RH.C0 = clerp(RH.C0, RHC0, 0.4)
927
	    LH.C0 = clerp(LH.C0, LHC0, 0.4)
928
	  end
929
	  mdec2.Parent = nil
930
	  handlewld.Part1 = Torso
931
	  handlewld.C0 = euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6)
932
	  wld1.C0 = euler(0, 0, 0) * cf(0, 0, 0)
933
	  for i = 0, 1, 0.3 do
934
	    swait()
935
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
936
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
937
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
938
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
939
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
940
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
941
	  end
942
	  mdec.Parent = Decrease
943
	end
944
	mdec.Parent = Decrease
945
	equipanim = function()
946
	  equipped = true
947
	  mdec.Parent = nil
948
	  for i = 0, 1, 0.5 do
949
	    swait()
950
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
951
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
952
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2, 0, 0.2), 0.4)
953
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
954
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
955
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
956
	  end
957
	  for i = 0, 1, 0.2 do
958
	    swait()
959
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.4), 0.4)
960
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
961
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(4, 0, 1), 0.4)
962
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
963
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.4)
964
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
965
	  end
966
	  mdec2.Parent = Decrease
967
	  handlewld.Part1 = RightArm
968
	  handlewld.C0 = euler(0, -1.57, 0) * cf(0, 1, 0)
969
	  wld1.C0 = cf(0, -1.5, 0) * euler(0.2, 0, 0.4)
970
	end
971
	StaggerAnim = function()
972
	  attack = true
973
	  removeControl()
974
	  if invisible == true then
975
	    Clone(0.1)
976
	  end
977
	  for i = 1, math.random(2, 4) do
978
	    ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
979
	  end
980
	  for i = 0, 1, 0.35 do
981
	    swait()
982
	    if Rooted.Value == false then
983
	      Torso.Velocity = RootPart.CFrame.lookVector * -40
984
	    end
985
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
986
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
987
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
988
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
989
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
990
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
991
	    RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
992
	    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
993
	  end
994
	  for i = 0, 1, 0.2 do
995
	    swait()
996
	    if Rooted.Value == false then
997
	      Torso.Velocity = RootPart.CFrame.lookVector * -40
998
	    end
999
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
1000
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
1001
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
1002
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1003
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
1004
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1005
	    RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
1006
	    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
1007
	  end
1008
	  for i = 0, 1, 0.1 do
1009
	    swait()
1010
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
1011
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
1012
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
1013
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1014
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
1015
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1016
	    RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
1017
	    LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
1018
	  end
1019
	  for i = 1, 50 do
1020
	    swait()
1021
	    if StunT.Value <= Stun.Value then
1022
	      break
1023
	    end
1024
	  end
1025
	  do
1026
	    resumeControl()
1027
	    combo = 0
1028
	    attack = false
1029
	  end
1030
	end
1031
	StaggerHitt = function()
1032
	  attack = true
1033
	  if invisible == true then
1034
	    Clone(0.1)
1035
	  end
1036
	  for i = 1, math.random(2, 4) do
1037
	    ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
1038
	  end
1039
	  for i = 0, 1, 0.1 do
1040
	    swait()
1041
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
1042
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
1043
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
1044
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1045
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
1046
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1047
	    RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
1048
	    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
1049
	  end
1050
	  attack = false
1051
	end
1052
	StunAnim = function()
1053
	  attack = true
1054
	  removeControl()
1055
	  Stunned.Value = true
1056
	  showDamage(Character, "Stunned", "Interrupt")
1057
	  local dec = Instance.new("NumberValue", Decrease)
1058
	  dec.Name = "DecreaseMvmt"
1059
	  dec.Value = 10
1060
	  for i = 0, 1, 0.3 do
1061
	    swait()
1062
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
1063
	    wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
1064
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
1065
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
1066
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
1067
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1068
	    LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
1069
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1070
	    RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
1071
	    LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
1072
	  end
1073
	  for i = 0, 1, 0.3 do
1074
	    swait()
1075
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
1076
	    wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
1077
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
1078
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
1079
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
1080
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1081
	    LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
1082
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1083
	    RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
1084
	    LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
1085
	  end
1086
	  for i = 0, 1, 0.3 do
1087
	    swait()
1088
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
1089
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
1090
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
1091
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1092
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
1093
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
1094
	    RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
1095
	    LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
1096
	  end
1097
	  local gairost = Instance.new("BodyGyro")
1098
	  gairost.Parent = RootPart
1099
	  gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
1100
	  gairost.P = 20000
1101
	  gairost.cframe = cf(0, 0, 0)
1102
	  for i = 0, 1, 0.1 do
1103
	    swait()
1104
	    if hitfloor ~= nil then
1105
	      Torso.Velocity = vt(0, 0, 0)
1106
	    end
1107
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
1108
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
1109
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
1110
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1111
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
1112
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1113
	    RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
1114
	    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
1115
	  end
1116
	  for i = 1, 70 do
1117
	    swait()
1118
	    gairost.cframe = RootPart.CFrame
1119
	    if hitfloor ~= nil then
1120
	      Torso.Velocity = vt(0, 0, 0)
1121
	    end
1122
	  end
1123
	  for i = 0, 1, 0.2 do
1124
	    swait()
1125
	    Stun.Value = 0
1126
	    gairost.cframe = RootPart.CFrame
1127
	    Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
1128
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
1129
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
1130
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1131
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
1132
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1133
	    RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
1134
	    LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
1135
	  end
1136
	  resumeControl()
1137
	  gairost.Parent = nil
1138
	  dec.Parent = nil
1139
	  Stun.Value = 0
1140
	  combo = 0
1141
	  Stunned.Value = false
1142
	  attack = false
1143
	  for i = 1, 10 do
1144
	    swait()
1145
	    Stun.Value = 0
1146
	  end
1147
	end
1148
	attackone = function()
1149
	  attack = true
1150
	  for i = 0, 1, 0.2 do
1151
	    swait()
1152
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.5)
1153
	    wld1.C0 = clerp(wld1.C0, euler(0, -0.4, 0) * cf(0, -2, 0) * euler(1.8, 0, 0), 0.5)
1154
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.4, 0, 0), 0.5)
1155
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.4), 0.5)
1156
	    RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -0.5) * euler(0, 1.8, 0), 0.5)
1157
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
1158
	    LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(0.9, 0, -0.3) * euler(0, 1.57, 0), 0.5)
1159
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
1160
	    RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.5) * euler(0, 1.57, 0) * euler(0, -1.4, -0.1), 0.5)
1161
	    LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.5) * euler(0, -1.57, 0) * euler(0, -1.4, 0.3), 0.5)
1162
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1163
	      do
1164
	        if StaggerHit.Value == true then
1165
	          break
1166
	        end
1167
	        -- DECOMPILER ERROR at PC237: LeaveBlock: unexpected jumping out IF_THEN_STMT
1168
	
1169
	        -- DECOMPILER ERROR at PC237: LeaveBlock: unexpected jumping out IF_STMT
1170
	
1171
	      end
1172
	    end
1173
	  end
1174
	  so("92597369", prt6, 1, 0.6)
1175
	  hbwld.Parent = nil
1176
	  hboxpos.Parent = hitbox
1177
	  hitbox.Parent = modelzorz
1178
	  hitbox.Size = vt(3, 2, 7)
1179
	  hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1180
	  hitbox.CFrame = hitboxCF
1181
	  for i = 0, 1, 0.15 do
1182
	    swait()
1183
	    hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1184
	    hitbox.CFrame = hitboxCF
1185
	    MagniDamage(hitbox, 4, 5, 7, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1186
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.4)
1187
	    wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -2, 0) * euler(2.5, 0, 0), 0.4)
1188
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
1189
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.4)
1190
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.4) * euler(0, 1.8, 0), 0.4)
1191
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1192
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1), 0.4)
1193
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1194
	    RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.4)
1195
	    LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
1196
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1197
	      do
1198
	        if StaggerHit.Value == true then
1199
	          break
1200
	        end
1201
	        -- DECOMPILER ERROR at PC546: LeaveBlock: unexpected jumping out IF_THEN_STMT
1202
	
1203
	        -- DECOMPILER ERROR at PC546: LeaveBlock: unexpected jumping out IF_STMT
1204
	
1205
	      end
1206
	    end
1207
	  end
1208
	  hitbox.Parent = modelzorz
1209
	  hitbox.Size = vt()
1210
	  hitboxweld()
1211
	  hboxpos.Parent = nil
1212
	  attack = false
1213
	end
1214
	attacktwo = function()
1215
	  attack = true
1216
	  for i = 0, 1, 0.15 do
1217
	    swait()
1218
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.4)
1219
	    wld1.C0 = clerp(wld1.C0, euler(0, -1.57, 0) * cf(0, 0, 0) * euler(2.5, 0, 0), 0.4)
1220
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
1221
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.4)
1222
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.7) * euler(0, 1.8, 0), 0.4)
1223
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1224
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.5, 0, -0.5), 0.4)
1225
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1226
	    RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.4)
1227
	    LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
1228
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1229
	      do
1230
	        if StaggerHit.Value == true then
1231
	          break
1232
	        end
1233
	        -- DECOMPILER ERROR at PC177: LeaveBlock: unexpected jumping out IF_THEN_STMT
1234
	
1235
	        -- DECOMPILER ERROR at PC177: LeaveBlock: unexpected jumping out IF_STMT
1236
	
1237
	      end
1238
	    end
1239
	  end
1240
	  so("92597369", prt6, 1, 0.8)
1241
	  so("92597296", prt6, 1, 1)
1242
	  hbwld.Parent = nil
1243
	  hboxpos.Parent = hitbox
1244
	  hitbox.Parent = modelzorz
1245
	  hitbox.Size = vt(1, 2, 7)
1246
	  hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1247
	  hitbox.CFrame = hitboxCF
1248
	  for i = 0, 1, 0.05 do
1249
	    swait()
1250
	    if (i >= 0.3 and i <= 0.33) or i >= 0.7 and i <= 0.73 then
1251
	      so("92597369", prt6, 1, 0.8)
1252
	      so("92597296", prt6, 1, 1)
1253
	    end
1254
	    hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1255
	    hitbox.CFrame = hitboxCF
1256
	    MagniDamage(hitbox, 4, 4, 6, math.random(5, 10), "Normal", RootPart, 0.2, 2, (math.random(2, 5)), nil, true)
1257
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.5)
1258
	    wld1.C0 = euler(22 * i, -1.57 + 1.7 * i, 0) * euler(0, 0, 0) * cf(0, 0, 0) * euler(2.5 - 0.93 * i, 0, 0)
1259
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0, 0, 0), 0.5)
1260
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1), 0.5)
1261
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1) * euler(0, 0, 0), 0.3)
1262
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1263
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -1.3), 0.5)
1264
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
1265
	    RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1, -0.1), 0.5)
1266
	    LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1, 0.3), 0.5)
1267
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1268
	      do
1269
	        if StaggerHit.Value == true then
1270
	          break
1271
	        end
1272
	        -- DECOMPILER ERROR at PC353: LeaveBlock: unexpected jumping out IF_THEN_STMT
1273
	
1274
	        -- DECOMPILER ERROR at PC353: LeaveBlock: unexpected jumping out IF_STMT
1275
	
1276
	      end
1277
	    end
1278
	  end
1279
	  local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
1280
	  ref.Anchored = true
1281
	  ref.CFrame = RootPart.CFrame * cf(0, 0.5, -5)
1282
	  game:GetService("Debris"):AddItem(ref, 1)
1283
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 30, 30, 30, 3, 3, 3, 0.05)
1284
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 60, 60, 60, 6, 6, 6, 0.075)
1285
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 90, 90, 90, 9, 9, 9, 0.1)
1286
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 0, 1, 0, 15, 0, 15, 0.05)
1287
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 2, 2, 2, 4, 4, 4, 0.05)
1288
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 60, 60, 60, -2, -2, -2, 0.05)
1289
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 90, 90, 90, -4, -4, -4, 0.05)
1290
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 120, 120, 120, -6, -6, -6, 0.05)
1291
	  MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 10, 0, 2.5, 0, 2.5, 0.05)
1292
	  hbwld.Parent = nil
1293
	  hboxpos.Parent = hitbox
1294
	  hitbox.Parent = modelzorz
1295
	  hitbox.Size = vt(6, 6, 6)
1296
	  hitboxCF = cf(ref.Position)
1297
	  hitbox.CFrame = hitboxCF
1298
	  so("200633327", ref, 2, 1.2)
1299
	  so("183763487", ref, 3, 1)
1300
	  so("183763487", ref, 1, 0.75)
1301
	  for i = 1, 10 do
1302
	    swait()
1303
	    hitboxCF = cf(ref.Position)
1304
	    hitbox.CFrame = hitboxCF
1305
	         MagniDamage(ref, 5, 2, 4, math.random(-50, -30), "Knockdown2", RootPart, 0, 1, (math.random(5, 10)), nil, nil, true)
1306
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1307
	      do
1308
	        if StaggerHit.Value == true then
1309
	          break
1310
	        end
1311
	        -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_THEN_STMT
1312
	
1313
	        -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_STMT
1314
	
1315
	      end
1316
	    end
1317
	  end
1318
	  hitbox.Parent = modelzorz
1319
	  hitbox.Size = vt()
1320
	  hitboxweld()
1321
	  hboxpos.Parent = nil
1322
	  attack = false
1323
	end
1324
	attackthree = function()
1325
	  attack = true
1326
	  for i = 0, 1, 0.2 do
1327
	    swait()
1328
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.5)
1329
	    wld1.C0 = clerp(wld1.C0, euler(0, -0.4, 0) * cf(0, -2, 0) * euler(1.8, 0, 0), 0.5)
1330
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.4, 0, 0), 0.5)
1331
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.4), 0.5)
1332
	    RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, -0.5) * euler(0, 1.8, 0), 0.5)
1333
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
1334
	    LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.2) * euler(0.9, 0, -0.3) * euler(0.1, 57, 0), 0.5)
1335
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
1336
	    RH.C0 = clerp(RH.C0, cf(0.6, -1, 0.5) * euler(0, 1.57, 0) * euler(0, -1.4, -0.1), 0.5)
1337
	    LH.C0 = clerp(LH.C0, cf(-0.6, -1, -0.5) * euler(0, -1.57, 0) * euler(0, -1.4, 0.3), 0.5)
1338
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1339
	      do
1340
	        if StaggerHit.Value == true then
1341
	          break
1342
	        end
1343
	        -- DECOMPILER ERROR at PC237: LeaveBlock: unexpected jumping out IF_THEN_STMT
1344
	
1345
	        -- DECOMPILER ERROR at PC237: LeaveBlock: unexpected jumping out IF_STMT
1346
	
1347
	      end
1348
	    end
1349
	  end
1350
	  so("92597369", prt6, 1, 0.5)
1351
	  hbwld.Parent = nil
1352
	  hboxpos.Parent = hitbox
1353
	  hitbox.Parent = modelzorz
1354
	  hitbox.Size = vt(1, 2, 7)
1355
	  hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1356
	  hitbox.CFrame = hitboxCF
1357
	  for i = 0, 1, 0.05 do
1358
	    swait()
1359
	    if i >= 0.7 and i <= 0.73 then
1360
	      so("92597369", prt6, 1, 0.5)
1361
	    end
1362
	    hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1363
	    hitbox.CFrame = hitboxCF
1364
	    MagniDamage(hitbox, 4, 5, 6, math.random(5, 10), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
1365
	    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.4)
1366
	    wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -2, 0) * euler(2.5, 0, 0), 0.4)
1367
	    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
1368
	    RootJoint.C0 = RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.4 - 9.28 * i)
1369
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.4) * euler(0, 1.8, 0), 0.4)
1370
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1371
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -1), 0.4)
1372
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1373
	    RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.4)
1374
	    LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.4)
1375
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1376
	      do
1377
	        if StaggerHit.Value == true then
1378
	          break
1379
	        end
1380
	        -- DECOMPILER ERROR at PC552: LeaveBlock: unexpected jumping out IF_THEN_STMT
1381
	
1382
	        -- DECOMPILER ERROR at PC552: LeaveBlock: unexpected jumping out IF_STMT
1383
	
1384
	      end
1385
	    end
1386
	  end
1387
	  local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
1388
	  ref.Anchored = true
1389
	  ref.CFrame = RootPart.CFrame * cf(0, 0.5, -5)
1390
	  game:GetService("Debris"):AddItem(ref, 1)
1391
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 60, 60, 60, 3, 3, 3, 0.05)
1392
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 90, 90, 90, 6, 6, 6, 0.075)
1393
	  MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 0, 2, 0, 30, 0, 30, 0.05)
1394
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 4, 4, 4, 6, 6, 6, 0.05)
1395
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 0, 0, 0, 15, 15, 15, 0.05)
1396
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 90, 90, 90, -2, -2, -2, 0.05)
1397
	  MagicBlock(BrickColor.new(NewCol), cf(ref.Position), 120, 120, 120, -4, -4, -4, 0.05)
1398
	  MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 10, 0, 5, 0, 5, 0.05)
1399
	  hbwld.Parent = nil
1400
	  hboxpos.Parent = hitbox
1401
	  hitbox.Parent = modelzorz
1402
	  hitbox.Size = vt(6, 6, 6)
1403
	  hitboxCF = cf(ref.Position)
1404
	  hitbox.CFrame = hitboxCF
1405
	  so("200633327", ref, 2, 0.75)
1406
	  so("183763487", ref, 3, 0.75)
1407
	  so("183763487", ref, 2, 0.5)
1408
	  for i = 1, 10 do
1409
	    swait()
1410
	    hitboxCF = cf(ref.Position)
1411
	    hitbox.CFrame = hitboxCF
1412
	         MagniDamage(ref, 10, 3, 6, math.random(-50, -30), "Knockdown2", RootPart, 0, 1, (math.random(5, 10)), nil, nil, true)
1413
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1414
	      do
1415
	        if StaggerHit.Value == true then
1416
	          break
1417
	        end
1418
	        -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_THEN_STMT
1419
	
1420
	        -- DECOMPILER ERROR at PC518: LeaveBlock: unexpected jumping out IF_STMT
1421
	
1422
	      end
1423
	    end
1424
	  end
1425
	  hitbox.Parent = modelzorz
1426
	  hitbox.Size = vt()
1427
	  hitboxweld()
1428
	  hboxpos.Parent = nil
1429
	  attack = false
1430
	end
1431
	attackfour = function()
1432
	  attack = true
1433
	  local dec = Instance.new("NumberValue", Decrease)
1434
	  dec.Name = "DecreaseMvmt"
1435
	  dec.Value = 10
1436
	  for i = 0, 1, 0.2 do
1437
	    swait()
1438
	    Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
1439
	    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
1440
	    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
1441
	    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1442
	    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
1443
	    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1444
	    RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
1445
	    LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
1446
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1447
	      do
1448
	        if StaggerHit.Value == true then
1449
	          break
1450
	        end
1451
	      end
1452
	    end
1453
	  end
1454
	  for i = 1, 21, 4 do
1455
	    if Stagger.Value ~= true and StunT.Value > Stun.Value then
1456
	      if StaggerHit.Value == true then
1457
	        break
1458
	      end
1459
	      local rref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
1460
	      rref.Anchored = true
1461
	      rref.CFrame = RootPart.CFrame * cf(0, -1.5, -(i * 2))
1462
	      so("200633377", rref, 1, 1.4)
1463
	      so("183763487", rref, 1, 1)
1464
	      game:GetService("Debris"):AddItem(rref, 1)
1465
	      hitfloor2 = rayCast(rref.Position, CFrame.new(rref.Position, rref.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
1466
	      if hitfloor2 ~= nil then
1467
	        swait()
1468
	        local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
1469
	        ref.Anchored = true
1470
	        ref.CFrame = cf(rref.Position) --(posfloor2)
1471
	        game:GetService("Debris"):AddItem(ref, 1)
1472
	        MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 60, 1, 60, -3, 500, -3, 0.05)
1473
	        MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 5, 1, 5, 5, 0, 5, 0.05)
1474
	        MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 1, 0, 2, 0, 2, 0.075)
1475
	        MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 3, 0, 3, 0, 3, 0.075)
1476
	        MagicCircle2(BrickColor.new(NewCol), cf(ref.Position), 0, 0, 0, 0, 0, 0, 0.05, "200367539")
1477
	        hbwld.Parent = nil
1478
	        hboxpos.Parent = hitbox
1479
	        hitbox.Parent = modelzorz
1480
	        hitbox.Size = vt(5, 5, 5)
1481
	        hitboxCF = cf(ref.Position)
1482
	        hitbox.CFrame = hitboxCF
1483
	        for i = 1, 2 do
1484
	          swait()
1485
	          hitboxCF = cf(ref.Position)
1486
	          hitbox.CFrame = hitboxCF
1487
	          MagniDamage(rref, 9, 5, 7, math.random(-50, -30), "Knockdown2", RootPart, 0, 1, (math.random(5, 10)), nil, nil, true)
1488
	          if Stagger.Value ~= true and StunT.Value > Stun.Value then
1489
	            do
1490
	              if StaggerHit.Value == true then
1491
	                break
1492
	              end
1493
	              -- DECOMPILER ERROR at PC386: LeaveBlock: unexpected jumping out IF_THEN_STMT
1494
	
1495
	              -- DECOMPILER ERROR at PC386: LeaveBlock: unexpected jumping out IF_STMT
1496
	
1497
	            end
1498
	          end
1499
	        end
1500
	        hitbox.Parent = modelzorz
1501
	        hitbox.Size = vt()
1502
	        hitboxweld()
1503
	        hboxpos.Parent = nil
1504
	      else
1505
	        do
1506
	          do
1507
	            for i = 1, 2 do
1508
	              swait()
1509
	              if Stagger.Value ~= true and StunT.Value > Stun.Value then
1510
	                do
1511
	                  if StaggerHit.Value == true then
1512
	                    break
1513
	                  end
1514
	                  -- DECOMPILER ERROR at PC420: LeaveBlock: unexpected jumping out IF_THEN_STMT
1515
	
1516
	                  -- DECOMPILER ERROR at PC420: LeaveBlock: unexpected jumping out IF_STMT
1517
	
1518
	                end
1519
	              end
1520
	            end
1521
	            -- DECOMPILER ERROR at PC421: LeaveBlock: unexpected jumping out DO_STMT
1522
	
1523
	            -- DECOMPILER ERROR at PC421: LeaveBlock: unexpected jumping out IF_ELSE_STMT
1524
	
1525
	            -- DECOMPILER ERROR at PC421: LeaveBlock: unexpected jumping out IF_STMT
1526
	
1527
	            -- DECOMPILER ERROR at PC421: LeaveBlock: unexpected jumping out IF_THEN_STMT
1528
	
1529
	            -- DECOMPILER ERROR at PC421: LeaveBlock: unexpected jumping out IF_STMT
1530
	
1531
	          end
1532
	        end
1533
	      end
1534
	    end
1535
	  end
1536
	  dec.Parent = nil
1537
	  attack = false
1538
	end
1539
	
1540
	Invisibility = function()
1541
	  if invisible == false then
1542
	    so("2767090", Torso, 1, 1)
1543
	    MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 0.5, 1.5, 0.5, 0.1)
1544
	    MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 1, 0.5, 1, 0.1)
1545
	    MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 10, 10, 10, 0.05)
1546
	    MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 5, 5, 5, 0.05)
1547
	    invisnum.Value = invisnum.Value - 10
1548
	    for _,c in pairs(Decrease:children()) do
1549
	      if c.Name == "DecreaseMvmt" and c:findFirstChild("Renegade") ~= nil then
1550
	        c.Parent = nil
1551
	      end
1552
	    end
1553
	    d = Instance.new("NumberValue", Decrease)
1554
	    d.Name = "DecreaseAtk"
1555
	    d.Value = -5
1556
	    dur = Instance.new("NumberValue", d)
1557
	    dur.Name = "Duration"
1558
	    dur.Value = 420
1559
	    display = "+Damage"
1560
	    showDamage(Character, display, "Debuff")
1561
	    da = Instance.new("BoolValue", d)
1562
	    da.Name = "Renegade"
1563
	    DecreaseStat(Character, "Defense", 0.1, 80)
1564
	    invisible = true
1565
	    isinvis.Value = true
1566
	    passive3.Parent = Decrease
1567
	  else
1568
	    invisible = false
1569
	    isinvis.Value = false
1570
	    passive3.Parent = nil
1571
	  end
1572
	end
1573
	
1574
	Runes = {"rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455", "rbxassetid://333659455"}
1575
	ContentProvider = game:GetService("ContentProvider")
1576
	for _,v in pairs(Runes) do
1577
	  ContentProvider:Preload(v)
1578
	end
1579
	do1 = function()
1580
	  if attack == true then
1581
	    return 
1582
	  end
1583
	  if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
1584
	    return 
1585
	  end
1586
	  if cooldownmax <= cooldowns[1] and mana.Value >= 10 then
1587
	    attack = true
1588
	    cooldowns[1] = 0
1589
	    local doinvisatk = false
1590
	    if doinvisatk == false then
1591
	      for i = 0, 1, 0.1 do
1592
	        swait()
1593
	        handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
1594
	        wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
1595
	        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57) * euler(0, 0, 0), 0.3)
1596
	        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.57), 0.3)
1597
	        RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1) * euler(0, 1.5, 0), 0.3)
1598
	        RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1599
	        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 0, 0), 0.3)
1600
	        LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1601
	        RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1.57, -0.3), 0.3)
1602
	        LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1.57, 0.1), 0.3)
1603
	        if Stagger.Value ~= true and StunT.Value > Stun.Value then
1604
	          do
1605
	            if StaggerHit.Value == true then
1606
	              break
1607
	            end
1608
	          end
1609
	        end
1610
	      end
1611
	          mana.Value = mana.Value - 10
1612
	          CF = LeftArm.CFrame * cf(0, -2, 0)
1613
	          ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
1614
	          ref.Anchored = true
1615
	          ref.CFrame = CF
1616
	          game:GetService("Debris"):AddItem(ref, 2)
1617
	          so("160772554", ref, 1, 0.5)
1618
	          so("87767777", ref, 1, 1)
1619
	          hbwld.Parent = nil
1620
	          hboxpos.Parent = hitbox
1621
	          hitbox.Parent = modelzorz
1622
	          hitbox.Size = vt(2, 2, 2)
1623
	          MagicSkull(BrickColor.new("Really red"), CF * euler(-1.57, 0, 0), 1, 1, 1, 3, 3, 3, 0.05, 0.1)
1624
	          MagicCylinder2(BrickColor.new("Really red"), CF, 5, 5, 5, 2, -0.05, 2, 0.02, 0.1)
1625
	          MagicCircle(BrickColor.new("Really red"), CF * euler(-1.57, 0, 0), 2, 2, 0.4, 4, 4, 0, 0.025)
1626
	          MagicCircle(BrickColor.new("Really red"), CF * euler(-1.57, 0, 0), 100, 100, 0, -2, -2, 10, 0.025)
1627
	          MagicCircle(BrickColor.new("Really red"), CF * euler(-1.57, 0, 0), 104, 104, 0, -2, -2, 14, 0.025)
1628
	          hitboxCF = CF
1629
	          hitbox.CFrame = hitboxCF
1630
	          DecreaseStat(Character, "Damage", -0.1, 200)
1631
	          for i = 0, 1, 0.05 do
1632
	            swait()
1633
	            MagicBlock(BrickColor.new("Really black"), CF, 0.5, 0.5, 0.5, 0.2, 0.2, 0.2, 0.05, 3)
1634
	            CF = CF * cf(0, -0.4, 0)
1635
	            hitboxCF = CF
1636
	            hitbox.CFrame = hitboxCF
1637
	            hitbox.Size = hitbox.Size + vt(0.6, 0.6, 0.6)
1638
	if i == 0.6 then
1639
	            MagniDamage(hitbox, hitbox.Size.Y, 19, 32, math.random(20, 40), "Knockdown2", ref, 1, 2, (math.random(5, 8)), nil, false, true)
1640
	          end
1641
	end
1642
	          hitbox.Parent = modelzorz
1643
	          hitbox.Size = vt()
1644
	          hitboxweld()
1645
	          hboxpos.Parent = nil
1646
	attack = false
1647
	-- u can choose to miss out the line above me and below me using -- so that it does 2 terrors
1648
	elseif doinvisatk == true then
1649
	          for i = 0, 1, 0.2 do
1650
	            swait()
1651
	            handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
1652
	            wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(0.8, 1, 0), 0.3)
1653
	            Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, 0.2), 0.4)
1654
	            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, -0.5), 0.4)
1655
	            RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.4), 0.4)
1656
	            RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1657
	            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.4, 0, -0.5), 0.4)
1658
	            LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1659
	            RH.C0 = clerp(RH.C0, RHC0 * cf(0.5, 1, 0) * euler(0.5, 0, 0.5), 0.4)
1660
	            LH.C0 = clerp(LH.C0, LHC0 * cf(0, 0, 0) * euler(0, 0.5, 0.5), 0.4)
1661
	            if Stagger.Value ~= true and StunT.Value > Stun.Value then
1662
	              do
1663
	                if StaggerHit.Value == true then
1664
	                  break
1665
	                end
1666
	              end
1667
	            end
1668
	          end
1669
	              mana.Value = mana.Value - 20
1670
	              CF = LeftArm.CFrame * cf(0, -1, 0) * euler(2.5, 0, 0)
1671
	              ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
1672
	              ref.Anchored = true
1673
	              ref.CFrame = CF
1674
	              game:GetService("Debris"):AddItem(ref, 2)
1675
	              so("160772554", ref, 1, 0.6)
1676
	              hbwld.Parent = nil
1677
	              hboxpos.Parent = hitbox
1678
	              hitbox.Parent = modelzorz
1679
	              hitbox.Size = vt(2, 2, 2)
1680
	              MagicSkull(BrickColor.new("Black"), CF * euler(-1.57, 0, 0), 1, 1, 1, 1.5, 1.5, 1.5, 0.05, 0.1)
1681
	              MagicCylinder2(BrickColor.new("Really black"), CF, 5, 5, 5, 3, -0.05, 3, 0.02, 0)
1682
	              MagicCircle(BrickColor.new("Really black"), CF * euler(-1.57, 0, 0), 1, 1, 0.2, 5, 5, 0, 0.025)
1683
	              MagicCircle(BrickColor.new("Really black"), CF * euler(-1.57, 0, 0), 1, 1, 0, 2, 2, 5, 0.025)
1684
	              MagicCircle(BrickColor.new("Really black"), CF * euler(-1.57, 0, 0), 1, 1, 0, 3, 3, 7, 0.025)
1685
	              hitboxCF = CF
1686
	              hitbox.CFrame = hitboxCF
1687
	              for i = 0, 1, 0.05 do
1688
	                swait()
1689
	                MagicBlock(BrickColor.new("Really black"), CF, 0.5, 0.5, 0.5, 0.2, 0.2, 0.2, 0.05, 3)
1690
	                CF = CF * cf(0, -0.2, 0)
1691
	                hitboxCF = CF
1692
	                hitbox.CFrame = hitboxCF
1693
	                hitbox.Size = hitbox.Size + vt(0.8, 0.8, 0.8)
1694
	                MagniDamage(hitbox, hitbox.Size.Y, 5, 10, math.random(20, 40), "Knockdown2", ref, 1, 2, (math.random(5, 8)), nil, false, true, "Movement", 0.4, 200)
1695
	              end
1696
	              hitbox.Parent = modelzorz
1697
	              hitbox.Size = vt()
1698
	              hitboxweld()
1699
	              hboxpos.Parent = nil
1700
	              attack = false
1701
	            end
1702
	          end
1703
	        end
1704
	do2 = function()
1705
	  if attack == true then
1706
	    return 
1707
	  end
1708
	  if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
1709
	    return 
1710
	  end
1711
	  if cooldownmax <= cooldowns[1] and mana.Value >= 0 then
1712
	    deb = 0.2
1713
	    attack = true
1714
	    cooldowns[1] = 100
1715
	    mana.Value = mana.Value - 20
1716
	    local orb = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Effect", vt())
1717
	    do
1718
	      swait()
1719
	      local dec = Instance.new("NumberValue", Decrease)
1720
	      dec.Name = "DecreaseMvmt"
1721
	      dec.Value = 0.2
1722
	      for i = 0, 1, 0.2 do
1723
	        swait()
1724
	        handlewld.C0 = clerp(handlewld.C0, euler(0.2, 0, -0.2) * cf(0, 1, 0.2), 0.3)
1725
	        wld1.C0 = clerp(wld1.C0, euler(0, 1.57, 0) * cf(0, -1.4, 0), 0.3)
1726
	        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.2) * euler(0.2, 0, 0), 0.3)
1727
	        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.6), 0.3)
1728
	        RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.2, 0, 0.8), 0.3)
1729
	        RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1730
	        LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2.8, 0, 0.8), 0.3)
1731
	        LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
1732
	        RH.C0 = clerp(RH.C0, cf(0.9, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 0.6, -0.3), 0.3)
1733
	        LH.C0 = clerp(LH.C0, cf(-0.9, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 0.6, -0.1), 0.3)
1734
	        if Stagger.Value ~= true and StunT.Value > Stun.Value then
1735
	          do
1736
	            if StaggerHit.Value == true then
1737
	              break
1738
	            end
1739
	          end
1740
	        end
1741
	      end
1742
	      if Stagger.Value ~= true then --and StunT.Value > Stun.Value then
1743
	        if StaggerHit.Value ~= true then
1744
	          swait()
1745
	          arcorb = true
1746
	          orb.Anchored = true
1747
	          orb.CFrame = RootPart.CFrame * cf(0, 0.5, -3)
1748
	          so("200633529", orb, 1, 0.6)
1749
	          do
1750
	            local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10))
1751
	            ogui = Instance.new("BillboardGui")
1752
	            ogui.Parent = orb
1753
	            ogui.Size = UDim2.new(5, 0, 5, 0)
1754
	            oimg = Instance.new("ImageLabel")
1755
	            oimg.Parent = ogui
1756
	            oimg.BackgroundTransparency = 1
1757
	            oimg.Size = UDim2.new(1, 0, 1, 0)
1758
	            oimg.Image = Runes[math.random(1, #Runes)]
1759
	            oimg.ImageColor3 = BrickColor.new(NewCol).Color
1760
	            orbnum = 100
1761
	            while arcorb==true do
1762
	              if arcorb == true then
1763
	                swait()
1764
	              end
1765
	              if Stagger.Value ~= true and StunT.Value > Stun.Value then
1766
	                if StaggerHit.Value == true then
1767
	                  break
1768
	                end
1769
	                orb.CFrame = RootPart.CFrame * cf(0, 0.5, -3)
1770
	                MagicBlock(BrickColor.new(NewCol), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 2)
1771
	                MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
1772
	                MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, -1, -1, 0, 0.1)
1773
	                if orbnum < 0 or MMouse == nil then
1774
	                  arcorb = false
1775
	                end
1776
	                swait()
1777
	                orbnum = orbnum - 1
1778
	                if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
1779
	                  arcorb = false
1780
	                  break
1781
	                end
1782
	              end
1783
	            end
1784
	            if MMouse.Hit.p ~= nil then
1785
	              swait()
1786
	              local MainPos = orb.Position
1787
	              local MainPos2 = MMouse.Hit.p
1788
	              local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
1789
	              so("200633492", orb, 1, 0.75)
1790
	              coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
1791
	    local num = 50
1792
	    repeat
1793
	      swait()
1794
	      local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
1795
	      orb.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
1796
	      MagicBlock(BrickColor.new(NewCol), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 2)
1797
	          MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 150, 150, 150, -8, -8, -8, 0.05)
1798
	          MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 1, 10, 10, 0, 0.075)
1799
	      Pos1 = Pos1 + Look.lookVector * 5
1800
	      orb.CFrame = CFrame.new(orb.Position, MMouse.Hit.p)
1801
	      if ohit ~= nil then
1802
	        num = 0
1803
	      end
1804
	      num = num - 1
1805
	    until num <= 0
1806
	    local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
1807
	    ref.Anchored = true
1808
	    ref.CFrame = cf(orb.Position)
1809
	    so("165970126", ref, 10, 0.5)
1810
	    so("153832545", ref, 5, 1)
1811
	    game:GetService("Debris"):AddItem(ref, 0.5)
1812
	    MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 160, 160, 160, 120, 120, 120, 0.065)
1813
	    MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 80, 80, 80, 80, 80, 80, 0.065)
1814
	    MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 0, 1, 0, 80, 0, 80, 0.025)
1815
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025)
1816
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025)
1817
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025)
1818
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025)
1819
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025)
1820
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025)
1821
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 20, 20, 20, 0, 0.025)
1822
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 40, 40, 40, 0, 0.025)
1823
	    MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 60, 60, 60, 0, 0.025)
1824
	    MagicWave(BrickColor.new(NewCol), cf(ref.Position), 0, 10, 0, 25, 0, 25, 0.05)
1825
	    for i = 1, 4 do
1826
	      MagicBlock(BrickColor.new(NewCol), cf(ref.Position) * cf(math.random(-500, 500) / 100, math.random(-500, 500) / 100, math.random(-500, 500) / 100), 0, 0, 0, 25, 25, 25, 0.05)
1827
	    end
1828
	    MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 70, 70, 70, 40, 40, 40, 0.065)
1829
	    MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 1000, 1000, 1000, -50, -50, -50, 0.065)
1830
	    MagniDamage(ref, 150, 10, 17, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1831
	    if isjugg == false then
1832
	    end
1833
	    orb.Parent = nil
1834
	  end
1835
	), MainPos, MainPos2, MouseLook)
1836
	            end
1837
	            do
1838
	              dec.Parent = nil
1839
	              swait()
1840
	              attack = false
1841
	            end
1842
	          end
1843
	        end
1844
	      end
1845
	    end
1846
	  end
1847
	end
1848
	do3 = function()
1849
	  if attack == true then
1850
	    return 
1851
	  end
1852
	  if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
1853
	    return 
1854
	  end
1855
	  if cooldownmax <= cooldowns[3] and mana.Value >= 30 then
1856
	    attack = true
1857
	    cooldowns[3] = 0
1858
	    local doinvisatk = false
1859
	    for i = 0, 1, 0.1 do
1860
	      swait()
1861
	      Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
1862
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
1863
	      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
1864
	      RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1865
	      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
1866
	      LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1867
	      RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
1868
	      LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
1869
	      if Stagger.Value ~= true and StunT.Value > Stun.Value then
1870
	        do
1871
	          if StaggerHit.Value == true then
1872
	            break
1873
	          end
1874
	        end
1875
	      end
1876
	    end
1877
	    so("92597369", prt6, 0.6, 1)
1878
	    blcf = nil
1879
	    scfr = nil
1880
	    for i = 0, 1, 0.1 do
1881
	      swait()
1882
	      Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
1883
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
1884
	      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
1885
	      RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1886
	      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
1887
	      LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1888
	      RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
1889
	      LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
1890
	      if Stagger.Value ~= true and StunT.Value > Stun.Value then
1891
	        do
1892
	          if StaggerHit.Value == true then
1893
	            break
1894
	          end
1895
	        end
1896
	      end
1897
	    end
1898
	    attack = false
1899
	      CF = RootPart.CFrame * cf(0, 0, -30)
1900
	      ref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
1901
	      ref2.Anchored = true
1902
	      ref2.CFrame = CF
1903
	      game:GetService("Debris"):AddItem(ref2, 5)
1904
	      so("2101137", ref2, 5, 1)
1905
	      so("167115397", ref2, 5, 1)
1906
	      hitfloor2, posfloor2 = rayCast(ref2.Position, CFrame.new(ref2.Position, ref2.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
1907
	      if hitfloor2 ~= nil then
1908
	        mana.Value = mana.Value - 30
1909
	        ref2.CFrame = cf(posfloor2)
1910
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 5, 800, 0, 0, 0, 0.05)
1911
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 10, 800, -40, 0, -40, 0.025)
1912
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 10, 800, -42, 1000, -42, 0.05)
1913
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 1000, 10, 1000, -62, 1200, -62, 0.05)
1914
	        for i = 0, 1, 0.05 do
1915
	          swait()
1916
	          MagicBlock(BrickColor.new("Bright red"), cf(posfloor2) * cf(math.random(-2000, 2000) / 100, math.random(0, 300) / 100, math.random(-2000, 2000) / 100), 15, 15, 15, -3, -3, -3, 0.1, 1)
1917
	          MagicBlock(BrickColor.new("Black"), cf(posfloor2) * cf(math.random(-2000, 2000) / 100, math.random(0, 300) / 100, math.random(-2000, 2000) / 100), 3, 3, 3, 1, 1, 1, 0.1, 3)
1918
	        end
1919
	        so("165969964", ref2, 10, 0.9)
1920
	        so("167115397", ref2, 10, 1)
1921
	        so("134854740", ref2, 5, 0.75)
1922
	        so("138186576", ref2, 8, 0.75)
1923
	        so("87767777", ref2, 10, 1)
1924
	        MagniDamage(ref2, 250, 12, 24, math.random(-50, -30), "Knockdown2", RootPart, 0, 1, (math.random(5, 10)), nil, nil, true)
1925
	        MagicBlock(BrickColor.new("Really red"), cf(posfloor2), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
1926
	        MagicBlock(BrickColor.new("Really red"), cf(posfloor2), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
1927
	        MagicBlock(BrickColor.new("Really red"), cf(posfloor2), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
1928
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 2, 800, 150, 2, 150, 0.05)
1929
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 2, 800, 100, 4, 100, 0.05)
1930
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 2, 800, 50, 6, 50, 0.05)
1931
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 0, 0, 0, 100, 100, 100, 0.05)
1932
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 0, 0, 0, 200, 200, 200, 0.05)
1933
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 0, 0, 0, 300, 300, 300, 0.05)
1934
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 0, 0, 0, 400, 400, 400, 0.05)
1935
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 800, 2, 800, 4, 350, 4, 0.005)
1936
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 600, 2, 600, 4, 300, 4, 0.005)
1937
	        MagicCircle(BrickColor.new("Really red"), cf(posfloor2), 400, 2, 400, 4, 250, 4, 0.005)
1938
	      end
1939
	    end
1940
	end
1941
	do4 = function()
1942
	  if attack == true then
1943
	    return 
1944
	  end
1945
	  if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
1946
	    return 
1947
	  end
1948
	  if cooldownmax <= cooldowns[4] and mana.Value >= 50 then
1949
	    attack = true
1950
	    cooldowns[4] = 0
1951
	    mana.Value = mana.Value - 50
1952
	    for i = 0, 1, 0.05 do
1953
	      swait()
1954
	      handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.15)
1955
	      wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 1, 0) * euler(2.2, 0, 0), 0.15)
1956
	      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 1), 0.15)
1957
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1), 0.15)
1958
	      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.8, 0, 0.5) * euler(0, -1, 0), 0.15)
1959
	      RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
1960
	      LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2.4, 0, 0.8) * euler(0, -1, 0), 0.15)
1961
	      LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
1962
	      RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.15)
1963
	      LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.15)
1964
	    end
1965
	    doing4 = true
1966
	    so("28144425", prt6, 1, 0.5)
1967
	    hbwld.Parent = nil
1968
	    hboxpos.Parent = hitbox
1969
	    hitbox.Parent = modelzorz
1970
	    hitbox.Size = vt(1, 2, 7)
1971
	    hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1972
	    hitbox.CFrame = hitboxCF
1973
	    blcf = nil
1974
	    scfr = nil
1975
	    for i = 0, 1, 0.05 do
1976
	      swait()
1977
	      if i > 0.18 and i <= 0.2 then
1978
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 10, 10, 10, -0.01, 20, -0.01, 0.01)
1979
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 0, 0, 10, 50, 10, 0.05)
1980
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 0, 0, 6, 60, 6, 0.025)
1981
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 1, 0, 4, 0, 4, 0.015)
1982
	      end
1983
	      hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
1984
	      hitbox.CFrame = hitboxCF
1985
	if i == 0.2 then
1986
	      MagniDamage(hitbox, 12, 20, 40, 0, "Knockdown2", RootPart, 1, 1, (math.random(10, 20)), nil, nil, false, nil, nil, nil, true, true)
1987
	end
1988
	      handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.4)
1989
	      wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -2, 0) * euler(2.2, 0, 0), 0.4)
1990
	      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, -1), 0.4)
1991
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1), 0.4)
1992
	      RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(0.5, 0, -0.5) * euler(0, -0.5, 0), 0.4)
1993
	      RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1994
	      LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(0.4, 0, 0.6) * euler(0, 1, 0), 0.4)
1995
	      LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
1996
	      RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1, -0.1), 0.4)
1997
	      LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1, 0.3), 0.4)
1998
	    end
1999
	    hitbox.Parent = modelzorz
2000
	    hitbox.Size = vt()
2001
	    hitboxweld()
2002
	    hboxpos.Parent = nil
2003
	    for i = 0, 1, 0.05 do
2004
	      swait()
2005
	      handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.15)
2006
	      wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, -1, 0) * euler(2.2, 0, 0), 0.15)
2007
	      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, -1.3), 0.15)
2008
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1.3), 0.15)
2009
	      RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.3, 0, -0.5) * euler(0, 1.8, 0), 0.15)
2010
	      LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.4, 0, 0.4) * euler(0, 1, 0), 0.15)
2011
	      RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.3) * euler(0, 1.57, 0) * euler(0, -1.3, -0.1), 0.15)
2012
	      LH.C0 = clerp(LH.C0, cf(-0.8, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -1.3, 0.3), 0.15)
2013
	    end
2014
	    so("28144425", prt6, 1, 0.5)
2015
	    hbwld.Parent = nil
2016
	    hboxpos.Parent = hitbox
2017
	    hitbox.Parent = modelzorz
2018
	    hitbox.Size = vt(1, 2, 7)
2019
	    hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
2020
	    hitbox.CFrame = hitboxCF
2021
	    blcf = nil
2022
	    scfr = nil
2023
	    daa = 0
2024
	    for i = 0, 1, 0.05 do
2025
	      swait()
2026
	      daa = daa + 1
2027
	      hitboxCF = prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2)
2028
	      hitbox.CFrame = hitboxCF
2029
	      if daa == 4 then
2030
	        print("rekt")
2031
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 10, 10, 10, -0.1, 20, -0.1, 0.01)
2032
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 0, 0, 10, 50, 10, 0.05)
2033
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 0, 0, 6, 60, 6, 0.025)
2034
	        MagicCircle(BrickColor.new("Really red"), hitbox2.CFrame * euler(1.57, 0, 0), 0, 1, 0, 4, 0, 4, 0.015)
2035
	      end
2036
	if i == 0.05 then
2037
	      MagniDamage(hitbox, 12, 20, 40, math.random(30, 50), "Knockdown2", RootPart, 1, 1, (math.random(10, 20)), nil, nil, false, nil, nil, nil, true, true)
2038
	end
2039
	      handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.35)
2040
	      wld1.C0 = clerp(wld1.C0, euler(0, -0.5, 0) * cf(0, -2, 0) * euler(2.2, 0, 0), 0.35)
2041
	      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 1.3), 0.35)
2042
	      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -1.3), 0.35)
2043
	      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.5, 0, 1) * euler(0, 2.5, 0), 0.35)
2044
	      LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1.4, 0, 0.4) * euler(0, 0, 0), 0.35)
2045
	      RH.C0 = clerp(RH.C0, cf(0.8, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1, -0.3), 0.35)
2046
	      LH.C0 = clerp(LH.C0, cf(-0.8, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1, 0.1), 0.35)
2047
	    end
2048
	    swait(10)
2049
	    doing4 = false
2050
	    attack = false
2051
	  end
2052
	end
2053
	DecreaseStat = function(Model, Stat, Amount, Duration, cangui)
2054
	  if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
2055
	    Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
2056
	    d = Instance.new("NumberValue", Model.Stats.Decrease)
2057
	    dur = Instance.new("NumberValue", d)
2058
	    dur.Name = "Duration"
2059
	    dur.Value = Duration
2060
	    game:GetService("Debris"):AddItem(d, 20)
2061
	    if Stat == "Damage" then
2062
	      d.Name = "DecreaseAtk"
2063
	    else
2064
	      if Stat == "Defense" then
2065
	        d.Name = "DecreaseDef"
2066
	      else
2067
	        if Stat == "Movement" then
2068
	          d.Name = "DecreaseMvmt"
2069
	        end
2070
	      end
2071
	    end
2072
	    if Model:findFirstChild("Torso") ~= nil then
2073
	      display = ""
2074
	      if Stat == "Damage" then
2075
	        if Amount > 0 then
2076
	          display = "-Damage"
2077
	        else
2078
	          display = "+Damage"
2079
	        end
2080
	      else
2081
	        if Stat == "Defense" then
2082
	          if Amount > 0 then
2083
	            display = "-Defense"
2084
	          else
2085
	            display = "+Defense"
2086
	          end
2087
	        else
2088
	          if Stat == "Movement" then
2089
	            if Amount > 0 then
2090
	              display = "-Movement"
2091
	            else
2092
	              display = "+Movement"
2093
	            end
2094
	          end
2095
	        end
2096
	      end
2097
	      if cangui ~= true then
2098
	        showDamage(Model, display, "Debuff")
2099
	      end
2100
	    end
2101
	    d.Value = Amount
2102
	  end
2103
	end
2104
	GetDist = function(Part1, Part2, magni)
2105
	  local targ = Part1.Position - Part2.Position
2106
	  local mag = targ.magnitude
2107
	  if mag <= magni then
2108
	    return true
2109
	  else
2110
	    return false
2111
	  end
2112
	end
2113
	MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2114
	  for _,c in pairs(workspace:children()) do
2115
	    local hum = c:findFirstChild("Humanoid")
2116
	    if hum ~= nil then
2117
	      local head = nil
2118
	      for _,d in pairs(c:children()) do
2119
	        if d.className == "Model" and ranged ~= true then
2120
	          head = d:findFirstChild("Hitbox")
2121
	          if d.Parent == Character then
2122
	            break
2123
	          end
2124
	          if head ~= nil then
2125
	            local targ = head.Position - Part.Position
2126
	            local mag = targ.magnitude
2127
	            if mag <= magni and c.Name ~= Player.Name then
2128
	              ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
2129
	              ref.Anchored = true
2130
	              ref.CFrame = cf(head.Position)
2131
	              game:GetService("Debris"):AddItem(ref, 1)
2132
	              hitnum = math.random(1, 5)
2133
	              if hitnum == 1 then
2134
	                so("199148971", ref, 1, 1)
2135
	              else
2136
	                if hitnum == 2 then
2137
	                  so("199149025", ref, 1, 1)
2138
	                else
2139
	                  if hitnum == 3 then
2140
	                    so("199149072", ref, 1, 1)
2141
	                  else
2142
	                    if hitnum == 4 then
2143
	                      so("199149109", ref, 1, 1)
2144
	                    else
2145
	                      if hitnum == 5 then
2146
	                        so("199149119", ref, 1, 1)
2147
	                      end
2148
	                    end
2149
	                  end
2150
	                end
2151
	              end
2152
	              StaggerHit.Value = true
2153
	            end
2154
	          end
2155
	        end
2156
	        do
2157
	          if d.className == "Part" and d.Name=="Torso" then
2158
	            head = d
2159
	            if head ~= nil then
2160
	              local targ = head.Position - Part.Position
2161
	              local mag = targ.magnitude
2162
	              if mag <= magni and c.Name ~= Player.Name then
2163
	                if stun == nil then
2164
	                  stun = math.random(5, 10)
2165
	                end
2166
	                local Rang = nil
2167
	                if Ranged == false then
2168
	                  Rang = true
2169
	                end
2170
	                local stag = nil
2171
	                if shbash == true then
2172
	                  stag = true
2173
	                end
2174
	                Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2175
	              end
2176
	            end
2177
	          end
2178
	          do
2179
	            -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
2180
	
2181
	          end
2182
	        end
2183
	      end
2184
	    end
2185
	  end
2186
	end
2187
	rayCast = function(Pos, Dir, Max, Ignore)
2188
	  return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
2189
	end
2190
	local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
2191
	LastPoint = Point
2192
	effect = function(Color, Ref, LP, P1, returnn)
2193
	  if LP == nil or P1 == nil then
2194
	    return 
2195
	  end
2196
	  local effectsmsh = Instance.new("CylinderMesh")
2197
	  effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
2198
	  effectsmsh.Name = "Mesh"
2199
	  local effectsg = Instance.new("Part")
2200
	  NoOutline(effectsg)
2201
	  effectsg.formFactor = 3
2202
	  effectsg.CanCollide = false
2203
	  effectsg.Name = "Eff"
2204
	  effectsg.Locked = true
2205
	  effectsg.Anchored = true
2206
	  effectsg.Size = Vector3.new(0.5, 1, 0.5)
2207
	  effectsg.Parent = workspace
2208
	  effectsmsh.Parent = effectsg
2209
	  effectsg.BrickColor = BrickColor.new(Color)
2210
	  effectsg.Reflectance = Ref
2211
	  local point1 = P1
2212
	  local mg = (LP.p - point1.p).magnitude
2213
	  effectsg.Size = Vector3.new(0.5, mg, 0.5)
2214
	  effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
2215
	  effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
2216
	  game:GetService("Debris"):AddItem(effectsg, 2)
2217
	  if returnn then
2218
	    return effectsg
2219
	  end
2220
	  if not returnn then
2221
	    table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
2222
	  end
2223
	end
2224
	MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
2225
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2226
	  prt.Anchored = true
2227
	  prt.CFrame = cframe
2228
	  msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2229
	  game:GetService("Debris"):AddItem(prt, 10)
2230
	  if Type == 1 or Type == nil then
2231
	    table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
2232
	  else
2233
	    if Type == 2 then
2234
	      table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
2235
	    else
2236
	      if Type == 3 then
2237
	        table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
2238
	      end
2239
	    end
2240
	  end
2241
	end
2242
	MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
2243
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2244
	  prt.Anchored = true
2245
	  prt.CFrame = cframe
2246
	  msh = mesh("SpecialMesh", prt, "FileMesh", "4770583", vt(0, 0, 0), vt(x1, y1, z1))
2247
	  game:GetService("Debris"):AddItem(prt, 10)
2248
	  table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe})
2249
	end
2250
	MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2251
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2252
	  prt.Anchored = true
2253
	  prt.CFrame = cframe
2254
	  local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
2255
	  game:GetService("Debris"):AddItem(prt, 10)
2256
	  table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2257
	end
2258
	MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2259
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2260
	  prt.Anchored = true
2261
	  prt.CFrame = cframe * cf(x2, y2, z2)
2262
	  local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
2263
	  game:GetService("Debris"):AddItem(prt, 10)
2264
	  table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2265
	end
2266
	MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
2267
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2268
	  prt.Anchored = true
2269
	  prt.CFrame = cframe
2270
	  local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
2271
	  game:GetService("Debris"):AddItem(prt, 10)
2272
	  table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
2273
	end
2274
	MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2275
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2276
	  prt.Anchored = true
2277
	  prt.CFrame = cframe
2278
	  local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2279
	  game:GetService("Debris"):AddItem(prt, 10)
2280
	  table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2281
	end
2282
	MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
2283
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2284
	  prt.Anchored = true
2285
	  prt.CFrame = cframe
2286
	  local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2287
	  game:GetService("Debris"):AddItem(prt, 10)
2288
	  table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe})
2289
	end
2290
	MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2291
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2292
	  prt.Anchored = true
2293
	  prt.CFrame = cframe
2294
	  local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
2295
	  game:GetService("Debris"):AddItem(prt, 10)
2296
	  table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2297
	end
2298
	ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
2299
	  local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
2300
	  prt.Anchored = true
2301
	  prt.CFrame = cframe
2302
	  local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
2303
	  game:GetService("Debris"):AddItem(prt, 10)
2304
	  table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
2305
	end
2306
	MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2307
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2308
	  prt.Anchored = true
2309
	  prt.CFrame = cframe
2310
	  local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
2311
	  game:GetService("Debris"):AddItem(prt, 10)
2312
	  table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
2313
	end
2314
	MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
2315
	  local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
2316
	  prt.Anchored = true
2317
	  prt.CFrame = cframe
2318
	  msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2319
	  game:GetService("Debris"):AddItem(prt, 10)
2320
	  table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
2321
	end
2322
	MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
2323
	  local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
2324
	  prt.Anchored = true
2325
	  prt.CFrame = cframe
2326
	  msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2327
	  d = Instance.new("Decal")
2328
	  d.Parent = prt
2329
	  d.Texture = "http://www.roblox.com/asset/?id=26356434"
2330
	  d.Face = "Top"
2331
	  d = Instance.new("Decal")
2332
	  d.Parent = prt
2333
	  d.Texture = "http://www.roblox.com/asset/?id=26356434"
2334
	  d.Face = "Bottom"
2335
	  game:GetService("Debris"):AddItem(prt, 10)
2336
	  table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
2337
	end
2338
	ElecEffect = function(cff, x, y, z)
2339
	  local prt = part(3, workspace, 0, 0, BrickColor.new("Bright red"), "Part", vt(1, 1, 1))
2340
	  prt.Anchored = true
2341
	  prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
2342
	  prt.CFrame = cf(prt.Position)
2343
	  game:GetService("Debris"):AddItem(prt, 10)
2344
	  xval = math.random() / 3
2345
	  yval = math.random() / 3
2346
	  zval = math.random() / 3
2347
	  msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
2348
	  Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
2349
	end
2350
	CloneBody = function()
2351
	  for _,v in pairs(Torso.Parent:children()) do
2352
	    if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2353
	      local c = part(3, workspace, 0, 0.5, BrickColor.new("Really black"), "Effect", v.Size)
2354
	      c.Anchored = true
2355
	      c.CFrame = v.CFrame
2356
	      game:GetService("Debris"):AddItem(c, 5)
2357
	      if v.Name == "Head" then
2358
	        cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale)
2359
	      end
2360
	      table.insert(Effects, {c, "Disappear", 0.05})
2361
	    end
2362
	  end
2363
	end
2364
	Clone = function(duration)
2365
	  for _,v in pairs(Torso.Parent:children()) do
2366
	    if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2367
	      local c = part(3, workspace, 0, 0, BrickColor.new("Really black"), "Effect", v.Size)
2368
	      c.Anchored = true
2369
	      c.CFrame = v.CFrame
2370
	      game:GetService("Debris"):AddItem(c, 5)
2371
	      if v.Name == "Head" then
2372
	        cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale)
2373
	      end
2374
	      table.insert(Effects, {c, "Disappear", duration})
2375
	    else
2376
	      do
2377
	        do
2378
	          if v.className == "Hat" then
2379
	            n = v.Handle:clone()
2380
	            n:BreakJoints()
2381
	            n.archivable = true
2382
	            n.Anchored = true
2383
	            n.CanCollide = false
2384
	            n.Name = "Effect"
2385
	            n.BrickColor = BrickColor.new("Really black")
2386
	            n.Parent = workspace
2387
	            n.CFrame = v.Handle.CFrame
2388
	            n.Transparency = 1
2389
	            n:BreakJoints()
2390
	            table.insert(Effects, {n, "Disappear", duration})
2391
	          end
2392
	          -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out DO_STMT
2393
	
2394
	          -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2395
	
2396
	          -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_STMT
2397
	
2398
	        end
2399
	      end
2400
	    end
2401
	  end
2402
	  for _,v in pairs(modelzorz:children()) do
2403
	    if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
2404
	      n = v:clone()
2405
	      for _,b in pairs(n:children()) do
2406
	        if b.className == "Motor" then
2407
	          b.Parent = nil
2408
	        end
2409
	      end
2410
	      n.archivable = true
2411
	      n.Anchored = true
2412
	      n.CanCollide = false
2413
	      n.Name = "Effect"
2414
	      n.BrickColor = BrickColor.new("Really black")
2415
	      n.Parent = workspace
2416
	      n.CFrame = v.CFrame
2417
	      n.Transparency = 0
2418
	      n:BreakJoints()
2419
	      table.insert(Effects, {n, "Disappear", duration})
2420
	    end
2421
	  end
2422
	end
2423
	Cloak = function()
2424
	  so("2767090", Torso, 1, 1)
2425
	  Face.Parent = nil
2426
	  Clone(0.02)
2427
	  for _,v in pairs(Torso.Parent:children()) do
2428
	    do
2429
	      if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2430
	        coroutine.resume(coroutine.create(function()
2431
	    for i = 0, 1, 0.1 do
2432
	      wait()
2433
	      v.Transparency = v.Transparency + 0.1
2434
	    end
2435
	    v.Transparency = 1
2436
	  end))
2437
	      end
2438
	      if v.className == "Hat" then
2439
	        do
2440
	          hatp = v.Handle
2441
	          coroutine.resume(coroutine.create(function(derp)
2442
	    for i = 0, 1, 0.1 do
2443
	      wait()
2444
	      derp.Transparency = derp.Transparency + 0.1
2445
	    end
2446
	    derp.Transparency = 1
2447
	  end), hatp)
2448
	          -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT
2449
	
2450
	          -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT
2451
	
2452
	        end
2453
	      end
2454
	    end
2455
	  end
2456
	  for _,v in pairs(modelzorz:children()) do
2457
	    if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
2458
	      coroutine.resume(coroutine.create(function()
2459
	    for i = 0, 1, 0.1 do
2460
	      wait()
2461
	      v.Transparency = v.Transparency + 0.1
2462
	    end
2463
	    v.Transparency = 1
2464
	  end))
2465
	    end
2466
	  end
2467
	end
2468
	UnCloak = function()
2469
	  so("2767090", Torso, 1, 1.1)
2470
	  Face.Parent = Head
2471
	  for _,v in pairs(Torso.Parent:children()) do
2472
	    do
2473
	      if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
2474
	        coroutine.resume(coroutine.create(function()
2475-
	    c.Value = game:service("Players").LocalPlayer
2475+
2476
	      wait()
2477
	      v.Transparency = v.Transparency - 0.1
2478
	    end
2479
	    v.Transparency = 0
2480
	  end))
2481
	      end
2482
	      if v.className == "Hat" then
2483
	        do
2484
	          hatp = v.Handle
2485
	          coroutine.resume(coroutine.create(function(derp)
2486
	    for i = 0, 1, 0.1 do
2487
	      wait()
2488
	      derp.Transparency = derp.Transparency - 0.1
2489
	    end
2490
	    derp.Transparency = 1
2491
	  end), hatp)
2492
	          -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_THEN_STMT
2493
	
2494
	          -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_STMT
2495
	
2496
	        end
2497
	      end
2498
	    end
2499
	  end
2500
	  for _,v in pairs(modelzorz:children()) do
2501
	    if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
2502
	      coroutine.resume(coroutine.create(function()
2503
	    for i = 0, 1, 0.1 do
2504
	      wait()
2505
	      v.Transparency = v.Transparency - 0.1
2506
	    end
2507
	    for i = 0, 1, 0.3 do
2508
	      wait()
2509
	      v.Transparency = 0
2510
	    end
2511
	  end))
2512
	    end
2513
	  end
2514
	end
2515
	Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2516
	  if hit.Parent == nil then
2517
	    return 
2518
	  end
2519
	  if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
2520
	    ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
2521
	    ref.Anchored = true
2522
	    ref.CFrame = cf(hit.Position)
2523
	    game:GetService("Debris"):AddItem(ref, 1)
2524
	    hitnum = math.random(1, 5)
2525
	    if hitnum == 1 then
2526
	      so("199148971", ref, 1, 1)
2527
	    else
2528
	      if hitnum == 2 then
2529
	        so("199149025", ref, 1, 1)
2530
	      else
2531
	        if hitnum == 3 then
2532
	          so("199149072", ref, 1, 1)
2533
	        else
2534
	          if hitnum == 4 then
2535
	            so("199149109", ref, 1, 1)
2536
	          else
2537
	            if hitnum == 5 then
2538
	              so("199149119", ref, 1, 1)
2539
	            end
2540
	          end
2541
	        end
2542
	      end
2543
	    end
2544
	    StaggerHit.Value = true
2545
	  end
2546
	  h = hit.Parent:FindFirstChild("Humanoid")
2547
	  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2548
	    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2549
	      return 
2550
	    end
2551
	    if Player.Neutral == false then
2552
	      if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
2553
	        return 
2554
	      end
2555
	      if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
2556
	        return 
2557
	      end
2558
	    end
2559
	    c = Instance.new("ObjectValue")
2560
	    c.Name = "creator"
2561
	    c.Value = owner
2562
	    c.Parent = h
2563
	    RecentEnemy.Value = hit.Parent
2564
	    game:GetService("Debris"):AddItem(c, 0.5)
2565
	    if doing4 == false then
2566
	      minim = minim * Atk.Value
2567
	      maxim = maxim * Atk.Value
2568
	    end
2569
	    Damage = 0
2570
	    if minim == maxim then
2571
	      Damage = maxim
2572
	    else
2573
	      Damage = math.random(minim, maxim)
2574
	    end
2575
	    blocked = false
2576
	    enblock = nil
2577
	    Stats = hit.Parent:findFirstChild("Stats")
2578
	if Stats == nil then
2579
		Character.Stats:Clone().Parent=hit.Parent
2580
	end
2581
	    if Stats ~= nil then
2582
		Stats.Defense.Value=1
2583
	      invis = Stats:findFirstChild("Invisibility")
2584
	      if (ranged == false or ranged == nil) and invis ~= nil then
2585
	        invis.Value = 0
2586
	      end
2587
	      enblock = Stats:findFirstChild("Block")
2588
	      if enblock ~= nil and enblock.Value == true then
2589
	        blocked = true
2590
	      end
2591
	      if Stats:findFirstChild("Defense") ~= nil then
2592
	        if doing2 ~= true and doing4 ~= true then
2593
	          local divide = Stats.Defense.Value
2594
	          Damage = Damage / divide
2595
	        end
2596
	          do
2597
	            Damage = Damage
2598
	            if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
2599
	              hitnum = math.random(1, 5)
2600
	              if hitnum == 1 then
2601
	                so("199149321", hit, 1, 1)
2602
	              else
2603
	                if hitnum == 2 then
2604
	                  so("199149338", hit, 1, 1)
2605
	                else
2606
	                  if hitnum == 3 then
2607
	                    so("199149367", hit, 1, 1)
2608
	                  else
2609
	                    if hitnum == 4 then
2610
	                      so("199149409", hit, 1, 1)
2611
	                    else
2612
	                      if hitnum == 5 then
2613
	                        so("199149452", hit, 1, 1)
2614
	                      end
2615
	                    end
2616
	                  end
2617
	                end
2618
	              end
2619
	            else
2620
	              if ranged == false or ranged == nil and blocked ~= true then
2621
	                hitnum = math.random(1, 6)
2622
	                if hitnum == 1 then
2623
	                  so("199149137", hit, 1, 1)
2624
	                else
2625
	                  if hitnum == 2 then
2626
	                    so("199149186", hit, 1, 1)
2627
	                  else
2628
	                    if hitnum == 3 then
2629
	                      so("199149221", hit, 1, 1)
2630
	                    else
2631
	                      if hitnum == 4 then
2632
	                        so("199149235", hit, 1, 1)
2633
	                      else
2634
	                        if hitnum == 5 then
2635
	                          so("199149269", hit, 1, 1)
2636
	                        else
2637
	                          if hitnum == 6 then
2638
	                            so("199149297", hit, 1, 1)
2639
	                          end
2640
	                        end
2641
	                      end
2642
	                    end
2643
	                  end
2644
	                end
2645
	              end
2646
	            end
2647
	            if Damage <= 3 and staghit == true and ranged ~= true then
2648
	              StaggerHit.Value = true
2649
	            end
2650
	            if Stats:findFirstChild("Stun") ~= nil then
2651
	              if blocked == true then
2652
	                incstun = incstun / 2
2653
	              end
2654
	              if Stats.Stun.Value < Stats.StunThreshold.Value then
2655
	                Stats.Stun.Value = Stats.Stun.Value + incstun
2656
	              end
2657
	            end
2658
	            if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
2659
	              Stats.Stagger.Value = true
2660
	            end
2661
	            if blocked == true then
2662
	              showDamage(hit.Parent, "Block", "Damage")
2663
	              if ranged ~= true then
2664
	                enblock.Value = false
2665
	                Stagger.Value = true
2666
	                hitnum = math.random(1, 2)
2667
	                if hitnum == 1 then
2668
	                  so("199148933", hit, 1, 1)
2669
	                else
2670
	                  if hitnum == 2 then
2671
	                    so("199148947", hit, 1, 1)
2672
	                  end
2673
	                end
2674
	              end
2675
	            else
2676
	              Damage = math.floor(Damage)
2677
	              if hit.Parent:findFirstChild("Mark") == nil then
2678
	                d = it("BoolValue", hit.Parent)
2679
	                d.Name = "Mark"
2680
	                b = it("NumberValue", d)
2681
	                b.Name = "MarkTime"
2682
	                b.Value = 200
2683
	                v = it("NumberValue", d)
2684
	                v.Name = "MarkValue"
2685
	                v.Value = 0
2686
	                if doing4 == true then
2687
	                  v.Value = 10
2688
	                end
2689
	                sz = it("NumberValue", d)
2690
	                sz.Name = "MarkSize"
2691
	                sz.Value = 5
2692
	                st = it("StringValue", d)
2693
	                st.Name = "MarkType"
2694
	                st.Value = "Adjudicator"
2695
	                local tehpart = hit.Parent:findFirstChild("HumanoidRootPart")
2696
	                if tehpart == nil then
2697
	                  tehpart = hit.Parent:findFirstChild("Torso")
2698
	                end
2699
	                if hit.Parent.Name == "Neflhelm" then
2700
	                  tehpart = hit
2701
	                end
2702
	                if tehpart ~= nil then
2703
	                  markgui = it("BillboardGui", tehpart)
2704
	                  markgui.Name = "Mark Gui"
2705
	                  markgui.Size = UDim2.new(7, 0, 7, 0)
2706
	                  markgui.StudsOffset = vt(0, 10, 0)
2707
	                  markgui.AlwaysOnTop = true
2708
	                  markscy = it("ImageLabel", markgui)
2709
	                  markscy.Name = "Scythe"
2710
	                  markscy.BackgroundTransparency = 1
2711
	                  markscy.Image = "rbxassetid://278007861"
2712
	                  markscy.ImageColor3 = Color3.new(1, 0, 0)
2713
	                  markscy.Size = UDim2.new(1, 0, 1, 0)
2714
	                  table.insert(MarkedGUI, {markgui, markscy})
2715
	                end
2716
	                table.insert(Marked, {d, b, v, sz})
2717
	              else
2718
	                  mark = hit.Parent:findFirstChild("Mark")
2719
	                  if mark:findFirstChild("MarkTime") ~= nil then
2720
	                    mark.MarkTime.Value = 700
2721
	                  end
2722
	                  if mark:findFirstChild("MarkValue") ~= nil then
2723
	                    if mark.MarkValue.Value >= 10 then
2724
	                      if mark:findFirstChild("MarkTime") ~= nil then
2725
	                        mark.MarkTime.Value = 400
2726
	                      end
2727
	                      if mark.MarkType.Value == "Classic" then
2728
	                        mark.Parent = nil
2729
	                        Damage = Damage * 2
2730
	                        print("double damage")
2731
	                        if hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then
2732
	                          ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
2733
	                          ref.Anchored = true
2734
	                          ref.CFrame = hit.Parent.HumanoidRootPart.CFrame
2735
	                          game:GetService("Debris"):AddItem(ref, 5)
2736
	                          local nr = NumberRange.new
2737
	                          local ns = NumberSequence.new
2738
	                          local cs = ColorSequence.new
2739
	                          local parti = it("ParticleEmitter")
2740
	                          parti.Color = cs(NewCol, Color3.new(0, 0, 0))
2741
	                          parti.LightEmission = 0
2742
	                          parti.Size = ns(10)
2743
	                          parti.Texture = "http://www.roblox.com/asset/?id=243660364"
2744
	                          transseq = ns({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
2745
	                          parti.Transparency = transseq
2746
	                          parti.ZOffset = 1
2747
	                          parti.Acceleration = vt(0, 0, 0)
2748
	                          parti.Lifetime = nr(1)
2749
	                          parti.Rate = 20
2750
	                          parti.Rotation = nr(0, 360)
2751
	                          parti.Speed = nr(0)
2752
	                          parti.VelocitySpread = 0
2753
	                          parti.Parent = ref
2754
	                          parti.Enabled = true
2755
	                          table.insert(Effects, {parti, "PartiEmi", 20})
2756
	                          markscy = it("ImageLabel", markgui)
2757
	                          markscy.Name = "Scythe"
2758
	                          markscy.BackgroundTransparency = 1
2759
	                          markscy.Image = "rbxassetid://258927926"
2760
	                          markscy.ImageColor3 = Color3.new(1, 0, 0)
2761
	                          markscy.Size = UDim2.new(1, 0, 1, 0)
2762
	                          table.insert(Effects, {markgui, "AdjuEff", 10, markscy})
2763
	                        end
2764
	                      elseif mark.MarkType.Value == "Adjudicator" and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then
2765
	                            da = math.random(1, 4)
2766
	                            inc = 1
2767
	                            if doing2 == true then
2768
	                              inc = 2
2769
	                            end
2770
	                            if da == 1 then
2771
	                              DecreaseStat(Character, "Damage", -math.random(6, 10) / 100 * inc, 150, true)
2772
	                              DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true)
2773
	                            else
2774
	                              if da == 2 then
2775
	                                DecreaseStat(Character, "Defense", -math.random(2, 6) / 100 * inc, 150, true)
2776
	                                DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true)
2777
	                              else
2778
	                                if da == 3 then
2779
	                                  DecreaseStat(hit.Parent, "Damage", math.random(6, 10) / 100 * inc, 150, true)
2780
	                                  DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true)
2781
	                                else
2782
	                                  if da == 4 then
2783
	                                    DecreaseStat(hit.Parent, "Defense", math.random(2, 6) / 100 * inc, 150, true)
2784
	                                    DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true)
2785
	                                  end
2786
	                                end
2787
	                              end
2788
	                            end
2789
	                            ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
2790
	                            ref.Anchored = true
2791
	                            ref.CFrame = hit.Parent.HumanoidRootPart.CFrame
2792
	                            game:GetService("Debris"):AddItem(ref, 5)
2793
	                            markgui = it("BillboardGui", ref)
2794
	                            markgui.Name = "Mark Gui"
2795
	                            markgui.Size = UDim2.new(7, 0, 7, 0)
2796
	                            markgui.StudsOffset = vt(0, 10, 0)
2797
	                            markgui.AlwaysOnTop = true
2798
	                            markscy = it("ImageLabel", markgui)
2799
	                            markscy.Name = "Scythe"
2800
	                            markscy.BackgroundTransparency = 1
2801
	                            markscy.Image = "rbxassetid://278007453"
2802
	                            markscy.ImageColor3 = Color3.new(1, 0, 0)
2803
	                            markscy.Size = UDim2.new(1, 0, 1, 0)
2804
	                            table.insert(Effects, {markgui, "AdjuEff", 10, markscy})
2805
	                          end
2806
	                          elseif --[[mark.MarkType.Value ~= "Thanatos" or --]]doing4 == true then
2807
	                            mark.MarkValue.Value = 10
2808
	                          else
2809
	                            mark.MarkValue.Value = mark.MarkValue.Value + 1
2810
	                          end
2811
	end
2812
	                          if mark:findFirstChild("MarkSize") ~= nil then
2813
	                            mark.MarkSize.Value = 5
2814
	                          end
2815
	                          coroutine.resume(coroutine.create(function(Hum, Dam)
2816
	    hit.Parent.Humanoid:TakeDamage(Damage)
2817
	  end), h, Damage)
2818
	                          pursuitnum = 0
2819
	                          if isinvis.Value == false then
2820
	                            invisnum.Value = math.floor(invisnum.Value + math.random(4, 8) + Damage / 5)
2821
	                          end
2822
	                          showDamage(hit.Parent, Damage, "Damage")
2823
	                          if DecreaseState ~= nil then
2824
	                            DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
2825
	                          end
2826
	                          if Type == "NormalDecreaseMvmt1" then
2827
	                            DecreaseStat(hit.Parent, "Movement", 0.1, 200)
2828
	                          end
2829
	                          if Type == "Knockdown" then
2830
	                            hum = hit.Parent.Humanoid
2831
	                            hum.PlatformStand = true
2832
	                            coroutine.resume(coroutine.create(function(HHumanoid)
2833
	    swait(1)
2834
	    HHumanoid.PlatformStand = false
2835
	  end), hum)
2836
	                            local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2837
	                            local bodvol = Instance.new("BodyVelocity")
2838
	                            bodvol.velocity = angle * knockback
2839
	                            bodvol.P = 500
2840
	                            bodvol.maxForce = Vector3.new(2000, 2000, 2000)
2841
	                            bodvol.Parent = hit
2842
	                            rl = Instance.new("BodyAngularVelocity")
2843
	                            rl.P = 3000
2844
	                            rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
2845
	                            rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
2846
	                            rl.Parent = hit
2847
	                            game:GetService("Debris"):AddItem(bodvol, 0.5)
2848
	                            game:GetService("Debris"):AddItem(rl, 0.5)
2849
	                          else
2850
	                            do
2851
	                              if Type == "Knockdown2" then
2852
	                                hum = hit.Parent.Humanoid
2853
	                                local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2854
	                                local bodvol = Instance.new("BodyVelocity")
2855
	                                bodvol.velocity = angle * knockback
2856
	                                bodvol.P = 500
2857
	                                bodvol.maxForce = Vector3.new(2000, 2000, 2000)
2858
	                                bodvol.Parent = hit
2859
	                                game:GetService("Debris"):AddItem(bodvol, 0.5)
2860
	                              else
2861
	                                do
2862
	                                  if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
2863
	                                    vp = Instance.new("BodyVelocity")
2864
	                                    vp.P = 500
2865
	                                    vp.maxForce = Vector3.new(math.huge, 0, math.huge)
2866
	                                    if KnockbackType == 1 then
2867
	                                      vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2868
	                                    else
2869
	                                      if KnockbackType == 2 then
2870
	                                        vp.velocity = Property.CFrame.lookVector * knockback
2871
	                                      end
2872
	                                    end
2873
	                                    game:GetService("Debris"):AddItem(vp, 0.5)
2874
	                                    if knockback > 0 then
2875
	                                      vp.Parent = hit.Parent.Torso
2876
	                                    end
2877
	                                  end
2878
	                                  debounce = Instance.new("BoolValue")
2879
	                                  debounce.Name = "DebounceHit"
2880
	                                  debounce.Parent = hit.Parent
2881
	                                  debounce.Value = true
2882
	                                  game:GetService("Debris"):AddItem(debounce, Delay)
2883
	                                  c = Instance.new("ObjectValue")
2884
	                                  c.Name = "creator"
2885
	                                  c.Value = Player
2886
	                                  c.Parent = h
2887
	                                  game:GetService("Debris"):AddItem(c, 0.5)
2888
	                                  CRIT = false
2889
	                                end
2890
	                              end
2891
	                            end
2892
	                          end
2893
	                        end
2894
	                      end
2895
	                    end
2896
	                  end
2897
	                end
2898
	              end
2899
	            end
2900
	         -- end
2901
	        --end
2902
	      --end
2903
	    --end
2904
	  --end
2905
	showDamage = function(Char, Dealt, Type)
2906
	  m = Instance.new("Model")
2907
	  m.Name = "Effect"
2908
	  c = Instance.new("Part")
2909
	  c.Transparency = 1
2910
	  c.Name = "Head"
2911
	  c.TopSurface = 0
2912
	  c.BottomSurface = 0
2913
	  c.formFactor = "Plate"
2914
	  c.Size = Vector3.new(1, 0.4, 1)
2915
	  b = Instance.new("BillboardGui", c)
2916
	  b.Size = UDim2.new(5, 0, 5, 0)
2917
	  b.AlwaysOnTop = true
2918
	  damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
2919
	  if Type == "Damage" then
2920
	    damgui.Font = "Bodoni"
2921
	    if Dealt == "Block" then
2922
	      damgui.TextColor3 = BrickColor.new("Bright blue").Color
2923
	    else
2924
	      if Dealt < 3 then
2925
	        damgui.TextColor3 = BrickColor.new("White").Color
2926
	      else
2927
	        if Dealt >= 3 and Dealt < 20 then
2928
	          damgui.TextColor3 = BrickColor.new("Bright yellow").Color
2929
	        else
2930
	          damgui.TextColor3 = BrickColor.new("Really red").Color
2931
	          damgui.Font = "Bodoni"
2932
	        end
2933
	      end
2934
	    end
2935
	  else
2936
	    if Type == "Debuff" then
2937
	      damgui.TextColor3 = BrickColor.new("White").Color
2938
	    else
2939
	      if Type == "Interrupt" then
2940
	        damgui.TextColor3 = BrickColor.new("New Yeller").Color
2941
	      end
2942
	    end
2943
	  end
2944
	  damgui.TextScaled = true
2945
	  ms = Instance.new("CylinderMesh")
2946
	  ms.Scale = Vector3.new(0.8, 0.8, 0.8)
2947
	  ms.Parent = c
2948
	  c.Reflectance = 0
2949
	  Instance.new("BodyGyro").Parent = c
2950
	  c.Parent = m
2951
	  if Char:findFirstChild("Head") ~= nil then
2952
	    c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
2953
	  else
2954
	    if Char.Parent:findFirstChild("Head") ~= nil then
2955
	      c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
2956
	    end
2957
	  end
2958
	  f = Instance.new("BodyPosition")
2959
	  f.P = 2000
2960
	  f.D = 100
2961
	  f.maxForce = Vector3.new(545000, 545000, 545000)
2962
	  if Type == "Damage" then
2963
	    f.position = c.Position + Vector3.new(0, 3, 0)
2964
	  else
2965
	    if Type == "Debuff" or Type == "Interrupt" then
2966
	      f.position = c.Position + Vector3.new(0, 5, 0)
2967
	    end
2968
	  end
2969
	  f.Parent = c
2970
	  game:GetService("Debris"):AddItem(m, 5)
2971
	  table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
2972
	  c.CanCollide = false
2973
	  m.Parent = workspace
2974
	  c.CanCollide = false
2975
	end
2976
	combo = 0
2977
	
2978
	ob1d = function(mouse)
2979
	  if arcorb == true then
2980
	    arcorb = false
2981
	  end
2982
	  if attack == true or equipped == false then
2983
	    return 
2984
	  end
2985
	  deb = 0.5
2986
	  hold = true
2987
	  if combo == 0 then
2988
	    combo = 1
2989
	    attackone()
2990
	  else
2991
	    if combo == 1 then
2992
	      combo = 2
2993
	      attacktwo()
2994
	    else
2995
	      if combo == 2 then
2996
	        combo = 3
2997
	        attackthree()
2998
	      else
2999
	        if combo == 3 then
3000
	          combo = 0
3001
	          attackfour()
3002
	        end
3003
	      end
3004
	    end
3005
	  end
3006
	  coroutine.resume(coroutine.create(function()
3007
	    for i = 1, 50 do
3008
	      if attack == false then
3009
	        swait()
3010
	      end
3011
	    end
3012
	    if attack == false then
3013
	      combo = 0
3014
	    end
3015
	  end))
3016
	end
3017
	ob1u = function(mouse)
3018
	  hold = false
3019
	end
3020
	buttonhold = false
3021
	fenbarmove1.MouseButton1Click:connect(do1)
3022
	fenbarmove2.MouseButton1Click:connect(do2)
3023
	fenbarmove3.MouseButton1Click:connect(do3)
3024
	fenbarmove4.MouseButton1Click:connect(do4)
3025
	eul = 0
3026
	equipped = false
3027
	key = function(key)
3028
	  if attack == true then
3029
	    return 
3030
	  end
3031
	  if key == "f" then
3032
	    pressedf = true
3033
	    fnumb = 0
3034
	    attack = true
3035
	    if equipped == false then
3036
	      equipped = true
3037
	      RSH = ch.Torso["Right Shoulder"]
3038
	      LSH = ch.Torso["Left Shoulder"]
3039
	      RSH.Parent = nil
3040
	      LSH.Parent = nil
3041
	      RW.Name = "Right Shoulder"
3042
	      RW.Part0 = ch.Torso
3043
	      RW.C0 = cf(1.5, 0.5, 0)
3044
	      RW.C1 = cf(0, 0.5, 0)
3045
	      RW.Part1 = ch["Right Arm"]
3046
	      RW.Parent = ch.Torso
3047
	      LW.Name = "Left Shoulder"
3048
	      LW.Part0 = ch.Torso
3049
	      LW.C0 = cf(-1.5, 0.5, 0)
3050
	      LW.C1 = cf(0, 0.5, 0)
3051
	      LW.Part1 = ch["Left Arm"]
3052
	      LW.Parent = ch.Torso
3053
	      Animate.Parent = nil
3054
	      equipanim()
3055
	    else
3056
	      equipped = false
3057
	      hideanim()
3058
	      LH.C1 = LHC1
3059
	      RH.C1 = RHC1
3060
	      Animate.Parent = Humanoid
3061
	      swait(0)
3062
	      RW.Parent = nil
3063
	      LW.Parent = nil
3064
	      RSH.Parent = player.Character.Torso
3065
	      LSH.Parent = player.Character.Torso
3066
	    end
3067
	    attack = false
3068
	  end
3069
	  if equipped == false then
3070
	    return 
3071
	  end
3072
	  if key == "e" and invisnum.Value > 5 then
3073
	    Invisibility()
3074
	  end
3075
	  if key == "z" then
3076
	    do1()
3077
	  end
3078
	  if key == "x" then
3079
	    do2()
3080
	  end
3081
	  if key == "c" then
3082
	    do3()
3083
	  end
3084
	  if key == "v" then
3085
	    do4()
3086
	  end
3087
	end
3088
	key2 = function(key)
3089
	end
3090
	s = function(mouse)
3091
	  mouse.Button1Down:connect(function()
3092
	    ob1d(mouse)
3093
	  end)
3094
	  mouse.Button1Up:connect(function()
3095
	    ob1u(mouse)
3096
	  end)
3097
	  mouse.KeyDown:connect(key)
3098
	  mouse.KeyUp:connect(key2)
3099
	  player = Player
3100
	  ch = Character
3101
	  MMouse = mouse
3102
	end
3103
	ds = function(mouse)
3104
	end
3105
	Bin.Selected:connect(s)
3106
	Bin.Deselected:connect(ds)
3107
	print("Renegade loaded.")
3108
	local mananum = 0
3109
	local donum = 0
3110
	local stunnum = 0
3111
	local staggeranim = false
3112
	local stunanim = false
3113
	local Point, LastPoint = nil, nil
3114
	local passivenum = 100
3115
	local pnum2 = 0
3116
	local walk = 0
3117
	local walkforw = true
3118
	local addpassive = 0
3119
	local gashnum = 0
3120
	while true do
3121
	  swait()
3122
	  if Humanoid.Health <= 0 then
3123
	    attack = true
3124
	    for i = 1, #Marked do
3125
	      if MarkedGUI[i] ~= nil and MarkedGUI[i][1] ~= nil then
3126
	        MarkedGUI[i][1].Parent = nil
3127
	      end
3128
	      table.remove(MarkedGUI, i)
3129
	      table.remove(Marked, i)
3130
	    end
3131
	    resumeControl()
3132
	    modelzorz.Parent = workspace
3133
	    game:GetService("Debris"):AddItem(modelzorz, 30)
3134
	    for i = 1, #Weapon do
3135
	      Weapon[i].Parent = modelzorz
3136
	      Weapon[i].CanCollide = true
3137
	    end
3138
	    for i = 1, #Welds do
3139
	      if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
3140
	        Welds[i].Parent = nil
3141
	      else
3142
	        Welds[i].Parent = prt1
3143
	      end
3144
	    end
3145
	  end
3146
	  do
3147
	    if fnumb < 21 then
3148
	      fnumb = fnumb + 1
3149
	      if pressedf == false then
3150
	        fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
3151
	        tellbar.TextTransparency = tellbar.TextTransparency - 0.05
3152
	        tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
3153
	      else
3154
	        if fnumb == 20 then
3155
	          fenframe5.Parent = nil
3156
	          print("daigui")
3157
	        end
3158
	        fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
3159
	        tellbar.TextTransparency = tellbar.TextTransparency + 0.05
3160
	        tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
3161
	      end
3162
	    end
3163
	    rimg.Rotation = rimg.Rotation + 2
3164
	    limg.Rotation = limg.Rotation + 2
3165
	    timg.Rotation = rimg.Rotation + -2
3166
	    if hbwld.Parent == nil then
3167
	      hitbox2.Name = "Hitbox2"
3168
	    else
3169
	      hitbox2.Name = "Hitbox2"
3170
	    end
3171
	    if hbwld.Parent == nil then
3172
	      hitbox2.Name = "Hitbox"
3173
	    else
3174
	      hitbox2.Name = "Hitbox2"
3175
	    end
3176
	    if doing2 == true then
3177
	      gashnum = gashnum + 1
3178
	      if (gashnum) % 10 == 0 then
3179
	        if 0 < mana.Value then
3180
	          mana.Value = mana.Value - -2
3181
	        else
3182
	          do2()
3183
	        end
3184
	      end
3185
	      MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 2, 2, 2, 0.05)
3186
	      MagicBlock(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 1, 1, 1, 1, 0.025)
3187
	      MagicBlock(BrickColor.new("Really black"), prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2) * cf(0, math.random(-100, 100) / 100, math.random(-200, 200) / 100), 0, 0, 0, 1, 1, 1, 1, 1)
3188
	    end
3189
	    hitbox2.Parent = hitbox.Parent
3190
	    hitbox2.Size = hitbox.Size
3191
	    hitbox2.CFrame = hitboxCF
3192
	    hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
3193
	    hitbox.Transparency = 1
3194
	    hitbox2.Transparency = 1
3195
	    for i = 1, #Marked do
3196
	      if Marked[i] ~= nil then
3197
	        if Marked[i][1].Parent == nil then
3198
	          MarkedGUI[i][1].Parent = nil
3199
	          table.remove(MarkedGUI, i)
3200
	          table.remove(Marked, i)
3201
	        else
3202
	          if MarkedGUI[i][1].Parent ~= nil then
3203
	            MarkedGUI[i][1].Size = UDim2.new(7 + Marked[i][4].Value, 0, 7 + Marked[i][4].Value, 0)
3204
	            if 0 < Marked[i][4].Value then
3205
	              Marked[i][4].Value = Marked[i][4].Value - 1
3206
	            end
3207
	            if MarkedGUI[i][2].Parent ~= nil then
3208
	              if Marked[i][3].Value == 0 then
3209
	                MarkedGUI[i][2].Image = "rbxassetid://333659455"
3210
	              else
3211
	                if Marked[i][3].Value == 1 then
3212
	                  MarkedGUI[i][2].Image = "rbxassetid://333659455"
3213
	                else
3214
	                  if Marked[i][3].Value == 2 then
3215
	                    MarkedGUI[i][2].Image = "rbxassetid://333659455"
3216
	                  else
3217
	                    if Marked[i][3].Value == 3 then
3218
	                      MarkedGUI[i][2].Image = "rbxassetid://333659455"
3219
	                    else
3220
	                      if Marked[i][3].Value == 4 then
3221
	                        MarkedGUI[i][2].Image = "rbxassetid://333659455"
3222
	                      else
3223
	                        if Marked[i][3].Value == 5 then
3224
	                          MarkedGUI[i][2].Image = "rbxassetid://333659455"
3225
	                        else
3226
	                          if Marked[i][3].Value == 6 then
3227
	                            MarkedGUI[i][2].Image = "rbxassetid://333659455"
3228
	                          else
3229
	                            if Marked[i][3].Value == 7 then
3230
	                              MarkedGUI[i][2].Image = "rbxassetid://333659455"
3231
	                            else
3232
	                              if Marked[i][3].Value == 8 then
3233
	                                MarkedGUI[i][2].Image = "rbxassetid://333659455"
3234
	                              else
3235
	                                if Marked[i][3].Value == 9 then
3236
	                                  MarkedGUI[i][2].Image = "rbxassetid://333659455"
3237
	                                else
3238
	                                  if Marked[i][3].Value == 10 then
3239
	                                    MarkedGUI[i][2].Image = "rbxassetid://333659455"
3240
	                                  end
3241
	                                end
3242
	                              end
3243
	                            end
3244
	                          end
3245
	                        end
3246
	                      end
3247
	                    end
3248
	                  end
3249
	                end
3250
	              end
3251
	            end
3252
	          end
3253
	          if Marked[i][2] ~= nil then
3254
	            Marked[i][2].Value = Marked[i][2].Value - 1
3255
	            if Marked[i][2].Value <= 0 then
3256
	              Marked[i][1].Parent = nil
3257
	              MarkedGUI[i][1].Parent = nil
3258
	              table.remove(MarkedGUI, i)
3259
	              table.remove(Marked, i)
3260
	            end
3261
	          end
3262
	        end
3263
	      end
3264
	    end
3265
	    scarfp2.CFrame = cf(RootPart.Position, testpart.Position) * cf(0, 0, 0)
3266
	    scarfp2.CFrame = scarfp2.CFrame + scarfp2.CFrame.lookVector * 0.5
3267
	    scarfp2.CFrame = scarfp2.CFrame * cf(0, 0, 0) * euler(1.57, 0, 0)
3268
	    testpart.CFrame = cf(RootPart.Position - RootPart.Velocity) * cf(0, 1, 0)
3269
	    if invisible == true then
3270
	      addpassive = addpassive + 1
3271
	      for i = 1, 1 do
3272
	        MagicCircle2(BrickColor.new("Black"), scarfp2.CFrame * euler(0, 0, math.rad(180)) * cf(math.random(-300, 300) / 100, math.random(-200, 200) / 100, math.random(-300, 300) / 100), 1.5, 10, 1.5, -0.2, 1, -0.2, 0.2)
3273
	      end
3274
	      if 50 <= addpassive then
3275
	        addpassive = 0
3276
	        for _,c in pairs(workspace:children()) do
3277
	          local hum = (c:findFirstChild("Humanoid"))
3278
	          if hum ~= nil then
3279
	            local head = nil
3280
	            for _,d in pairs(c:children()) do
3281
	              if d.Name == "HumanoidRootPart" then
3282
	                local targ = d.Position - RootPart.Position
3283
	                local mag = targ.magnitude
3284
	                if mag <= 60 and c.Name ~= Player.Name then
3285
	                  mark = d.Parent:findFirstChild("Mark")
3286
	                  if mark ~= nil then
3287
	                    if (mark:findFirstChild("MarkTime")) ~= nil then
3288
	                      mark.MarkTime.Value = 500
3289
	                    end
3290
	                    if (mark:findFirstChild("MarkValue")) ~= nil then
3291
	                      if (mark:findFirstChild("MarkSize")) ~= nil then
3292
	                        mark.MarkSize.Value = 5
3293
	                      end
3294
	                      if mark.MarkValue.Value < 10 then
3295
	                        mark.MarkValue.Value = mark.MarkValue.Value + 1
3296
	                      end
3297
	                    end
3298
	                  end
3299
	                end
3300
	              end
3301
	            end
3302
	          end
3303
	        end
3304
	      end
3305
	    end
3306
	    do
3307
	      pursuitnum = pursuitnum + 1
3308
	      if 13 <= passivenum and 150 < pursuitnum and 0 < invisnum.Value then
3309
	        invisnum.Value = invisnum.Value - 1
3310
	        passivenum = 0
3311
	      end
3312
	      if 8 <= passivenum and invisible == true then
3313
	        invisnum.Value = invisnum.Value - 1
3314
	        pursuitnum = 0
3315
	        passivenum = 0
3316
	      end
3317
	      if 100 <= invisnum.Value then
3318
	        invisnum.Value = 100
3319
	      end
3320
	      if invisible == true and invisnum.Value <= 0 then
3321
	        Invisibility()
3322
	      end
3323
	      passivenum = passivenum + 1
3324
	      if Stagger.Value == true and staggeranim == false then
3325
	        coroutine.resume(coroutine.create(function()
3326
	  staggeranim = true
3327
	  while attack == true do
3328
	    swait()
3329
	  end
3330
	  StaggerAnim()
3331
	  StaggerHit.Value = false
3332
	  Stagger.Value = false
3333
	  staggeranim = false
3334
	end))
3335
	      end
3336
	      if StaggerHit.Value == true and staggeranim == false then
3337
	        coroutine.resume(coroutine.create(function()
3338
	  staggeranim = true
3339
	  while attack == true do
3340
	    swait()
3341
	  end
3342
	  StaggerHitt()
3343
	  StaggerHit.Value = false
3344
	  Stagger.Value = false
3345
	  staggeranim = false
3346
	end))
3347
	      end
3348
	      if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
3349
	        Humanoid.WalkSpeed = 0
3350
	      else
3351
	        Humanoid.WalkSpeed = 16 * Mvmt.Value
3352
	      end
3353
	      if StunT.Value <= Stun.Value and stunanim == false then
3354
	        coroutine.resume(coroutine.create(function()
3355
	  stunanim = true
3356
	  while attack == true do
3357
	    swait()
3358
	  end
3359
	  StunAnim()
3360
	  Stun.Value = 0
3361
	  stunanim = false
3362
	end))
3363
	      end
3364
	      local stunnum2 = 30
3365
	      if stunnum2 <= stunnum then
3366
	        if 0 < Stun.Value then
3367
	          Stun.Value = Stun.Value - 1
3368
	        end
3369
	        stunnum = 0
3370
	      end
3371
	      stunnum = stunnum + 1
3372
	      if 0.5 <= donum then
3373
	        handidle = true
3374
	      else
3375
	        if donum <= 0 then
3376
	          handidle = false
3377
	        end
3378
	      end
3379
	      if handidle == false then
3380
	        donum = donum + 0.003
3381
	      else
3382
	        donum = donum - 0.003
3383
	      end
3384
	      local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
3385
	      local velderp = RootPart.Velocity.y
3386
	      hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
3387
	      if equipped == true then
3388
	        if attack == false then
3389
	          idle = idle + 1
3390
	        else
3391
	          idle = 0
3392
	        end
3393
	        if (500 <= idle and attack ~= false) or Anim == "Walk" then
3394
	          if walkforw == true then
3395
	            RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
3396
	            LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
3397
	          else
3398
	            RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
3399
	            LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
3400
	          end
3401
	        else
3402
	          RH.C1 = clerp(RH.C1, RHC1, 0.2)
3403
	          LH.C1 = clerp(LH.C1, LHC1, 0.2)
3404
	        end
3405
	        if 1 < RootPart.Velocity.y and hitfloor == nil then
3406
	          Anim = "Jump"
3407
	          if attack == false then
3408
	            handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2)
3409
	            wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.1), 0.2)
3410
	            Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
3411
	            RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3412
	            RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.5, 0, 0.5), 0.2)
3413
	            RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3414
	            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -0.2), 0.2)
3415
	            LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3416
	            RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
3417
	            LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
3418
	          end
3419
	        else
3420
	          if RootPart.Velocity.y < -1 and hitfloor == nil then
3421
	            Anim = "Fall"
3422
	            if attack == false then
3423
	              handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2)
3424
	              wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.1), 0.2)
3425
	              Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
3426
	              RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3427
	              RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1), 0.2)
3428
	              RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3429
	              LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2), 0.2)
3430
	              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3431
	              RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
3432
	              LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
3433
	            end
3434
	          else
3435
	            if torvel < 1 and hitfloor ~= nil then
3436
	              Anim = "Idle"
3437
	              if attack == false then
3438
	                handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2)
3439
	                wld1.C0 = clerp(wld1.C0, euler(0, -0.4 - (donum) / 2, 0) * cf(0, -2, 0) * euler(1, 0, 0), 0.2)
3440
	                Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.2, 0, 0), 0.15)
3441
	                RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 1), 0.15)
3442
	                RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.3 - (donum) / 4, 0, 0.5 - (donum) / 4), 0.15)
3443
	                RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
3444
	                LW.C0 = clerp(LW.C0, cf(-1.3 - (donum) / 3, 0.5, -0.4 + (donum) / 3) * euler(0.7 + (donum) / 6, 0, 0.4 + (donum) / 6) * euler(0, -1.57, 0), 0.15)
3445
	                LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
3446
	                RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, -0.5, 0.2), 0.15)
3447
	                LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0.2), 0.15)
3448
	              end
3449
	            else
3450
	              if 2 < torvel and torvel < 30 and hitfloor ~= nil then
3451
	                Anim = "Walk"
3452
	                walk = walk + 1
3453
	                if 15 - 5 * Mvmt.Value <= walk then
3454
	                  walk = 0
3455
	                  if walkforw == true then
3456
	                    walkforw = false
3457
	                  else
3458
	                    if walkforw == false then
3459
	                      walkforw = true
3460
	                    end
3461
	                  end
3462
	                end
3463
	                if attack == false then
3464
	                  handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2)
3465
	                  wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.3), 0.2)
3466
	                  Neck.C0 = clerp(Neck.C0, necko * euler(0.2 - (donum) / 5, 0, 0), 0.2)
3467
	                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3468
	                  RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3 + (donum) / 3, 0, 0.5 - (donum) / 3), 0.2)
3469
	                  RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3470
	                  LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2 + (donum) / 3, 0, -0.4 + (donum) / 3), 0.2)
3471
	                  LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3472
	                  RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.2)
3473
	                  LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.2)
3474
	                end
3475
	              else
3476
	                if 30 <= torvel and hitfloor ~= nil then
3477
	                  Anim = "Walk"
3478
	                  walk = walk + 1
3479
	                  if 15 - 5 * Mvmt.Value <= walk then
3480
	                    walk = 0
3481
	                    if walkforw == true then
3482
	                      walkforw = false
3483
	                    else
3484
	                      if walkforw == false then
3485
	                        walkforw = true
3486
	                      end
3487
	                    end
3488
	                  end
3489
	                  if attack == false then
3490
	                    handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.2)
3491
	                    wld1.C0 = clerp(wld1.C0, cf(0, -2, 0) * euler(0.3, 0, -0.3), 0.2)
3492
	                    Neck.C0 = clerp(Neck.C0, necko * euler(0.2 - (donum) / 5, 0, 0), 0.2)
3493
	                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3494
	                    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3 + (donum) / 3, 0, 0.5 - (donum) / 3), 0.2)
3495
	                    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3496
	                    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2 + (donum) / 3, 0, -0.4 + (donum) / 3), 0.2)
3497
	                    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3498
	                    RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.2)
3499
	                    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.2)
3500
	                  end
3501
	                end
3502
	              end
3503
	            end
3504
	          end
3505
	        end
3506
	      end
3507
	      if 0 < #Effects then
3508
	        for e = 1, #Effects do
3509
	          if Effects[e] ~= nil then
3510
	            local Thing = Effects[e]
3511
	            if Thing ~= nil then
3512
	              local Part = Thing[1]
3513
	              local Mode = Thing[2]
3514
	              local Delay = Thing[3]
3515
	              local IncX = Thing[4]
3516
	              local IncY = Thing[5]
3517
	              local IncZ = Thing[6]
3518
	              if Thing[2] == "CylinderClang" then
3519
	                if Thing[3] <= 1 then
3520
	                  Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3521
	                  Thing[7] = Thing[1].CFrame
3522
	                  effect("New Yeller", 0, Thing[8], Thing[7])
3523
	                  Thing[8] = Thing[7]
3524
	                  Thing[3] = Thing[3] + Thing[4]
3525
	                else
3526
	                  Part.Parent = nil
3527
	                  table.remove(Effects, e)
3528
	                end
3529
	              end
3530
	              if Thing[2] == "showDamage" then
3531
	                if Thing[6] < Thing[5] then
3532
	                  Thing[6] = Thing[6] + 1
3533
	                else
3534
	                  if Thing[6] < Thing[7] then
3535
	                    Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
3536
	                    Thing[6] = Thing[6] + 1
3537
	                  else
3538
	                    if Thing[6] < Thing[8] then
3539
	                      Thing[6] = Thing[6] + 1
3540
	                    else
3541
	                      if Thing[6] < Thing[9] then
3542
	                        Thing[6] = Thing[6] + 1
3543
	                        Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
3544
	                        Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
3545
	                        Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
3546
	                      else
3547
	                        Thing[1].Parent = nil
3548
	                        table.remove(Effects, e)
3549
	                      end
3550
	                    end
3551
	                  end
3552
	                end
3553
	              end
3554
	              if Thing[2] == "PartiEmi" then
3555
	                Thing[3] = Thing[3] - 1
3556
	                if Thing[3] <= 0 then
3557
	                  Thing[1].Enabled = false
3558
	                  table.remove(Effects, e)
3559
	                end
3560
	              end
3561
	              if Thing[2] == "AdjuEff" then
3562
	                if 0 < Thing[3] then
3563
	                  Thing[3] = Thing[3] - 1
3564
	                  Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
3565
	                  Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
3566
	                  Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
3567
	                else
3568
	                  Thing[1].Parent = nil
3569
	                  table.remove(Effects, e)
3570
	                end
3571
	              end
3572
	              if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then
3573
	                if Thing[1].Transparency <= 1 then
3574
	                  if Thing[2] == "Block1" then
3575
	                    Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3576
	                    Mesh = Thing[7]
3577
	                    Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3578
	                    Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3579
	                  else
3580
	                    if Thing[2] == "Block2" then
3581
	                      Thing[1].CFrame = Thing[1].CFrame
3582
	                      Mesh = Thing[7]
3583
	                      Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3584
	                      Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3585
	                    else
3586
	                      if Thing[2] == "Block3" then
3587
	                        Thing[9] = Thing[9] + 0.5
3588
	                        Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
3589
	                        Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3590
	                        Mesh = Thing[7]
3591
	                        Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3592
	                        Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3593
	                      else
3594
	                        if Thing[2] == "Skull" then
3595
	                          Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
3596
	                          Mesh = Thing[7]
3597
	                          Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3598
	                          Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3599
	                        else
3600
	                          if Thing[2] == "Cylinder" then
3601
	                            Mesh = Thing[7]
3602
	                            Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3603
	                            Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3604
	                          else
3605
	                            if Thing[2] == "Cylinder2" then
3606
	                              Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
3607
	                              Mesh = Thing[7]
3608
	                              Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3609
	                              Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3610
	                            else
3611
	                              if Thing[2] == "Blood" then
3612
	                                Mesh = Thing[7]
3613
	                                Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
3614
	                                Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
3615
	                                Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3616
	                              else
3617
	                                if Thing[2] == "Elec" then
3618
	                                  Mesh = Thing[10]
3619
	                                  Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
3620
	                                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3621
	                                else
3622
	                                  if Thing[2] == "Disappear" then
3623
	                                    Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3624
	                                  end
3625
	                                end
3626
	                              end
3627
	                            end
3628
	                          end
3629
	                        end
3630
	                      end
3631
	                    end
3632
	                  end
3633
	                else
3634
	                  Part.Parent = nil
3635
	                  table.remove(Effects, e)
3636
	                end
3637
	              end
3638
	            end
3639
	          end
3640
	        end
3641
	      end
3642
	      do
3643
	        fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
3644
	        fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
3645
	        fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
3646
	        fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
3647
	        fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
3648
	        fenbarblock2:TweenSize((UDim2.new(0.4, 0, -4 * invisnum.Value / 100, 0)), nil, 1, 0.4, true)
3649
	        fenbarblock3.Text = "Power(" .. invisnum.Value .. ")"
3650
	        fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
3651
	        fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
3652
	        fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
3653
	        fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
3654
	        for _,c in pairs(Decrease:children()) do
3655
	          if (c:findFirstChild("Duration")) ~= nil then
3656
	            c.Duration.Value = c.Duration.Value - 1
3657
	            if c.Duration.Value <= 0 then
3658
	              c.Parent = nil
3659
	            end
3660
	          end
3661
	          if c.Name == "DecreaseAtk" then
3662
	            decreaseatk = decreaseatk + c.Value
3663
	          else
3664
	            if c.Name == "DecreaseDef" then
3665
	              decreasedef = decreasedef + c.Value
3666
	            else
3667
	              if c.Name == "DecreaseMvmt" then
3668
	                decreasemvmt = decreasemvmt + c.Value
3669
	              end
3670
	            end
3671
	          end
3672
	        end
3673
	        Atk.Value = 1 - (decreaseatk)
3674
	        if Atk.Value <= 0 then
3675
	          Atk.Value = 0
3676
	        end
3677
	        Def.Value = 1 - (decreasedef)
3678
	        if Def.Value <= 0 then
3679
	          Def.Value = 0.01
3680
	        end
3681
	        Mvmt.Value = 1 - (decreasemvmt)
3682
	        if Mvmt.Value <= 0 then
3683
	          Mvmt.Value = 0
3684
	        end
3685
	        decreaseatk = 0
3686
	        decreasedef = 0
3687
	        decreasemvmt = 0
3688
	        AtkVal = Atk.Value * 100
3689
	        AtkVal = math.floor(AtkVal)
3690
	        AtkVal = AtkVal / 100
3691
	        fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
3692
	        DefVal = Def.Value * 100
3693
	        DefVal = math.floor(DefVal)
3694
	        DefVal = DefVal / 100
3695
	        fenbardef.Text = "Defense\n(" .. DefVal .. ")"
3696
	        MvmtVal = Mvmt.Value * 100
3697
	        MvmtVal = math.floor(MvmtVal)
3698
	        MvmtVal = MvmtVal / 100
3699
	        if Rooted.Value == true then
3700
	          MvmtVal = 0
3701
	        end
3702
	        fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
3703
	        if StunT.Value <= Stun.Value then
3704
	          fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
3705
	        else
3706
	          fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
3707
	        end
3708
	        fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
3709
	        if 100 <= mana.Value then
3710
	          mana.Value = 100
3711
	        else
3712
	          if mananum <= 12 then
3713
	            mananum = mananum + 1
3714
	          else
3715
	            mananum = 0
3716
	            mana.Value = mana.Value + 100
3717
	          end
3718
	        end
3719
	        for i = 1, #cooldowns do
3720
	          if cooldownmax <= cooldowns[i] then
3721
	            cooldowns[i] = cooldownmax
3722
	          else
3723
	            cooldowns[i] = cooldowns[i] + cooldownsadd[i]
3724
	          end
3725
	        end
3726
	        -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
3727
	
3728
	        -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
3729
	
3730
	        -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
3731
	
3732
	      end
3733
	    end
3734
	  end
3735
	end