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