View difference between Paste ID: PLsHcKuz and amH5gsLw
SHOW: | | - or go back to the newest paste.
1
Player = game:GetService("Players").LocalPlayer
2
Character = Player.Character
3
PlayerGui = Player.PlayerGui
4
Backpack = Player.Backpack
5
Torso = Character.Torso
6
Head = Character.Head
7
Humanoid = Character.Humanoid
8
LeftArm = Character["Left Arm"]
9
LeftLeg = Character["Left Leg"]
10
RightArm = Character["Right Arm"]
11
RightLeg = Character["Right Leg"]
12
LS = Torso["Left Shoulder"]
13
LH = Torso["Left Hip"]
14
RS = Torso["Right Shoulder"]
15
RH = Torso["Right Hip"]
16
Neck = Torso.Neck
17
it = Instance.new
18
vt = Vector3.new
19
cf = CFrame.new
20
euler = CFrame.fromEulerAnglesXYZ
21
angles = CFrame.Angles
22
mr = math.rad
23
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
24
necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
25
LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
26
LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
27
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
28
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
29
RootPart = Character.HumanoidRootPart
30
RootJoint = RootPart.RootJoint
31
RootCF = euler(-1.57, 0, 3.14)
32
attack = false
33
attackdebounce = false
34
Mouse = Player:GetMouse()
35
combo = 0
36
local hitfloor, posfloor = nil, nil
37
local idle = 0
38
local Anim = "Idle"
39
local Effects = {}
40
local Weapon = {}
41
local Welds = {}
42
local Claw = {}
43
local nClaw = {}
44
local D1Welds = {}
45
local D2Welds = {}
46
local D3Welds = {}
47
local HWelds = {}
48
local FStacks = {}
49
local dattack = false
50
local drakes = 0
51
local Frost = 0
52
local Mode = "Drakes"
53
local decreaseatk = 0
54
local decreasedef = 0
55
local decreasemvmt = 0
56
local prt1 = nil
57
local freeze = false
58
local breakfreeze = false
59
local dryice = false
60
local move1 = "(Z)\nCold Front"
61
local move2 = "(X)\nFrostfang"
62
local move3 = "(C)\nDry Ice"
63
local move4 = "(V)\nSavage Wrath"
64
local Stats = Instance.new("BoolValue")
65
Stats.Name = "Stats"
66
Stats.Parent = Character
67
local RecentEnemy = Instance.new("ObjectValue")
68
RecentEnemy.Name = "RecentEnemy"
69
RecentEnemy.Parent = Stats
70
RecentEnemy.Value = nil
71
local Mvmt = Instance.new("NumberValue")
72
Mvmt.Name = "Movement"
73
Mvmt.Parent = Stats
74
Mvmt.Value = 1
75
local Rooted = Instance.new("BoolValue")
76
Rooted.Name = "Rooted"
77
Rooted.Parent = Stats
78
Rooted.Value = false
79
player = nil
80
RSH = nil
81
RW = Instance.new("Motor")
82
LW = Instance.new("Motor")
83
RW.Name = "Right Shoulder"
84
LW.Name = "Left Shoulder"
85
LH = Torso["Left Hip"]
86
RH = Torso["Right Hip"]
87
TorsoColor = Torso.BrickColor
88
NewCol = BrickColor.new("Really black").Color
89-
NewCol2 = BrickColor.new("Pastel light blue").Color
89+
NewCol2 = BrickColor.new("Really red").Color
90-
NewCol3 = BrickColor.new("Medium blue").Color
90+
NewCol3 = BrickColor.new("Really red").Color
91-
NewCol3aa = BrickColor.new("Medium blue").Color
91+
NewCol3aa = BrickColor.new("Really red").Color
92-
NewCol4 = BrickColor.new("Cyan").Color
92+
NewCol4 = BrickColor.new("Really red").Color
93-
NewCol5 = BrickColor.new("Lily white").Color
93+
NewCol5 = BrickColor.new("Really black").Color
94-
NewCol6 = BrickColor.new("Bright blue").Color
94+
NewCol6 = BrickColor.new("Really black").Color
95
if Player:findFirstChild("Color1") ~= nil then
96
  NewCol5 = Player.Color1.Value
97
end
98
local canjump = true
99
removeControl = function()
100
  canjump = false
101
end
102
103
resumeControl = function()
104
  canjump = true
105
end
106
107
Player.Character.Humanoid.Changed:connect(function()
108
  if canjump == false then
109
    Player.Character.Humanoid.Jump = false
110
  end
111
end
112
)
113
ArtificialHB = Instance.new("BindableEvent", script)
114
ArtificialHB.Name = "Heartbeat"
115
116
script:WaitForChild("Heartbeat")
117
118
frame = 1 / 60
119
tf = 0
120
allowframeloss = false
121
tossremainder = false
122
lastframe = tick()
123
script.Heartbeat:Fire()
124
125
game:GetService("RunService").Heartbeat:connect(function(s, p)
126
    tf = tf + s
127
    if tf >= frame then
128
        if allowframeloss then
129
            script.Heartbeat:Fire()
130
            lastframe = tick()
131
        else
132
            for i = 1, math.floor(tf / frame) do
133
                script.Heartbeat:Fire()
134
            end
135
            lastframe = tick()
136
        end
137
        if tossremainder then
138
            tf = 0
139
        else
140
            tf = tf - frame * math.floor(tf / frame)
141
        end
142
    end
143
end)
144
145
function swait(num)
146
    if num == 0 or num == nil then
147
        ArtificialHB.Event:wait()
148
    else
149
        for i = 0, num do
150
            ArtificialHB.Event:wait()
151
        end
152
    end
153
end
154
155
156
NoOutline = function(Part)
157
  Part.TopSurface = 10
158
end
159
160
part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
161
  local fp = it("Part")
162
  fp.formFactor = formfactor
163
  fp.Parent = parent
164
  fp.Reflectance = reflectance
165
  fp.Transparency = transparency
166
  fp.CanCollide = false
167
  fp.Locked = true
168
  fp.BrickColor = brickcolor
169
  fp.Name = name
170
  fp.Size = size
171
  fp.Position = Torso.Position
172
  NoOutline(fp)
173
  fp.Material = "SmoothPlastic"
174
  fp:BreakJoints()
175
  return fp
176
end
177
178
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
179
  local mesh = it(Mesh)
180
  mesh.Parent = part
181
  if Mesh == "SpecialMesh" then
182
    mesh.MeshType = meshtype
183
    if meshid ~= "nil" then
184
      mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
185
    end
186
  end
187
  mesh.Offset = offset
188
  mesh.Scale = scale
189
  return mesh
190
end
191
192
weld = function(parent, part0, part1, c0)
193
  local weld = it("Motor")
194
  weld.Parent = parent
195
  weld.Part0 = part0
196
  weld.Part1 = part1
197
  weld.C0 = c0
198
  return weld
199
end
200
201
AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
202
  prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
203
  prt.Material = neon
204
  msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
205
  wld = weld(prt1, prt, wldpar, ceef)
206
  v = it("NumberValue", prt)
207
  v.Value = trans
208
  v.Name = "MainTransparency"
209
  return prt, msh, wld
210
end
211
212
local nr = NumberRange.new
213
local ns = NumberSequence.new
214
local cs = ColorSequence.new
215
local nsk = NumberSequenceKeypoint.new
216
217
particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
218
  local fp = it("ParticleEmitter")
219
  fp.Parent = parent
220
  fp.Color = cs(col1, col2)
221
  fp.LightEmission = lightemis
222
  fp.Size = size
223
  fp.Texture = texture
224
  fp.Transparency = transparency
225
  fp.ZOffset = zoffset
226
  fp.Acceleration = accel
227
  fp.Drag = drag
228
  fp.LockedToPart = ltp
229
  fp.VelocityInheritance = velinher
230
  fp.EmissionDirection = emisdir
231
  fp.Enabled = enabled
232
  fp.Lifetime = lifetime
233
  fp.Rate = rate
234
  fp.Rotation = rotation
235
  fp.RotSpeed = rotspeed
236
  fp.Speed = speed
237
  fp.VelocitySpread = velspread
238
  return fp
239
end
240
241
242
local modelzorz = Instance.new("Model")
243
modelzorz.Parent = Character
244
modelzorz.Name = "Drake Claw"
245
local handle = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Handle", vt())
246
prt1 = part(3, modelzorz, 0, 0, BrickColor.new("Black"), "Part01", vt())
247
msh1 = mesh("BlockMesh", prt1, "", "", vt(0, 0, 0), vt(5.25, 5, 5.25))
248
local handlewld = weld(handle, handle, RightArm, euler(0, 0, 0) * cf(0, 0, 0))
249
local wld1 = weld(prt1, prt1, handle, cf(0, 0, 0) * euler(0, 0, 0))
250
prt4, msh4, wld4 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part04", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 3, 0.75, 1.5, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.575, -0.825, 0))
251
prt5, msh5, wld5 = AesthPart(modelzorz, prt1, 0, 0, "Really black", "Part05", "Metal", "SpecialMesh", "Sphere", "nil", 0.475, 0.15, 0.675, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
252
prt6, msh6, wld6 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part06", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 0.25, 0.6, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
253
prt9, msh9, wld9 = AesthPart(modelzorz, prt1, 0.3, 0, NewCol2, "Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "19251107", 0.1, 0.1, 0.1, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, 0))
254
prt12, msh12, wld12 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part12", "SmoothPlastic", "BlockMesh", "nil", "nil", 5.25, 4, 1, euler(0, mr(90), 0) * cf(-0.6, 0.375, 0))
255
prt13, msh13, wld13 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part13", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 4, 3.05, 0.475, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.601, -0.316, 0))
256
prt14, msh14, wld14 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part14", "SmoothPlastic", "BlockMesh", "nil", "nil", 2.5, 5, 1, euler(0, mr(90), 0) * euler(0, 0, -mr(10)) * cf(-0.676, -0.162, 0))
257
prt15, msh15, wld15 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part15", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(80)) * euler(0, 0, 0) * cf(-0.799, -0.184, 0.125))
258
prt16, msh16, wld16 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol3, "Part16", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5, 0.25, 1.25, euler(0, 0, mr(100)) * euler(mr(180), 0, 0) * cf(-0.799, -0.184, -0.125))
259
prt17, msh17, wld17 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part17", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 4.5, 4.5, 0.4, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.55, -0.475, 0))
260
prt18, msh18, wld18 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part18", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.25, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.525, 0.875, 0))
261
prt19, msh19, wld19 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part19", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 5.25, 1, 0.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.65, 0.875, 0))
262
prt20, msh20, wld20 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part20", "SmoothPlastic", "BlockMesh", "nil", "nil", 5.25, 1, 0.25, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.575, 0.875, 0))
263
prt21, msh21, wld21 = AesthPart(modelzorz, prt1, 0, 0, "Black", "Part21", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 1.25, 1.5, 1.25, euler(mr(180), 0, 0) * euler(0, 0, 0) * cf(-0.675, 0.975, 0))
264
prt24, msh24, wld24 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part24", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 3.5, 2.5, 1.5, euler(0, mr(90), 0) * euler(mr(180), 0, 0) * cf(-0.7, 0.575, 0))
265
prt25, msh25, wld25 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part25", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.5, 0.3, 1.2, euler(mr(90), mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.945, 0.378, 0))
266
prt26, msh26, wld26 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part26", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.625, 0.4, 0.5, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.845, 0.428, 0))
267
prt27, msh27, wld27 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol5, "Part27", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.525, 0.3, 0.75, euler(mr(90), mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.73, 0.174, 0))
268
prt28, msh28, wld28 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part28", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
269
prt29, msh29, wld29 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part29", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(95.221), mr(113.261)) * euler(0, mr(-19.53), 0) * cf(-1.058, 0.687, 0.252))
270
prt30, msh30, wld30 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part30", "Metal", "SpecialMesh", "Sphere", "nil", 0.6, 0.125, 0.85, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
271
prt31, msh31, wld31 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part31", "Neon", "SpecialMesh", "Sphere", "nil", 0.5, 0.25, 0.75, euler(0, mr(84.779), mr(113.261)) * euler(0, mr(19.53), 0) * cf(-1.058, 0.687, -0.252))
272
prt32, msh32, wld32 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part32", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
273
prt33, msh33, wld33 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part33", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(94.208), mr(114.079)) * euler(0, mr(-24.666), 0) * cf(-1.093, 0.693, 0.137))
274
prt34, msh34, wld34 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part34", "Metal", "SpecialMesh", "Sphere", "nil", 0.275, 0.1, 0.475, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
275
prt35, msh35, wld35 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part35", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.25, 0.4, euler(0, mr(85.792), mr(114.079)) * euler(0, mr(24.666), 0) * cf(-1.093, 0.693, -0.137))
276
for i = -0.225, 0.226, 0.45 do
277
  prt36, msh36, wld36 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol6, "Part36", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.225, 0.225, 0.225, euler(0, 0, mr(-10)) * euler(0, 0, 0) * cf(-0.729, 0.85, i))
278
  prt37, msh37, wld37 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part37", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.7, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(-10)) * cf(-0.751, 0.973, i))
279
  prt38, msh38, wld38 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part38", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.7, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(170)) * cf(-0.799, 1.244, i))
280
  prt39, msh39, wld39 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part39", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.6, 1.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(0)) * cf(-0.772, 1.239, i))
281
  prt40, msh40, wld40 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part40", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.6, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(180)) * cf(-0.772, 1.514, i))
282
  prt41, msh41, wld41 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part41", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.5, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(10)) * cf(-0.738, 1.559, i))
283
  prt42, msh42, wld42 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part42", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.5, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(190)) * cf(-0.682, 1.879, i))
284
  prt43, msh43, wld43 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part43", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.4, 2.5, 1, euler(0, mr(90), 0) * euler(0, 0, mr(20)) * cf(-0.624, 1.939, i))
285
  prt44, msh44, wld44 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part44", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.4, 1.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(200)) * cf(-0.496, 2.291, i))
286
  prt45, msh45, wld45 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part45", "SmoothPlastic", "BlockMesh", "nil", "nil", 0.3, 2, 1, euler(0, mr(90), 0) * euler(0, 0, mr(35)) * cf(-0.428, 2.307, i))
287
  prt46, msh46, wld46 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol2, "Part46", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 0.3, 2.25, 1, euler(0, mr(-90), 0) * euler(0, 0, mr(215)) * cf(-0.184, 2.655, i))
288
  table.insert(Claw, prt37)
289
  table.insert(Claw, prt38)
290
  table.insert(Claw, prt39)
291
  table.insert(Claw, prt40)
292
  table.insert(Claw, prt41)
293
  table.insert(Claw, prt42)
294
  table.insert(Claw, prt43)
295
  table.insert(Claw, prt44)
296
  table.insert(Claw, prt45)
297
  table.insert(Claw, prt46)
298
end
299
for i = 1, #Claw do
300
  Claw[i].Transparency = 1
301
end
302
for i = -0.425, 0.426, 0.85 do
303
  local prt22, msh22, wld22 = AesthPart(modelzorz, prt1, 0.2, 0, NewCol2, "Part22", "SmoothPlastic", "BlockMesh", "nil", "nil", 1.01, 3.001, 0.26, euler(0, mr(90), 0) * euler(0, 0, 0) * cf(-0.675, 0.275, i))
304
  local prt23, msh23, wld23 = AesthPart(modelzorz, prt1, 0.2, 0, NewCol2, "Part23", "SmoothPlastic", "SpecialMesh", "Wedge", "nil", 1.01, 1.01, 0.26, euler(0, mr(-90), 0) * euler(mr(180), 0, 0) * cf(-0.675, 0.675, i))
305
end
306
for i = -0.375, 0.376, 0.75 do
307
  local prt10, msh10, wld10 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol4, "Part10", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 2.25, 1, 1, euler(0, 0, mr(90)) * euler(0, 0, 0) * cf(-0.6, -0.75, i))
308
  local prt11, msh11, wld11 = AesthPart(modelzorz, prt1, 0.5, 0, NewCol4, "Part10", "SmoothPlastic", "SpecialMesh", "Torso", "nil", 5.25, 0.501, 1, euler(0, 0, mr(90)) * euler(0, 0, 0) * cf(-0.55, -0.45, i))
309
end
310
for i = -0.5, 0.5, 0.25 do
311
  local prt2, msh2, wld2 = AesthPart(modelzorz, prt1, 0, 0, NewCol, "Part02", "SmoothPlastic", "BlockMesh", "", "", 5.3, 0.5, 5.3, cf(0, i, 0))
312
end
313
for i = -0.65, 0.66 do
314
  local prt3, msh3, wld3 = AesthPart(modelzorz, prt1, 0.3, 0, NewCol2, "Part03", "SmoothPlastic", "BlockMesh", "", "", 5.5, 1.5, 5.5, cf(0, i, 0))
315
end
316
for i = -0.075, 0.076, 0.15 do
317
  local prt7, msh7, wld7 = AesthPart(modelzorz, prt1, 0, 0, "Really black", "Part07", "Metal", "SpecialMesh", "Sphere", "nil", 0.2, 0.1, 0.35, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, i))
318
  local prt8, msh8, wld8 = AesthPart(modelzorz, prt1, 0, 0, NewCol4, "Part08", "Neon", "SpecialMesh", "Sphere", "nil", 0.15, 0.2, 0.3, euler(mr(90), 0, 0) * euler(0, mr(90), 0) * cf(-0.65, -0.825, i))
319
end
320
local model2 = it("Model", Character)
321
model2.Name = "Drake1"
322
dprt1, dmsh1, dwld1 = AesthPart(model2, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
323
dprt2, dmsh2, dwld2 = AesthPart(model2, dprt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
324
dprt3, dmsh3, dwld3 = AesthPart(model2, dprt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
325
dprt4, dmsh4, dwld4 = AesthPart(model2, dprt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
326
dprt5, dmsh5, dwld5 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
327
dprt6, dmsh6, dwld6 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
328
dprt7, dmsh7, dwld7 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
329
dprt13, dmsh13, dwld13 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
330
dprt14, dmsh14, dwld14 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
331
dprt15, dmsh15, dwld15 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
332
dprt16, dmsh16, dwld16 = AesthPart(model2, dprt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
333
dprt17, dmsh17, dwld17 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
334
dprt18, dmsh18, dwld18 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
335
dprt19, dmsh19, dwld19 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
336
dprt20, dmsh20, dwld20 = AesthPart(model2, dprt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
337
table.insert(D1Welds, dwld1)
338
table.insert(D1Welds, dwld2)
339
table.insert(D1Welds, dwld3)
340
table.insert(D1Welds, dwld4)
341
table.insert(D1Welds, dwld5)
342
table.insert(D1Welds, dwld6)
343
table.insert(D1Welds, dwld7)
344
table.insert(D1Welds, dwld13)
345
table.insert(D1Welds, dwld14)
346
table.insert(D1Welds, dwld15)
347
table.insert(D1Welds, dwld16)
348
table.insert(D1Welds, dwld17)
349
table.insert(D1Welds, dwld18)
350
table.insert(D1Welds, dwld19)
351
table.insert(D1Welds, dwld20)
352
for i = -1, 1, 2 do
353
  dprt10, dmsh10, dwld10 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
354
  dprt11, dmsh11, dwld11 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
355
  dprt12, dmsh12, dwld12 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
356
  table.insert(D1Welds, dwld10)
357
  table.insert(D1Welds, dwld11)
358
  table.insert(D1Welds, dwld12)
359
end
360
for i = -1, 1, 2 do
361
  dprt8, dmsh8, dwld8 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
362
  dprt9, dmsh9, dwld9 = AesthPart(model2, dprt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
363
  table.insert(D1Welds, dwld8)
364
  table.insert(D1Welds, dwld9)
365
end
366
sizeseq = ns({nsk(0, 0), nsk(0.096, 1.5), nsk(0.602, 3), nsk(1, 10)})
367
transseq = ns({nsk(0, 0), nsk(0.05, 0.5), nsk(0.1, 1), nsk(1, 1)})
368
parti1 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 0, vt(0, -1, 0), 0, false, 0, "Back", true, nr(7, 7), 80, nr(-360, 360), nr(-30, 30), nr(5), 30)
369
sizeseq = ns({nsk(0, 0), nsk(0.054, 0.12), nsk(0.451, 0.12), nsk(1, 0.12)})
370
transseq = ns({nsk(0, 1), nsk(0.03, 1), nsk(0.1, 0.137), nsk(0.232, 1), nsk(1, 1)})
371
parti2 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=269030572", transseq, 0, vt(0, -35, 0), 0, false, 0, "Back", true, nr(1, 1.5), 80, nr(-360, 360), nr(-180, 180), nr(20), 25)
372
sizeseq = ns({nsk(0, 1), nsk(0.096, 2.5), nsk(0.3, 10), nsk(1, 10)})
373
transseq = ns({nsk(0, 0), nsk(0.05, 0.5), nsk(0.1, 1), nsk(1, 1)})
374
parti3 = particle(dprt2, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 1, vt(0, -0.5, 0), 0, false, 0, "Back", false, nr(7, 7), 80, nr(-360, 360), nr(-30, 30), nr(0), 30)
375
local model3 = it("Model", Character)
376
model3.Name = "Drake2"
377
d2prt1, d2msh1, d2wld1 = AesthPart(model3, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
378
d2prt2, d2msh2, d2wld2 = AesthPart(model3, d2prt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
379
d2prt3, d2msh3, d2wld3 = AesthPart(model3, d2prt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
380
d2prt4, d2msh4, d2wld4 = AesthPart(model3, d2prt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
381
d2prt5, d2msh5, d2wld5 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
382
d2prt6, d2msh6, d2wld6 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
383
d2prt7, d2msh7, d2wld7 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
384
d2prt13, d2msh13, d2wld13 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
385
d2prt14, d2msh14, d2wld14 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
386
d2prt15, d2msh15, d2wld15 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
387
d2prt16, d2msh16, d2wld16 = AesthPart(model3, d2prt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
388
d2prt17, d2msh17, d2wld17 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
389
d2prt18, d2msh18, d2wld18 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
390
d2prt19, d2msh19, d2wld19 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
391
d2prt20, d2msh20, d2wld20 = AesthPart(model3, d2prt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
392
table.insert(D2Welds, d2wld1)
393
table.insert(D2Welds, d2wld2)
394
table.insert(D2Welds, d2wld3)
395
table.insert(D2Welds, d2wld4)
396
table.insert(D2Welds, d2wld5)
397
table.insert(D2Welds, d2wld6)
398
table.insert(D2Welds, d2wld7)
399
table.insert(D2Welds, d2wld13)
400
table.insert(D2Welds, d2wld14)
401
table.insert(D2Welds, d2wld15)
402
table.insert(D2Welds, d2wld16)
403
table.insert(D2Welds, d2wld17)
404
table.insert(D2Welds, d2wld18)
405
table.insert(D2Welds, d2wld19)
406
table.insert(D2Welds, d2wld20)
407
for i = -1, 1, 2 do
408
  d2prt10, d2msh10, d2wld10 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
409
  d2prt11, d2msh11, d2wld11 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
410
  d2prt12, d2msh12, d2wld12 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
411
  table.insert(D2Welds, d2wld10)
412
  table.insert(D2Welds, d2wld11)
413
  table.insert(D2Welds, d2wld12)
414
end
415
for i = -1, 1, 2 do
416
  d2prt8, d2msh8, d2wld8 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
417
  d2prt9, d2msh9, d2wld9 = AesthPart(model3, d2prt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
418
  table.insert(D2Welds, d2wld8)
419
  table.insert(D2Welds, d2wld9)
420
end
421
d2parti1 = parti1:Clone()
422
d2parti1.Parent = d2prt2
423
d2parti2 = parti2:Clone()
424
d2parti2.Parent = d2prt2
425
d2parti3 = parti3:Clone()
426
d2parti3.Parent = d2prt2
427
local model4 = it("Model", Character)
428
model4.Name = "Drake3"
429
d3prt1, d3msh1, d3wld1 = AesthPart(model4, RootPart, 0, 0, NewCol2, "Drake Part01", "Neon", "SpecialMesh", "Sphere", "nil", 2.75, 2.75, 2.75, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 5))
430
d3prt2, d3msh2, d3wld2 = AesthPart(model4, d3prt1, 0, 0.2, NewCol2, "Drake Part02", "Neon", "SpecialMesh", "Sphere", "nil", 3, 3, 3, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
431
d3prt3, d3msh3, d3wld3 = AesthPart(model4, d3prt2, 0, 0.7, NewCol4, "Drake Part03", "Neon", "SpecialMesh", "Sphere", "nil", 3.5, 3.5, 3.5, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
432
d3prt4, d3msh4, d3wld4 = AesthPart(model4, d3prt2, 0, 0.9, NewCol4, "Drake Part04", "Neon", "SpecialMesh", "Sphere", "nil", 4, 4, 4, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, 0, 0))
433
d3prt5, d3msh5, d3wld5 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part05", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(0, 0, 0) * euler(0, 0, 0) * cf(0, -0.3, -0.35))
434
d3prt6, d3msh6, d3wld6 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part06", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-5), 0, 0) * euler(0, 0, 0) * cf(0, -0.172, -1.054))
435
d3prt7, d3msh7, d3wld7 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part07", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(20), 0, 0) * euler(0, 0, 0) * cf(0, -0.842, -0.355))
436
d3prt13, d3msh13, d3wld13 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part13", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
437
d3prt14, d3msh14, d3wld14 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part14", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
438
d3prt15, d3msh15, d3wld15 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part15", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
439
d3prt16, d3msh16, d3wld16 = AesthPart(model4, d3prt2, 0, 0, NewCol, "Drake Part16", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
440
d3prt17, d3msh17, d3wld17 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(-30.192)) * euler(0, mr(3.81), 0) * cf(0.244, -0.676, 0.395))
441
d3prt18, d3msh18, d3wld18 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part18", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(-35.792)) * euler(0, mr(12.017), 0) * cf(0.402, -0.656, 0.288))
442
d3prt19, d3msh19, d3wld19 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.9, 0.6, 1.3, euler(mr(34.252), 0, 0) * euler(0, 0, mr(30.192)) * euler(0, mr(-3.81), 0) * cf(-0.244, -0.676, 0.395))
443
d3prt20, d3msh20, d3wld20 = AesthPart(model4, d3prt2, 0, 0, NewCol4, "Drake Part20", "Neon", "SpecialMesh", "Sphere", "nil", 0.3, 0.3, 0.4, euler(mr(36.107), 0, 0) * euler(0, 0, mr(35.792)) * euler(0, mr(-12.017), 0) * cf(-0.402, -0.656, 0.288))
444
table.insert(D3Welds, d3wld1)
445
table.insert(D3Welds, d3wld3)
446
table.insert(D3Welds, d3wld2)
447
table.insert(D3Welds, d3wld4)
448
table.insert(D3Welds, d3wld5)
449
table.insert(D3Welds, d3wld6)
450
table.insert(D3Welds, d3wld7)
451
table.insert(D3Welds, d3wld13)
452
table.insert(D3Welds, d3wld14)
453
table.insert(D3Welds, d3wld15)
454
table.insert(D3Welds, d3wld16)
455
table.insert(D3Welds, d3wld17)
456
table.insert(D3Welds, d3wld18)
457
table.insert(D3Welds, d3wld19)
458
table.insert(D3Welds, d3wld20)
459
for i = -1, 1, 2 do
460
  d3prt10, d3msh10, d3wld10 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(mr(34.897), 0, 0) * euler(0, 0, mr(44.099) * i) * euler(0, mr(2.865) * i, 0) * cf(1.369 * i, 0.43, -1.182))
461
  d3prt11, d3msh11, d3wld11 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(mr(20.486), 0, 0) * euler(0, 0, mr(43.384) * i) * euler(0, mr(16.995) * i, 0) * cf(1.144 * i, 0.609, -0.593))
462
  d3prt12, d3msh12, d3wld12 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(mr(3.814), 0, 0) * euler(0, 0, mr(36.66) * i) * euler(0, mr(29.955) * i, 0) * cf(0.908 * i, 0.762, -0.022))
463
  table.insert(D3Welds, d3wld10)
464
  table.insert(D3Welds, d3wld11)
465
  table.insert(D3Welds, d3wld12)
466
end
467
for i = -1, 1, 2 do
468
  d3prt8, d3msh8, d3wld8 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(23.273), mr(-20.027 * i), mr(-95.696 * i)) * cf(0.903 * i, -0.554, -0.531))
469
  d3prt9, d3msh9, d3wld9 = AesthPart(model4, d3prt2, 0.5, 0, NewCol5, "Drake Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(mr(22.305), mr(-3.546 * i), mr(-101.084 * i)) * cf(0.836 * i, -0.195, -0.533))
470
  table.insert(D3Welds, d3wld8)
471
  table.insert(D3Welds, d3wld9)
472
end
473
d3parti1 = parti1:Clone()
474
d3parti1.Parent = d3prt2
475
d3parti2 = parti2:Clone()
476
d3parti2.Parent = d3prt2
477
d3parti3 = parti3:Clone()
478
d3parti3.Parent = d3prt2
479
model2.Parent = nil
480
model3.Parent = nil
481
model4.Parent = nil
482
dwld2.Part0 = dprt1
483
dwld2.Part1 = dprt2
484
d2wld2.Part0 = d2prt1
485
d2wld2.Part1 = d2prt2
486
d3wld2.Part0 = d3prt1
487
d3wld2.Part1 = d3prt2
488
local helm = it("Model", Character)
489
helm.Name = "Monarch"
490
Head.Transparency = 0
491
Head.face.Transparency = 0
492
for _,v in pairs(Character:children()) do
493
  if v.className == "Hat" then
494
    v.Handle.Transparency = 0
495
  end
496
end
497
mhead, mhmsh, mhwld = AesthPart(helm, Head, 0.5, 0, NewCol5, "Monarch Head", "Neon", "SpecialMesh", "Head", "nil", 5.5, 5.5, 5.5, euler(0, 0, 0) * cf(0, 0, 0))
498
mprt1, mmsh1, mwld1 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part01", "SmoothPlastic", "SpecialMesh", "FileMesh", "9253927", 0.9, 0.9, 0.9, euler(0, 0, 0) * cf(0, 0, 0))
499
mprt2, mmsh2, mwld2 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part02", "Metal", "SpecialMesh", "Sphere", "nil", 0.95, 1.8, 0.6, euler(0, 0, 0) * cf(0, -0.149, 0.558))
500
mprt3, mmsh3, mwld3 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part03", "Neon", "SpecialMesh", "Sphere", "nil", 0.8, 1.5, 0.9, euler(0, 0, 0) * cf(0, -0.149, 0.558))
501
mprt4, mmsh4, mwld4 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part04", "Metal", "SpecialMesh", "Sphere", "nil", 0.55, 1.2, 0.6, euler(0, mr(15), 0) * cf(-0.191, -0.149, 0.524))
502
mprt5, mmsh5, mwld5 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part05", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 1, 0.75, euler(0, mr(15), 0) * cf(-0.191, -0.149, 0.524))
503
mprt6, mmsh6, mwld6 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part06", "Metal", "SpecialMesh", "Sphere", "nil", 0.55, 1.2, 0.6, euler(0, mr(-15), 0) * cf(0.191, -0.149, 0.524))
504
mprt7, mmsh7, mwld7 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part07", "Neon", "SpecialMesh", "Sphere", "nil", 0.4, 1, 0.75, euler(0, mr(-15), 0) * cf(0.191, -0.149, 0.524))
505
mprt8, mmsh8, mwld8 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part08", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 1, 1, 1, euler(mr(-10), 0, 0) * cf(0, -0.063, -0.236))
506
mprt9, mmsh9, mwld9 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part09", "SmoothPlastic", "SpecialMesh", "FileMesh", "170786197", 0.8, 0.8, 1.5, euler(mr(-15), 0, 0) * cf(0, 0.185, -0.907))
507
mprt10, mmsh10, mwld10 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part10", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(mr(10), 0, 0) * cf(0, -0.596, -0.335))
508
mprt16, mmsh16, mwld16 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part16", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(29.252), 0, 0) * euler(0, 0, mr(-22.192)) * euler(0, mr(-3.81), 0) * cf(0.244, -0.563, 0.433))
509
mprt17, mmsh17, mwld17 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part17", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.6, 1.1, euler(mr(29.252), 0, 0) * euler(0, 0, mr(-22.192)) * euler(0, mr(-3.81), 0) * cf(0.244, -0.563, 0.433))
510
mprt18, mmsh18, mwld18 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part18", "Metal", "SpecialMesh", "Sphere", "nil", 1.05, 0.4, 1.4, euler(mr(29.252), 0, 0) * euler(0, 0, mr(22.192)) * euler(0, mr(3.81), 0) * cf(-0.244, -0.563, 0.433))
511
mprt19, mmsh19, mwld19 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part19", "Neon", "SpecialMesh", "Sphere", "nil", 0.2, 0.6, 1.1, euler(mr(29.252), 0, 0) * euler(0, 0, mr(22.192)) * euler(0, mr(3.81), 0) * cf(-0.244, -0.563, 0.433))
512
mprt20, mmsh20, mwld20 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part20", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(26.107), 0, 0) * euler(0, 0, mr(-35.793)) * euler(0, mr(-12.017), 0) * cf(0.402, -0.525, 0.331))
513
mprt21, mmsh21, mwld21 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part21", "Neon", "SpecialMesh", "Sphere", "nil", 0.1, 0.3, 0.3, euler(mr(26.107), 0, 0) * euler(0, 0, mr(-35.793)) * euler(0, mr(-12.017), 0) * cf(0.402, -0.525, 0.331))
514
mprt22, mmsh22, mwld22 = AesthPart(helm, mhead, 0, 0, NewCol, "Monarch Part22", "Metal", "SpecialMesh", "Sphere", "nil", 0.35, 0.25, 0.45, euler(mr(26.107), 0, 0) * euler(0, 0, mr(35.793)) * euler(0, mr(12.017), 0) * cf(-0.402, -0.525, 0.331))
515
mprt23, mmsh23, mwld23 = AesthPart(helm, mhead, 0, 0, NewCol4, "Monarch Part23", "Neon", "SpecialMesh", "Sphere", "nil", 0.1, 0.3, 0.3, euler(mr(26.107), 0, 0) * euler(0, 0, mr(35.793)) * euler(0, mr(12.017), 0) * cf(-0.402, -0.525, 0.331))
516
table.insert(HWelds, mhwld)
517
table.insert(HWelds, mwld1)
518
table.insert(HWelds, mwld2)
519
table.insert(HWelds, mwld3)
520
table.insert(HWelds, mwld4)
521
table.insert(HWelds, mwld5)
522
table.insert(HWelds, mwld6)
523
table.insert(HWelds, mwld7)
524
table.insert(HWelds, mwld8)
525
table.insert(HWelds, mwld9)
526
table.insert(HWelds, mwld10)
527
table.insert(HWelds, mwld16)
528
table.insert(HWelds, mwld17)
529
table.insert(HWelds, mwld18)
530
table.insert(HWelds, mwld19)
531
table.insert(HWelds, mwld20)
532
table.insert(HWelds, mwld21)
533
table.insert(HWelds, mwld22)
534
table.insert(HWelds, mwld23)
535
for i = -1, 1, 2 do
536
  mprt11, mmsh11, mwld11 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part11", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.6, 0.3, 2, euler(0, 0, mr(-95.514) * i) * euler(0, mr(24.898) * i, 0) * euler(mr(7.673), 0, 0) * cf(0.903 * i, -0.282, -0.458))
537
  mprt12, mmsh12, mwld12 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part12", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.3, 0.15, 1.5, euler(0, 0, mr(-102.075) * i) * euler(0, mr(22.588) * i, 0) * euler(mr(-8.529), 0, 0) * cf(0.836 * i, 0.072, -0.398))
538
  mprt13, mmsh13, mwld13 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part13", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 1, 0.25, euler(0, mr(-154.897) * i, 0) * euler(mr(-25), 0, mr(-45.901) * i) * euler(0, 0, 0) * cf(0.885 * i, 0.033, -0.049))
539
  mprt14, mmsh14, mwld14 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part14", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.75, 0.25, euler(0, mr(-160) * i, 0) * euler(mr(-40), 0, mr(-60) * i) * euler(0, 0, 0) * cf(0.701 * i, 0.33, -0.205))
540
  mprt15, mmsh15, mwld15 = AesthPart(helm, mhead, 0.5, 0, NewCol5, "Monarch Part15", "SmoothPlastic", "SpecialMesh", "FileMesh", "9756362", 0.125, 0.65, 0.2, euler(0, mr(-123) * i, 0) * euler(mr(-70), 0, mr(-80) * i) * euler(0, 0, 0) * cf(0.559 * i, 0.59, -0.478))
541
  table.insert(HWelds, mwld11)
542
  table.insert(HWelds, mwld12)
543
  table.insert(HWelds, mwld13)
544
  table.insert(HWelds, mwld14)
545
  table.insert(HWelds, mwld15)
546
end
547
mparti1 = parti1:Clone()
548
mparti1.Parent = mhead
549
mparti2 = parti2:Clone()
550
mparti2.Parent = mhead
551
mparti1.Rate = 30
552
mparti2.Rate = 30
553
helm.Parent = nil
554
for _,c in pairs(modelzorz:children()) do
555
  table.insert(Weapon, c)
556
end
557
for _,c in pairs(prt1:children()) do
558
  if c.className == "Motor" then
559
    table.insert(Welds, c)
560
  end
561
end
562
local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
563
hitbox.Anchored = false
564
local hitboxCF = cf(0, 0, 0)
565
local sref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt(20, 20, 20))
566
sref.Anchored = true
567
sref.CFrame = cf(RootPart.Position)
568
sizeseq = ns({nsk(0, 5.9), nsk(0.162, 8.63), nsk(1, 10)})
569
transseq = ns({nsk(0, 1), nsk(0.498, 0.8), nsk(0.913, 0.85), nsk(1, 1)})
570
mistparti1 = particle(sref, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=197195522", transseq, 0, vt(0, -0.25, 0), 0, false, 0, "Top", true, nr(3, 4), 10, nr(-360, 360), nr(-35, 35), nr(4, 5), -90)
571
sizeseq = ns({nsk(0, 3.61), nsk(0.162, 5.85), nsk(1, 10)})
572
transseq = ns({nsk(0, 1), nsk(0.498, 0.5), nsk(0.913, 0.55), nsk(1, 1)})
573
mistparti2 = particle(sref, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "rbxasset://textures/particles/smoke_main.dds", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Top", true, nr(2, 3), 15, nr(-360, 360), nr(-55, 55), nr(5, 6), -90)
574
local gsou = Instance.new("Sound", sref)
575
gsou.Volume = 1
576
gsou.Pitch = 0.8
577
gsou.SoundId = "http://www.roblox.com/asset/?id=338601253"
578
gsou.Looped = true
579
local effects = it("Model", modelzorz)
580
effects.Name = "Effects"
581
hboxpos = Instance.new("BodyPosition", nil)
582
hboxpos.P = 2000
583
hboxpos.D = 100
584
hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
585
sizeseq = ns({nsk(0, 0), nsk(0.027, 0.765), nsk(0.184, 2.24), nsk(1, 4.64)})
586
transseq = ns({nsk(0, 0.375), nsk(0.4, 1), nsk(1, 1)})
587
local icicleparti1 = particle(nil, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.2, sizeseq, "http://www.roblox.com/asset/?id=329766994", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Bottom", true, nr(7, 10), 15, nr(-360, 360), nr(-30, 30), nr(3), 20)
588
sizeseq = ns({nsk(0, 0), nsk(0.025, 0.383), nsk(0.192, 2.51), nsk(1, 2.02)})
589
transseq = ns({nsk(0, 0.8), nsk(0.3, 1), nsk(1, 1)})
590
local icicleparti2 = particle(nil, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.3, sizeseq, "http://www.roblox.com/asset/?id=241594419", transseq, 0, vt(0, -0.5, 0), 0, false, 0, "Bottom", true, nr(7, 10), 80, nr(-360, 360), nr(-30, 30), nr(3), 20)
591
592
593
local bodvel = Instance.new("BodyVelocity")
594
local bg = Instance.new("BodyGyro")
595
so = function(id, par, vol, pit)
596
  local sou = Instance.new("Sound", par or workspace)
597
  sou.Volume = vol
598
  sou.Pitch = pit or 1
599
  sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
600
  coroutine.resume(coroutine.create(function(Sound)
601
    swait()
602
    Sound:play()
603
  end
604
), sou)
605
  game:GetService("Debris"):AddItem(sou, 6)
606
end
607
608
function clerp(a,b,t) 
609
local qa = {QuaternionFromCFrame(a)}
610
local qb = {QuaternionFromCFrame(b)} 
611
local ax, ay, az = a.x, a.y, a.z 
612
local bx, by, bz = b.x, b.y, b.z
613
local _t = 1-t
614
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
615
end 
616
 
617
function QuaternionFromCFrame(cf) 
618
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
619
local trace = m00 + m11 + m22 
620
if trace > 0 then 
621
local s = math.sqrt(1 + trace) 
622
local recip = 0.5/s 
623
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
624
else 
625
local i = 0 
626
if m11 > m00 then
627
i = 1
628
end
629
if m22 > (i == 0 and m00 or m11) then 
630
i = 2 
631
end 
632
if i == 0 then 
633
local s = math.sqrt(m00-m11-m22+1) 
634
local recip = 0.5/s 
635
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
636
elseif i == 1 then 
637
local s = math.sqrt(m11-m22-m00+1) 
638
local recip = 0.5/s 
639
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
640
elseif i == 2 then 
641
local s = math.sqrt(m22-m00-m11+1) 
642
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
643
end 
644
end 
645
end
646
 
647
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
648
local xs, ys, zs = x + x, y + y, z + z 
649
local wx, wy, wz = w*xs, w*ys, w*zs 
650
local xx = x*xs 
651
local xy = x*ys 
652
local xz = x*zs 
653
local yy = y*ys 
654
local yz = y*zs 
655
local zz = z*zs 
656
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)) 
657
end
658
 
659
function QuaternionSlerp(a, b, t) 
660
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
661
local startInterp, finishInterp; 
662
if cosTheta >= 0.0001 then 
663
if (1 - cosTheta) > 0.0001 then 
664
local theta = math.acos(cosTheta) 
665
local invSinTheta = 1/math.sin(theta) 
666
startInterp = math.sin((1-t)*theta)*invSinTheta 
667
finishInterp = math.sin(t*theta)*invSinTheta  
668
else 
669
startInterp = 1-t 
670
finishInterp = t 
671
end 
672
else 
673
if (1+cosTheta) > 0.0001 then 
674
local theta = math.acos(-cosTheta) 
675
local invSinTheta = 1/math.sin(theta) 
676
startInterp = math.sin((t-1)*theta)*invSinTheta 
677
finishInterp = math.sin(t*theta)*invSinTheta 
678
else 
679
startInterp = t-1 
680
finishInterp = t 
681
end 
682
end 
683
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 
684
end
685
686
function Block1(prt, delay, x3, y3, z3, msh)
687
spawn(function()
688
repeat swait()
689
prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
690
Mesh = msh
691
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
692
prt.Transparency = prt.Transparency + delay
693
until prt.Transparency >= 1
694
prt:remove()
695
end)
696
end
697
698
function Block2(prt, delay, x3, y3, z3, msh)
699
spawn(function()
700
repeat swait()
701
prt.CFrame = prt.CFrame
702
Mesh = msh
703
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
704
prt.Transparency = prt.Transparency + delay
705
until prt.Transparency >= 1
706
prt:remove()
707
end)
708
end
709
710
function Block3(prt, delay, x3, y3, z3, msh, CF)
711
spawn(function()
712
repeat swait()
713
prt.CFrame = prt.CFrame * cf(0, 1, 0)
714
prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
715
Mesh = msh
716
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
717
prt.Transparency = prt.Transparency + delay
718
until prt.Transparency >= 1
719
prt:remove()
720
end)
721
end
722
723
function Cylinder(effectsg, delay, x3, y3, z3, effectsmsh)
724
spawn(function()
725
repeat swait()
726
Mesh = effectsmsh
727
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
728
effectsg.Transparency = effectsg.Transparency + delay
729
until prt.Transparency >= 1
730
prt:remove()
731
end)
732
end
733
734
function Shatter(prt, delay, x3, y3, z3)
735
spawn(function()
736
repeat swait()
737
prt.Transparency = prt.Transparency + delay
738
prt.CFrame = prt.CFrame * cf(0, z3, 0)
739
prt.CFrame = prt.CFrame * euler(y3, 0, 0)
740
until prt.Transparency >= 1
741
prt:remove()
742
end)
743
end
744
745
746
hideanim = function()
747
  equipped = false
748
  parti1.Enabled = false
749
  parti2.Enabled = false
750
  parti3.Enabled = true
751
  d2parti1.Enabled = false
752
  d2parti2.Enabled = false
753
  d2parti3.Enabled = true
754
  d3parti1.Enabled = false
755
  d3parti2.Enabled = false
756
  d3parti3.Enabled = true
757
  coroutine.resume(coroutine.create(function()
758
    for i = #Claw / 2, 1, -1 do
759
      swait()
760
      Claw[i].Transparency = 1
761
      Claw[i + 10].Transparency = 1
762
    end
763
  end
764
))
765
  for i = 0, 1, 0.1 do
766
    swait()
767
    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.3)
768
    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.3)
769
    RW.C0 = clerp(RW.C0, cf(1, 0.6, 0.4) * euler(0.2, 0, 0.8) * euler(0, -1, 0), 0.3)
770
    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
771
    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.3)
772
    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
773
    RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.3)
774
    LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.3)
775
  end
776
  for _,c in pairs(model2:children()) do
777
    c.Transparency = 1
778
  end
779
  for _,c in pairs(model3:children()) do
780
    c.Transparency = 1
781
  end
782
  for _,c in pairs(model4:children()) do
783
    c.Transparency = 1
784
  end
785
  parti3.Enabled = false
786
  d2parti3.Enabled = false
787
  d3parti3.Enabled = false
788
  for i = 0, 1, 0.1 do
789
    swait()
790
    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
791
    RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
792
    RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
793
    RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
794
    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
795
    LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
796
    RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
797
    LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
798
  end
799
end
800
801
equipanim = function()
802
  equipped = true
803
  if drakes >= 1 then
804
    model2.Parent = Character
805
    for i = 1, #D1Welds do
806
      D1Welds[i].Parent = prt1
807
    end
808
  end
809
  do
810
    if drakes >= 2 then
811
      model3.Parent = Character
812
      for i = 1, #D2Welds do
813
        D2Welds[i].Parent = prt1
814
      end
815
    end
816
    do
817
      if drakes >= 3 then
818
        model4.Parent = Character
819
        for i = 1, #D3Welds do
820
          D3Welds[i].Parent = prt1
821
        end
822
      end
823
      do
824
        dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 1)
825
        d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 1)
826
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 1)
827
        parti1.Enabled = false
828
        parti2.Enabled = false
829
        parti3.Enabled = true
830
        d2parti1.Enabled = false
831
        d2parti2.Enabled = false
832
        d2parti3.Enabled = true
833
        d3parti1.Enabled = false
834
        d3parti2.Enabled = false
835
        d3parti3.Enabled = true
836
        for _,c in pairs(model2:children()) do
837
          c.Transparency = 1
838
        end
839
        for _,c in pairs(model3:children()) do
840
          c.Transparency = 1
841
        end
842
        for _,c in pairs(model4:children()) do
843
          c.Transparency = 1
844
        end
845
        for i = 0, 1, 0.1 do
846
          swait()
847
          Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.3)
848
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.3)
849
          RW.C0 = clerp(RW.C0, cf(1, 0.6, 0.4) * euler(0.2, 0, 0.8) * euler(0, -1, 0), 0.3)
850
          RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
851
          LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.2), 0.3)
852
          LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
853
          RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.3)
854
          LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.3)
855
        end
856
        coroutine.resume(coroutine.create(function()
857
    local da = 2
858
    for i = 1, #Claw / 2 do
859
      da = da + 1
860
      Claw[i].Transparency = 0
861
      Claw[i + 10].Transparency = 0
862
      if (da) % 2 == 0 then
863
        swait()
864
      end
865
    end
866
  end
867
))
868
        for i = 0, 1, 0.15 do
869
          swait()
870
          Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.45)
871
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, -0.4), 0.45)
872
          RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.4, 0, 0.7) * euler(0, -1, 0), 0.45)
873
          RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.45)
874
          LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.45)
875
          LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.45)
876
          RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.05), 0.45)
877
          LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.1, 0, 0.1), 0.45)
878
        end
879
        for _,c in pairs(model2:children()) do
880
          c.Transparency = c.MainTransparency.Value
881
        end
882
        for _,c in pairs(model3:children()) do
883
          c.Transparency = c.MainTransparency.Value
884
        end
885
        for _,c in pairs(model4:children()) do
886
          c.Transparency = c.MainTransparency.Value
887
        end
888
        parti1.Enabled = true
889
        parti2.Enabled = true
890
        parti3.Enabled = false
891
        d2parti1.Enabled = true
892
        d2parti2.Enabled = true
893
        d2parti3.Enabled = false
894
        d3parti1.Enabled = true
895
        d3parti2.Enabled = true
896
        d3parti3.Enabled = false
897
        dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 1)
898
        d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 1)
899
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 1)
900
      end
901
    end
902
  end
903
end
904
905
IceDrake = function()
906
  attack = true
907
  dattack = true
908
  Frost = 0
909
  coroutine.resume(coroutine.create(function()
910
    for i = #Claw / 2, 1, -1 do
911
      swait()
912
      Claw[i].Transparency = 1
913
      Claw[i + 10].Transparency = 1
914
    end
915
  end
916
))
917
  if drakes == 0 then
918
    model2.Parent = Character
919
    so("338594711", dprt1, 1, 1)
920
    for i = 1, #D1Welds do
921
      D1Welds[i].Parent = prt1
922
    end
923
  end
924
  do
925
    if drakes == 1 then
926
      model3.Parent = Character
927
      so("338594711", d2prt1, 1, 1)
928
      for i = 1, #D2Welds do
929
        D2Welds[i].Parent = prt1
930
      end
931
    end
932
    do
933
      if drakes == 2 then
934
        model4.Parent = Character
935
        so("338594711", d3prt1, 1, 1)
936
        for i = 1, #D3Welds do
937
          D3Welds[i].Parent = prt1
938
        end
939
      end
940
      do
941
        if drakes == 0 then
942
          for _,c in pairs(model2:children()) do
943
            c.Transparency = 1
944
          end
945
          parti1.Enabled = false
946
          parti2.Enabled = false
947
          parti3.Enabled = true
948
        else
949
          if drakes == 1 then
950
            for _,c in pairs(model3:children()) do
951
              c.Transparency = 1
952
            end
953
            d2parti1.Enabled = false
954
            d2parti2.Enabled = false
955
            d2parti3.Enabled = true
956
          else
957
            if drakes == 2 then
958
              for _,c in pairs(model4:children()) do
959
                c.Transparency = 1
960
              end
961
              d3parti1.Enabled = false
962
              d3parti2.Enabled = false
963
              d3parti3.Enabled = true
964
            end
965
          end
966
        end
967
        for i = 0, 1, 0.1 do
968
          swait()
969
          if drakes == 0 then
970
            dwld1.C0 = clerp(dwld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
971
          else
972
            if drakes == 1 then
973
              d2wld1.C0 = clerp(d2wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
974
            else
975
              if drakes == 2 then
976
                d3wld1.C0 = clerp(d3wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -0.5, 2.2), 1)
977
              end
978
            end
979
          end
980
          Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
981
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
982
          RW.C0 = clerp(RW.C0, cf(1.3, 0.5, -0.6) * euler(1.7, 0, -0.4) * euler(0, -1, 0), 0.3)
983
          LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, -0.6) * euler(1.7, 0, 0.4) * euler(0, 1, 0), 0.3)
984
          RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.3)
985
          LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.3) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.05), 0.3)
986
        end
987
        if drakes == 0 then
988
          for _,c in pairs(model2:children()) do
989
            c.Transparency = c.MainTransparency.Value
990
          end
991
          parti1.Enabled = true
992
          parti2.Enabled = true
993
          parti3.Enabled = false
994
        else
995
          if drakes == 1 then
996
            for _,c in pairs(model3:children()) do
997
              c.Transparency = c.MainTransparency.Value
998
            end
999
            d2parti1.Enabled = true
1000
            d2parti2.Enabled = true
1001
            d2parti3.Enabled = false
1002
          else
1003
            if drakes == 2 then
1004
              for _,c in pairs(model4:children()) do
1005
                c.Transparency = c.MainTransparency.Value
1006
              end
1007
              d3parti1.Enabled = true
1008
              d3parti2.Enabled = true
1009
              d3parti3.Enabled = false
1010
            end
1011
          end
1012
        end
1013
        drakes = drakes + 1
1014
        for i = 0, 1, 0.1 do
1015
          swait()
1016
          if drakes == 1 then
1017
            dwld1.C0 = clerp(dwld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
1018
            dwld2.C0 = clerp(dwld2.C0, euler(0, 3.14, 0), 0.3)
1019
          else
1020
            if drakes == 2 then
1021
              d2wld1.C0 = clerp(d2wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
1022
              d2wld2.C0 = clerp(d2wld2.C0, euler(0, 3.14, 0), 0.3)
1023
            else
1024
              if drakes == 3 then
1025
                d3wld1.C0 = clerp(d3wld1.C0, euler(0, 3.14, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 0.3)
1026
                d3wld2.C0 = clerp(d3wld2.C0, euler(0, 3.14, 0), 0.3)
1027
              end
1028
            end
1029
          end
1030
          Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2, 0, 0), 0.3)
1031
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
1032
          RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.3) * euler(1.2, 0, 0.2) * euler(0, -1, 0), 0.3)
1033
          LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, -0.3) * euler(1.2, 0, -0.2) * euler(0, 1, 0), 0.3)
1034
          RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.3)
1035
          LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.3) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.05), 0.3)
1036
        end
1037
        if drakes == 1 then
1038
          dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
1039
          dwld2.C0 = clerp(dwld2.C0, euler(0, 0, 0), 1)
1040
        else
1041
          if drakes == 2 then
1042
            d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
1043
            d2wld2.C0 = clerp(d2wld2.C0, euler(0, 0, 0), 1)
1044
          else
1045
            if drakes == 3 then
1046
              d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 0) * euler(0.2, 0, 0) * euler(0, 0, 0) * cf(0, -2, 2.2), 1)
1047
              d3wld2.C0 = clerp(d3wld2.C0, euler(0, 0, 0), 1)
1048
            end
1049
          end
1050
        end
1051
        coroutine.resume(coroutine.create(function()
1052
    for i = 1, #Claw / 2 do
1053
      Claw[i].Transparency = 0
1054
      Claw[i + 10].Transparency = 0
1055
      swait()
1056
    end
1057
  end
1058
))
1059
        dattack = false
1060
        attack = false
1061
      end
1062
    end
1063
  end
1064
end
1065
1066
IcyMonarch = function()
1067
  attack = true
1068
  dattack = true
1069
  if Mode == "Drakes" then
1070
    coroutine.resume(coroutine.create(function()
1071
    for i = #Claw / 2, 1, -1 do
1072
      swait()
1073
      Claw[i].Transparency = 1
1074
      Claw[i + 10].Transparency = 1
1075
    end
1076
  end
1077
))
1078
    newparti = parti3:Clone()
1079
    newparti.Parent = Head
1080
    newparti.Enabled = true
1081
    parti1.Enabled = false
1082
    parti2.Enabled = false
1083
    parti3.Enabled = true
1084
    d2parti1.Enabled = false
1085
    d2parti2.Enabled = false
1086
    d2parti3.Enabled = true
1087
    d3parti1.Enabled = false
1088
    d3parti2.Enabled = false
1089
    d3parti3.Enabled = true
1090
    so("338594711", Head, 1, 1.2)
1091
    for i = 0, 1, 0.1 do
1092
      swait()
1093
      dwld1.C0 = clerp(dwld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1094
      d2wld1.C0 = clerp(d2wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1095
      d3wld1.C0 = clerp(d3wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1096
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
1097
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
1098
      RW.C0 = clerp(RW.C0, cf(1.2, 0.4, -0.3) * euler(1.8, 0, -1) * euler(0, 0, 0), 0.3)
1099
      LW.C0 = clerp(LW.C0, cf(-1.3, 0.6, -0.1) * euler(2.8, 0, 0.6) * euler(0, 0, 0), 0.3)
1100
      RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1101
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
1102
    end
1103
    Mode = "Monarch"
1104
    for i = 1, #Claw do
1105
      Claw[i].Material = "Neon"
1106
    end
1107
    model2.Parent = nil
1108
    model3.Parent = nil
1109
    model4.Parent = nil
1110
    Head.Transparency = 1
1111
    Head.face.Transparency = 1
1112
    for _,v in pairs(Character:children()) do
1113
      if v.className == "Hat" then
1114
        v.Handle.Transparency = 1
1115
      end
1116
    end
1117
    newparti.Enabled = false
1118
    game:GetService("Debris"):AddItem(newparti, 5)
1119
    helm.Parent = Character
1120
    for i = 1, #HWelds do
1121
      HWelds[i].Parent = prt1
1122
    end
1123
    for i = 0, 1, 0.1 do
1124
      swait()
1125
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
1126
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
1127
      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.8) * euler(0, 0, 0), 0.3)
1128
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.8) * euler(0, 0, 0), 0.3)
1129
      RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1130
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
1131
    end
1132
    coroutine.resume(coroutine.create(function()
1133
    for i = 1, #Claw / 2 do
1134
      Claw[i].Transparency = 0
1135
      Claw[i + 10].Transparency = 0
1136
      swait()
1137
    end
1138
  end
1139
))
1140
  else
1141
    if Mode == "Monarch" then
1142
      newparti = parti3:Clone()
1143
      newparti.Parent = Head
1144
      newparti.Enabled = true
1145
      so("338594711", Head, 1, 0.8)
1146
      for i = 0, 1, 0.1 do
1147
        swait()
1148
        dwld1.C0 = clerp(dwld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1149
        d2wld1.C0 = clerp(d2wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1150
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -0.3, 0) * euler(0.2, 0, 0) * cf(0, -1, 0) * euler(0.4, 0, 0), 0.3)
1151
        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
1152
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
1153
        RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
1154
        LW.C0 = clerp(LW.C0, cf(-1.3, 0.6, -0.1) * euler(2.8, 0, 0.6) * euler(0, 0, 0), 0.3)
1155
        RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1156
        LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
1157
      end
1158
      Mode = "Drakes"
1159
      for i = 1, #Claw do
1160
        Claw[i].Material = "SmoothPlastic"
1161
      end
1162
      parti1.Enabled = true
1163
      parti2.Enabled = true
1164
      parti3.Enabled = false
1165
      d2parti1.Enabled = true
1166
      d2parti2.Enabled = true
1167
      d2parti3.Enabled = false
1168
      d3parti1.Enabled = true
1169
      d3parti2.Enabled = true
1170
      d3parti3.Enabled = false
1171
      if drakes >= 1 then
1172
        model2.Parent = Character
1173
        for i = 1, #D1Welds do
1174
          D1Welds[i].Parent = prt1
1175
        end
1176
      end
1177
      do
1178
        if drakes >= 2 then
1179
          model3.Parent = Character
1180
          for i = 1, #D2Welds do
1181
            D2Welds[i].Parent = prt1
1182
          end
1183
        end
1184
        do
1185
          if drakes >= 3 then
1186
            model4.Parent = Character
1187
            for i = 1, #D3Welds do
1188
              D3Welds[i].Parent = prt1
1189
            end
1190
          end
1191
          do
1192
            helm.Parent = nil
1193
            Head.Transparency = 0
1194
            Head.face.Transparency = 0
1195
            for _,v in pairs(Character:children()) do
1196
              if v.className == "Hat" then
1197
                v.Handle.Transparency = 0
1198
              end
1199
            end
1200
            newparti.Enabled = false
1201
            game:GetService("Debris"):AddItem(newparti, 5)
1202
            for i = 0, 1, 0.1 do
1203
              swait()
1204
              dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2, 0.5) * euler(0.2, 0, -0.4) * euler(0, 0.3, 0), 0.3)
1205
              d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.3)
1206
              d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.3)
1207
              Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4, 0, 0), 0.3)
1208
              RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
1209
              RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
1210
              LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 0, 0), 0.3)
1211
              RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1212
              LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.3), 0.3)
1213
            end
1214
            do
1215
            end
1216
          end
1217
        end
1218
      end
1219
    end
1220
  end
1221
              dattack = false
1222
              attack = false
1223
end
1224
1225
attackone = function()
1226
  attack = true
1227
  if Mode == "Drakes" then
1228
    for i = 0, 1, 0.14 do
1229
      swait()
1230
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
1231
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
1232
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 2) * euler(0, -1, 0), 0.3)
1233
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.2), 0.3)
1234
      RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1235
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.3)
1236
    end
1237
    so("338586299", RightArm, 1, 1)
1238
    hitbox.Parent = modelzorz
1239
    hitbox.Anchored = true
1240
    hitbox.Size = vt(0.2, 0.2, 0.2)
1241
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1242
    for i = 0, 1, 0.12 do
1243
      swait()
1244
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1245
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
1246
      Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.45)
1247
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
1248
      RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0.6, 0, 2) * euler(0, -1, 0) * euler(0, 0, -2.8), 0.45)
1249
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.45)
1250
      RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.45)
1251
      LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.45)
1252
    end
1253
    hitbox.Parent = nil
1254
  else
1255
    for i = 0, 1, 0.15 do
1256
      swait()
1257
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
1258
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
1259
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 2) * euler(0, -1, 0), 0.4)
1260
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
1261
      RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
1262
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
1263
    end
1264
    so("338586299", RightArm, 1, 1.2)
1265
    hitbox.Parent = modelzorz
1266
    hitbox.Anchored = true
1267
    hitbox.Size = vt(0.2, 0.2, 0.2)
1268
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1269
    for i = 0, 1, 0.16 do
1270
      swait()
1271
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1272
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1273
      Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(0.2, 0, 0), 0.5)
1274
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, 0.4), 0.5)
1275
      RW.C0 = clerp(RW.C0, cf(0.5, 0.5, -0.5) * euler(0.6, 0, 2) * euler(0, -1.3, 0) * euler(0, 0, -2.8), 0.5)
1276
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.5)
1277
      RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.5)
1278
      LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.5)
1279
    end
1280
    hitbox.Parent = nil
1281
  end
1282
  attack = false
1283
end
1284
1285
attacktwo = function()
1286
  attack = true
1287
  if Mode == "Drakes" then
1288
    for i = 0, 1, 0.14 do
1289
      swait()
1290
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.3)
1291
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.3)
1292
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1.6) * euler(0, -1.4, 0) * euler(0, 0, -1.5), 0.3)
1293
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.8), 0.3)
1294
      RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1295
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.3)
1296
    end
1297
    so("338586318", RightArm, 1, 1)
1298
    hitbox.Parent = modelzorz
1299
    hitbox.Anchored = true
1300
    hitbox.Size = vt(0.2, 0.2, 0.2)
1301
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1302
    for i = 0, 1, 0.12 do
1303
      swait()
1304
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1305
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
1306
      Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -1) * euler(0.1, 0, 0), 0.45)
1307
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 1) * euler(0.1, 0, 0), 0.45)
1308
      RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0, 0, 1.6) * euler(0, -1.3, 0) * euler(0, 0, -0.7), 0.45)
1309
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.45)
1310
      RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -1, 0) * euler(0, 0, -0.2), 0.45)
1311
      LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.45)
1312
    end
1313
    hitbox.Parent = nil
1314
  else
1315
    for i = 0, 1, 0.15 do
1316
      swait()
1317
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.4)
1318
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, 0.6), 0.4)
1319
      RW.C0 = clerp(RW.C0, cf(0.5, 0.6, -0.4) * euler(0, 0, 1.2) * euler(0, 1, 0) * euler(0, 0, 2.5), 0.4)
1320
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4), 0.4)
1321
      RH.C0 = clerp(RH.C0, cf(1.05, -0.7, -0.4) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, 0.3), 0.4)
1322
      LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.1), 0.4)
1323
    end
1324
    so("338586331", RightArm, 1, 1.2)
1325
    hitbox.Parent = modelzorz
1326
    hitbox.Anchored = true
1327
    hitbox.Size = vt(0.2, 0.2, 0.2)
1328
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1329
    for i = 0, 1, 0.16 do
1330
      swait()
1331
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1332
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1333
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.5)
1334
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4, 0, 0) * euler(0, 0, -0.4), 0.5)
1335
      RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.1) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 0), 0.5)
1336
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -1), 0.5)
1337
      RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.5) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.5), 0.5)
1338
      LH.C0 = clerp(LH.C0, cf(-1.2, -0.2, -0.8) * euler(0, -1.57, 0) * euler(0, 0.2, 0) * euler(-0.2, 0, -0.2), 0.5)
1339
    end
1340
    hitbox.Parent = nil
1341
  end
1342
  attack = false
1343
end
1344
1345
attackthree = function()
1346
  attack = true
1347
  if Mode == "Drakes" then
1348
    for i = 0, 1, 0.14 do
1349
      swait()
1350
      Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.3)
1351
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
1352
      RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 2.5), 0.3)
1353
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.3)
1354
      RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.3)
1355
      LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.3)
1356
    end
1357
    so("338586331", RightArm, 1, 1)
1358
    hitbox.Parent = modelzorz
1359
    hitbox.Anchored = true
1360
    hitbox.Size = vt(0.2, 0.2, 0.2)
1361
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1362
    for i = 0, 1, 0.12 do
1363
      swait()
1364
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1365
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(10, 12), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
1366
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
1367
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.45)
1368
      RW.C0 = clerp(RW.C0, cf(1.4, 0.5, -0.1) * euler(0, 0, 1.2) * euler(0, 1.5, 0) * euler(0, 0, 0), 0.3)
1369
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -0.8), 0.45)
1370
      RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.45)
1371
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.45)
1372
    end
1373
    hitbox.Parent = nil
1374
  else
1375
    for i = 0, 1, 0.15 do
1376
      swait()
1377
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
1378
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
1379
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 0.5) * euler(0, -0.6, 0), 0.4)
1380
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
1381
      RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
1382
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
1383
    end
1384
    so("338586318", RightArm, 1, 1.2)
1385
    hitbox.Parent = modelzorz
1386
    hitbox.Anchored = true
1387
    hitbox.Size = vt(0.2, 0.2, 0.2)
1388
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1389
    for i = 0, 1, 0.16 do
1390
      swait()
1391
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1392
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1393
      Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(-0.2, 0, 0), 0.5)
1394
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.2, 0, 0) * euler(0, 0, 0.4), 0.5)
1395
      RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.6) * euler(0.6, 0, 0.5) * euler(0, -1.4, 0) * euler(0, 0, -2.4), 0.5)
1396
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.5)
1397
      RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.5)
1398
      LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.5)
1399
    end
1400
    hitbox.Parent = nil
1401
  end
1402
  attack = false
1403
end
1404
1405
attackfour = function()
1406
  attack = true
1407
  local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1408
  if Mode == "Drakes" then
1409
    for i = 0, 1, 0.08 do
1410
      swait()
1411
      MagicBlock(BrickColor.new(NewCol2), LeftArm.CFrame * cf(0, -1, 0), 6, 6, 6, 1, 1, 1, 0.1, 1)
1412
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.3)
1413
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.3)
1414
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.3)
1415
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8), 0.3)
1416
      RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1417
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.3)
1418
    end
1419
    ref.Anchored = true
1420
    ref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
1421
    game:GetService("Debris"):AddItem(ref, 3)
1422
    so("333475981", ref, 1, 2)
1423
    so("333476017", ref, 1, 1.4)
1424
    MagniDamage(ref, 1000000000, 1000000000, 1000000000, math.random(10, 15), "Knockdown2", ref, 0, 2, (math.random(6, 8)), nil, nil, true)
1425
    MagicCircle(BrickColor.new(NewCol2), cf(ref.Position), 40, 40, 40, 3, 3, 3, 0.08)
1426
    for i = 1, 10 do
1427
      MagicBlock(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 12, 12, 12, -1, -1, -1, 0.08, 3)
1428
    end
1429
    Torso.Velocity = RootPart.CFrame.lookVector * -80
1430
    for i = 0, 1, 0.1 do
1431
      swait()
1432
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.4)
1433
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.4)
1434
      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 1) * euler(0, -1.5, 0), 0.4)
1435
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -1), 0.4)
1436
      RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.15, 0, -0.4), 0.4)
1437
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.15, 0, 0.1), 0.4)
1438
    end
1439
  else
1440
    for i = 0, 1, 0.15 do
1441
      swait()
1442
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
1443
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
1444
      RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 1.5) * euler(0, -1, 0), 0.4)
1445
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
1446
      RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
1447
      LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
1448
1449
    end
1450
    so("338586331", RightArm, 1, 1.4)
1451
    hitbox.Parent = modelzorz
1452
    hitbox.Anchored = true
1453
    hitbox.Size = vt(0.2, 0.2, 0.2)
1454
    hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1455
    spin = 0
1456
    ra = 0
1457
    for i = 0, 1, 0.1 do
1458
      swait()
1459
      if i < 0.6 then
1460
        spin = spin + 1
1461
        ra = -0.4
1462
      else
1463
        spin = 0
1464
        ra = 0
1465
      end
1466
      hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1467
      MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1468
      Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(0.2, 0, 0), 0.55)
1469
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0, 0, spin) * euler(0.3, 0, 0) * euler(0, 0, 0.4), 0.55)
1470
      RW.C0 = clerp(RW.C0, cf(0.5, 0.5, -0.5 + ra) * euler(0.6, 0, 2) * euler(0, -1.3, 0) * euler(0, 0, -2.8), 0.4)
1471
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.55)
1472
      RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.55)
1473
      LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.55)
1474
    end
1475
    hitbox.Parent = nil
1476
  end
1477
  attack = false
1478
  if Mode == "Drakes" then
1479
    dattack = true
1480
    local target1, distance1 = findNearestTorso(ref.Position, 30)
1481
    for i = 0, 1, 0.1 do
1482
      swait()
1483
      if target1 ~= nil then
1484
        if drakes > 0 then
1485
          local mpos = dprt2.CFrame * euler(0, 0, 0)
1486
          local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
1487
          local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1488
          dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2, 1.5), 0.3)
1489
          dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1490
        end
1491
        do
1492
          if drakes > 1 then
1493
            local mpos = d2prt2.CFrame * euler(0, 0, 0)
1494
            local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
1495
            local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1496
            d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2, 1.5), 0.3)
1497
            d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1498
          end
1499
          do
1500
            if drakes > 2 then
1501
              local mpos = d3prt2.CFrame * euler(0, 0, 0)
1502
              local cff = CFrame.new(mpos.p, target1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
1503
              local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1504
              d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 1.5), 0.3)
1505
              d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1506
            end
1507
            do
1508
              -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out DO_STMT
1509
1510
              -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out DO_STMT
1511
1512
              -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out IF_THEN_STMT
1513
1514
              -- DECOMPILER ERROR at PC1114: LeaveBlock: unexpected jumping out IF_STMT
1515
1516
            end
1517
          end
1518
        end
1519
      end
1520
    end
1521
    if target1 ~= nil then
1522
      do
1523
        if drakes > 0 then
1524
          local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
1525
          icepart1.Anchored = true
1526
          icepart1.Material = Enum.Material.Neon
1527
          i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
1528
          icepart1.CFrame = dprt1.CFrame * euler(-1.57, 0, 0)
1529
          game:GetService("Debris"):AddItem(icepart1, 20)
1530
          MouseLook = cf(dprt1.Position, target1.Position)
1531
          so("338594524", icepart1, 1, 1)
1532
          table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
1533
        end
1534
        do
1535
          if drakes > 1 then
1536
            local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
1537
            icepart1.Anchored = true
1538
        	icepart1.Material = Enum.Material.Neon
1539
            i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
1540
            icepart1.CFrame = d2prt1.CFrame * euler(-1.57, 0, 0)
1541
            game:GetService("Debris"):AddItem(icepart1, 20)
1542
            MouseLook = cf(d2prt1.Position, target1.Position)
1543
            so("338594524", icepart1, 1, 1)
1544
            table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
1545
          end
1546
          do
1547
            if drakes > 2 then
1548
              local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt())
1549
              icepart1.Anchored = true
1550
         		icepart1.Material = Enum.Material.Neon
1551
              i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
1552
              icepart1.CFrame = d3prt1.CFrame * euler(-1.57, 0, 0)
1553
              game:GetService("Debris"):AddItem(icepart1, 20)
1554
              MouseLook = cf(d3prt1.Position, target1.Position)
1555
              so("338594524", icepart1, 1, 1)
1556
              table.insert(Effects, {MouseLook, "ShootIce", 10, icepart1.Position, 4, 5, 0, icepart1, 7, 1})
1557
            end
1558
            dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
1559
            d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
1560
            d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
1561
            dattack = false
1562
          end
1563
        end
1564
      end
1565
    end
1566
  end
1567
end
1568
1569
do1 = function()
1570
  if attack == true then
1571
    return end
1572
    attack = true
1573
                dattack = true
1574
    local tPos = Mouse.Hit.p
1575
    if Mode == "Drakes" and drakes < 1 then
1576
      for i = 0, 1, 0.1 do
1577
        swait()
1578
        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
1579
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.4)
1580
        RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.4)
1581
        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8), 0.4)
1582
        RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.4)
1583
        LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.4)
1584
      end
1585
      tPos = Mouse.Hit.p
1586
          ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1587
          ref.Anchored = true
1588
          ref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
1589
          game:GetService("Debris"):AddItem(ref, 1)
1590
          MagicBlock(BrickColor.new(NewCol3), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
1591
          local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
1592
          icepart1.Anchored = true
1593
          icepart1.Material = Enum.Material.Neon
1594
          i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
1595
          icepart1.CFrame = cf(ref.Position)
1596
          game:GetService("Debris"):AddItem(icepart1, 20)
1597
          local parti1 = icicleparti1:Clone()
1598
          parti1.Parent = icepart1
1599
            local parti2 = icicleparti2:Clone()
1600
            parti2.Parent = icepart1
1601
            MouseLook = cf(icepart1.Position, Mouse.Hit.p)
1602
            so("338594467", icepart1, 1, 1)
1603
            table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 5, 7, 0, icepart1, 7, 2, parti1, parti2})
1604
            for i = 0, 1, 0.1 do
1605
              swait()
1606
              Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
1607
              RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.1, 0, 0), 0.4)
1608
              RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0, 0, 1) * euler(0, -1.4, 0) * euler(0, 0, -1), 0.4)
1609
              LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.7, 0, -0.8) * cf(0, 0.3, 0) * euler(0.5, 0, 0), 0.4)
1610
              RH.C0 = clerp(RH.C0, cf(1.1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.4)
1611
              LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.05, 0, 0.1), 0.4)
1612
            end
1613
            end
1614
            if Mode == "Monarch" then
1615
              for i = 0, 1, 0.14 do
1616
                swait()
1617
                Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
1618
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
1619
                RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 1.5) * euler(0, -1, 0), 0.3)
1620
                LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.2), 0.3)
1621
                RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
1622
                LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.3)
1623
              end
1624
              so("338586299", RightArm, 1, 1.1)
1625
              hitbox.Parent = modelzorz
1626
              hitbox.Anchored = true
1627
              hitbox.Size = vt(0.2, 0.2, 0.2)
1628
              hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1629
              local oldCF = RightArm.CFrame * cf(0, -10, 0.5)
1630
              local oldCF2 = RightArm.CFrame * cf(0, -10, -0.5)
1631
              local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1632
              ref.Anchored = true
1633
              ref.CFrame = RightArm.CFrame * cf(0, -10, 0)
1634
              game:GetService("Debris"):AddItem(ref, 1)
1635
              so("28144425", ref, 1, 1.2)
1636
              rara = 0.35
1637
              for i = 0, 1, 0.1 do
1638
                swait()
1639
                Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), rara)
1640
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), rara)
1641
                RW.C0 = clerp(RW.C0, cf(1, 0.6, -0.4) * euler(0.6, 0, 1.5) * euler(0, -1, 0) * euler(0, 0, -2.8), rara)
1642
                LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), rara)
1643
                RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), rara)
1644
                LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), rara)
1645
                ref.CFrame = RightArm.CFrame * cf(0, -10, 0)
1646
                rara = rara - 0.02
1647
                if i < 0.8 then
1648
                  hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1649
                  freeze = true
1650
                  MagniDamage(ref, 1000000000, 1000000000, 1000000000, 1000000000, "Knockdown2", RootPart, 0.5, 1, (math.random(4, 6)), nil, true)
1651
                  MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(8, 10), "Normal", RootPart, 0.5, 2, (math.random(4, 6)), nil, true)
1652
                  freeze = false
1653
                  effect2("Pastel light blue", 0, RightArm.CFrame * cf(0, -10, 0.5), oldCF, nil, 1, 2)
1654
                  effect2("Pastel light blue", 0, RightArm.CFrame * cf(0, -10, -0.5), oldCF2, nil, 1, 2)
1655
                  oldCF = RightArm.CFrame * cf(0, -10, 0.5)
1656
                  oldCF2 = RightArm.CFrame * cf(0, -10, -0.5)
1657
                end
1658
              end
1659
              ref.Parent = nil
1660
              hitbox.Parent = nil
1661
            end
1662
              if Mode == "Drakes"and drakes > 0 then
1663
                for i = 0, 1, 0.1 do
1664
                  swait()
1665
                  if drakes > 0 then
1666
                    local cff = CFrame.new(dprt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1667
                    local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1668
                    dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 1.5) * euler(0, 0, -1.2), 0.4)
1669
                    dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1670
                  end
1671
                    if drakes > 1 then
1672
                      local cff = CFrame.new(d2prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1673
                      local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1674
                      d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 1.5) * euler(0, 0, 1.2), 0.4)
1675
                      d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1676
                    end
1677
                      if drakes > 2 then
1678
                        local cff = CFrame.new(d3prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1679
                        local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1680
                        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -5, 1.5), 0.4)
1681
                        d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
1682
                      end
1683
                end
1684
                local drakeprt = dprt1
1685
                for i = 1, drakes do
1686
                  if i == 1 then
1687
                    drakeprt = dprt1
1688
                  else
1689
                    if i == 2 then
1690
                      drakeprt = d2prt1
1691
                    else
1692
                      if i == 3 then
1693
                        drakeprt = d3prt1
1694
                      end
1695
                    end
1696
                  end
1697
                  dprt1.Transparency = 1
1698
                  d2prt1.Transparency = 1
1699
                  d3prt1.Transparency = 1
1700
                  local refd = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1701
                  refd.Anchored = true
1702
                  refd.CFrame = drakeprt.CFrame
1703
                  game:GetService("Debris"):AddItem(refd, 1)
1704
                  MagicBlock(BrickColor.new(NewCol3), cf(refd.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
1705
                  local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
1706
                  icepart1.Anchored = true
1707
          icepart1.Material = Enum.Material.Neon
1708
                  i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
1709
                  icepart1.CFrame = cf(refd.Position)
1710
                  game:GetService("Debris"):AddItem(icepart1, 20)
1711
                  local parti1 = icicleparti1:Clone()
1712
                  parti1.Parent = icepart1
1713
                  local parti2 = icicleparti2:Clone()
1714
                  parti2.Parent = icepart1
1715
                  so("338594524", icepart1, 1, 1)
1716
                  MouseLook = cf(icepart1.Position, tPos + vt(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100))
1717
                  table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 5, 6, 0, icepart1, 7, 2, parti1, parti2})
1718
                  for d = 0, 1, 0.2 do
1719
                    swait()
1720
                    if i == 1 then
1721
                      local cff = CFrame.new(dprt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1722
                      local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1723
                      dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
1724
                    else
1725
                        if i == 2 then
1726
                          local cff = CFrame.new(d2prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1727
                          local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1728
                          d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
1729
                        else
1730
                            if i == 3 then
1731
                              local cff = CFrame.new(d3prt1.CFrame.p, tPos) * CFrame.Angles(math.pi / 2, 0, 0)
1732
                              local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
1733
                              d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0) * cf(0, 0, 2), 0.4)
1734
                            end
1735
                      end
1736
                    end
1737
                  end
1738
                end
1739
                for i = 0, 1, 0.2 do
1740
                  if dattack == false then
1741
                    swait()
1742
                  end
1743
                  dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 0.4)
1744
                  d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 0.4)
1745
                  d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 0.4)
1746
                end
1747
                dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
1748
                d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
1749
                d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
1750
              end
1751
                dprt1.Transparency = 0
1752
                d2prt1.Transparency = 0
1753
                d3prt1.Transparency = 0
1754
                dattack = false
1755
              attack = false
1756
end
1757
1758
do2 = function()
1759
  if attack == true then
1760
    return 
1761
  end
1762
    attack = true
1763
    dattack = true
1764
  if drakes > 0 or Mode == "Monarch" then
1765
    if Mode == "Drakes" then
1766
      for i = 0, 1, 0.1 do
1767
        swait()
1768
        if drakes > 2 then
1769
          d3wld1.C0 = clerp(d3wld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
1770
          dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
1771
          d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
1772
        else
1773
          if drakes > 1 then
1774
            d2wld1.C0 = clerp(d2wld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
1775
            dwld1.C0 = clerp(dwld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
1776
            d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
1777
          else
1778
            if drakes > 0 then
1779
              dwld1.C0 = clerp(dwld1.C0, euler(0.2, 0, 0.5) * cf(0, -5, 1.5) * euler(-0.5, 0, -1.2), 0.45)
1780
            end
1781
          end
1782
        end
1783
        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.3)
1784
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
1785
        RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7) * euler(0, -1, 0), 0.3)
1786
        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -2) * euler(0, 1.57, 0), 0.3)
1787
        RH.C0 = clerp(RH.C0, cf(1, -0.8, 0.3) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(-0.1, 0, -0.4), 0.3)
1788
        LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.3, 0) * euler(-0.2, 0, 0.1), 0.3)
1789
      end
1790
      RecentEnemy.Value = nil
1791
      drakesplode = false
1792
      drakepart = dprt1
1793
      thdrake = model2
1794
      if drakes > 2 then
1795
        drakepart = d3prt1
1796
        thdrake = model4
1797
      else
1798
        if drakes > 1 then
1799
          drakepart = d2prt1
1800
          thdrake = model3
1801
        else
1802
          if drakes > 0 then
1803
            drakepart = dprt1
1804
            thdrake = model2
1805
          end
1806
        end
1807
      end
1808
      local oldCF = drakepart.CFrame
1809
      so("338594594", drakepart, 1, 0.9)
1810
      for i = 0, 1, 0.15 do
1811
        swait()
1812
        if RecentEnemy.Value == nil then
1813
          if drakes > 2 then
1814
            drakepart = d3prt1
1815
            thdrake = model4
1816
            d3wld1.C0 = clerp(d3wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
1817
            dwld1.C0 = clerp(dwld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
1818
            d2wld1.C0 = clerp(d2wld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
1819
          elseif drakes > 1 then
1820
              drakepart = d2prt1
1821
              thdrake = model3
1822
              d2wld1.C0 = clerp(d2wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
1823
              dwld1.C0 = clerp(dwld1.C0, euler(0, 0, -1.2) * cf(0, -4, -2.5) * euler(0, 0, 1.2), 0.45)
1824
              d3wld1.C0 = clerp(d3wld1.C0, euler(0, 0, 1.2) * cf(0, -4, -2.5) * euler(0, 0, -1.2), 0.45)
1825
            elseif drakes > 0 then
1826
                drakepart = dprt1
1827
                thdrake = model2
1828
                dwld1.C0 = clerp(dwld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.35)
1829
                d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.35)
1830
                d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.35)
1831
          end
1832
          effect2("Pastel light blue", 0, drakepart.CFrame, oldCF, nil, 3, 1)
1833
          oldCF = drakepart.CFrame
1834
          MagniDamage(drakepart, 1000000000, 1000000000, 1000000000, 1000000000, "Knockdown2", drakepart, 0, 1, (math.random(2, 4)), nil, true)
1835
        else
1836
          if drakesplode == false then
1837
            drakesplode = true
1838
            drakes = drakes - 1
1839
            thdrake.Parent = nil
1840
            local ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1841
            ref.Anchored = true
1842
            ref.CFrame = cf(drakepart.Position)
1843
            game:GetService("Debris"):AddItem(ref, 1)
1844
            MagicCircle(BrickColor.new(NewCol2), cf(ref.Position), 30, 30, 30, 2, 2, 2, 0.05)
1845
            MagicBlock(BrickColor.new(NewCol2), cf(ref.Position), 5, 5, 5, 5, 5, 5, 0.1, 1)
1846
            breakfreeze = true
1847
            so("338594648", ref, 1, 1)
1848
            MagniDamage(drakepart, 1000000000, 1000000000, 1000000000, 0, "Knockdown2", drakepart, 0, 1, (math.random(3, 5)), nil, nil, true, "Damage", 1000000000, 1000000000)
1849
            breakfreeze = false
1850
            for i = 1, 10 do
1851
              BreakEffect(BrickColor.new(NewCol2), ref.CFrame * cf(math.random(-400, 400) / 100, math.random(-400, 400) / 100, math.random(-400, 400) / 100), math.random(40, 80) / 100, math.random(2, 6), math.random(40, 80) / 100)
1852
            end
1853
          end
1854
        end
1855
          Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.45)
1856
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.6) * euler(0.1, 0, 0), 0.45)
1857
          RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(-0.2, 0, 0.7) * euler(0, -1, 0), 0.45)
1858
          LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -2) * euler(0, 1, 0) * euler(0, 0, 2), 0.45)
1859
          RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.45)
1860
          LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(-0.05, 0, 0.1), 0.45)
1861
      end
1862
      for i = 0, 1, 0.13 do
1863
        swait()
1864
        if RecentEnemy.Value == nil then
1865
          if drakes > 2 then
1866
            d3wld1.C0 = clerp(d3wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2, 0.2), 0.2)
1867
          elseif drakes > 1 then
1868
              d2wld1.C0 = clerp(d2wld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2, 0.2), 0.2)
1869
            elseif drakes > 0 then
1870
                dwld1.C0 = clerp(dwld1.C0, euler(1, 0, 0) * cf(0, -1, 7) * euler(0.5, 0, -1.2), 0.2)
1871
                d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2, 0.5) * euler(0.2, 0, 0.4) * euler(0, -0.3, 0), 0.3)
1872
                d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 0.5) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.3)
1873
          end
1874
        end
1875
      end
1876
    else
1877
        if Mode == "Monarch" then
1878
          for i = 0, 1, 0.15 do
1879
            swait()
1880
            Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.4)
1881
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.3, 0, 0) * euler(0, 0, -0.4), 0.4)
1882
            RW.C0 = clerp(RW.C0, cf(1.4, 0.6, -0.1) * euler(0.6, 0, 0.2) * euler(0, -1.2, 0), 0.4)
1883
            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
1884
            RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -1) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.5), 0.4)
1885
            LH.C0 = clerp(LH.C0, cf(-1.1, -0.5, -0.4) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.3), 0.4)
1886
          end
1887
          so("338586318", RightArm, 1, 1.05)
1888
          so("92597369", RightArm, 1, 1)
1889
          hitbox.Parent = modelzorz
1890
          hitbox.Anchored = true
1891
          hitbox.Size = vt(0.2, 0.2, 0.2)
1892
          hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1893
          local oldCF = RightArm.CFrame * cf(0, -2, 0.5)
1894
          local oldCF2 = RightArm.CFrame * cf(0, -2, -0.5)
1895
          move = 150
1896
          for i = 0, 1, 0.1 do
1897
            swait()
1898
            move = move - 10
1899
            if Rooted.Value == false then
1900
              Torso.Velocity = RootPart.CFrame.lookVector * move
1901
            end
1902
            Neck.C0 = clerp(Neck.C0, necko * euler(0.3, 0, -0.4) * euler(-0.2, 0, 0), 0.3)
1903
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.2, 0, 0) * euler(0, 0, 0.4), 0.3)
1904
            RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.6) * euler(0.6, 0, 0.2) * euler(0, -2, 0) * euler(0, 0, -2.4), 0.2)
1905
            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8), 0.3)
1906
            RH.C0 = clerp(RH.C0, cf(1.05, -0.8, -0.3) * euler(0, 1.57, 0) * euler(0, -0.4, 0) * euler(-0.1, 0, -0.2), 0.3)
1907
            LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(0, -1.57, 0) * euler(0, -0.2, 0) * euler(0, 0, 0.4), 0.3)
1908
            if i < 0.8 then
1909
              hitbox.CFrame = RightArm.CFrame * cf(0, -2, 0)
1910
              breakfreeze = true
1911
              MagniDamage(hitbox, 1000000000, 1000000000, 1000000000, math.random(4, 8), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
1912
              breakfreeze = false
1913
              effect2("Pastel light blue", 0, RightArm.CFrame * cf(0.2, -3, 0.5), oldCF, nil, 1, 2)
1914
              effect2("Pastel light blue", 0, RightArm.CFrame * cf(0.2, -3, -0.5), oldCF2, nil, 1, 2)
1915
              oldCF = RightArm.CFrame * cf(0.2, -2.8, 0.5)
1916
              oldCF2 = RightArm.CFrame * cf(0.2, -2.8, -0.5)
1917
            end
1918
          end
1919
          hitbox.Parent = nil
1920
        end
1921
      end
1922
  end
1923
          dattack = false
1924
          attack = false
1925
end
1926
1927
do3 = function()
1928
  if dryice == true then
1929
    dryice = false
1930
      attack = false
1931
      dattack = false
1932
    return 
1933
  end
1934
  if attack == true then
1935
    return 
1936
  end
1937
    attack = true
1938
      dattack = true
1939
      dryice = true
1940
    if Mode == "Drakes" then
1941
      coroutine.resume(coroutine.create(function()
1942
    for i = #Claw / 2, 1, -1 do
1943
      swait()
1944
      Claw[i].Transparency = 1
1945
      Claw[i + 10].Transparency = 1
1946
    end
1947
  end
1948
))
1949
      sref.Parent = effects
1950
      mistparti1.Enabled = true
1951
      mistparti2.Enabled = true
1952
      sref.Size = vt(20, 20, 20)
1953
      local refaa = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
1954
      refaa.Anchored = true
1955
      refaa.CFrame = cf(sref.Position)
1956
      game:GetService("Debris"):AddItem(refaa, 1)
1957
      gsou:play()
1958
      so("338601305", sref, 1, 0.8)
1959
      raa = 0
1960
      local drake = dprt1
1961
      local targetd1, distanced1 = findNearestTorso(dprt1.Position, 60)
1962
      local targetd2, distanced2 = findNearestTorso(d2prt1.Position, 60)
1963
      local targetd3, distanced3 = findNearestTorso(d3prt1.Position, 60)
1964
      while dryice do
1965
          swait()
1966
        if dryice == true then
1967
          dattack = true
1968
          raa = raa + 1
1969
          refaa.CFrame = sref.CFrame * cf(math.random(-2000, 2000) / 100, 10, math.random(-2000, 2000) / 100)
1970
1971
          if raa % 6 ~= 0 or raa % 3 == 0 then
1972
            hitfloor = rayCast(refaa.Position, CFrame.new(refaa.Position, refaa.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
1973
            MagicBlock(BrickColor.new(NewCol3), cf(posfloor), 1, 1, 1, 1, 1, 1, 0.2, 1)
1974
          end
1975
          if raa % 21 == 0 then
1976
            if raa % 63 == 0 then
1977
              freeze = true
1978
            end
1979
            RecentEnemy.Value = nil
1980
            MagniDamage(sref, 1000000000, 1000000000, 1000000000, 1000000000, "Normal", sref, 0, 1, (math.random(1, 3)), nil, nil, true)
1981
            if RecentEnemy.Value ~= nil then
1982
              Frost = Frost + math.random(2, 4)
1983
            end
1984
            freeze = false
1985
          end
1986
          if raa % 60 == 0 and drakes > 0 then
1987
            thetarg = nil
1988
1989
if drakes > 0 and drakes < 2 then
1990
if targetd1 ~= nil then
1991
thetarg = targetd1.Position
1992
drake = dprt1
1993
end
1994
elseif drakes > 1 and drakes < 3 then
1995
xx = math.random(1,2)
1996
if xx == 1 then
1997
if targetd1 ~= nil then
1998
thetarg = targetd1.Position
1999
drake = dprt1
2000
end
2001
else
2002
if targetd2 ~= nil then
2003
thetarg = targetd2.Position
2004
drake = d2prt1
2005
end
2006
end
2007
elseif drakes > 2 then
2008
xx = math.random(1,3)
2009
if xx == 1 then
2010
if targetd1 ~= nil then
2011
thetarg = targetd1.Position
2012
drake = dprt1
2013
end
2014
elseif xx == 2 then
2015
if targetd2 ~= nil then
2016
thetarg = targetd2.Position
2017
drake = d2prt1
2018
end
2019
else
2020
if targetd3 ~= nil then
2021
thetarg = targetd3.Position
2022
drake = d3prt1
2023
end
2024
end
2025
end
2026
2027
            if thetarg ~= nil then
2028
              local refd = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
2029
              refd.Anchored = true
2030
              refd.CFrame = drake.CFrame
2031
              game:GetService("Debris"):AddItem(refd, 1)
2032
              MagicBlock(BrickColor.new(NewCol3), cf(refd.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 7, 7, 7, 1, 1, 1, 0.08, 2)
2033
              local icepart1 = part(3, effects, 0.5, 0, BrickColor.new(NewCol2), "Ice", vt(2, 4, 2))
2034
              icepart1.Anchored = true
2035
          icepart1.Material = Enum.Material.Neon
2036
              i1msh = mesh("SpecialMesh", icepart1, "FileMesh", "1778999", vt(0, 0, 0), vt(0.7, 1, 0.7))
2037
              icepart1.CFrame = cf(refd.Position)
2038
              game:GetService("Debris"):AddItem(icepart1, 20)
2039
              local parti1 = icicleparti1:Clone()
2040
              parti1.Parent = icepart1
2041
              local parti2 = icicleparti2:Clone()
2042
              parti2.Parent = icepart1
2043
              MouseLook = cf(icepart1.Position, thetarg + vt(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100))
2044
              table.insert(Effects, {MouseLook, "ShootIce", 50, icepart1.Position, 3, 4, 0, icepart1, 7, 2, parti1, parti2})
2045
            end
2046
          end
2047
            sref.CFrame = cf(RootPart.Position)
2048
            dwld1.C0 = clerp(dwld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3, 0), 0.3)
2049
            d2wld1.C0 = clerp(d2wld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3 * 2, 0), 0.3)
2050
            d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4, 5) * euler(0, 0, 0) * euler(0, mr(720) / 3 * 3, 0), 0.3)
2051
            targetd1 = findNearestTorso(dprt1.Position, 60)
2052
            targetd2 = findNearestTorso(d2prt1.Position, 60)
2053
            targetd3 = findNearestTorso(d3prt1.Position, 60)
2054
				
2055
			if targetd1 ~= nil then
2056
              local cff = CFrame.new(dprt1.CFrame.p, targetd1.Position) * CFrame.Angles(math.pi / 2, 0, 0)
2057
              local x, y, z = dprt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2058
              dwld2.C0 = clerp(dwld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
2059
			end
2060
			if targetd2 ~= nil then
2061
              local cff = CFrame.new(d2prt1.CFrame.p, targetd2.Position) * CFrame.Angles(math.pi / 2, 0, 0)
2062
              local x, y, z = d2prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2063
              d2wld2.C0 = clerp(d2wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
2064
			end
2065
			if targetd3 ~= nil then
2066
              local cff = CFrame.new(d3prt1.CFrame.p, targetd3.Position) * CFrame.Angles(math.pi / 2, 0, 0)
2067
              local x, y, z = d3prt1.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2068
              d3wld2.C0 = clerp(d3wld2.C0, CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.4)
2069
			end
2070
2071
                        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.3, 0, 0), 0.3)
2072
                        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
2073
                        RW.C0 = clerp(RW.C0, cf(1.2, 0.8, -0.3) * euler(2.8, 0, -0.6) * euler(0, 0, 0), 0.3)
2074
                        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.3)
2075
                        RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.2) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.06, 0, 0.1), 0.3)
2076
                        LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.2) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.06, 0, -0.1), 0.3)
2077
2078
2079
        end
2080
      end
2081
      gsou:Stop()
2082
      mistparti1.Enabled = false
2083
      mistparti2.Enabled = false
2084
      sref.Size = vt(1, 1, 1)
2085
      dwld2.C0 = clerp(dwld2.C0, cf(0, 0, 0), 1)
2086
      d2wld2.C0 = clerp(d2wld2.C0, cf(0, 0, 0), 1)
2087
      d3wld2.C0 = clerp(d3wld2.C0, cf(0, 0, 0), 1)
2088
      coroutine.resume(coroutine.create(function()
2089
    swait(200)
2090
    sref.Parent = nil
2091
  end
2092
))
2093
      coroutine.resume(coroutine.create(function()
2094
    for i = 1, #Claw / 2 do
2095
      Claw[i].Transparency = 0
2096
      Claw[i + 10].Transparency = 0
2097
      swait()
2098
    end
2099
  end
2100
))
2101
end       
2102
 if Mode == "Monarch" then
2103
          for i = 0, 1, 0.1 do
2104
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.2) * euler(0.8, 0, 0) * euler(0, 0, -0.6), 0.3)
2105
            RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.3)
2106
            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
2107
            RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
2108
            LH.C0 = clerp(LH.C0, cf(-1.1, 0.4, -0.2) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.6), 0.3)
2109
          end
2110
          sref.Parent = effects
2111
          sref.CFrame = LeftArm.CFrame * cf(0, -1, 0)
2112
          sref.CFrame = cf(sref.Position)
2113
          mistparti1.Enabled = true
2114
          mistparti2.Enabled = true
2115
          gsou:play()
2116
          so("338601305", sref, 1, 0.8)
2117
          sref.Size = vt(40, 20, 40)
2118
          local refaa = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
2119
          refaa.Anchored = true
2120
          refaa.CFrame = cf(sref.Position)
2121
          game:GetService("Debris"):AddItem(refaa, 1)
2122
	local ii = 0
2123
          while dryice do
2124
	ii = ii + 1
2125
            swait()
2126
            refaa.CFrame = sref.CFrame * cf(math.random(-4000, 4000) / 100, 10, math.random(-4000, 4000) / 100)
2127
2128
            if ii % 6 ~= 0 or ii % 3 == 0 then
2129
              hitfloor = rayCast(refaa.Position, CFrame.new(refaa.Position, refaa.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
2130
              MagicBlock(BrickColor.new(NewCol3), cf(posfloor), 1, 1, 1, 1, 1, 1, 0.2, 1)
2131
            end
2132
            if ii % 21 == 0 then
2133
              if ii % 42 == 0 then
2134
                freeze = true
2135
              end
2136
              MagniDamage(sref, 1000000000, 1000000000, 1000000000, 1000000000, "Normal", sref, 0, 1, (math.random(1, 3)), nil, nil, true)
2137
              freeze = false
2138
            end
2139
          end
2140
          sref.Size = vt(1, 1, 1)
2141
          mistparti1.Enabled = false
2142
          mistparti2.Enabled = false
2143
          gsou:Stop()
2144
          swait(100)
2145
          sref.Parent = nil
2146
        end
2147
      dryice = false
2148
      attack = false
2149
      dattack = false
2150
end
2151
2152
do4 = function()
2153
  if attack == true then
2154
    return 
2155
  end
2156
  if drakes > 0 then
2157
    if Mode == "Monarch" then
2158
      IcyMonarch()
2159
    end
2160
    attack = true
2161
    dattack = true
2162
    coroutine.resume(coroutine.create(function()
2163
    for i = #Claw / 2, 1, -1 do
2164
      swait()
2165
      Claw[i].Transparency = 1
2166
      Claw[i + 10].Transparency = 1
2167
    end
2168
  end
2169
))
2170
    local reft = part(3, effects, 0, 1, BrickColor.new("White"), "Reference", vt())
2171
    reft.CFrame = cf(Torso.Position)
2172
    reft.CanCollide = true
2173
    local rtwld = weld(reft, RootPart, reft, cf(0, 0, 0) * euler(0, 0, 0))
2174
    dwld1.Part1 = reft
2175
    d2wld1.Part1 = reft
2176
    d3wld1.Part1 = reft
2177
    sizeseq = ns({nsk(0, 0), nsk(0.025, 2), nsk(0.192, 4), nsk(1, 5)})
2178
    transseq = ns({nsk(0, 0.8), nsk(0.3, 1), nsk(1, 1)})
2179
    local rara = particle(reft, Color3.new(1, 1, 1), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.3, sizeseq, "http://www.roblox.com/asset/?id=241594419", transseq, 0, vt(0, 0, 0), 0, true, 0, "Bottom", true, nr(7, 10), 80, nr(-360, 360), nr(-30, 30), nr(0), 20)
2180
    sizeseq = ns({nsk(0, 0), nsk(0.054, 0.3), nsk(0.451, 0.2), nsk(1, 0.12)})
2181
    transseq = ns({nsk(0, 1), nsk(0.03, 1), nsk(0.1, 0.137), nsk(0.232, 1), nsk(1, 1)})
2182
    local rara2 = particle(reft, Color3.new(0.57647058823529, 0.92156862745098, 1), Color3.new(0.54117647058824, 0.9921568627451, 1), 0.4, sizeseq, "http://www.roblox.com/asset/?id=269030572", transseq, 0, vt(0, -35, 0), 0, false, 0, "Back", true, nr(1, 1.5), 80, nr(-360, 360), nr(-180, 180), nr(40), 180)
2183
    local cff = CFrame.new(RootPart.CFrame.p, Mouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
2184
    local x, y, z = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2185
    for i = 0, 1, 0.1 do
2186
      swait()
2187
      cff = CFrame.new(RootPart.CFrame.p, Mouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
2188
      x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2189
      rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
2190
      if drakes > 2 then
2191
        dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3), 0.45)
2192
        d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3 * 2), 0.45)
2193
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 3 * 3), 0.45)
2194
      else
2195
        if drakes > 1 then
2196
          dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 2 * 0), 0.45)
2197
          d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2, 0) * euler(1, 0, mr(720) / 2 * 0.5), 0.45)
2198
        else
2199
          if drakes > 0 then
2200
            dwld1.C0 = clerp(dwld1.C0, cf(0, -2, 0) * euler(1, 0, 0), 0.45)
2201
          end
2202
        end
2203
      end
2204
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.35)
2205
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.35)
2206
      RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(3, 0, 0.2) * euler(0, 0, 0), 0.35)
2207
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(3, 0, -0.2), 0.35)
2208
      RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.1), 0.35)
2209
      LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.1), 0.35)
2210
    end
2211
    local deca = Instance.new("NumberValue", Stats)
2212
    deca.Name = "DecreaseMvmt"
2213
    deca.Value = 0.5
2214
    local tpos = Mouse.Hit.p
2215
    so("338594747", reft, 1, 0.6)
2216
    for i = 0, 1, 0.02 do
2217
      swait()
2218
      if i < 0.7 then
2219
        tpos = Mouse.Hit.p
2220
      end
2221
      sizeseq = ns({nsk(0, 0), nsk(0.025, 2 + 2 * i), nsk(0.192, 4 + 3 * i), nsk(1, 5 + 3 * i)})
2222
      rara.Size = sizeseq
2223
      cff = CFrame.new(RootPart.CFrame.p, tpos) * CFrame.Angles(math.pi / 2, 0, 0)
2224
      -- DECOMPILER ERROR at PC734: Overwrote pending register: R7 in 'AssignReg'
2225
2226
      -- DECOMPILER ERROR at PC735: Overwrote pending register: R6 in 'AssignReg'
2227
2228
      x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2229
      rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
2230
      if drakes > 2 then
2231
        dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 + 6 * i), 0.45)
2232
        d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 * 2 + 6 * i), 0.45)
2233
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 3 * 3 + 6 * i), 0.45)
2234
      else
2235
        if drakes > 1 then
2236
          dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 2 * 0 + 6 * i), 0.45)
2237
          d2wld1.C0 = clerp(d2wld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, mr(720) / 2 * 0.5 + 6 * i), 0.45)
2238
        else
2239
          if drakes > 0 then
2240
            dwld1.C0 = clerp(dwld1.C0, cf(0, -2 - 3 * i, 0) * euler(1 - 0.5 * i, 0, 12 * i), 0.45)
2241
          end
2242
        end
2243
      end
2244
      if i < 0.7 then
2245
        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.35)
2246
        RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.8, 0, 1) * euler(0, 0, 0), 0.2)
2247
        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.8, 0, -1), 0.2)
2248
      else
2249
        Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.1, 0, 0), 0.35)
2250
        RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 0) * euler(0, 0, 0), 0.35)
2251
        LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.4, 0, -0.6), 0.35)
2252
      end
2253
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.35)
2254
      RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.1), 0.35)
2255
      LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.1), 0.35)
2256
    end
2257
    deca.Value = 10
2258
    sizeseq = ns({nsk(0, 0), nsk(0.025, 4), nsk(0.192, 7), nsk(1, 8)})
2259
    rara.Size = sizeseq
2260
    sizeseq = ns({nsk(0, 0), nsk(0.054, 1), nsk(0.451, 0.6), nsk(1, 0.1)})
2261
    rara2.Size = sizeseq
2262
    rara2.Acceleration = vt(0, -10, 0)
2263
    rara2.Lifetime = nr(3, 3)
2264
    rara2.Speed = nr(20)
2265
    local fref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
2266
    fref.Anchored = true
2267
    fref.CFrame = cf(RootPart.Position)
2268
    game:GetService("Debris"):AddItem(fref, 1)
2269
    so("338594524", reft, 1, 0.4)
2270
    so("338594626", fref, 1, 0.8)
2271
    so("338594626", fref, 1, 1)
2272
    local da = 0
2273
    for i = 0, 1, 0.01 do
2274
      swait()
2275
      da = da + 1
2276
      cff = CFrame.new(RootPart.CFrame.p, tpos) * CFrame.Angles(math.pi / 2, 0, 0)
2277
2278
      x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
2279
      rtwld.C0 = clerp(rtwld.C0, cf(0, 10, 0) * CFrame.Angles(x, y, z) * euler(-1.57, 0, 0), 0.45)
2280
      if drakes > 2 then
2281
        dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
2282
        d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 * 2 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
2283
        d3wld1.C0 = clerp(d3wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 3 * 3 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
2284
      else
2285
        if drakes > 1 then
2286
          dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 2 * 0 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
2287
          d2wld1.C0 = clerp(d2wld1.C0, cf(0, -5, 0) * euler(0.5, 0, mr(720) / 2 * 0.5 + 6 + 15 * i) * cf(0, 0, -1), 0.45)
2288
        else
2289
          if drakes > 0 then
2290
            dwld1.C0 = clerp(dwld1.C0, cf(0, -5, 0) * euler(0.5, 0, 12 + 20 * i) * cf(0, 0, -1), 0.45)
2291
          end
2292
        end
2293
      end
2294
      local hit, pos = rayCast(reft.Position, cf(reft.Position, tpos).lookVector, 300, Character)
2295
      local mag = (reft.Position - pos).magnitude
2296
      MagicHead(BrickColor.new("White"), CFrame.new((reft.Position + pos) / 2, pos) * angles(1.57, 0, 0), 15, mag * 5, 15, 3, 1, 3, 0.1)
2297
      MagicCircle(BrickColor.new(NewCol2), cf(pos) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 40, 10, 40, -3, 30, -3, 0.1)
2298
      if (da) % 5 == 0 then
2299
        fref.CFrame = cf(pos) * cf(math.random(-1000, 1000) / 100, 5, math.random(-1000, 1000) / 100)
2300
        local freezepart = part(3, workspace, 0.5, 0.5, BrickColor.new(NewCol3), "Ice Part", vt(math.random(1, 2) + math.random(), math.random(1, 2) + math.random(), math.random(1, 2) + math.random()))
2301
        freezepart.Anchored = true
2302
        freezepart.CanCollide = true
2303
  		freezepart.Material = Enum.Material.Neon
2304
        local hitfloor, posfloor = rayCast(fref.Position, CFrame.new(fref.Position, fref.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
2305
        freezepart.CFrame = cf(posfloor) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2306
        game:GetService("Debris"):AddItem(freezepart, 10)
2307
        if hitfloor == nil then
2308
          freezepart.Parent = nil
2309
        end
2310
        fref.CFrame = cf(pos)
2311
        freeze = true
2312
        dam1 = drakes * 1
2313
        dam2 = drakes * 1.2
2314
        MagniDamage(fref, 1000000000, 1000000000, 1000000000, 1000000000, "Knockdown2", fref, 0.5, 1, (math.random(6, 8)), nil, nil, true)
2315
        freeze = false
2316
      end
2317
      do
2318
        if (da) % 7 == 0 then
2319
          fref.CFrame = cf(pos) * cf(math.random(-2000, 2000) / 100, 5, math.random(-2000, 2000) / 100)
2320
          local freezepart = part(3, workspace, 0.5, 0.5, BrickColor.new(NewCol3), "Ice Part", vt(math.random(50, 100) / 100, math.random(300, 500) / 100, math.random(50, 100) / 100))
2321
          freezepart.Anchored = true
2322
          freezepart.CanCollide = true
2323
  		freezepart.Material = Enum.Material.Neon
2324
          local hitfloor, posfloor = rayCast(fref.Position, CFrame.new(fref.Position, fref.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
2325
          freezepart.CFrame = cf(posfloor) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2326
          game:GetService("Debris"):AddItem(freezepart, 10)
2327
          if hitfloor == nil then
2328
            freezepart.Parent = nil
2329
          end
2330
        end
2331
        do
2332
          if (da) % 10 == 0 then
2333
            fref.CFrame = cf(pos)
2334
            MagniDamage(fref, 1000000000, 1000000000, 1000000000, 1000000000, "Normal", fref, 0.2, 1, (math.random(1, 3)), nil, nil, true, "Movement", 0.02, 200)
2335
          end
2336
        end
2337
      end
2338
    end
2339
    coroutine.resume(coroutine.create(function()
2340
    for i = 1, #Claw / 2 do
2341
      Claw[i].Transparency = 0
2342
      Claw[i + 10].Transparency = 0
2343
      swait()
2344
    end
2345
  end
2346
))
2347
    parti1.Enabled = false
2348
    parti2.Enabled = false
2349
    if drakes > 0 then
2350
      parti3.Enabled = true
2351
    end
2352
    d2parti1.Enabled = false
2353
    d2parti2.Enabled = false
2354
    if drakes > 1 then
2355
      d2parti3.Enabled = true
2356
    end
2357
    d3parti1.Enabled = false
2358
    d3parti2.Enabled = false
2359
    if drakes > 2 then
2360
      d3parti3.Enabled = true
2361
    end
2362
    rara.Enabled = false
2363
    rara2.Enabled = false
2364
    for i = 0, 1, 0.05 do
2365
      swait()
2366
      Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.6) * euler(0.1, 0, 0), 0.3)
2367
      RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.2) * euler(0.8, 0, 0) * euler(0, 0, -0.6), 0.3)
2368
      RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.3)
2369
      LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.1), 0.3)
2370
      RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.5) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.4), 0.3)
2371
      LH.C0 = clerp(LH.C0, cf(-1.1, 0.4, -0.2) * euler(0, -1.57, 0) * euler(0, 0.6, 0) * euler(0, 0, -0.6), 0.3)
2372
    end
2373
    if drakes > 0 then
2374
      for _,c in pairs(model2:children()) do
2375
        c.Transparency = 1
2376
      end
2377
    end
2378
    do
2379
      if drakes > 1 then
2380
        for _,c in pairs(model3:children()) do
2381
          c.Transparency = 1
2382
        end
2383
      end
2384
      do
2385
        if drakes > 2 then
2386
          for _,c in pairs(model4:children()) do
2387
            c.Transparency = 1
2388
          end
2389
        end
2390
        do
2391
          parti3.Enabled = false
2392
          d2parti3.Enabled = false
2393
          d3parti3.Enabled = false
2394
          drakes = 0
2395
          deca.Parent = nil
2396
          dwld1.Part1 = RootPart
2397
          d2wld1.Part1 = RootPart
2398
          d3wld1.Part1 = RootPart
2399
          reft.Parent = nil
2400
          dattack = false
2401
          attack = false
2402
          swait(20)
2403
          if drakes < 1 then
2404
            model2.Parent = nil
2405
          end
2406
          if drakes < 2 then
2407
            model3.Parent = nil
2408
          end
2409
          if drakes < 3 then
2410
            model4.Parent = nil
2411
          end
2412
        end
2413
      end
2414
    end
2415
  end
2416
end
2417
2418
findNearestTorso = function(pos, distance)
2419
  local list = (game.Workspace:children())
2420
  local torso = nil
2421
  local dist = distance
2422
  local temp, human, temp2 = nil, nil, nil
2423
  for x = 1, #list do
2424
    temp2 = list[x]
2425
    canfind = true
2426
    -- DECOMPILER ERROR at PC36: Unhandled construct in 'MakeBoolean' P1
2427
2428
    if game.Players:GetPlayerFromCharacter(temp2) ~= nil and game.Players:GetPlayerFromCharacter(temp2).TeamColor == Player.TeamColor and Player.Neutral == false then
2429
      canfind = false
2430
    end
2431
    canfind = true
2432
    if temp2.className == "Model" and temp2 ~= Character and canfind == true then
2433
      temp = temp2:findFirstChild("Torso")
2434
      human = temp2:findFirstChild("Humanoid")
2435
      if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
2436
        torso = temp
2437
        dist = (temp.Position - pos).magnitude
2438
      end
2439
    end
2440
  end
2441
  return torso, dist
2442
end
2443
2444
DecreaseStat = function(Model, Stat, Amount, Duration)
2445
  if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
2446
    Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
2447
    d = Instance.new("NumberValue", Model.Stats.Decrease)
2448
    dur = Instance.new("NumberValue", d)
2449
    dur.Name = "Duration"
2450
    dur.Value = Duration
2451
    game:GetService("Debris"):AddItem(d, 20)
2452
    if Stat == "Damage" then
2453
      d.Name = "DecreaseAtk"
2454
    else
2455
      if Stat == "Defense" then
2456
        d.Name = "DecreaseDef"
2457
      else
2458
        if Stat == "Movement" then
2459
          d.Name = "DecreaseMvmt"
2460
        end
2461
      end
2462
    end
2463
    if Model:findFirstChild("Torso") ~= nil then
2464
      display = ""
2465
      if Stat == "Damage" then
2466
        if Amount > 0 then
2467
          display = "-Damage"
2468
        else
2469
          display = "+Damage"
2470
        end
2471
      else
2472
        if Stat == "Defense" then
2473
          if Amount > 0 then
2474
            display = "-Defense"
2475
          else
2476
            display = "+Defense"
2477
          end
2478
        else
2479
          if Stat == "Movement" then
2480
            if Amount > 0 then
2481
              display = "-Movement"
2482
            else
2483
              display = "+Movement"
2484
            end
2485
          end
2486
        end
2487
      end
2488
      Frost = math.floor(Frost + Amount * math.random(40, 60))
2489
    end
2490
    d.Value = Amount
2491
  end
2492
end
2493
2494
GetDist = function(Part1, Part2, magni)
2495
  local targ = Part1.Position - Part2.Position
2496
  local mag = targ.magnitude
2497
  if mag <= magni then
2498
    return true
2499
  else
2500
    return false
2501
  end
2502
end
2503
2504
MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2505
  for _,c in pairs(workspace:children()) do
2506
    local hum = c:findFirstChild("Humanoid")
2507
    if hum ~= nil then
2508
      local head = nil
2509
      for _,d in pairs(c:children()) do
2510
        if d.className == "Model" and ranged ~= true then
2511
          head = d:findFirstChild("Hitbox")
2512
          if d.Parent == Character then
2513
            break
2514
          end
2515
          if head ~= nil then
2516
            local targ = head.Position - Part.Position
2517
            local mag = targ.magnitude
2518
            if mag <= magni and c.Name ~= Player.Name then
2519
              ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
2520
              ref.Anchored = true
2521
              ref.CFrame = cf(head.Position)
2522
              game:GetService("Debris"):AddItem(ref, 1)
2523
              hitnum = math.random(1, 5)
2524
              if hitnum == 1 then
2525
                so("199148971", ref, 1, 1)
2526
              else
2527
                if hitnum == 2 then
2528
                  so("199149025", ref, 1, 1)
2529
                else
2530
                  if hitnum == 3 then
2531
                    so("199149072", ref, 1, 1)
2532
                  else
2533
                    if hitnum == 4 then
2534
                      so("199149109", ref, 1, 1)
2535
                    else
2536
                      if hitnum == 5 then
2537
                        so("199149119", ref, 1, 1)
2538
                      end
2539
                    end
2540
                  end
2541
                end
2542
              end
2543
            end
2544
          end
2545
        end
2546
        do
2547
          if d.className == "Part" then
2548
            head = d
2549
            if head ~= nil then
2550
              local targ = head.Position - Part.Position
2551
              local mag = targ.magnitude
2552
              if mag <= magni and c.Name ~= Player.Name then
2553
                Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2554
              end
2555
            end
2556
          end
2557
          do
2558
            -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
2559
2560
          end
2561
        end
2562
      end
2563
    end
2564
  end
2565
end
2566
2567
MagniBuff = function(Part, magni, Dec, DecAm, Dur)
2568
  DecreaseStat(Character, Dec, DecAm, Dur)
2569
  for _,c in pairs(workspace:children()) do
2570
    local hum = c:findFirstChild("Humanoid")
2571
    if hum ~= nil then
2572
      local head = c:findFirstChild("Torso")
2573
      if head ~= nil then
2574
        local targ = head.Position - Part.Position
2575
        local mag = targ.magnitude
2576
        cando = true
2577
        if mag <= magni then
2578
          if Player.Neutral == false then
2579
            if game.Players:GetPlayerFromCharacter(head.Parent) ~= nil then
2580
              if game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
2581
                cando = true
2582
              else
2583
                cando = false
2584
              end
2585
            else
2586
              cando = false
2587
            end
2588
            if head.Parent:findFirstChild("Alignment") ~= nil and head.Parent.Alignment.Value == Player.TeamColor.Color then
2589
              cando = true
2590
            end
2591
          else
2592
            cando = false
2593
          end
2594
          if cando == true then
2595
            DecreaseStat(head.Parent, Dec, DecAm, Dur)
2596
          end
2597
        end
2598
      end
2599
    end
2600
  end
2601
end
2602
2603
rayCast = function(Pos, Dir, Max, Ignore)
2604
  return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
2605
end
2606
2607
local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
2608
LastPoint = Point
2609
effect = function(Color, Ref, LP, P1, returnn, size, thing1)
2610
  if LP == nil or P1 == nil then
2611
    return 
2612
  end
2613
  local effectsmsh = Instance.new("CylinderMesh")
2614
  effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
2615
  effectsmsh.Name = "Mesh"
2616
  local effectsg = Instance.new("Part")
2617
  NoOutline(effectsg)
2618
  effectsg.formFactor = 3
2619
  effectsg.Material = Enum.Material.Neon
2620
  effectsg.CanCollide = false
2621
  effectsg.Name = "Eff"
2622
  effectsg.Locked = true
2623
  effectsg.Anchored = true
2624
  effectsg.Size = Vector3.new(0.5, 1, 0.5)
2625
  effectsg.Parent = workspace
2626
  effectsmsh.Parent = effectsg
2627
  effectsg.BrickColor = BrickColor.new(Color)
2628
  effectsg.Reflectance = Ref
2629
  local point1 = P1
2630
  local mg = (LP.p - point1.p).magnitude
2631
  effectsg.Size = Vector3.new(0.5, mg, 0.5)
2632
  effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
2633
  effectsmsh.Scale = Vector3.new(size, 1, size)
2634
  game:GetService("Debris"):AddItem(effectsg, 2)
2635
  if returnn then
2636
    return effectsg
2637
  end
2638
  if not returnn then
2639
    if thing1 == 1 then
2640
Cylinder(effectsg, 0.05, 0.2, 0, 0.2, effectsmsh)
2641
    else
2642
      if thing1 == 2 then
2643
Cylinder(effectsg, 0.2, 0.01, 0, 0.01, effectsmsh)
2644
      else
2645
        if thing1 == 3 then
2646
Cylinder(effectsg, 0, 0, 0, 0.1, effectsmsh)
2647
        end
2648
      end
2649
    end
2650
  end
2651
end
2652
2653
effect2 = function(Color, Ref, LP, P1, returnn, size, raa)
2654
  if LP == nil or P1 == nil then
2655
    return 
2656
  end
2657
  MshTypee = "CylinderMesh"
2658
  if raa == 2 then
2659
    MshTypee = "BlockMesh"
2660
  end
2661
  local effectsmsh = Instance.new(MshTypee)
2662
  effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
2663
  effectsmsh.Name = "Mesh"
2664
  local effectsg = Instance.new("Part")
2665
  NoOutline(effectsg)
2666
  if raa == 2 then
2667
    effectsg.Material = "Neon"
2668
  end
2669
  effectsg.formFactor = 3
2670
  effectsg.Material = Enum.Material.Neon
2671
  effectsg.CanCollide = false
2672
  effectsg.Name = "Eff"
2673
  effectsg.Locked = true
2674
  effectsg.Anchored = true
2675
  effectsg.Size = Vector3.new(0.5, 1, 0.5)
2676
  effectsg.Parent = workspace
2677
  effectsmsh.Parent = effectsg
2678
  effectsg.BrickColor = BrickColor.new(Color)
2679
  effectsg.Reflectance = Ref
2680
  local point1 = P1
2681
  local mg = (LP.p - point1.p).magnitude
2682
  effectsg.Size = Vector3.new(0.5, mg, 0.5)
2683
  effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
2684
  effectsmsh.Scale = Vector3.new(size, 1, size)
2685
  game:GetService("Debris"):AddItem(effectsg, 5)
2686
  if returnn then
2687
    return effectsg
2688
  end
2689
  if not returnn then
2690
    if raa == 2 then
2691
Cylinder(effectsg, 0.05, -0.05, 0, -0.05, effectsmsh)
2692
    else
2693
Cylinder(effectsg, 0.1, -0.2, 0, -0.2, effectsmsh)
2694
    end
2695
  end
2696
end
2697
2698
local CFrameFromTopBack = function(at, top, back)
2699
  local right = top:Cross(back)
2700
  return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
2701
end
2702
2703
Triangle = function(a, b, c)
2704
  local edg1 = c - a:Dot(b - a.unit)
2705
  local edg2 = a - b:Dot(c - b.unit)
2706
  local edg3 = b - c:Dot(a - c.unit)
2707
  if edg1 <= (b - a).magnitude and edg1 >= 0 then
2708
    a = a
2709
  else
2710
    -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
2711
2712
    if edg2 <= (c - b).magnitude and edg2 >= 0 then
2713
      a = b
2714
    else
2715
      -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
2716
2717
      -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
2718
2719
      if edg3 <= (a - c).magnitude and edg3 >= 0 then
2720
        a = c
2721
      else
2722
        assert(false, "unreachable")
2723
      end
2724
    end
2725
  end
2726
  local len1 = c - a:Dot(b - a.unit)
2727
  local len2 = (b - a).magnitude - len1
2728
  local width = (a + b - a.unit * len1 - c).magnitude
2729
  local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
2730
  local list = {}
2731
  if len1 > 0.01 then
2732
    local w1 = Instance.new("WedgePart", m)
2733
    w1.Name = "Triangle"
2734
    game:GetService("Debris"):AddItem(w1, 5)
2735
    w1.Material = "Neon"
2736
    w1.FormFactor = "Custom"
2737
    w1.BrickColor = BrickColor.new("Medium blue")
2738
    w1.Transparency = 0
2739
    w1.Reflectance = 0
2740
    w1.Material = "Neon"
2741
    w1.CanCollide = false
2742
    NoOutline(w1)
2743
    local sz = Vector3.new(0.2, width, len1)
2744
    w1.Size = sz
2745
    local sp = Instance.new("SpecialMesh", w1)
2746
    sp.MeshType = "Wedge"
2747
    sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
2748
    w1:BreakJoints()
2749
    w1.Anchored = true
2750
    w1.Parent = workspace
2751
    w1.Transparency = 0.7
2752
    table.insert(Effects, {w1, "Disappear", 0.05})
2753
    w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
2754
    table.insert(list, w1)
2755
  end
2756
  do
2757
    if len2 > 0.01 then
2758
      local w2 = Instance.new("WedgePart", m)
2759
      w2.Name = "Triangle"
2760
      game:GetService("Debris"):AddItem(w2, 5)
2761
      w2.Material = "Neon"
2762
      w2.FormFactor = "Custom"
2763
      w2.BrickColor = BrickColor.new("Medium blue")
2764
      w2.Transparency = 0
2765
      w2.Reflectance = 0
2766
      w2.Material = "Neon"
2767
      w2.CanCollide = false
2768
      NoOutline(w2)
2769
      local sz = Vector3.new(0.2, width, len2)
2770
      w2.Size = sz
2771
      local sp = Instance.new("SpecialMesh", w2)
2772
      sp.MeshType = "Wedge"
2773
      sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
2774
      w2:BreakJoints()
2775
      w2.Anchored = true
2776
      w2.Parent = workspace
2777
      w2.Transparency = 0.7
2778
      table.insert(Effects, {w2, "Disappear", 0.05})
2779
      w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
2780
      table.insert(list, w2)
2781
    end
2782
    do
2783
      return unpack(list)
2784
    end
2785
  end
2786
end
2787
2788
MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
2789
  local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
2790
  prt.Anchored = true
2791
  prt.CFrame = cframe
2792
  prt.Material = Enum.Material.Neon
2793
  msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2794
  game:GetService("Debris"):AddItem(prt, 10)
2795
  if Type == 1 or Type == nil then
2796
Block1(prt, delay, x3, y3, z3, msh)
2797
  else
2798
    if Type == 2 then
2799
Block2(prt, delay, x3, y3, z3, msh)
2800
    else
2801
      if Type == 3 then
2802
Block3(prt, delay, x3, y3, z3, msh, prt.CFrame)
2803
      end
2804
    end
2805
  end
2806
end
2807
2808
MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2809
  local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
2810
  prt.Anchored = true
2811
  prt.CFrame = cframe
2812
  prt.Material = Enum.Material.Neon
2813
  local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
2814
  game:GetService("Debris"):AddItem(prt, 10)
2815
Cylinder(prt, delay, x3, y3, z3, msh)
2816
end
2817
2818
MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2819
  local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
2820
  prt.Anchored = true
2821
  prt.CFrame = cframe
2822
  prt.Material = Enum.Material.Neon
2823
  local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
2824
  game:GetService("Debris"):AddItem(prt, 10)
2825
Cylinder(prt, delay, x3, y3, z3, msh)
2826
end
2827
2828
BreakEffect = function(brickcolor, cframe, x1, y1, z1)
2829
  local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
2830
  prt.Anchored = true
2831
  prt.Material = Enum.Material.Neon
2832
  prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2833
  game:GetService("Debris"):AddItem(prt, 10)
2834
  local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
2835
  local num = math.random(10, 50) / 1000
2836
Shatter(prt, num, math.random() - math.random(), 0, math.random(50, 100) / 100)
2837
end
2838
2839
Lightning = function(p0, p1, tym, ofs, col, th, tra, last)
2840
  local magz = (p0 - p1).magnitude
2841
  local curpos = p0
2842
  local trz = {-ofs, ofs}
2843
  for i = 1, tym do
2844
    local li = Instance.new("Part", workspace)
2845
    li.TopSurface = 0
2846
    li.BottomSurface = 0
2847
    li.Anchored = true
2848
    li.Transparency = tra or 0.4
2849
    li.BrickColor = BrickColor.new(col)
2850
    li.formFactor = "Custom"
2851
    li.CanCollide = false
2852
    li.Size = Vector3.new(th, th, magz / tym)
2853
    local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
2854
    local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
2855
    if tym == i then
2856
      local magz2 = (curpos - p1).magnitude
2857
      li.Size = Vector3.new(th, th, magz2)
2858
      li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
2859
    else
2860
      do
2861
        do
2862
          li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
2863
          curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
2864
          game.Debris:AddItem(li, 10)
2865
          table.insert(Effects, {li, "Disappear", last})
2866
          -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out DO_STMT
2867
2868
          -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_ELSE_STMT
2869
2870
          -- DECOMPILER ERROR at PC137: LeaveBlock: unexpected jumping out IF_STMT
2871
2872
        end
2873
      end
2874
    end
2875
  end
2876
end
2877
2878
Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
2879
  if hit.Parent == nil then
2880
    return 
2881
  end
2882
  h = hit.Parent:FindFirstChild("Humanoid")
2883
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
2884
    c = Instance.new("ObjectValue")
2885
    c.Name = "creator"
2886
    c.Value = game:service("Players").LocalPlayer
2887
    c.Parent = h
2888
    RecentEnemy.Value = hit.Parent
2889
    game:GetService("Debris"):AddItem(c, 0.5)
2890
    minim = minim
2891
    maxim = maxim
2892
    Damage = 0
2893
    if minim == maxim then
2894
      Damage = maxim
2895
    else
2896
      Damage = math.random(minim, maxim)
2897
    end
2898
Damage = Damage/5
2899
h:TakeDamage(Damage)
2900
if hit.Parent:FindFirstChild("Head") ~= nil then
2901
ShowDamage(hit.Parent:FindFirstChild("Head").Position+vt(0,2,0), Damage)
2902
end
2903
    if breakfreeze == true then
2904
      for i = 1, #FStacks do
2905
        if tors == FStacks[i][1] and FStacks[i][3] == true then
2906
          so("338594737", hit, 1, 1)
2907
          Damage = Damage + math.random(FStacks[i][4].Value * 1.1, FStacks[i][4].Value * 1.3)
2908
          incstun = incstun + math.random(FStacks[i][4].Value * 1.8, FStacks[i][4].Value * 2)
2909
        end
2910
      end
2911
    end
2912
    do
2913
      blocked = false
2914
      enblock = nil
2915
2916
  end
2917
  end
2918
end
2919
2920
function ShowDamage(Pos, Text)
2921
	local Rate = (1 / 30)
2922
	local Pos = (Pos or Vector3.new(0, 0, 0))
2923
	local Text = (Text or "")
2924
	local Color = BrickColor.new("Medium blue")
2925
	local EffectPart = part("Custom",modelzorz,0,1,Color,"Effect",Vector3.new(0,0,0))
2926
	EffectPart.Anchored = true
2927
	local BillboardGui = Instance.new("BillboardGui")
2928
	BillboardGui.Size = UDim2.new(3, 0, 3, 0)
2929
	BillboardGui.Adornee = EffectPart
2930
	local TextLabel = Instance.new("TextLabel")
2931
	TextLabel.BackgroundTransparency = 1
2932
	TextLabel.Size = UDim2.new(1, 0, 1, 0)
2933
	TextLabel.Text = Text
2934
	TextLabel.TextColor3 = Color.Color
2935
	TextLabel.TextScaled = true
2936
	TextLabel.Font = Enum.Font.ArialBold
2937
	TextLabel.Parent = BillboardGui
2938
	BillboardGui.Parent = EffectPart
2939
	game.Debris:AddItem(EffectPart, (1.5 + 0.1))
2940
	EffectPart.Parent = modelzorz
2941
	delay(0, function()
2942
		local Frames = (1.5 / Rate)
2943
		for Frame = 1, Frames do
2944
			wait(Rate)
2945
			local Percent = (Frame / Frames)
2946
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2947
			TextLabel.TextTransparency = Percent
2948
		end
2949
		if EffectPart and EffectPart.Parent then
2950
			EffectPart:remove()
2951
		end
2952
	end)
2953
end
2954
2955
combo = 0
2956
ob1d = function()
2957
  if attack == true or equipped == false then
2958
    return 
2959
  end
2960
  hold = true
2961
  if combo == 0 then
2962
    combo = 1
2963
    attackone()
2964
  else
2965
    if combo == 1 then
2966
      combo = 2
2967
      attacktwo()
2968
    else
2969
      if combo == 2 then
2970
        combo = 3
2971
        attackthree()
2972
      else
2973
        if combo == 3 then
2974
          combo = 0
2975
          attackfour()
2976
        end
2977
      end
2978
    end
2979
  end
2980
  coroutine.resume(coroutine.create(function()
2981
    for i = 1, 50 do
2982
      if attack == false then
2983
        swait()
2984
      end
2985
    end
2986
    if attack == false then
2987
      combo = 0
2988
    end
2989
  end
2990
))
2991
end
2992
2993
ob1u = function()
2994
  hold = false
2995
end
2996
2997
buttonhold = false
2998
eul = 0
2999
equipped = false
3000
key = function(key)
3001
  if key == "c" and dryice == true then
3002
    do3()
3003
    return 
3004
  end
3005
  if attack == true then
3006
    return 
3007
  end
3008
  if key == "f" and Mode == "Drakes" then
3009
    attack = true
3010
    if equipped == false then
3011
	
3012
coroutine.resume(coroutine.create(function() 
3013
local Old_W = Humanoid.WalkSpeed
3014
local Old_J = Humanoid.JumpPower
3015
Humanoid.WalkSpeed = 0
3016
Humanoid.JumpPower = 0
3017
repeat swait() until hitfloor ~= nil
3018
swait(20)
3019
Character.Animate.Disabled = true
3020
Humanoid.WalkSpeed = Old_W
3021
Humanoid.JumpPower = Old_J
3022
end))
3023
3024
      equipped = true
3025
      RSH = ch.Torso["Right Shoulder"]
3026
      LSH = ch.Torso["Left Shoulder"]
3027
      RSH.Parent = nil
3028
      LSH.Parent = nil
3029
      RW.Name = "Right Shoulder"
3030
      RW.Part0 = ch.Torso
3031
      RW.C0 = cf(1.5, 0.5, 0)
3032
      RW.C1 = cf(0, 0.5, 0)
3033
      RW.Part1 = ch["Right Arm"]
3034
      RW.Parent = ch.Torso
3035
      LW.Name = "Left Shoulder"
3036
      LW.Part0 = ch.Torso
3037
      LW.C0 = cf(-1.5, 0.5, 0)
3038
      LW.C1 = cf(0, 0.5, 0)
3039
      LW.Part1 = ch["Left Arm"]
3040
      LW.Parent = ch.Torso
3041
      equipanim()
3042
    else
3043
3044
coroutine.resume(coroutine.create(function() 	
3045
local Old_W = Humanoid.WalkSpeed
3046
local Old_J = Humanoid.JumpPower
3047
Humanoid.WalkSpeed = 0
3048
Humanoid.JumpPower = 0
3049
repeat swait() until hitfloor ~= nil
3050
swait(20)
3051
Character.Animate.Disabled = false
3052
Humanoid.WalkSpeed = Old_W
3053
Humanoid.JumpPower = Old_J
3054
end))
3055
3056
      equipped = false
3057
      hideanim()
3058
      LH.C1 = LHC1
3059
      RH.C1 = RHC1
3060
      swait(0)
3061
      RW.Parent = nil
3062
      LW.Parent = nil
3063
      RSH.Parent = player.Character.Torso
3064
      LSH.Parent = player.Character.Torso
3065
      swait(20)
3066
      model2.Parent = nil
3067
      model3.Parent = nil
3068
      model4.Parent = nil
3069
    end
3070
    attack = false
3071
  end
3072
  if equipped == false then
3073
    return 
3074
  end
3075
  if key == "e" and drakes > 0 then
3076
    IcyMonarch()
3077
  end
3078
  if key == "z" then
3079
    do1()
3080
  end
3081
  if key == "x" then
3082
    do2()
3083
  end
3084
  if key == "c" then
3085
    do3()
3086
  end
3087
  if key == "v" then
3088
    do4()
3089
  end
3090
  if key == "q" and drakes < 3 and Mode ~= "Monarch" then
3091
    IceDrake()
3092
  end
3093
end 
3094
3095
key2 = function(key)
3096
end
3097
3098
s = function()
3099
  Mouse.Button1Down:connect(function()
3100
    ob1d()
3101
  end
3102
)
3103
  Mouse.Button1Up:connect(function()
3104
    ob1u()
3105
  end
3106
)
3107
  Mouse.KeyDown:connect(key)
3108
  Mouse.KeyUp:connect(key2)
3109
  player = Player
3110
  ch = Character
3111
end
3112
3113
s()
3114
3115
local donum = 0
3116
local walk = 0
3117
local walkforw = true
3118
while true do
3119
  swait()
3120
	if 0.5 <= donum then
3121
        handidle = true
3122
      else
3123
        if donum <= 0 then
3124
          handidle = false
3125
        end
3126
      end
3127
      if handidle == false then
3128
        donum = donum + 0.003
3129
      else
3130
        donum = donum - 0.003
3131
      end
3132
torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
3133
velderp=RootPart.Velocity.y
3134
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
3135
      if equipped == true then
3136
        if Anim == "Walk" then
3137
          if walkforw == true then
3138
            RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
3139
            LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
3140
            if attack == false then
3141
              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0.5, 0, 0), Mvmt.Value * 10 / 50)
3142
            else
3143
              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3144
            end
3145
          else
3146
            RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
3147
            LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
3148
            if attack == false then
3149
              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(-1, 0, 0), Mvmt.Value * 10 / 50)
3150
            else
3151
              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3152
            end
3153
          end
3154
        else
3155
          RH.C1 = clerp(RH.C1, RHC1, 0.2)
3156
          LH.C1 = clerp(LH.C1, LHC1, 0.2)
3157
          LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3158
        end
3159
        if 1 < RootPart.Velocity.y and hitfloor == nil then
3160
          Anim = "Jump"
3161
          if dattack == false then
3162
            dwld1.C0 = clerp(dwld1.C0, cf(3.5, -1.8, -1.5) * euler(0.1, 0.5, 0) * euler(0.5, 0, 0), 0.3)
3163
            d2wld1.C0 = clerp(d2wld1.C0, cf(-3.5, -1.8, -1.5) * euler(0.1, -0.5, 0) * euler(0.5, 0, 0), 0.3)
3164
            d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4.5, -1.5) * euler(0.8, 0, 0) * euler(0, 0, 0), 0.3)
3165
          end
3166
          if attack == false then
3167
            Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, 0), 0.2)
3168
            Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
3169
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3170
            RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1, 0, 0.2) * euler(0, -1.5, 0), 0.2)
3171
            RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3172
            LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1, 0, -0.2), 0.2)
3173
            LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3174
            RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.2)
3175
            LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.2)
3176
          end
3177
        else
3178
          if RootPart.Velocity.y < -1 and hitfloor == nil then
3179
            Anim = "Fall"
3180
            if dattack == false then
3181
              dwld1.C0 = clerp(dwld1.C0, cf(3.5, -1.8, -1.5) * euler(0.1, 0.5, 0) * euler(0.5, 0, 0), 0.3)
3182
              d2wld1.C0 = clerp(d2wld1.C0, cf(-3.5, -1.8, -1.5) * euler(0.1, -0.5, 0) * euler(0.5, 0, 0), 0.3)
3183
              d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4.5, -1.5) * euler(0.8, 0, 0) * euler(0, 0, 0), 0.3)
3184
            end
3185
            if attack == false then
3186
              Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
3187
              Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
3188
              RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
3189
              RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
3190
              RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3191
              LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
3192
              LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
3193
              RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
3194
              LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
3195
            end
3196
          else
3197
            if torvel < 1 and hitfloor ~= nil then
3198
              Anim = "Idle"
3199
              if Mode == "Drakes" then
3200
                if dattack == false then
3201
                  dwld1.C0 = clerp(dwld1.C0, cf(3.8, -2.2 + (donum) / 3, 0.5) * euler(0.2 + (donum) / 4, 0, -0.4 + (donum) / 4) * euler(0, 0.3, 0), 0.3)
3202
                  d2wld1.C0 = clerp(d2wld1.C0, cf(-3.8, -2.2 + (donum) / 3, 0.5) * euler(0.2 + (donum) / 4, 0, 0.4 - (donum) / 4) * euler(0, -0.3, 0), 0.3)
3203
                  d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 0.5) * euler(0.4 + (donum) / 4, 0, 0) * euler(0, 0, 0), 0.3)
3204
                end
3205
                if attack == false then
3206
                  Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.2)
3207
                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2 + (donum) / 4, 0, 0), 0.2)
3208
                  RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.6, 0, 0.7 - (donum) / 3) * euler(0, -1, 0), 0.2)
3209
                  LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4 + (donum) / 3), 0.2)
3210
                  RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1 + (donum) / 4), 0.2)
3211
                  LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15 - (donum) / 4), 0.2)
3212
                end
3213
              else
3214
                if Mode == "Monarch" and attack == false then
3215
                  Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(-0.1 + (donum) / 2, 0, 0), 0.2)
3216
                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4 + (donum) / 4, 0, 0) * euler(0, 0, -0.4), 0.2)
3217
                  RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1 - (donum) / 3) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.2)
3218
                  LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4 + (donum) / 3), 0.2)
3219
                  RH.C0 = clerp(RH.C0, cf(0.95, -0.7, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, 0.1 + (donum) / 4), 0.2)
3220
                  LH.C0 = clerp(LH.C0, cf(-1.1, -0.4, -0.5) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(0, 0, -0.4 - (donum) / 4), 0.2)
3221
                end
3222
              end
3223
            else
3224
              if 2 < torvel and torvel < 30 and hitfloor ~= nil then
3225
                Anim = "Walk"
3226
                walk = walk + 1
3227
                if 15 - 5 * Mvmt.Value <= walk then
3228
                  walk = 0
3229
                  if walkforw == true then
3230
                    walkforw = false
3231
                  else
3232
                    if walkforw == false then
3233
                      walkforw = true
3234
                    end
3235
                  end
3236
                end
3237
                if Mode == "Drakes" then
3238
                  if dattack == false then
3239
                    dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3240
                    d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3241
                    d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 1.5) * euler(0.4 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3242
                  end
3243
                  if attack == false then
3244
                    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
3245
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
3246
                    RW.C0 = clerp(RW.C0, cf(1.2, 0.4, 0.3) * euler(0.4, 0, 1) * euler(0, -1, 0), 0.25)
3247
                    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, -0.2), 0.25)
3248
                    RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
3249
                    LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
3250
                  end
3251
                else
3252
                  if Mode == "Monarch" and attack == false then
3253
                    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
3254
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.4) * euler(0.4, 0, 0) * euler(0, 0, 0), 0.25)
3255
                    RW.C0 = clerp(RW.C0, cf(1.3, 0.4, 0.1) * euler(0.8, 0, 1) * euler(0, -0.7, 0) * euler(0, 0, -0.5), 0.25)
3256
                    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4), 0.25)
3257
                    RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.2), 0.25)
3258
                    LH.C0 = clerp(LH.C0, cf(-1, -0.4, -0.5) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.4), 0.25)
3259
                  end
3260
                end
3261
              else
3262
                if 30 <= torvel and hitfloor ~= nil then
3263
                  Anim = "Run"
3264
                  if dattack == false then
3265
                    dwld1.C0 = clerp(dwld1.C0, cf(4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3266
                    d2wld1.C0 = clerp(d2wld1.C0, cf(-4.5, -2 + (donum) / 3, 1.5) * euler(0.2 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3267
                    d3wld1.C0 = clerp(d3wld1.C0, cf(0, -4 + (donum) / 3, 1.5) * euler(0.4 + (donum) / 3, 0, 0) * euler(0, 0, 0), 0.15)
3268
                  end
3269
                  if attack == false then
3270
                    Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.9) * euler(-0.2, 0, 0), 0.4)
3271
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0) * euler(0, 0, 0.8), 0.4)
3272
                    RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.2) * euler(0.5, 0, 1.2) * euler(0, 0.8, 0) * euler(0.5, 0, 0), 0.4)
3273
                    LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.8), 0.4)
3274
                    RH.C0 = clerp(RH.C0, cf(1, 0.4, -0.4) * euler(0, 1.57, 0) * euler(0, -0.8, 0) * euler(-0.1, 0, 0.1), 0.4)
3275
                    LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, -0.4, 0) * euler(-0.2, 0, 0.15), 0.4)
3276
                  end
3277
                end
3278
              end
3279
            end
3280
          end
3281
        end
3282
      end
3283
      if 0 < #Effects then
3284
        for e = 1, #Effects do
3285
          if Effects[e] ~= nil then
3286
            local Thing = Effects[e]
3287
            if Thing ~= nil then
3288
              local Part = Thing[1]
3289
              local Mode = Thing[2]
3290
              local Delay = Thing[3]
3291
              local IncX = Thing[4]
3292
              local IncY = Thing[5]
3293
              local IncZ = Thing[6]
3294
              if Thing[2] == "ShootIce" then
3295
                local Look = Thing[1]
3296
                local hit, pos = rayCast(Thing[4], Look.lookVector, Thing[9], Character)
3297
                local mag = (Thing[4] - pos).magnitude
3298
                Thing[8].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(-1.57, 0, 0)
3299
                Thing[4] = Thing[4] + Look.lookVector * Thing[9]
3300
                Thing[3] = Thing[3] - 1
3301
                if hit ~= nil or Thing[3] <= 0 then
3302
                  Thing[3] = 0
3303
                  ref = part(3, effects, 0, 1, BrickColor.new("Really red"), "Reference", vt())
3304
                  ref.Anchored = true
3305
                  ref.CFrame = cf(pos)
3306
                  game:GetService("Debris"):AddItem(ref, 1)
3307
                  ref2 = part(3, effects, 0, 1, BrickColor.new("Really red"), "Reference", vt(5, 5, 5))
3308
                  ref2.Anchored = true
3309
                  ref2.CFrame = cf(pos)
3310
                  game:GetService("Debris"):AddItem(ref2, 5)
3311
                  size = 3
3312
                  if Thing[10] == 2 then
3313
                    freeze = true
3314
                    size = 4
3315
                    so("338594574", ref, 1, 1)
3316
                  else
3317
                    so("338594556", ref, 1, 1)
3318
                  end
3319
                  MagicCircle(BrickColor.new(NewCol3), cf(ref.Position), 20, 20, 20, 5, 5, 5, 0.1)
3320
                  MagniDamage(ref, size, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, 2, (math.random(2, 3)), nil, nil, true)
3321
                  freeze = false
3322
                  for i = 1, 8 do
3323
                    BreakEffect(BrickColor.new(NewCol3), ref.CFrame * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100), math.random(20, 50) / 100, math.random(1, 5), math.random(20, 50) / 100)
3324
                  end
3325
                  if Thing[10] == 2 then
3326
                    for i = 1, 5 do
3327
                      MagicBlock(BrickColor.new(NewCol3), cf(ref.Position) * cf(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 5, 5, 5, 0, 0, 0, 0.05, 3)
3328
                    end
3329
                  end
3330
                end
3331
                      if Thing[3] <= 0 then
3332
                        Thing[8].Transparency = 1
3333
                        if Thing[10] == 2 then
3334
                          Thing[11].Enabled = false
3335
                          Thing[12].Enabled = false
3336
                        end
3337
                        game:GetService("Debris"):AddItem(Thing[8], 5)
3338
                        table.remove(Effects, e)
3339
                      end
3340
                        else
3341
                          Part.Parent = nil
3342
                          table.remove(Effects, e)
3343
                    end
3344
                  end
3345
                end
3346
              end
3347
      end
3348
end