View difference between Paste ID: m98z4PrK and LxisPmCQ
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
6
local Player = game:GetService("Players").LocalPlayer
7
repeat
8
    wait()
9
until Player.Character
10
local Character = Player.Character
11
TrailSettings = {
12
    Lifetime = 1,
13
    Texture = "http://www.roblox.com/asset/?id=1097260739",
14
    Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
15
    Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
16
    AllBody = true,
17
    UpperBodyOnly = false,
18
    LowerBodyOnly = false,
19
    Accessories = false,
20
    Extras = true,
21
    R15 = false,
22
    R15Parts = {"UpperTorso", "LowerTorso"}
23
}
24
local Trail
25
function UpperBody()
26
    if TrailSettings.R15 == false then
27
        A0 = Instance.new("Attachment", Character.Torso)
28
        A1 = Instance.new("Attachment", Character.Head)
29
        A2 = Instance.new("Attachment", Character["Right Arm"])
30
        A3 = Instance.new("Attachment", Character["Left Arm"])
31
        Trail = Instance.new("Trail", Character)
32
        Trail.Attachment0 = A0
33
        Trail.Attachment1 = A1
34
        Trail.Texture = TrailSettings.Texture
35
        Trail.Color = TrailSettings.Color1
36
        Trail.Lifetime = TrailSettings.Lifetime
37
        local Trail2 = Trail:Clone()
38
        Trail2.Parent = Character
39
        Trail2.Attachment1 = A2
40
        local Trail3 = Trail:Clone()
41
        Trail3.Parent = Character
42
        Trail3.Attachment1 = A3
43
        local Trail6 = Trail:Clone()
44
        Trail6.Parent = Character
45
        Trail6.Attachment0 = A1
46
        Trail6.Attachment1 = A2
47
        local Trail7 = Trail:Clone()
48
        Trail7.Parent = Character
49
        Trail7.Attachment0 = A1
50
        Trail7.Attachment1 = A3
51
    else
52
        A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
53
        A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
54
        A1 = Instance.new("Attachment", Character.Head)
55
        A2 = Instance.new("Attachment", Character.RightUpperArm)
56
        A2R = Instance.new("Attachment", Character.RightLowerArm)
57
        A3 = Instance.new("Attachment", Character.LeftUpperArm)
58
        A3R = Instance.new("Attachment", Character.LeftLowerArm)
59
        Trail = Instance.new("Trail", Character)
60
        Trail.Attachment0 = A0
61
        Trail.Attachment1 = A1
62
        Trail.Texture = TrailSettings.Texture
63
        Trail.Color = TrailSettings.Color1
64
        Trail.Lifetime = TrailSettings.Lifetime
65
        local Trail2 = Trail:Clone()
66
        Trail2.Parent = Character
67
        Trail2.Attachment1 = A2
68
        local Trail3 = Trail:Clone()
69
        Trail3.Parent = Character
70
        Trail3.Attachment1 = A3
71
        local Trail6 = Trail:Clone()
72
        Trail6.Parent = Character
73
        Trail6.Attachment0 = A1
74
        Trail6.Attachment1 = A2
75
        local Trail7 = Trail:Clone()
76
        Trail7.Parent = Character
77
        Trail7.Attachment0 = A1
78
        Trail7.Attachment1 = A3
79
        local Trail1R = Trail:Clone()
80
        Trail1R.Parent = Character
81
        Trail1R.Attachment1 = A2R
82
        local Trail2R = Trail:Clone()
83
        Trail2R.Parent = Character
84
        Trail2R.Attachment1 = A3R
85
        local Trail6R = Trail:Clone()
86
        Trail6.Parent = Character
87
        Trail6.Attachment0 = A1
88
        Trail6.Attachment1 = A2R
89
        local Trail7R = Trail:Clone()
90
        Trail7.Parent = Character
91
        Trail7.Attachment0 = A1
92
        Trail7.Attachment1 = A3R
93
    end
94
end
95
function LowerBody()
96
    if TrailSettings.R15 == false then
97
        A4 = Instance.new("Attachment", Character["Right Leg"])
98
        A5 = Instance.new("Attachment", Character["Left Leg"])
99
        local Trail4 = Trail:Clone()
100
        Trail4.Parent = Character
101
        Trail4.Attachment1 = A4
102
        local Trail5 = Trail:Clone()
103
        Trail5.Parent = Character
104
        Trail5.Attachment1 = A5
105
        local Trail8 = Trail:Clone()
106
        Trail8.Parent = Character
107
        Trail8.Attachment0 = A2
108
        Trail8.Attachment1 = A4
109
        Trail8.Color = TrailSettings.Color2
110
        local Trail9 = Trail:Clone()
111
        Trail9.Parent = Character
112
        Trail9.Attachment0 = A3
113
        Trail9.Attachment1 = A5
114
        Trail9.Color = TrailSettings.Color2
115
        local FT = Trail:Clone()
116
        FT.Parent = Character
117
        FT.Attachment0 = A4
118
        FT.Attachment1 = A5
119
        FT.Color = TrailSettings.Color2
120
    else
121
        A4 = Instance.new("Attachment", Character.RightLowerLeg)
122
        A4R = Instance.new("Attachment", Character.RightUpperLeg)
123
        A5 = Instance.new("Attachment", Character.LeftLowerLeg)
124
        A5R = Instance.new("Attachment", Character.LeftUpperLeg)
125
        local Trail4 = Trail:Clone()
126
        Trail4.Parent = Character
127
        Trail4.Attachment1 = A4
128
        local Trail5 = Trail:Clone()
129
        Trail5.Parent = Character
130
        Trail5.Attachment1 = A5
131
        local Trail8 = Trail:Clone()
132
        Trail8.Parent = Character
133
        Trail8.Attachment0 = A2
134
        Trail8.Attachment1 = A4
135
        Trail8.Color = TrailSettings.Color2
136
        local Trail9 = Trail:Clone()
137
        Trail9.Parent = Character
138
        Trail9.Attachment0 = A3
139
        Trail9.Attachment1 = A5
140
        Trail9.Color = TrailSettings.Color2
141
        local FT = Trail:Clone()
142
        FT.Parent = Character
143
        FT.Attachment0 = A4
144
        FT.Attachment1 = A5
145
        FT.Color = TrailSettings.Color2
146
        local Trail3R = Trail:Clone()
147
        Trail3R.Parent = Character
148
        Trail3R.Attachment1 = A4R
149
        local Trail4R = Trail:Clone()
150
        Trail4R.Parent = Character
151
        Trail4R.Attachment1 = A5R
152
        local Trail8 = Trail:Clone()
153
        Trail8.Parent = Character
154
        Trail8.Attachment0 = A2R
155
        Trail8.Attachment1 = A4R
156
        Trail8.Color = TrailSettings.Color2
157
        local Trail9 = Trail:Clone()
158
        Trail9.Parent = Character
159
        Trail9.Attachment0 = A3R
160
        Trail9.Attachment1 = A5R
161
        Trail9.Color = TrailSettings.Color2
162
        local FT2R = Trail:Clone()
163
        FT2R.Parent = Character
164
        FT2R.Attachment0 = A4R
165
        FT2R.Attachment1 = A5R
166
        FT2R.Color = TrailSettings.Color2
167
    end
168
end
169
function AllBody()
170
    UpperBody()
171
    LowerBody()
172
end
173
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
174
    TrailSettings.UpperBodyOnly = false
175
    TrailSettings.LowerBodyOnly = false
176
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
177
    TrailSettings.UpperBodyOnly = false
178
    TrailSettings.LowerBodyOnly = false
179
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
180
    TrailSettings.UpperBodyOnly = false
181
    TrailSettings.LowerBodyOnly = false
182
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
183
    TrailSettings.AllBody = true
184
    TrailSettings.UpperBodyOnly = false
185
    TrailSettings.LowerBodyOnly = false
186
end
187
if TrailSettings.UpperBodyOnly == true then
188
    UpperBody()
189
    print("Called Upper Body Trail")
190
elseif TrailSettings.LowerBodyOnly == true then
191
    LowerBody()
192
    print("Called Lower Body Trail")
193
elseif TrailSettings.AllBody == true then
194
    AllBody()
195
    print("Called Full Body Trail")
196
end
197
if TrailSettings.Accessories == true then
198
    for Index, Item in pairs(Character:GetChildren()) do
199
        if Item:IsA("Accessory") then
200
            local AA = Instance.new("Attachment", Item.Handle)
201
            local ATrail = Trail:Clone()
202
            ATrail.Parent = Character
203
            ATrail.Attachment1 = AA
204
        end
205
    end
206
end
207
if TrailSettings.Extras == true then
208
    spawn(function()
209
        repeat
210
            wait()
211
        until Trail
212
        local AB = Instance.new("Attachment", a)
213
        local ABT = Trail:Clone()
214
        ABT.Parent = Character
215
        ABT.Attachment0 = A4
216
        ABT.Attachment1 = AB
217
        ABT.Color = TrailSettings.Color2
218
        local ABT2 = Trail:Clone()
219
        ABT2.Parent = Character
220
        ABT2.Attachment0 = A5
221
        ABT2.Attachment1 = AB
222
        ABT2.Color = TrailSettings.Color2
223
    end)
224
end
225
local CLOCKLOOP = 0
226
local CLOCKTARGET = nil
227
local CLOCKSPEED = 4
228
local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
229
local Debounces = {Debounces={}}
230
local Sine = 0
231
local RbxUtility = LoadLibrary("RbxUtility")
232
local Create = RbxUtility.Create
233
--Converted with saba1520 ;p
234
function sandbox(var,func)
235
	local env = getfenv(func)
236
	local newenv = setmetatable({},{
237
		__index = function(self,k)
238
			if k=="script" then
239
				return var
240
			else
241
				return env[k]
242
			end
243
		end,
244
	})
245
	setfenv(func,newenv)
246
	return func
247
end
248
cors = {}
249
mas = Instance.new("Model",game:GetService("Lighting"))
250
LocalScript0 = Instance.new("LocalScript")
251
ParticleEmitter1 = Instance.new("ParticleEmitter")
252
ParticleEmitter2 = Instance.new("ParticleEmitter")
253
BillboardGui3 = Instance.new("BillboardGui")
254
TextLabel4 = Instance.new("TextLabel")
255
TextLabel5 = Instance.new("TextLabel")
256
ParticleEmitter6 = Instance.new("ParticleEmitter")
257
LocalScript7 = Instance.new("LocalScript")
258
NumberValue8 = Instance.new("NumberValue")
259
NumberValue9 = Instance.new("NumberValue")
260
BoolValue10 = Instance.new("BoolValue")
261
ParticleEmitter11 = Instance.new("ParticleEmitter")
262
ParticleEmitter12 = Instance.new("ParticleEmitter")
263
ParticleEmitter13 = Instance.new("ParticleEmitter")
264
ParticleEmitter14 = Instance.new("ParticleEmitter")
265
ParticleEmitter15 = Instance.new("ParticleEmitter")
266
ParticleEmitter16 = Instance.new("ParticleEmitter")
267
ParticleEmitter17 = Instance.new("ParticleEmitter")
268
ParticleEmitter18 = Instance.new("ParticleEmitter")
269
ParticleEmitter19 = Instance.new("ParticleEmitter")
270
ParticleEmitter20 = Instance.new("ParticleEmitter")
271
Part21 = Instance.new("Part")
272
SpecialMesh22 = Instance.new("SpecialMesh")
273
Folder23 = Instance.new("Folder")
274
CharacterMesh24 = Instance.new("CharacterMesh")
275
CharacterMesh25 = Instance.new("CharacterMesh")
276
CharacterMesh26 = Instance.new("CharacterMesh")
277
CharacterMesh27 = Instance.new("CharacterMesh")
278
CharacterMesh28 = Instance.new("CharacterMesh")
279
Part29 = Instance.new("Part")
280
SpecialMesh30 = Instance.new("SpecialMesh")
281
LocalScript0.Name = "SearingEmperor"
282
LocalScript0.Parent = mas
283
table.insert(cors,sandbox(LocalScript0,function()
284
local cR=255
285
local cG=0
286
local cB=0
287
local flg5=1 local omgidk=1
288
local add=15
289
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
290
    if omgidk>10000 then omgidk=0 end
291
    omgidk=omgidk+1
292
    if cR>=255 then flg5=1 end
293
    if cG>=255 then flg5=2 end
294
    if cB>=255 then flg5=3 end
295
    if flg5==1 then cR=cR-add cG=cG+add end
296
    if flg5==2 then cG=cG-add cB=cB+add end
297
    if flg5==3 then cB=cB-add cR=cR+add end
298
    color=Color3.fromRGB(cR,cG,cB)
299
end)
300
--//====================================================\\--
301
--||			   CREATED BY SHACKLUSTER
302
--\\====================================================//--
303
304
wait(1)
305
306
cam = game.Workspace.CurrentCamera
307
CF = CFrame.new
308
angles = CFrame.Angles
309
attack = false
310
Euler = CFrame.fromEulerAnglesXYZ
311
Rad = math.rad
312
IT = Instance.new
313
BrickC = BrickColor.new
314
Cos = math.cos
315
Acos = math.acos
316
Sin = math.sin
317
Asin = math.asin
318
Abs = math.abs
319
Mrandom = math.random
320
Floor = math.floor
321
Player = game:GetService("Players").LocalPlayer
322
PlayerGui = Player.PlayerGui
323
Cam = workspace.CurrentCamera
324
Backpack = Player.Backpack
325
repeat wait() until Player.Character
326
Character = Player.Character
327
repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
328
Humanoid = Character:FindFirstChildOfClass("Humanoid")
329
Mouse = Player:GetMouse()
330
Player_Size = 1 --Size of the player.
331
RootPart = Character["HumanoidRootPart"]
332
Torso = Character["Torso"]
333
Head = Character["Head"]
334
RightArm = Character["Right Arm"]
335
LeftArm = Character["Left Arm"]
336
RightLeg = Character["Right Leg"]
337
LeftLeg = Character["Left Leg"]
338
RootJoint = RootPart["RootJoint"]
339
Neck = Torso["Neck"]
340
RightShoulder = Torso["Right Shoulder"]
341
LeftShoulder = Torso["Left Shoulder"]
342
RightHip = Torso["Right Hip"]
343
LeftHip = Torso["Left Hip"]
344-
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
344+
345
plr = game:GetService("Players").LocalPlayer
346
char = plr.Character
347
hum = char.Humanoid
348
local cam = game.Workspace.CurrentCamera
349
Camera = cam
350
local CamInterrupt = false
351
local TwoD = false
352
local TargetInfo = {nil, nil}
353
cam.CameraType = "Custom"
354
t = char.Torso
355
h = char.Head
356
ra = char["Right Arm"]
357
la = char["Left Arm"]
358
rl = char["Right Leg"]
359
ll = char["Left Leg"]
360
tors = char.Torso
361
lleg = char["Left Leg"]
362
root = char.HumanoidRootPart
363
hed = char.Head
364
rleg = char["Right Leg"]
365
rarm = char["Right Arm"]
366
larm = char["Left Arm"]
367
radian = math.rad
368
random = math.random
369
Vec3 = Vector3.new
370
Inst = Instance.new
371
cFrame = CFrame.new
372
Euler = CFrame.fromEulerAnglesXYZ
373
vt = Vector3.new
374
bc = BrickColor.new
375
br = BrickColor.random
376
it = Instance.new
377
cf = CFrame.new
378
local eff = true
379
local shielding = false
380
381
SIZE = 1
382
383
IT = Instance.new
384
CF = CFrame.new
385
VT = Vector3.new
386
RAD = math.rad
387
C3 = Color3.new
388
UD2 = UDim2.new
389
BRICKC = BrickColor.new
390
ANGLES = CFrame.Angles
391
EULER = CFrame.fromEulerAnglesXYZ
392
COS = math.cos
393
ACOS = math.acos
394
SIN = math.sin
395
ASIN = math.asin
396
ABS = math.abs
397
MRANDOM = math.random
398
FLOOR = math.floor
399
400
for i,v in pairs(char:children()) do
401
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
402
v:Remove()
403
end
404
end
405
shirt = Instance.new("Shirt", char)
406
shirt.Name = "Shirt"
407
pants = Instance.new("Pants", char)
408
pants.Name = "Pants"
409
char.Shirt.ShirtTemplate = "rbxassetid://791994658"
410
char.Pants.PantsTemplate = "rbxassetid://1029442377"
411
412
local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
413
Hat.AttachmentPos = Vector3.new(0, 0, 0)
414
Hat.Name = "Hat_F"
415
local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
416
if Handle.Name ~= "Handle" then
417
  Handle.Size = Vector3.new(0, 0, 0)
418
end
419
Handle.BottomSurface = 0
420
Handle.Name = "Handle"
421
Handle.TopSurface = 0
422
Handle.Locked = 1
423
handle = Instance.new("Part", char)
424
handle.TopSurface = "Smooth"
425
handle.BottomSurface = "Smooth"
426
handle.Material = "Neon"
427
handle.Size = Vector3.new(0.4, 1.2, 2)
428
handle.CanCollide = false
429
handle.FormFactor = "Custom"
430
local Weldb = Instance.new("Weld", char)
431
Weldb.Part0 = ra
432
Weldb.Part1 = handle
433
Weldb.C1 = CFrame.new(0, -.4, -1.6) *angles(Rad(90), Rad(0), Rad(180))
434
local KnifeMesh = Instance.new("SpecialMesh", handle)
435
KnifeMesh.MeshType = "FileMesh"
436
KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=441587064"
437
KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=441587082"
438
KnifeMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
439
440
--//=================================\\
441
--|| 	      USEFUL VALUES
442
--\\=================================//
443
444
Animation_Speed = 3
445
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
446
local Speed = 16
447
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
448
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
449
local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
450
local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
451
local DAMAGEMULTIPLIER = 1
452
local ANIM = "Idle"
453
local ATTACK = false
454
local EQUIPPED = false
455
local HOLD = false
456
local COMBO = 1
457
local Rooted = false
458
local SINE = 0
459
local PLAYSONG = true
460
local KEYHOLD = false
461
local CHANGE = 2 / Animation_Speed
462
local WALKINGANIM = false
463
local VALUE1 = false
464
local VALUE2 = false
465
local ROBLOXIDLEANIMATION = IT("Animation")
466
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
467
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
468
--ROBLOXIDLEANIMATION.Parent = Humanoid
469
local WEAPONGUI = IT("ScreenGui", PlayerGui)
470
WEAPONGUI.Name = "Weapon GUI"
471
local Effects = IT("Folder", Character)
472
Effects.Name = "Effects"
473
local SpecialEffects = IT("Folder", Character)
474
SpecialEffects.Name = "SpecialEffects"
475
local ANIMATOR = Humanoid.Animator
476
local ANIMATE = Character.Animate
477
local UNANCHOR = true
478
local REGENRATE = 1
479
local FULLREGEN = false
480
local POSEIDON = false
481
local EXPLOSIONSMALLSOUND = 439342426
482
local EXPLOSIONMEDIUMSOUND = 605005842
483
local EXPLOSIONLARGESOUND = 565538688
484
local CHARGE = 278641993
485
local POSEIDONSOUND = 374289727
486
local FIREBALLSOUND = 414517770
487
local BURNSOUND = 565777213
488
local FIREFIELD = false
489
local SEARING = false
490
local BODYPOS = nil
491
local GYRO = nil
492
local DIRECTTURN = false
493
local APPLYGYRO = true
494
local SONGS = {835120625,198584962,1810750535,1551788627,193889412,601069330}
495
local CHOSENSONG = MRANDOM(1,#SONGS)
496
497
--------------------
498
local ROBLOXIDLEANIMATION = IT("Animation")
499
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
500
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
501
--ROBLOXIDLEANIMATION.Parent = Humanoid
502
local WEAPONGUI = IT("ScreenGui", PlayerGui)
503
WEAPONGUI.Name = "Weapon GUI"
504
local Weapon = IT("Model")
505
Weapon.Name = "Adds"
506
local Effects = IT("Folder", Weapon)
507
Effects.Name = "Effects"
508
local ANIMATOR = Humanoid.Animator
509
local ANIMATE = Character.Animate
510
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
511
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
512
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
513
local HITBLOCKSOUNDS = {"199148933", "199148947"}
514
local UNANCHOR = true
515
516
517
--//=================================\\
518
--\\=================================//
519
520
521
--//=================================\\
522
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
523
--\\=================================//
524
525
ArtificialHB = Instance.new("BindableEvent", script)
526
ArtificialHB.Name = "ArtificialHB"
527
528
script:WaitForChild("ArtificialHB")
529
530
frame = Frame_Speed
531
tf = 0
532
allowframeloss = false
533
tossremainder = false
534
lastframe = tick()
535
script.ArtificialHB:Fire()
536
537
game:GetService("RunService").Heartbeat:connect(function(s, p)
538
	tf = tf + s
539
	if tf >= frame then
540
		if allowframeloss then
541
			script.ArtificialHB:Fire()
542
			lastframe = tick()
543
		else
544
			for i = 1, math.floor(tf / frame) do
545
				script.ArtificialHB:Fire()
546
			end
547
		lastframe = tick()
548
		end
549
		if tossremainder then
550
			tf = 0
551
		else
552
			tf = tf - frame * math.floor(tf / frame)
553
		end
554
	end
555
end)
556
557
--//=================================\\
558
--\\=================================//
559
560
--//=================================\\
561
--|| 	      SOME FUNCTIONS
562
--\\=================================//
563
564
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
565
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
566
end
567
568
function PositiveAngle(NUMBER)
569
	if NUMBER >= 0 then
570
		NUMBER = 0
571
	end
572
	return NUMBER
573
end
574
575
function NegativeAngle(NUMBER)
576
	if NUMBER <= 0 then
577
		NUMBER = 0
578
	end
579
	return NUMBER
580
end
581
582
function swait(num)
583
    if num == 0 or num == nil then
584
        ArtificialHB.Event:wait()
585
    else
586
        for i = 0, num do
587
            ArtificialHB.Event:wait()
588
        end
589
    end
590
end
591
592
function Swait(NUMBER)
593
	if NUMBER == 0 or NUMBER == nil then
594
		ArtificialHB.Event:wait()
595
	else
596
		for i = 1, NUMBER do
597
			ArtificialHB.Event:wait()
598
		end
599
	end
600
end
601
602
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
603
	local NEWMESH = IT(MESH)
604
	if MESH == "SpecialMesh" then
605
		NEWMESH.MeshType = MESHTYPE
606
		if MESHID ~= "nil" and MESHID ~= "" then
607
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
608
		end
609
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
610
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
611
		end
612
	end
613
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
614
	NEWMESH.Scale = SCALE
615
	NEWMESH.Parent = PARENT
616
	return NEWMESH
617
end
618
619
function Debounces:New(name,cooldown)
620
    local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
621
    setmetatable(aaaaa,{__index = Debounces})
622
    Debounces.Debounces[name] = aaaaa
623
    return aaaaa
624
end
625
626
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
627
	local NEWPART = IT("Part")
628
	NEWPART.formFactor = FORMFACTOR
629
	NEWPART.Reflectance = REFLECTANCE
630
	NEWPART.Transparency = TRANSPARENCY
631
	NEWPART.CanCollide = false
632
	NEWPART.Locked = true
633
	NEWPART.Anchored = true
634
	if ANCHOR == false then
635
		NEWPART.Anchored = false
636
	end
637
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
638
	NEWPART.Name = NAME
639
	NEWPART.Size = SIZE
640
	NEWPART.Position = Torso.Position
641
	NEWPART.Material = MATERIAL
642
	NEWPART:BreakJoints()
643
	NEWPART.Parent = PARENT
644
	return NEWPART
645
end
646
647
	local function weldBetween(a, b)
648
	    local weldd = Instance.new("ManualWeld")
649
	    weldd.Part0 = a
650
	    weldd.Part1 = b
651
	    weldd.C0 = CFrame.new()
652
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
653
	    weldd.Parent = a
654
	    return weldd
655
	end
656
657
658
function QuaternionFromCFrame(cf)
659
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
660
	local trace = m00 + m11 + m22
661
	if trace > 0 then 
662
		local s = math.sqrt(1 + trace)
663
		local recip = 0.5 / s
664
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
665
	else
666
		local i = 0
667
		if m11 > m00 then
668
			i = 1
669
		end
670
		if m22 > (i == 0 and m00 or m11) then
671
			i = 2
672
		end
673
		if i == 0 then
674
			local s = math.sqrt(m00 - m11 - m22 + 1)
675
			local recip = 0.5 / s
676
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
677
		elseif i == 1 then
678
			local s = math.sqrt(m11 - m22 - m00 + 1)
679
			local recip = 0.5 / s
680
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
681
		elseif i == 2 then
682
			local s = math.sqrt(m22 - m00 - m11 + 1)
683
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
684
		end
685
	end
686
end
687
 
688
689
function QuaternionToCFrame(px, py, pz, x, y, z, w)
690
	local xs, ys, zs = x + x, y + y, z + z
691
	local wx, wy, wz = w * xs, w * ys, w * zs
692
	local xx = x * xs
693
	local xy = x * ys
694
	local xz = x * zs
695
	local yy = y * ys
696
	local yz = y * zs
697
	local zz = z * zs
698
	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))
699
end
700
 
701
function QuaternionSlerp(a, b, t)
702
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
703
	local startInterp, finishInterp;
704
	if cosTheta >= 0.0001 then
705
		if (1 - cosTheta) > 0.0001 then
706
			local theta = ACOS(cosTheta)
707
			local invSinTheta = 1 / SIN(theta)
708
			startInterp = SIN((1 - t) * theta) * invSinTheta
709
			finishInterp = SIN(t * theta) * invSinTheta
710
		else
711
			startInterp = 1 - t
712
			finishInterp = t
713
		end
714
	else
715
		if (1 + cosTheta) > 0.0001 then
716
			local theta = ACOS(-cosTheta)
717
			local invSinTheta = 1 / SIN(theta)
718
			startInterp = SIN((t - 1) * theta) * invSinTheta
719
			finishInterp = SIN(t * theta) * invSinTheta
720
		else
721
			startInterp = t - 1
722
			finishInterp = t
723
		end
724
	end
725
	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
726
end
727
728
function Clerp(a, b, t)
729
	local qa = {QuaternionFromCFrame(a)}
730
	local qb = {QuaternionFromCFrame(b)}
731
	local ax, ay, az = a.x, a.y, a.z
732
	local bx, by, bz = b.x, b.y, b.z
733
	local _t = 1 - t
734
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
735
end
736
737
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
738
	local frame = IT("Frame")
739
	frame.BackgroundTransparency = TRANSPARENCY
740
	frame.BorderSizePixel = BORDERSIZEPIXEL
741
	frame.Position = POSITION
742
	frame.Size = SIZE
743
	frame.BackgroundColor3 = COLOR
744
	frame.BorderColor3 = BORDERCOLOR
745
	frame.Name = NAME
746
	frame.Parent = PARENT
747
	return frame
748
end
749
750
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
751
	local label = IT("TextLabel")
752
	label.BackgroundTransparency = 1
753
	label.Size = UD2(1, 0, 1, 0)
754
	label.Position = UD2(0, 0, 0, 0)
755
	label.TextColor3 = TEXTCOLOR
756
	label.TextStrokeTransparency = STROKETRANSPARENCY
757
	label.TextTransparency = TRANSPARENCY
758
	label.FontSize = TEXTFONTSIZE
759
	label.Font = TEXTFONT
760
	label.BorderSizePixel = BORDERSIZEPIXEL
761
	label.TextScaled = false
762
	label.Text = TEXT
763
	label.Name = NAME
764
	label.Parent = PARENT
765
	return label
766
end
767
768
function NoOutlines(PART)
769
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
770
end
771
772
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
773
	local NEWWELD = IT(TYPE)
774
	NEWWELD.Part0 = PART0
775
	NEWWELD.Part1 = PART1
776
	NEWWELD.C0 = C0
777
	NEWWELD.C1 = C1
778
	NEWWELD.Parent = PARENT
779
	return NEWWELD
780
end
781
782
function Soul(POS)
783
	coroutine.resume(coroutine.create(function()
784
		local SOULMODEL = IT("Model", Effects)
785
		SOULMODEL.Name = "Soul"
786
		local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Part", VT(0.5, 0.5, 0.5))
787
		SOUL.Color = C3(cR,cG,cB)
788
		SOUL.CFrame = CF(POS)
789
		local A1 = IT("Attachment", SOUL)
790
		A1.Position = Vector3.new(0, 0.25, 0)
791
		local A2 = IT("Attachment", SOUL)
792
		A2.Position = Vector3.new(0, -0.25, 0)
793
		local Trail = IT("Trail", SOUL)
794
		Trail.LightEmission = 0
795
		Trail.FaceCamera = true
796
		Trail.Texture = "rbxassetid://945758042"
797
		Trail.Attachment0 = A1
798
		Trail.Attachment1 = A2
799
		Trail.Lifetime = 0.5
800
		Trail.MinLength = 0
801
		Trail.Transparency = NumberSequence.new(0)
802
		Trail.Color = ColorSequence.new(SOUL.Color)
803
		MakeForm(SOUL, "Ball")
804
		local DISTANCE
805
		local HUM = IT("Humanoid", SOULMODEL)
806
		repeat
807
			Swait()
808
			SOUL.CFrame = Clerp(SOUL.CFrame, Torso.CFrame, 0.03)
809
			DISTANCE = (SOUL.Position - Torso.Position).Magnitude
810
		until DISTANCE < 0.4
811
		SOUL.Transparency = 1
812
		A1.Parent = Torso
813
		A2.Parent = Torso
814
		Trail.Parent = Torso
815
		SOULMODEL:remove()
816
		for i = 1, 100 do
817
			Swait()
818
			Trail.Transparency = NumberSequence.new(i / 100)
819
		end
820
		A1:remove()
821
		A2:remove()
822
		Trail:remove()
823
	end))
824
end
825
Humanoid.Died:connect(function()
826
	ATTACK = true
827
end)
828
829
function Blob(POSITION, RANGE)
830
	for index, CHILD in pairs(workspace:GetChildren()) do
831
		if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD:FindFirstChild("AbsylumDrag") == nil then
832
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
833
			if HUM then
834
				do
835
					local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
836
					if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
837
						do
838
							local HITFLOOR, HITPOS = Raycast(TORSO.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, TORSO.Size.Y * 3, CHILD)
839
							if HITFLOOR and HITFLOOR.Anchored == true then
840
								TORSO.Anchored = true
841
								CHILD.PrimaryPart = TORSO
842
								coroutine.resume(coroutine.create(function()
843
									local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "AbsylumFloor", VT(0, 0, 0), true)
844
									FLOOR.Color = C3(cR,cG,cB)
845
									MakeForm(FLOOR, "Cyl")
846
									FLOOR.CFrame = CF(HITPOS)
847
									local E = IT("Folder", CHILD)
848
									E.Name = "AbsylumDrag"
849
									for i = 1, 35 do
850
										Swait()
851
										FLOOR.Size = FLOOR.Size + VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
852
									end
853
									local SOUND = CreateSound(744744924, FLOOR, 0, MRANDOM(8, 12) / 10, false)
854
									repeat
855
										Swait()
856
										SOUND.Parent = FLOOR
857
										SOUND.Volume = SOUND.Volume + 0.08888888888888889
858
										CHILD:SetPrimaryPartCFrame(TORSO.CFrame * CF(0, -0.05, 0))
859
									until TORSO.Position.Y < FLOOR.Position.Y - 2.3 * TORSO.Size.Z
860
									for _, c in pairs(CHILD:GetChildren()) do
861
										if c.ClassName == "Accessory" or c.ClassName == "Tool" or c.ClassName == "Hat" then
862
											local H = c:FindFirstChild("Handle")
863
											if H then
864
												H.CanCollide = true
865
												H.Parent = workspace
866
												H.CFrame = TORSO.CFrame * CF(0, TORSO.Size.Y * 1.2, 0)
867
												Debris:AddItem(H, 5)
868
											end
869
										end
870
									end
871
									CHILD:Remove()
872
									local VOLUME = SOUND.Volume
873
									for i = 1, 35 do
874
										Swait()
875
										SOUND.Volume = SOUND.Volume - VOLUME / 35
876
										FLOOR.Size = FLOOR.Size - VT(0.2 * TORSO.Size.Z, 0, 0.2 * TORSO.Size.Z)
877
									end
878
									Soul(FLOOR.Position)
879
									SOUND:Stop()
880
									FLOOR:remove()
881
								end))
882
							end
883
						end
884
					end
885
				end
886
			end
887
		end
888
	end
889
end
890
891
local S = IT("Sound")
892
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
893
	local NEWSOUND = nil
894
	coroutine.resume(coroutine.create(function()
895
		NEWSOUND = S:Clone()
896
		NEWSOUND.Parent = PARENT
897
		NEWSOUND.Volume = VOLUME
898
		NEWSOUND.Pitch = PITCH
899
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
900
		NEWSOUND:play()
901
		if DOESLOOP == true then
902
			NEWSOUND.Looped = true
903
		else
904
			repeat wait(1) until NEWSOUND.Playing == false
905
			NEWSOUND:remove()
906
		end
907
	end))
908
	return NEWSOUND
909
end
910
911
function CFrameFromTopBack(at, top, back)
912
	local right = top:Cross(back)
913
	return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
914
end
915
916
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
917
function WACKYEFFECT(Table)
918
	local TYPE = (Table.EffectType or "Sphere")
919
	local SIZE = (Table.Size or VT(1,1,1))
920
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
921
	local TRANSPARENCY = (Table.Transparency or 0)
922
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
923
	local CFRAME = (Table.CFrame or Torso.CFrame)
924
	local MOVEDIRECTION = (Table.MoveToPos or nil)
925
	local ROTATION1 = (Table.RotationX or 0)
926
	local ROTATION2 = (Table.RotationY or 0)
927
	local ROTATION3 = (Table.RotationZ or 0)
928
	local MATERIAL = (Table.Material or "Neon")
929
	local COLOR = (Table.Color or C3(cR,cG,cB))
930
	local TIME = (Table.Time or 45)
931
	local SOUNDID = (Table.SoundID or nil)
932
	local SOUNDPITCH = (Table.SoundPitch or nil)
933
	local SOUNDVOLUME = (Table.SoundVolume or nil)
934
	coroutine.resume(coroutine.create(function()
935
		local PLAYSSOUND = false
936
		local SOUND = nil
937
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Deep orange"), "Effect", VT(1,1,1), true)
938
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
939
			PLAYSSOUND = true
940
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
941
		end
942
		EFFECT.Color = COLOR
943
		local MSH = nil
944
		if TYPE == "Sphere" then
945
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
946
		elseif TYPE == "Block" then
947
			MSH = IT("BlockMesh",EFFECT)
948
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
949
		elseif TYPE == "Wave" then
950
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
951
		elseif TYPE == "Ring" then
952
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
953
		elseif TYPE == "Slash" then
954
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
955
		elseif TYPE == "Round Slash" then
956
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
957
		elseif TYPE == "Swirl" then
958
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
959
		elseif TYPE == "Skull" then
960
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
961
		elseif TYPE == "Crystal" then
962
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
963
		end
964
		if MSH ~= nil then
965
			local MOVESPEED = nil
966
			if MOVEDIRECTION ~= nil then
967
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
968
			end
969
			local GROWTH = SIZE - ENDSIZE
970
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
971
			if TYPE == "Block" then
972
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
973
			else
974
				EFFECT.CFrame = CFRAME
975
			end
976
			for LOOP = 1, TIME+1 do
977
				Swait()
978
				MSH.Scale = MSH.Scale - GROWTH/TIME
979
				if TYPE == "Wave" then
980
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
981
				end
982
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
983
				if TYPE == "Block" then
984
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
985
				else
986
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
987
				end
988
				if MOVEDIRECTION ~= nil then
989
					local ORI = EFFECT.Orientation
990
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
991
					EFFECT.Orientation = ORI
992
				end
993
			end
994
			if PLAYSSOUND == false then
995
				EFFECT:remove()
996
			else
997
				repeat Swait() until SOUND.Playing == false
998
				EFFECT:remove()
999
			end
1000
		else
1001
			if PLAYSSOUND == false then
1002
				EFFECT:remove()
1003
			else
1004
				repeat Swait() until SOUND.Playing == false
1005
				EFFECT:remove()
1006
			end
1007
		end
1008
	end))
1009
end
1010
1011
local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
1012
1013
local AddInstance = function(Object, ...)
1014
local Obj = Instance.new(Object)
1015
for i,v in next,(...) do
1016
Obj[i] = v
1017
end
1018
return Obj
1019
end
1020
1021
function MakeForm(PART,TYPE)
1022
	if TYPE == "Cyl" then
1023
		local MSH = IT("CylinderMesh",PART)
1024
	elseif TYPE == "Ball" then
1025
		local MSH = IT("SpecialMesh",PART)
1026
		MSH.MeshType = "Sphere"
1027
	elseif TYPE == "Wedge" then
1028
		local MSH = IT("SpecialMesh",PART)
1029
		MSH.MeshType = "Wedge"
1030
	end
1031
end
1032
1033
Debris = game:GetService("Debris")
1034
1035
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1036
	local DIRECTION = CF(StartPos,EndPos).lookVector
1037
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
1038
end
1039
1040
function Particles(Which,Parent,Enabled)
1041
	if script:FindFirstChild(Which) then
1042
		local PARTICLES = script:FindFirstChild(Which):Clone()
1043
		PARTICLES.Parent = Parent
1044
		PARTICLES.Name = "CurseParticles"
1045
		if Enabled ~= true then	
1046
			PARTICLES:Emit(Enabled)
1047
			Debris:AddItem(PARTICLES,10)
1048
		else
1049
			PARTICLES.Enabled = true
1050
			return PARTICLES
1051
		end
1052
	end
1053
end
1054
1055
--//=================================\\
1056
--||	     WEAPON CREATION
1057
--\\=================================//
1058
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1059
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1060
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1061
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1062
MakeForm(PRT,"Cyl")
1063
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1064
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1065
MakeForm(PRT,"Cyl")
1066
PRT.Color = C3(cR,cG,cB)
1067
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1068
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1069
MakeForm(RING,"Cyl")
1070
RING.Color = C3(0,0,0)
1071
for i = 1, 12 do
1072
    local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
1073
    PRT.Color = C3(0,0,0)
1074
    local MSH = IT("BlockMesh",PRT)
1075
    MSH.Scale = VT(0.6,1,1)
1076
    CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1077
end
1078
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
1079
PRT.Color = C3(0,0,0)
1080
local MSH = IT("BlockMesh",PRT)
1081
MSH.Scale = VT(0.4,1,1)
1082
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1083
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1084
PRT.Color = C3(0,0,0)
1085
local MSH = IT("BlockMesh",PRT)
1086
MSH.Scale = VT(0.4,1,1)
1087
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1088
coroutine.resume(coroutine.create(function()
1089
    while true do
1090
        Swait()
1091
        CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1092
        WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1093
        WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1094
        if CLOCKLOOP <= -150 then
1095
            if VALUE1 == false then
1096
                CLOCKLOOP = 0
1097
                WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(cR,cG,cB), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 1})
1098
                local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1099
                ApplyAoE(HITPOS,10,15,45,75,true)
1100
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
1101
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = 0.5, SoundVolume = 1})
1102
                if CLOCKTARGET ~= nil then
1103
                    CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1104
                    if CLOCKTARGET.Torso ~= nil then
1105
                        CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1106
                    end
1107
                    if CLOCKTARGET.Health == 0 then
1108
                        CLOCKTARGET = nil
1109
                    end
1110
                end
1111
            end
1112
        end
1113
    end
1114
end))
1115
 
1116
for _, c in pairs(Weapon:GetChildren()) do
1117
    if c.ClassName == "Part" then
1118
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1119
    end
1120
end
1121
 
1122
Neck.Name = "Weld"
1123
RootJoint.Name = "Weld"
1124
RightShoulder.Name = "Weld"
1125
LeftShoulder.Name = "Weld"
1126
RightHip.Name = "Weld"
1127
LeftHip.Name = "Weld"
1128
 
1129
local BODY = {}
1130
for _, c in pairs(Character:GetDescendants()) do
1131
    if c:IsA("BasePart") and c.Name ~= "Handle" then
1132
        if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1133
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1134
        end
1135
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1136
    elseif c:IsA("JointInstance") then
1137
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
1138
    end
1139
end
1140
for e = 1, #BODY do
1141
    if BODY[e] ~= nil then
1142
        local STUFF = BODY[e]
1143
        local PART = STUFF[1]
1144
        local PARENT = STUFF[2]
1145
        local MATERIAL = STUFF[3]
1146
        local COLOR = STUFF[4]
1147
        local TRANSPARENCY = STUFF[5]
1148
        if PART.ClassName == "Part" and PART ~= RootPart then
1149
            PART.Material = MATERIAL
1150
            PART.Color = COLOR
1151
            PART.Transparency = TRANSPARENCY
1152
        end
1153
        PART.AncestryChanged:Connect(function()
1154
            PART.Parent = PARENT
1155
        end)
1156
    end
1157
end
1158
 
1159
function refit()
1160
    Character.Parent = workspace
1161
    for e = 1, #BODY do
1162
        if BODY[e] ~= nil then
1163
            local STUFF = BODY[e]
1164
            local PART = STUFF[1]
1165
            local PARENT = STUFF[2]
1166
            local MATERIAL = STUFF[3]
1167
            local COLOR = STUFF[4]
1168
            local TRANSPARENCY = STUFF[5]
1169
            if PART.ClassName == "Part" and PART ~= RootPart then
1170
                PART.Material = MATERIAL
1171
                PART.Color = COLOR
1172
                PART.Transparency = TRANSPARENCY
1173
            end
1174
            if PART.Parent ~= PARENT then
1175
                Humanoid:remove()
1176
                PART.Parent = PARENT
1177
                Humanoid = IT("Humanoid",Character)
1178
chatfunc ("I dont have time to die...")
1179
            end
1180
        end
1181
    end
1182
end
1183
local SKILLTEXTCOLOR = C3(cR,cG,cB)
1184
local SKILLFONT = "Fantasy"
1185
local SKILLTEXTSIZE = 7
1186
 
1187
Weapon.Parent = Character
1188
Humanoid.Parent = Character
1189
 
1190
Humanoid.Died:connect(function()
1191
    refit()
1192
end)
1193
1194
------------
1195
1196
1197
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Eye", VT(0.49,0.49,0.49),false)
1198
local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
1199
local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Cyan", "Eye2", VT(0.49,0.49,0.30),false)
1200
local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
1201
 
1202
1203
1204
1205
--------------------------
1206
1207
local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1208
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
1209
local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
1210
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1211
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Light", VT(0.35,1.4,0.35),false)
1212
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1213
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
1214
CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1215
 
1216
local DECAL = IT("Decal",Part)
1217
DECAL.Texture = "http://www.roblox.com/asset/?id=50184258"
1218
DECAL.Face = "Top"
1219
 
1220
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
1221
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1222
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1223
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
1224
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
1225
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
1226
local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
1227
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1228
local Part = CreatePart(3, Weapon, "Neon", 0, 0, "New Yeller", "Eon", VT(0.5,0.5,1.25),false)
1229
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1230
 
1231
1232
local cR=255
1233
local cG=0
1234
local cB=0
1235
local flg5=1 local omgidk=1
1236
local add=7.5
1237
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
1238
    if omgidk>10000 then omgidk=0 end
1239
    omgidk=omgidk+1
1240
    if cR>=255 then flg5=1 end
1241
    if cG>=255 then flg5=2 end
1242
    if cB>=255 then flg5=3 end
1243
    if flg5==1 then cR=cR-add cG=cG+add end
1244
    if flg5==2 then cG=cG-add cB=cB+add end
1245
    if flg5==3 then cB=cB-add cR=cR+add end
1246
    color=Color3.fromRGB(cR,cG,cB)
1247
    local d = Weapon:FindFirstChild("Eon")
1248
    if d then
1249
        d.Color = color
1250
    end
1251
    local d = Weapon:FindFirstChild("Light")
1252
    if d then
1253
        d.Color = color
1254
    end
1255
    local d = Weapon:FindFirstChild("Eye")
1256
    if d then
1257
        d.Color = color
1258
    end
1259
    local d = Weapon:FindFirstChild("Eye2")
1260
    if d then
1261
        d.Color = color
1262
    end
1263
    local d = Weapon:FindFirstChild("Watch")
1264
    if d then
1265
        d.Color = color
1266
    end
1267
end)
1268
for _, c in pairs(Weapon:GetChildren()) do
1269
    if c.ClassName == "Part" then
1270
        c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1271
    end
1272
end
1273
1274
 
1275
Weapon.Parent = Character
1276
1277
local BODY = {}
1278
 
1279
Humanoid.Died:connect(function()
1280
    ATTACK = true
1281
end)
1282
1283
-------------------------------------
1284
1285
local GUI = script.NameGui
1286
GUI.Parent = RootPart
1287
GUI.PlayerToHideFrom = Player
1288
Humanoid.DisplayDistanceType = "None"
1289
GUI.Enabled = true
1290
local Pauldrons = script.Pauldrons
1291
Pauldrons.Parent = Character
1292
Pauldrons.CFrame = Torso.CFrame
1293
local WELD = weldBetween(Torso,Pauldrons)
1294
Pauldrons.Anchored = false
1295
Pauldrons.Transparency = 0
1296
local FLINTLOCK = script.Flintlock
1297
FLINTLOCK.Parent = Character
1298
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, FLINTLOCK, CF(1,-1.5,0) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1299
1300
local REGENSOUND = 487215897
1301
for _, c in pairs(Character:GetDescendants()) do
1302
	if c and c.Parent then
1303
		if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
1304
			local ACCESSORY = c.Parent
1305
			c.Parent = Character
1306
			if c then
1307
				if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
1308
					weldBetween(Head,c)
1309
				else
1310
					weldBetween(Torso,c)
1311
				end
1312
			end
1313
			ACCESSORY:remove()
1314
		end
1315
	end
1316
end
1317
wait()
1318
local BODY = {}
1319
for _, c in pairs(Character:GetDescendants()) do
1320
	if c:IsA("BasePart") then
1321
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1322
		end
1323
		local REGENVALUE = IT("BoolValue",c)
1324
		REGENVALUE.Name = "IsRegening"
1325
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
1326
	elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
1327
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
1328
	end
1329
end
1330
function FullBodyRegen()
1331
	if FULLREGEN == false then
1332
		FULLREGEN = true
1333
		Character.Parent = workspace
1334
		GUI.Enabled = false
1335
		CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
1336
		UNANCHOR = false
1337
		for e = 1, #BODY do
1338
			if BODY[e] ~= nil then
1339
				local STUFF = BODY[e]
1340
				local PART = STUFF[1]
1341
				local PARENT = STUFF[2]
1342
				local MATERIAL = STUFF[3]
1343
				local COLOR = STUFF[4]
1344
				local TRANSPARENCY = STUFF[5]
1345
				--local SIZE = STUFF[6]
1346
				local NAME = STUFF[7]
1347
				local VALUE = STUFF[8]
1348
				PART.Parent = PARENT
1349
				Humanoid.MaxHealth = "inf"
1350
				Humanoid.Health = "inf"
1351
				Humanoid.Parent = nil
1352
				Humanoid = IT("Humanoid",Character)
1353
				Humanoid.Died:Connect(FullBodyRegen)
1354
				PART.Parent = PARENT
1355
				if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
1356
				VALUE.Value = true
1357
				coroutine.resume(coroutine.create(function()
1358
					PART.Transparency = 1
1359
					CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
1360
					local REGEN = script.Regen:Clone()
1361
					REGEN.Parent = PART
1362
					REGEN.Speed = NumberRange.new(30)
1363
					REGEN:Emit(100)
1364
					local REGENING = script.Regen2:Clone()
1365
					REGENING.Parent = PART
1366
					REGENING.Enabled = true
1367
					REGENING.Speed = NumberRange.new(35)
1368
					wait()
1369
					local RANGE = 35
1370
					for i = 1, math.ceil(REGENRATE*25) do
1371
						wait()
1372
						ApplyAoE(PART.Position,6,1,1,0,false)
1373
						REGENING.Speed = NumberRange.new(RANGE)
1374
						RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
1375
					end
1376
					REGEN.Speed = NumberRange.new(6)
1377
					REGEN:Emit(60)
1378
					wait(REGENRATE/3)
1379
					RootPart.Velocity = VT(0,0,0)
1380
					UNANCHOR = true
1381
					GUI.Enabled = true
1382
					PART.Transparency = 0
1383
					REGEN.Rate = 50
1384
					REGEN.Enabled = true
1385
					REGENING.Enabled = false
1386
					wait(REGENRATE/1.5)
1387
					VALUE.Value = false
1388
					Debris:AddItem(REGENING,5)
1389
					FULLREGEN = false
1390
					REGEN.Enabled = false
1391
					Debris:AddItem(REGEN,5)
1392
				end))
1393
				end
1394
			end
1395
		end
1396
	end
1397
end
1398
function Regen()
1399
	Character.Parent = workspace
1400
	for e = 1, #BODY do
1401
		if BODY[e] ~= nil then
1402
			local STUFF = BODY[e]
1403
			local PART = STUFF[1]
1404
			local PARENT = STUFF[2]
1405
			local MATERIAL = STUFF[3]
1406
			local COLOR = STUFF[4]
1407
			local TRANSPARENCY = STUFF[5]
1408
			--local SIZE = STUFF[6]
1409
			local NAME = STUFF[7]
1410
			local VALUE = STUFF[8]
1411
			if PART.ClassName == "Part" and PART ~= RootPart then
1412
				PART.Material = MATERIAL
1413
				PART.Name = NAME
1414
			end
1415
			if PART.Parent ~= PARENT then
1416
				PART.Parent = PARENT
1417
				if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
1418
					if VALUE.Value == false then
1419
						VALUE.Value = true
1420
						coroutine.resume(coroutine.create(function()
1421
							PART.Transparency = 1
1422
							wait(REGENRATE)
1423
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1424
							local REGENING = script.Regen:Clone()
1425
							REGENING.Parent = PART
1426
							REGENING.Enabled = true
1427
							for i = 1, math.ceil(REGENRATE*10) do
1428
								wait()
1429
								ApplyAoE(PART.Position,6,1,1,0,false)
1430
							end
1431
							wait(REGENRATE)	
1432
							PART.Transparency = 0
1433
							wait(REGENRATE/5)	
1434
							REGENING.Enabled = false
1435
							VALUE.Value = false
1436
							Debris:AddItem(REGENING,5)
1437
						end))
1438
					end
1439
				elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
1440
					local VALUE = PARENT.IsRegening	
1441
					if VALUE == false then
1442
						VALUE.Value = true
1443
						local PART = PART.Part1
1444
						coroutine.resume(coroutine.create(function()
1445
							PART.Transparency = 1
1446
							wait(REGENRATE)
1447
							CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
1448
							local REGENING = script.Regen:Clone()
1449
							REGENING.Parent = PART
1450
							REGENING.Enabled = true
1451
							for i = 1, math.ceil(REGENRATE*10) do
1452
								wait()
1453
								ApplyAoE(PART.Position,6,1,1,0,false)
1454
							end
1455
							wait(REGENRATE)		
1456
							PART.Transparency = 0
1457
							wait(REGENRATE/5)	
1458
							REGENING.Enabled = false
1459
							VALUE.Value = false
1460
						end))	
1461
					end
1462
				end	
1463
			end
1464
		end
1465
	end
1466
end
1467
1468
for _, c in pairs(script.Package:GetChildren()) do
1469
	c.Parent = Character
1470
end
1471
1472
local b = IT("BodyForce",RootPart)
1473
b.Name = "LowGrav"
1474
b.force = Vector3.new(0,1500,0)
1475
1476
local SKILLTEXTCOLOR = C3(cR,cG,cB)
1477
local SKILLFONT = "Fantasy"
1478
local SKILLTEXTSIZE = 7
1479
1480
local BACKATTACHMENT1 = IT("Attachment",Torso)
1481
BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
1482
local BACKATTACHMENT2 = IT("Attachment",Torso)
1483
BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
1484
1485
Humanoid.Died:Connect(FullBodyRegen)
1486
1487
--//=================================\\
1488
--||			DAMAGING
1489
--\\=================================//
1490
1491
function ApplyDamage(Humanoid,Damage)
1492
	if Humanoid.Health == math.huge then
1493
		Humanoid.Parent:BreakJoints()
1494
	else
1495
		local MULTIPLY = Humanoid.MaxHealth/100
1496
		Damage = Damage * DAMAGEMULTIPLIER
1497
		if Humanoid.Health ~= 0 then
1498
			Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
1499
		end
1500
	end
1501
end
1502
1503
function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
1504
	local CHILDREN = workspace:GetDescendants()
1505
	for index, CHILD in pairs(CHILDREN) do
1506
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1507
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1508
			if HUM then
1509
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1510
				if TORSO then
1511
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1512
						if INSTAKILL == true or HUM.MaxHealth == math.huge then
1513
							CHILD:BreakJoints()
1514
						else
1515
							local DMG = MRANDOM(MINDMG,MAXDMG)
1516
							ApplyDamage(HUM,DMG)
1517
						end
1518
						if FLING > 0 then
1519
							for _, c in pairs(CHILD:GetChildren()) do
1520
								if c:IsA("BasePart") then
1521
									local bv = Instance.new("BodyVelocity") 
1522
									bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
1523
									bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
1524
									bv.Parent = c
1525
									Debris:AddItem(bv,0.05)
1526
								end
1527
							end
1528
						end
1529
					end
1530
				end
1531
			end
1532
		end
1533
	end
1534
end
1535
1536
--//=================================\\
1537
--||	ATTACK FUNCTIONS AND STUFF
1538
--\\=================================//
1539
1540
function Fireball()
1541
	ATTACK = true
1542
	Rooted = true
1543
	local GYRO = IT("BodyGyro",RootPart)
1544
	GYRO.D = 20
1545
	GYRO.P = 4000
1546
	GYRO.MaxTorque = VT(40000,40000,40000)
1547
	local POSITION = IT("BodyPosition",RootPart)
1548
	POSITION.Position = RootPart.Position+VT(0,2,0)
1549
	POSITION.D = 450
1550
	POSITION.P = 40000
1551
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1552
	local FIRE = Particles("FistFire",RightArm,true)
1553
	CreateSound(CHARGE,RightArm,6,1,false)
1554
	coroutine.resume(coroutine.create(function()
1555
		repeat
1556
			Swait()
1557
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1558
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1559
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1560
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1561
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1562
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1563
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1564
		until ATTACK == false
1565
		FIRE.LockedToPart = false
1566
		FIRE.Enabled = false
1567
		Debris:AddItem(FIRE,5)
1568
		GYRO:remove()
1569
		POSITION:remove()
1570
	end))
1571
	wait(1)
1572
	repeat
1573
		Particles("ExplosionFire1",RightArm,70)
1574
		coroutine.resume(coroutine.create(function()
1575
			local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Flight", VT(10,10,10))
1576
			FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1577
			CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1578
			local FLAME = Particles("FireballFire1",FIREBALL,true)
1579
			local FLAME2 = Particles("FireballFire2",FIREBALL,true)
1580
			for i = 1, 250 do
1581
				Swait()
1582
				local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
1583
				FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
1584
				if HIT then
1585
					Particles("ExplosionFire1",FIREBALL,600)
1586
					ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1587
					for i = 1, 3 do
1588
						WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1589
					end
1590
					for i = 1, 3 do
1591
						WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1592
					end
1593
					for i = 1, 5 do
1594
						WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1595
					end
1596
					break
1597
				end
1598
			end
1599
			FLAME.Enabled = false
1600
			FLAME2.Enabled = false
1601
			Debris:AddItem(FIREBALL,7)
1602
		end))
1603
		wait(0.1)
1604
	until KEYHOLD == false
1605
	wait(0.2)
1606
	ATTACK = false
1607
	Rooted = false
1608
end
1609
1610
function FireField()
1611
	ATTACK = true
1612
	Rooted = true
1613
	local A = false
1614
	local POSITION = IT("BodyPosition",RootPart)
1615
	POSITION.Position = RootPart.Position+VT(0,2,0)
1616
	POSITION.D = 450
1617
	POSITION.P = 40000
1618
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1619
	coroutine.resume(coroutine.create(function()
1620
		repeat
1621
			Swait()
1622
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1623
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1624
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.85, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1625
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1626
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1627
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1628
		until A == true
1629
		repeat
1630
			Swait()
1631
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1632
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1633
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1634
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.4, -0.3) * ANGLES(RAD(170), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1635
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1636
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1637
		until ATTACK == false
1638
		POSITION:remove()
1639
	end))
1640
	local RANGE = 75
1641
	local REGENING = script.Regen2:Clone()
1642
	REGENING.Parent = Torso
1643
	REGENING.Enabled = true
1644
	REGENING.Rate = 900
1645
	REGENING.Speed = NumberRange.new(RANGE)
1646
	wait()
1647
	for i = 1, 75 do
1648
		wait()
1649
		ApplyAoE(Torso.Position,6,1,1,0,false)
1650
		REGENING.Speed = NumberRange.new(RANGE)
1651
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
1652
	end
1653
	REGENING.Enabled = false
1654
	wait(0.5)
1655
	for i = 1, 6 do
1656
		WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1657
	end
1658
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1659
	A = true
1660
	local FLAME = Particles("Field",Torso,true)
1661
	FLAME.Size = NumberSequence.new(0,25)
1662
	FIREFIELD = true
1663
	local SOUND = CreateSound(BURNSOUND,Torso,10,1,true)
1664
	coroutine.resume(coroutine.create(function()
1665
		for i = 1, 20 do
1666
			wait(1)
1667
			SOUND.Parent = Torso
1668
			SOUND.Playing = true
1669
			ApplyAoE(Torso.Position,100,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1670
			for i = 1, 2 do
1671
				WACKYEFFECT({Time = 20+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(30,30,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1672
			end
1673
			if SEARING == true then
1674
				break
1675
			end
1676
		end
1677
		FIREFIELD = false
1678
		FLAME.Enabled = false
1679
		Debris:AddItem(FLAME,5)
1680
		SOUND:remove()
1681
	end))
1682
	wait(1)
1683
	ATTACK = false
1684
	Rooted = false
1685
end
1686
1687
function SearingForm()
1688
	ATTACK = true
1689
	Rooted = true
1690
	local POSITION = IT("BodyPosition",RootPart)
1691
	POSITION.Position = RootPart.Position+VT(0,2,0)
1692
	POSITION.D = 450
1693
	POSITION.P = 40000
1694
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1695
	coroutine.resume(coroutine.create(function()
1696
		repeat
1697
			Swait()
1698
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
1699
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
1700
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.8, -0.35) * ANGLES(RAD(120), RAD(0), RAD(-70)) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1701
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.35) * ANGLES(RAD(120), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1702
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1703
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
1704
		until ATTACK == false
1705
	end))
1706
	local FIRES = {}
1707
	local RANGE = 75
1708
	local REGENING = script.Regen2:Clone()
1709
	REGENING.Parent = Torso
1710
	REGENING.Enabled = true
1711
	REGENING.Rate = 900
1712
	REGENING.Speed = NumberRange.new(RANGE)
1713
	wait()
1714
	for i = 1, 75 do
1715
		wait()
1716
		ApplyAoE(Torso.Position,6,1,1,0,false)
1717
		REGENING.Speed = NumberRange.new(RANGE)
1718
		RANGE = RANGE - (75/(math.ceil(REGENRATE*75)))
1719
	end
1720
	REGENING.Enabled = false
1721
	wait(0.5)
1722
	for i = 1, 6 do
1723
		WACKYEFFECT({Time = 10+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1724
	end
1725
	local BUSY = true
1726
	Particles("ExplosionFire1",Torso,100)
1727
	SEARING = true
1728
	local WING1 = Particles("WingFire1",BACKATTACHMENT1,true)
1729
	local WING2 = Particles("WingFire1",BACKATTACHMENT2,true)
1730
	coroutine.resume(coroutine.create(function()
1731
		coroutine.resume(coroutine.create(function()		
1732
			repeat 
1733
				wait(1)
1734
				ApplyAoE(Torso.Position,20,5,10,0,false,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1735
			until SEARING == false
1736
		end))
1737
		repeat 
1738
			Swait()
1739
			local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1740
			local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-6-(2*COS(SINE / 24)))
1741
			WING1.Acceleration = ACCEL1
1742
			WING2.Acceleration = ACCEL2
1743
			local HIT,HITPOS = Raycast(RootPart.Position, RootPart.CFrame.lookVector, 4, Character)
1744
			if HIT then
1745
				ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1746
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1747
				CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1748
				for i = 1, 3 do
1749
					WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1750
				end
1751
				for i = 1, 3 do
1752
					WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1753
				end
1754
				Particles("ExplosionFire1",Torso,600)
1755
				BUSY = false
1756
				break
1757
			end
1758
		until SEARING == false
1759
	end))
1760
	for _, c in pairs(Character:GetChildren()) do
1761
		if c:IsA("BasePart") then
1762
			local FLAME = Particles("BodyFire",c,true)
1763
			table.insert(FIRES,FLAME)
1764
		end
1765
	end
1766
	POSITION:remove()
1767
	wait()
1768
	ApplyAoE(Torso.Position,120,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1769
	CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1770
	ATTACK = false
1771
	Rooted = false
1772
	GYRO = IT("BodyGyro",RootPart)
1773
	GYRO.D = 20
1774
	GYRO.P = 4000
1775
	GYRO.MaxTorque = VT(0,40000,0)
1776
	BODYPOS = IT("BodyPosition",RootPart)
1777
	BODYPOS.Position = RootPart.Position+VT(0,2,0)
1778
	BODYPOS.D = 450
1779
	BODYPOS.P = 40000
1780
	BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1781
	local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
1782
		if NEWKEY == "c" and ATTACK == false then
1783
			BUSY = false
1784
		end
1785
	end)
1786
	local HUM = Humanoid.Died:Connect(function()
1787
		BUSY = false
1788
		ApplyAoE(Torso.Position,200,45,80,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
1789
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1790
		CreateSound(EXPLOSIONMEDIUMSOUND,Torso,10,1,false)
1791
		for i = 1, 3 do
1792
			WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1793
		end
1794
		for i = 1, 3 do
1795
			WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1796
		end
1797
		Particles("ExplosionFire1",Torso,600)
1798
	end)
1799
	repeat wait() until BUSY == false
1800
	for i = 1, #FIRES do
1801
		FIRES[i].Enabled = false
1802
		Debris:AddItem(FIRES[i],5)
1803
	end
1804
	HUM:disconnect()
1805
	WING1.Enabled = false
1806
	WING2.Enabled = false
1807
	WING1.LockedToPart = false
1808
	WING2.LockedToPart = false
1809
	Debris:AddItem(WING1,5)
1810
	Debris:AddItem(WING2,5)
1811
	KEYDOWN:disconnect()
1812
	SEARING = false
1813
	GYRO:remove()
1814
	BODYPOS:remove()
1815
	FullBodyRegen()
1816
end
1817
1818
function SearingOrb()
1819
	ATTACK = true
1820
	Rooted = true
1821
	local POSITION = IT("BodyPosition",RootPart)
1822
	POSITION.Position = RootPart.Position+VT(0,2,0)
1823
	POSITION.D = 450
1824
	POSITION.P = 40000
1825
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1826
	local FIRE = Particles("FistFire",RightArm,true)
1827
	local FIRE2 = Particles("FistFire",LeftArm,true)
1828
	CreateSound(CHARGE,Torso,6,1,false)
1829
	local NEWANIM = false
1830
	coroutine.resume(coroutine.create(function()
1831
		repeat
1832
			Swait()
1833
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1834
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1835
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1836
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1837
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1838
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1839
		until ATTACK == false or NEWANIM == true
1840
		if NEWANIM == true then
1841
			local GYRO = IT("BodyGyro",RootPart)
1842
			GYRO.D = 20
1843
			GYRO.P = 4000
1844
			GYRO.MaxTorque = VT(40000,40000,40000)
1845
			repeat
1846
				Swait()
1847
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
1848
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
1849
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
1850
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1851
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1852
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1853
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1854
			until ATTACK == false
1855
			GYRO:remove()
1856
		end
1857
		POSITION:remove()
1858
		FIRE.LockedToPart = false
1859
		FIRE.Enabled = false
1860
		Debris:AddItem(FIRE,5)
1861
		FIRE2.LockedToPart = false
1862
		FIRE2.Enabled = false
1863
		Debris:AddItem(FIRE2,5)
1864
	end))
1865
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
1866
	MakeForm(ORB,"Ball")
1867
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
1868
	local A = IT("Attachment",ORB)
1869
	local FIRES = Particles("FireballFire1",A,true)
1870
	FIRES.Size = NumberSequence.new(0)
1871
	FIRES.LockedToPart = true
1872
	local LOOP = 0
1873
	for i = 1, 500 do
1874
		Swait()
1875
		LOOP = LOOP + 1
1876
		if LOOP >= 30 then
1877
			LOOP = 0
1878
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1879
		end
1880
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
1881
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1882
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1883
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1884
		FIRES.Enabled = true
1885
	end
1886
	wait(1)
1887
	if KEYHOLD == false then
1888
		coroutine.resume(coroutine.create(function()
1889
			ORB.Transparency = 1
1890
			FIRES.Enabled = false
1891
			Debris:AddItem(ORB,10)
1892
			ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1893
			CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
1894
			CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
1895
			for i = 1, 3 do
1896
				WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1897
			end
1898
			for i = 1, 3 do
1899
				WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
1900
			end
1901
			Particles("ExplosionFire1",ORB,1200)
1902
			for i = 1, 15 do
1903
				WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1904
			end
1905
		end))
1906
	else
1907
		for i = 1, 100 do
1908
			Swait()
1909
			ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
1910
			ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
1911
			FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
1912
			FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
1913
		end
1914
		ORB.Transparency = 1
1915
		FIRES.Enabled = false
1916
		Debris:AddItem(ORB,10)
1917
		CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
1918
		for _, c in pairs(Character:GetChildren()) do
1919
			if c:IsA("BasePart") then
1920
				Particles("ExplosionFire2",c,25)
1921
			end
1922
		end
1923
		NEWANIM = true
1924
		wait(0.5)
1925
		for i = 1, 15 do
1926
			wait(0.1)
1927
			coroutine.resume(coroutine.create(function()
1928
				local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Deep orange", "Flight", VT(2,2,2))
1929
				FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
1930
				CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
1931
				local FLAME = Particles("FireballFire3",FIREBALL,true)
1932
				for i = 1, 250 do
1933
					Swait()
1934
					local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
1935
					FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
1936
					if HIT then
1937
						CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
1938
						local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Deep orange"), "Fire", VT(75,0,75), true)
1939
						local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Deep orange"), "Fire", VT(75,0,75), true)
1940
						FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1941
						FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
1942
						coroutine.resume(coroutine.create(function()
1943
							local FLAMES = Particles("DebrisFire",FIELD,true)
1944
							local FLAMES2 = Particles("DebrisFire",FIELD2,true)
1945
							for i = 1, 15 do
1946
								wait(1)
1947
								ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
1948
							end
1949
							FLAMES.Enabled = false
1950
							FLAMES2.Enabled = false
1951
							Debris:AddItem(FIELD,5)
1952
							Debris:AddItem(FIELD2,5)
1953
						end))
1954
						Particles("ExplosionFire2",FIREBALL,600)
1955
						break
1956
					end
1957
				end
1958
				FLAME.Enabled = false
1959
				Debris:AddItem(FIREBALL,7)
1960
			end))
1961
		end
1962
	end
1963
	wait(0.3)
1964
	ATTACK = false
1965
	Rooted = false
1966
end
1967
1968
function Shroud()
1969
	if Mouse.Target ~= nil then
1970
		if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
1971
			local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
1972
			local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
1973
			if TORSO and HUM.Health > 0 then
1974
				local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
1975
				if DISTANCE < 100 then
1976
					ATTACK = true
1977
					POSEIDON = false
1978
					Rooted = true
1979
					local GYRO = IT("BodyGyro",RootPart)
1980
					GYRO.D = 20
1981
					GYRO.P = 4000
1982
					GYRO.MaxTorque = VT(40000,40000,40000)
1983
					local POSITION = IT("BodyPosition",RootPart)
1984
					POSITION.Position = RootPart.Position+VT(0,2,0)
1985
					POSITION.D = 450
1986
					POSITION.P = 40000
1987
					POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1988
					local TARGETTING = true
1989
					local HIT = false
1990
					local FIRES = {}
1991
					for _, c in pairs(Character:GetChildren()) do
1992
						if c:IsA("BasePart") then
1993
							local FLAME = Particles("BodyFire",c,true)
1994
							FLAME.Rate = 15
1995
							table.insert(FIRES,FLAME)
1996
						end
1997
					end
1998
					CreateSound(CHARGE,Torso,6,1,false)
1999
					coroutine.resume(coroutine.create(function()
2000
						repeat
2001
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
2002
							Swait()
2003
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2004
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2005
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2006
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2007
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2008
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2009
						until TARGETTING == false
2010
						repeat
2011
							GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
2012
							POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
2013
							DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
2014
							Swait()
2015
							RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2016
							Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2017
							RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2018
							LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2019
							RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2020
							LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2021
						until HIT == true
2022
						POSITION:remove()
2023
						GYRO:remove()
2024
					end))
2025
					wait(0.5)
2026
					repeat wait() until HOLD == true
2027
					for _, c in pairs(Character:GetChildren()) do
2028
						if c:IsA("BasePart") then
2029
							local FLAME = Particles("BodyFire",c,true)
2030
							table.insert(FIRES,FLAME)
2031
						end
2032
					end
2033
					for _, c in pairs(Character:GetChildren()) do
2034
						if c:IsA("BasePart") then
2035
							c.Transparency = 1
2036
						end
2037
					end
2038
					TARGETTING = false
2039
					for i = 1, 100 do
2040
						wait()
2041
						if DISTANCE < 5 or DISTANCE >= 200 then
2042
							break
2043
						end
2044
					end
2045
					HIT = true
2046
					if DISTANCE < 5 then
2047
						for i = 1, #FIRES do
2048
							FIRES[i].Enabled = false
2049
						end
2050
						for _, c in pairs(HUM.Parent:GetChildren()) do
2051
							if c:IsA("BasePart") then
2052
								local FLAME = Particles("BodyFire",c,true)
2053
								table.insert(FIRES,FLAME)
2054
							end
2055
						end
2056
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
2057
						RootPart.CFrame = TORSO.CFrame
2058
						local WELD = weldBetween(RootPart,TORSO)
2059
						repeat wait() until HOLD == true
2060
						CreateSound(416328540,Torso,6,1,false)
2061
						WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2062
						local bv = Instance.new("BodyVelocity") 
2063
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2064
						bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
2065
						bv.Parent = TORSO
2066
						for i = 1, 70 do
2067
							wait(0.1)
2068
							if TORSO.Parent == nil then
2069
								break
2070
							end
2071
							WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2072
						end
2073
						UNANCHOR = false
2074
						bv:remove()
2075
						wait(1)
2076
						WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2077
						CreateSound(FIREBALLSOUND,Torso,6,1,false)
2078
						UNANCHOR = true
2079
						local bv = Instance.new("BodyVelocity") 
2080
						bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2081
						bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
2082
						bv.Parent = TORSO
2083
						local LANDED = false
2084
						for i = 1, 500 do
2085
							wait()
2086
							Ignore = {Character,HUM.Parent}
2087
							WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2088
							local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2089
							local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
2090
							if HITFLOOR or FULLREGEN == true then
2091
								LANDED = true
2092
								break
2093
							end
2094
							if TORSO.Parent == nil then
2095
								break
2096
							end
2097
						end
2098
						if TORSO.Parent ~= nil then
2099
							UNANCHOR = false
2100
							bv:remove()
2101
							wait(1)
2102
							WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2103
							CreateSound(FIREBALLSOUND,Torso,6,1,false)
2104
							UNANCHOR = true
2105
							local bv = Instance.new("BodyVelocity") 
2106
							bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2107
							bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
2108
							bv.Parent = TORSO
2109
							local LANDED = false
2110
							for i = 1, 500 do
2111
								wait()
2112
								Ignore = {Character,HUM.Parent}
2113
								WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.9, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2114
								local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2115
								local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
2116
								if HITFLOOR or FULLREGEN == true then
2117
									LANDED = true
2118
									break
2119
								end
2120
								if TORSO.Parent == nil then
2121
									break
2122
								end
2123
							end
2124
							bv:remove()
2125
							if LANDED == true then
2126
								UNANCHOR = false
2127
								for i = 1, 10 do
2128
									ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2129
								end
2130
								CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
2131
								CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
2132
								Particles("ExplosionFire1",TORSO,120)
2133
								for i = 1, 15 do
2134
									WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2135
								end
2136
								WELD:remove()
2137
								wait(0.3)
2138
								UNANCHOR = true
2139
							else
2140
								WELD:remove()
2141
							end
2142
						end
2143
					end
2144
					for i = 1, #FIRES do
2145
						FIRES[i].Enabled = false
2146
						Debris:AddItem(FIRES[i],5)
2147
					end
2148
					for _, c in pairs(Character:GetChildren()) do
2149
						if c:IsA("BasePart") and c ~= RootPart then
2150
							c.Transparency = 0
2151
						end
2152
					end
2153
					RootPart.Velocity = VT(0,0,0)
2154
					ATTACK = false
2155
					Rooted = false
2156
				end
2157
			end
2158
		end
2159
	end
2160
end
2161
2162
function Spitter()
2163
	ATTACK = true
2164
	Rooted = true
2165
	local GYRO = IT("BodyGyro",RootPart)
2166
	GYRO.D = 20
2167
	GYRO.P = 4000
2168
	GYRO.MaxTorque = VT(40000,40000,40000)
2169
	local POSITION = IT("BodyPosition",RootPart)
2170
	POSITION.Position = RootPart.Position+VT(0,2,0)
2171
	POSITION.D = 450
2172
	POSITION.P = 40000
2173
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2174
	local FIRE = Particles("FistFire",RightArm,true)
2175
	CreateSound(CHARGE,RightArm,6,0.8,false)
2176
	coroutine.resume(coroutine.create(function()
2177
		repeat
2178
			Swait()
2179
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2180
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
2181
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
2182
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2183
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2184
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2185
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2186
		until ATTACK == false
2187
		FIRE.LockedToPart = false
2188
		FIRE.Enabled = false
2189
		Debris:AddItem(FIRE,5)
2190
		GYRO:remove()
2191
		POSITION:remove()
2192
	end))
2193
	local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
2194
	MakeForm(FIREBALL,"Ball")
2195
	FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
2196
	local CORE = IT("Attachment",FIREBALL)
2197
	local FIRES = Particles("FireballFire1",CORE,true)
2198
	FIRES.Size = NumberSequence.new(0)
2199
	FIRES.LockedToPart = true
2200
	local LOOP = 0
2201
	repeat
2202
		Swait()
2203
		LOOP = LOOP + 1
2204
		if LOOP == 20 then
2205
			LOOP = 0
2206
			WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2207
		end
2208
		if FIREBALL.Size.X < 20 then
2209
			FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
2210
			FIRES.Size = NumberSequence.new(FIREBALL.Size.Y/1.5)
2211
			FIRES.Speed = NumberRange.new(0,FIREBALL.Size.Y/2)
2212
		end
2213
		FIRES.Enabled = true
2214
		FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
2215
	until KEYHOLD == false and FIREBALL.Size.X >= 10
2216
	CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
2217
	coroutine.resume(coroutine.create(function()
2218
		FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
2219
		local RANGE = 75
2220
		local FLAME = Particles("Field",CORE,true)
2221
		FLAME.Speed = NumberRange.new(0,FIREBALL.Size.X*5)
2222
		FLAME.Size = NumberSequence.new(0,25)
2223
		for i = 1, 600 do
2224
			LOOP = LOOP + 1
2225
			if LOOP == 20 then
2226
				LOOP = 0
2227
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
2228
				WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2229
			end
2230
			Swait()
2231
			FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
2232
			local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
2233
			if HIT then
2234
				ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2235
				CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
2236
				CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
2237
				for i = 1, 3 do
2238
					WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2239
				end
2240
				for i = 1, 3 do
2241
					WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2242
				end
2243
				Particles("ExplosionFire1",FIREBALL,1200)
2244
				for i = 1, 15 do
2245
					WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2246
				end
2247
				break
2248
			end
2249
		end
2250
		FLAME.Enabled = false
2251
		FIRES.Enabled = false
2252
		for i = 1, 10 do
2253
			Swait()
2254
			FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
2255
		end
2256
		Debris:AddItem(FIREBALL,5)
2257
	end))
2258
	wait(0.5)
2259
	ATTACK = false
2260
	Rooted = false
2261
end
2262
2263
function Devastor()
2264
	ATTACK = true
2265
	Rooted = true
2266
	local POSITION = IT("BodyPosition",RootPart)
2267
	POSITION.Position = RootPart.Position+VT(0,2,0)
2268
	POSITION.D = 450
2269
	POSITION.P = 40000
2270
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2271
	local FIRE = Particles("FistFire",RightArm,true)
2272
	local FIRE2 = Particles("FistFire",LeftArm,true)
2273
	CreateSound(CHARGE,Torso,6,1,false)
2274
	local NEWANIM = false
2275
	coroutine.resume(coroutine.create(function()
2276
		repeat
2277
			Swait()
2278
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2279
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2280
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2281
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2282
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2283
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2284
		until ATTACK == false or NEWANIM == true
2285
		if NEWANIM == true then
2286
			local GYRO = IT("BodyGyro",RootPart)
2287
			GYRO.D = 20
2288
			GYRO.P = 4000
2289
			GYRO.MaxTorque = VT(40000,40000,40000)
2290
			repeat
2291
				Swait()
2292
				GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2293
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
2294
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
2295
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2296
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2297
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2298
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2299
			until ATTACK == false
2300
			GYRO:remove()
2301
		end
2302
		POSITION:remove()
2303
		FIRE.LockedToPart = false
2304
		FIRE.Enabled = false
2305
		Debris:AddItem(FIRE,5)
2306
		FIRE2.LockedToPart = false
2307
		FIRE2.Enabled = false
2308
		Debris:AddItem(FIRE2,5)
2309
	end))
2310
	local FIRETABLE = {}
2311
	local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Deep orange"), "Orb", VT(0,0,0), true)
2312
	MakeForm(ORB,"Ball")
2313
	ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
2314
	local A = IT("Attachment",ORB)
2315
	local FIRES = Particles("FireballFire1",A,true)
2316
	FIRES.Size = NumberSequence.new(0)
2317
	FIRES.LockedToPart = true
2318
	local LOOP = 0
2319
	for i = 1, 200 do
2320
		Swait()
2321
		LOOP = LOOP + 1
2322
		if LOOP >= 30 then
2323
			LOOP = 0
2324
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2325
		end
2326
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2327
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2328
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2329
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2330
		FIRES.Enabled = true
2331
	end
2332
	RightArm.Transparency = 1
2333
	LeftArm.Transparency = 1
2334
	FIRE.Enabled = false
2335
	FIRE2.Enabled = false
2336
	for _, c in pairs(Character:GetChildren()) do
2337
		if c:IsA("BasePart") then
2338
			local FLAME = Particles("BodyFire",c,true)
2339
			table.insert(FIRETABLE,FLAME)
2340
		end
2341
	end
2342
	CreateSound(CHARGE,Torso,6,0.5,false)
2343
	for i = 1, 200 do
2344
		Swait()
2345
		LOOP = LOOP + 1
2346
		if LOOP >= 30 then
2347
			LOOP = 0
2348
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2349
		end
2350
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2351
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2352
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2353
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2354
		FIRES.Enabled = true
2355
	end
2356
	for _, c in pairs(Character:GetChildren()) do
2357
		if c:IsA("BasePart") then
2358
			c.Transparency = 1
2359
		end
2360
	end
2361
	for i = 1, #FIRETABLE do
2362
		FIRETABLE[i].Enabled = false
2363
		Debris:AddItem(FIRETABLE[i],5)
2364
	end
2365
	for i = 1, 400 do
2366
		Swait()
2367
		LOOP = LOOP + 1
2368
		if LOOP >= 30 then
2369
			LOOP = 0
2370
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2371
		end
2372
		ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
2373
		ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
2374
		FIRES.Size = NumberSequence.new(ORB.Size.Y/1.5)
2375
		FIRES.Speed = NumberRange.new(0,ORB.Size.Y/2)
2376
		FIRES.Enabled = true
2377
	end
2378
	wait(0.5)
2379
	FIRES.Lifetime = NumberRange.new(2,5)
2380
	FIRES.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,ORB.Size.Y/1.5),NumberSequenceKeypoint.new(0.5,ORB.Size.Y/2),NumberSequenceKeypoint.new(1,0)})
2381
	FIRES.LockedToPart = false
2382
	CreateSound(FIREBALLSOUND,Effects,4,1,false)
2383
	coroutine.resume(coroutine.create(function()
2384
		ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
2385
		for i = 1, 1200 do
2386
			Swait()
2387
			ORB.CFrame = ORB.CFrame*CF(0,0,-1)
2388
			local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
2389
			if HIT then
2390
				break
2391
			end
2392
		end
2393
		for i = 1, 6 do
2394
			ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
2395
			CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
2396
			CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
2397
			for i = 1, 3 do
2398
				WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2399
			end
2400
			for i = 1, 3 do
2401
				WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
2402
			end
2403
			for i = 1, 15 do
2404
				WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2405
			end
2406
			wait(1)
2407
		end
2408
		FIRES.Enabled = false
2409
		for i = 1, 10 do
2410
			Swait()
2411
			ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
2412
		end
2413
		Debris:AddItem(ORB,5)
2414
	end))
2415
	wait(1)
2416
	FullBodyRegen()
2417
	ATTACK = false
2418
	Rooted = false
2419
end
2420
2421
--//=================================\\
2422
--||	 	 	MISC
2423
--\\=================================//
2424
2425
        local Reaper = AddInstance("Part",{
2426
            Parent = hed,
2427
            CFrame = hed.CFrame,
2428
            formFactor = "Symmetric",
2429
            Size = Vector3.new(1, 1, 1),
2430
            CanCollide = false,
2431
            TopSurface = "Smooth",
2432
            BottomSurface = "Smooth",
2433
            Locked = true,
2434
        })
2435
        local Weld = AddInstance("Weld",{
2436
            Parent = Reaper,
2437
            Part0 = hed,
2438
            C0 = CFrame.new(0, 0, 0)*CFrame.Angles(0, 0, 0),
2439
            Part1 = Reaper,
2440
        })
2441
        local Mesh = AddInstance("SpecialMesh",{
2442
            Parent = Reaper,
2443
            MeshId = "rbxassetid://83499032",
2444
            TextureId = "rbxassetid://184744284",
2445
            Scale = Vector3.new(1.1, 1.1, 1.1),
2446
            VertexColor = Vector3.new(0.3, 0.3, 0.3),
2447
        })
2448
-----------------------------
2449
2450
Circle = nil
2451
CircleParts = {}
2452
Equipped = false
2453
 
2454
function RayCast(Position, Direction, MaxDistance, IgnoreList)
2455
    return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
2456
end
2457
    Equipped = true
2458
    Circle = Instance.new("Model")
2459
    Circle.Name = "Circle"
2460
    Angle = 0
2461
    for i = 1, 1 do
2462
        local CirclePart = Instance.new("Part")
2463
        CirclePart.Name = "CirclePart"
2464
        CirclePart.Transparency = 1
2465
        CirclePart.BrickColor = BrickColor.new("Deep orange")
2466
        CirclePart.Material = Enum.Material.Plastic
2467
        CirclePart.Shape = Enum.PartType.Block
2468
        CirclePart.FormFactor = Enum.FormFactor.Custom
2469
        CirclePart.TopSurface = Enum.SurfaceType.Smooth
2470
        CirclePart.BottomSurface = Enum.SurfaceType.Smooth
2471
        CirclePart.Anchored = true
2472
        CirclePart.CanCollide = false
2473
        CirclePart.Locked = true
2474
        CirclePart.Size = Vector3.new(10, 0.2, 10)
2475
        local Aura = Instance.new('ParticleEmitter')
2476
Aura.Name = "Aura"
2477
Aura.Texture = "rbxassetid://332392312"
2478
Aura.Parent = CirclePart
2479
Aura.LightEmission = 0
2480
Aura.Transparency = NumberSequence.new(0.2,0.4,1)
2481
Aura.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
2482
Aura.Size = NumberSequence.new(0.9,0.5,0.3)
2483
Aura.LockedToPart = false
2484
Aura.Lifetime = NumberRange.new(1)
2485
Aura.Rate = 50
2486
Aura.Speed = NumberRange.new(2.5)
2487
Aura.SpreadAngle = Vector2.new(80,80)
2488
        local BlockMesh = Instance.new("BlockMesh")
2489
        BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
2490
        BlockMesh.Parent = CirclePart
2491
        CirclePart.Parent = Circle
2492
        local Star = Instance.new("Decal", CirclePart)
2493
        Star.Texture = "http://www.roblox.com/asset/?id=332392312"
2494
        Star.Face = "Top"
2495
        local Light = Instance.new("PointLight", CirclePart)
2496
        Light.Color = Color3.new(cR,cG,cB)
2497
        Light.Brightness = 100
2498
        Light.Range = 15
2499
        table.insert(CircleParts, CirclePart)
2500
    end
2501
    Spawn(function()
2502
        while Equipped and Humanoid.Parent and Torso.Parent do
2503
            if Angle == 360 then
2504
                Angle = 0
2505
            end
2506
            Angle = Angle + 0.05
2507
            local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
2508
            if Hit then
2509
                if not Circle.Parent then
2510
                    Circle.Parent = Character
2511
                end
2512
                for i, v in pairs(CircleParts) do
2513
                    v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
2514
                end
2515
            else
2516
                Circle.Parent = nil
2517
            end
2518
            wait()
2519
        end
2520
    end)
2521
2522
function Lock()
2523
	ATTACK = true
2524
	Rooted = true
2525
	local GYRO = IT("BodyGyro",RootPart)
2526
	GYRO.D = 50
2527
	GYRO.P = 4000
2528
	GYRO.MaxTorque = VT(40000,40000,40000)
2529
	local POSITION = IT("BodyPosition",RootPart)
2530
	POSITION.Position = RootPart.Position+VT(0,1,0)
2531
	POSITION.D = 450
2532
	POSITION.P = 40000
2533
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2534
	local FLINT = FLINTLOCK:Clone()
2535
	FLINTLOCK.Transparency = 1
2536
	FLINT.Parent = Character
2537
	local SHOT = false
2538
	CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, FLINT, CF(-0.05,-1.65,0) * ANGLES(RAD(180),RAD(0),RAD(0)), CF(0, 0, 0))
2539
	coroutine.resume(coroutine.create(function()
2540
		repeat
2541
			Swait()
2542
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
2543
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2544
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2545
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2546
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2547
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2548
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2549
		until SHOT == true
2550
		CreateSound(213603013,RightArm,4,1,false)
2551
		local FROM = FLINT.CFrame*CF(0,1.043,0.231).p
2552
		local Ignore = Character
2553
		local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2554
		local TO = Mouse.Hit.p
2555
		local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Ignore)
2556
		if AIMHIT ~= nil then
2557
			if AIMHIT.Parent ~= Character then
2558
				if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2559
					local HUM = AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
2560
					if HUM then
2561
						ApplyDamage(HUM,MRANDOM(70,90))
2562
					end
2563
				end
2564
			end
2565
		end
2566
		local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Deep orange", "Arrow", VT(0,0,0))
2567
		MakeForm(TRAIL,"Cyl")
2568
		local DIST = (FLINT.CFrame*CF(0,1.043,0.231).p - AIMPOS).Magnitude
2569
		TRAIL.Size = VT(0.1,DIST,0.1)
2570
		TRAIL.CFrame = CF(FLINT.CFrame*CF(0,1.043,0.231).p, AIMPOS) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
2571
		coroutine.resume(coroutine.create(function()
2572
			for i = 1, 5 do
2573
				Swait()
2574
				TRAIL.Transparency = TRAIL.Transparency + 0.1
2575
			end
2576
			TRAIL:remove()
2577
		end))
2578
		repeat
2579
			Swait()
2580
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
2581
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2582
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2583
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2584
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2585
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2586
		until ATTACK == false
2587
		GYRO:remove()
2588
		POSITION:remove()
2589
		FLINT:remove()
2590
		FLINTLOCK.Transparency = 0
2591
	end))
2592
	wait(0.3)
2593
	SHOT = true
2594
	wait(0.5)
2595
	ATTACK = false
2596
	Rooted = false
2597
end
2598
2599
function Jupiter()
2600
	ATTACK = true
2601
	Rooted = true
2602
	local POSITION = IT("BodyPosition",RootPart)
2603
	POSITION.Position = RootPart.Position+VT(0,0.2,0)
2604
	POSITION.D = 450
2605
	POSITION.P = 40000
2606
	POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2607
	coroutine.resume(coroutine.create(function()
2608
		repeat
2609
			Swait()
2610
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
2611
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
2612
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
2613
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
2614
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
2615
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
2616
		until ATTACK == false
2617
	end))
2618
	wait(0.5)
2619
	repeat wait() until KEYHOLD == false
2620
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
2621
	POSITION:remove()
2622
	RootPart.Velocity = VT(0,150,0)
2623
	ATTACK = false
2624
	Rooted = false
2625
end
2626
 
2627
2628
function Ritual()
2629
	ATTACK = true
2630
	Rooted = false
2631
	for i = 0, 0.2, 0.1 / Animation_Speed do
2632
		Swait()
2633
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2634
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2635
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2636
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2637
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2638
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2639
	end
2640
	HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
2641
	if HITFLOOR and HITFLOOR.Anchored == true then
2642
		do
2643
			local NEWFLOOR = CreatePart(3, Effects, "Neon", 0, 0, "White", "Floor", VT(0, 0, 0), true)
2644
			NEWFLOOR.Color = C3(cR,cG,cB)
2645
			MakeForm(NEWFLOOR, "Cyl")
2646
			NEWFLOOR.CFrame = CF(HITPOS)
2647
			CreateSound(1110489303, NEWFLOOR, 4, 1, false)
2648
			coroutine.resume(coroutine.create(function()
2649
				for i = 1, 25 do
2650
					Swait()
2651
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2652
					NEWFLOOR.Size = NEWFLOOR.Size + VT(0.6, 0, 0.6)
2653
				end
2654
				for i = 1, 450 do
2655
					Swait()
2656
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2657
					NEWFLOOR.Size = VT(15, 0, 15) + VT(0.1 * SIN(SINE / 12), 0, 0.1 * SIN(SINE / 12))
2658
				end
2659
				local SIZE = NEWFLOOR.Size.X
2660
				for i = 1, 70 do
2661
					Swait()
2662
					Blob(NEWFLOOR.Position, NEWFLOOR.Size.X / 2)
2663
					NEWFLOOR.Size = NEWFLOOR.Size - VT(SIZE / 70, 0, SIZE / 70)
2664
				end
2665
				NEWFLOOR:remove()
2666
			end))
2667
		end
2668
	end
2669
	for i = 0, 0.3, 0.1 / Animation_Speed do
2670
		Swait()
2671
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(65 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2672
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2673
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(45), RAD(35 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2674
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(35 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2675
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2676
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(17 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2677
	end
2678
	ATTACK = false
2679
	Rooted = false
2680
end
2681
2682
function TakeOnMe()
2683
    Speed = 5
2684
    local MEME = CreateSound(849739067, Effects, 2, 1, false)
2685
    ATTACK = true
2686
    Rooted = false
2687
    local DANCE = true
2688
    local KEY = Mouse.KeyDown:connect(function(NEWKEY)
2689
        if NEWKEY == "p" then
2690
            DANCE = false
2691
        end
2692
    end)
2693
    PLAYSONG = false
2694
    while true do
2695
        for i = 1, 15 do
2696
            Swait()
2697
            MEME.Parent = Effects
2698
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2699
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2700
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2701
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2702
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2703
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2704
        end
2705
        if DANCE == false then
2706
            break
2707
        end
2708
        for i = 1, 15 do
2709
            Swait()
2710
            MEME.Parent = Effects
2711
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2712
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2713
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2714
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2715
            RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2716
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2717
        end
2718
    end
2719
    PLAYSONG = true
2720
    KEY:Disconnect()
2721
    MEME:remove()
2722
    Speed = 15
2723
    ATTACK = false
2724
    Rooted = false
2725
end
2726
2727
function Taunt()
2728
    ATTACK = true
2729
    local LAUGH = nil
2730
    coroutine.resume(coroutine.create(function()
2731
        repeat
2732
            Swait()
2733
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2734
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2735
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2736
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2737
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2738
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2739
        until LAUGH ~= nil
2740
        repeat
2741
            Swait()
2742
            LAUGH.Parent = Head
2743
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
2744
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
2745
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2746
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2747
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2748
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
2749
        until LAUGH.Playing == false
2750
    ATTACK = false
2751
    end))
2752
    wait(0.1)
2753
    LAUGH = CreateSound(159882644, Head, 10, 1, false)
2754
end
2755
2756
--//=================================\\
2757
--||	  ASSIGN THINGS TO KEYS
2758
--\\=================================//
2759
2760
function MouseDown(Mouse)
2761
	HOLD = true
2762
	if ATTACK == false then
2763
	end
2764
end
2765
2766
function MouseUp(Mouse)
2767
	HOLD = false
2768
end
2769
2770
local MUSIC = CreateSound(285883918,Character,3,1,true)
2771
2772
function KeyDown(Key)
2773
	KEYHOLD = true
2774
	if ATTACK == false and FULLREGEN == false then
2775
		if Key == "z" then
2776
			Fireball()
2777
		end
2778
	
2779
		if Key == "b" and FIREFIELD == false and SEARING == false then
2780
			FireField()
2781
		end
2782
	
2783
		if Key == "c" and SEARING == false then
2784
			SearingForm()
2785
		end
2786
	
2787
		if Key == "v" and SEARING == false then
2788
			SearingOrb()
2789
		end
2790
2791
		if Key == "q" and SEARING == false then
2792
			Shroud()
2793
		end
2794
2795
		if Key == "x" and SEARING == false then
2796
			Jupiter()
2797
			wait(2)
2798
			Devastor()
2799
		end
2800
	
2801
		if Key == "e" then
2802
			Spitter()
2803
		end
2804
2805
		if Key == "g" then
2806
			Lock()
2807
		end
2808
2809
		if Key == "j" then
2810
			Jupiter()
2811
		end
2812
2813
		if Key == "t" and SEARING == false then
2814
			Taunt()
2815
		end
2816
		if Key == "p" and SEARING == false then
2817
            TakeOnMe()
2818
		end
2819
		if Key == "f" and SEARING == false then
2820
            Ritual()
2821
        end
2822
		if Key == "h" then
2823
			if POSEIDON == false then
2824
				POSEIDON = true
2825
				CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
2826
			else
2827
				POSEIDON = false
2828
			end
2829
		end
2830
	end
2831
2832
	if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
2833
		repeat
2834
			VALUE2 = true
2835
			Swait()
2836
			BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
2837
		until KEYHOLD == false
2838
		VALUE2 = false
2839
	end
2840
2841
	if string.byte(Key) == 50 and ATTACK == false then
2842
		if Speed == 16 then
2843
			Speed = 45
2844
		elseif Speed == 45 then
2845
			Speed = 16
2846
		end
2847
	end
2848
2849
	if Key == "1" then
2850
		MUSIC:Play()
2851
		CHOSENSONG = CHOSENSONG + 1
2852
		if CHOSENSONG > #SONGS then
2853
			CHOSENSONG = 1
2854
		end
2855
	end
2856
end
2857
2858
function KeyUp(Key)
2859
	KEYHOLD = false
2860
end
2861
2862
	Mouse.Button1Down:connect(function(NEWKEY)
2863
		MouseDown(NEWKEY)
2864
	end)
2865
	Mouse.Button1Up:connect(function(NEWKEY)
2866
		MouseUp(NEWKEY)
2867
	end)
2868
	Mouse.KeyDown:connect(function(NEWKEY)
2869
		KeyDown(NEWKEY)
2870
	end)
2871
	Mouse.KeyUp:connect(function(NEWKEY)
2872
		KeyUp(NEWKEY)
2873
	end)
2874
2875
--//=================================\\
2876
--\\=================================//
2877
2878
function unanchor()
2879
	if UNANCHOR == true then
2880
		for _, c in pairs(Character:GetChildren()) do
2881
			if c:IsA("BasePart") then
2882
				c.Anchored = false
2883
			end
2884
		end
2885
	else
2886
		for _, c in pairs(Character:GetChildren()) do
2887
			if c:IsA("BasePart") then
2888
				c.Anchored = true
2889
			end
2890
		end
2891
	end
2892
end
2893
2894
--//=================================\\
2895
--||	WRAP THE WHOLE SCRIPT UP
2896
--\\=================================//
2897
2898
Humanoid.Changed:connect(function(Jump)
2899
    if Jump == "Jump" and (Disable_Jump == true) then
2900
        Humanoid.Jump = false
2901
    end
2902
end)
2903
 
2904
local LOOP = 0
2905
 
2906
while true do
2907
    Swait()
2908
    if Character:FindFirstChildOfClass("Humanoid") == nil then
2909
        Humanoid = IT("Humanoid",Character)
2910
    end
2911
    Effects.Parent = Character
2912
    script.Parent = WEAPONGUI
2913
    ANIMATE.Parent = nil
2914
    for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2915
        v:Stop();
2916
    end
2917
    SINE = SINE + CHANGE
2918
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2919
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2920
    Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
2921
    local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
2922
    local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
2923
    local WALKSPEEDVALUE = 5
2924
    EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed)
2925
    EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed)
2926
    if SEARING == false then
2927
        if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
2928
            if Humanoid.WalkSpeed <= 20 then
2929
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2930
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2931
        elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
2932
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2933
        Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2934
            end
2935
        elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
2936
            RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2937
            Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2938
            RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2939
            LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2940
        end
2941
        if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2942
            ANIM = "Jump"
2943
            if ATTACK == false then
2944
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2945
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
2946
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2947
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2948
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
2949
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
2950
	    end
2951
        elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2952
            ANIM = "Fall"
2953
            if ATTACK == false then
2954
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2955
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
2956
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2957
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2958
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
2959
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
2960
		end
2961
        elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2962
            ANIM = "Idle"
2963
            if ATTACK == false then
2964
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2965
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2966
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
2967
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
2968
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2969
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2970
			end
2971
        elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2972
            ANIM = "Walk"
2973
            if ATTACK == false then
2974
                if Humanoid.WalkSpeed <= 20 then
2975
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
2976
		    Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2977
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2978
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2979
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2980
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2981
		        end
2982
			end
2983
        end
2984
    elseif SEARING == true then
2985
        if APPLYGYRO == true then
2986
            if VALUE2 == false and DIRECTTURN == false then
2987
                if GYRO ~= nil then
2988
                    GYRO.MaxTorque = VT(0,40000,0)
2989
                    GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2990
                end
2991
            else
2992
                if GYRO ~= nil then
2993
                    GYRO.MaxTorque = VT(80000,40000,80000)
2994
                    GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
2995
                end
2996
            end
2997
        end
2998
        if VALUE2 == false and ATTACK == false then
2999
            ANIM = "IdleFlight"
3000
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
3001
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
3002
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3003
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3004
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3005
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3006
        elseif VALUE2 == true and ATTACK == false then
3007
            ANIM = "Flight"
3008
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
3009
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
3010
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
3011
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3012
            RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3013
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
3014
        end
3015
    end
3016
	unanchor()
3017
	Humanoid.MaxHealth = "inf"
3018
	Humanoid.Health = "inf"
3019
	if Rooted == false then
3020
		Disable_Jump = false
3021
		Humanoid.WalkSpeed = Speed
3022
	elseif Rooted == true then
3023
		Disable_Jump = true
3024
		Humanoid.WalkSpeed = 0
3025
	end
3026
	Regen()
3027
	if Head:FindFirstChild("face") then
3028
		Head.face.Texture = "rbxassetid://843367143"
3029
		Head.face.Transparency = Head.Transparency
3030
	end
3031
	for _, c in pairs(Character:GetDescendants()) do
3032
		if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
3033
			c:remove()
3034
		end
3035
		if c.ClassName == "ParticleEmitter" then
3036
			if c.Name ~= "Regen" and c.Name ~= "Regen2" and c.Name ~= "CurseParticles" and c.Parent.Parent == Character then
3037
				c:remove()
3038
			end
3039
		end
3040
		if c and c.Parent then
3041
			if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
3042
				local ACCESSORY = c.Parent
3043
				c.Parent = Character
3044
				local REGENVALUE = IT("BoolValue",c)
3045
				REGENVALUE.Name = "IsRegening"
3046
				table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
3047
				if c then
3048
					if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
3049
						local WELD = weldBetween(Head,c)
3050
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
3051
					else
3052
						local WELD = weldBetween(Torso,c)
3053
						table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
3054
					end
3055
				end
3056
				ACCESSORY:remove()
3057
			end
3058
		end
3059
	end
3060
	for _, c in pairs(Character:GetChildren()) do
3061
		if SEARING == true and c:IsA("BasePart") then
3062
			c.Transparency = 1
3063
		end
3064
	end
3065
	MUSIC.Parent = Character
3066
	MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
3067
	MUSIC.Pitch = 1
3068
	if CHOSENSONG ~= 5 then
3069
		MUSIC.Volume = 2
3070
	else
3071
		MUSIC.Volume = 4
3072
	end 
3073
	MUSIC.Playing = true
3074
	if POSEIDON == true and FULLREGEN == false then
3075
		LOOP = LOOP + 1
3076
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Deep orange"), "Floor", VT(15,0,15), true)
3077
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
3078
		FLOOR.CanCollide = true
3079
		Debris:AddItem(FLOOR,0.2)
3080
		local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Deep orange"), "Floor", VT(15,0,15), true)
3081
		FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
3082
		FLOOR.CanCollide = true
3083
		Debris:AddItem(FLOOR,0.2)
3084
		if LOOP >= 5 then
3085
			LOOP = 0
3086
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Deep orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3087
		end
3088
	end
3089
	RootJoint.Parent = RootPart
3090
	Humanoid.DisplayDistanceType = "None"
3091
	Humanoid.Name = "Searing Emperor"
3092
end
3093
3094
--//=================================\\
3095
--\\=================================//
3096
3097
3098
3099
--//====================================================\\--
3100
--||			  		 END OF SCRIPT
3101
--\\====================================================//--
3102
end))
3103
ParticleEmitter1.Name = "Regen"
3104
ParticleEmitter1.Parent = LocalScript0
3105
ParticleEmitter1.Speed = NumberRange.new(1, 1)
3106
ParticleEmitter1.Rotation = NumberRange.new(0, 360)
3107
ParticleEmitter1.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3108
ParticleEmitter1.Enabled = false
3109
ParticleEmitter1.LightEmission = 0.89999997615814
3110
ParticleEmitter1.Texture = "rbxassetid://296874871"
3111
ParticleEmitter1.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3112
ParticleEmitter1.ZOffset = 1
3113
ParticleEmitter1.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
3114
ParticleEmitter1.Acceleration = Vector3.new(0, 3, 0)
3115
ParticleEmitter1.Drag = 3
3116
ParticleEmitter1.EmissionDirection = Enum.NormalId.Right
3117
ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
3118
ParticleEmitter1.Rate = 300
3119
ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
3120
ParticleEmitter1.SpreadAngle = Vector2.new(360, 360)
3121
ParticleEmitter1.VelocitySpread = 360
3122
ParticleEmitter2.Name = "Regen2"
3123
ParticleEmitter2.Parent = LocalScript0
3124
ParticleEmitter2.Speed = NumberRange.new(1, 1)
3125
ParticleEmitter2.Rotation = NumberRange.new(0, 360)
3126
ParticleEmitter2.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3127
ParticleEmitter2.Enabled = false
3128
ParticleEmitter2.LightEmission = 0.89999997615814
3129
ParticleEmitter2.Texture = "rbxassetid://296874871"
3130
ParticleEmitter2.Transparency = NumberSequence.new(1,1,0.7704918384552,0.29508197307587,0.24590164422989,0.37704920768738,0.62841534614563,0.90710383653641,1)
3131
ParticleEmitter2.ZOffset = 1
3132
ParticleEmitter2.Size = NumberSequence.new(0,0.81967234611511,0.7103830575943,0.49180328845978,0)
3133
ParticleEmitter2.Drag = 5
3134
ParticleEmitter2.EmissionDirection = Enum.NormalId.Right
3135
ParticleEmitter2.Lifetime = NumberRange.new(1, 1)
3136
ParticleEmitter2.Rate = 70
3137
ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
3138
ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
3139
ParticleEmitter2.VelocitySpread = 360
3140
BillboardGui3.Name = "NameGui"
3141
BillboardGui3.Parent = LocalScript0
3142
BillboardGui3.Enabled = false
3143
BillboardGui3.Size = UDim2.new(7.5, 0, 1.5, 0)
3144
BillboardGui3.AlwaysOnTop = true
3145
BillboardGui3.MaxDistance = 70
3146
BillboardGui3.SizeOffset = Vector2.new(0, 4)
3147
TextLabel4.Name = "PlayerName"
3148
TextLabel4.Parent = BillboardGui3
3149
TextLabel4.Transparency = 1
3150
TextLabel4.Size = UDim2.new(1, 0, 1, 0)
3151
TextLabel4.BackgroundColor = BrickColor.new("Deep orange")
3152
TextLabel4.BackgroundColor3 = Color3.new(cR,cG,cB)
3153
TextLabel4.BackgroundTransparency = 1
3154
TextLabel4.BorderColor = BrickColor.new("Deep orange")
3155
TextLabel4.BorderColor3 = Color3.new(cR,cG,cB)
3156
TextLabel4.BorderSizePixel = 0
3157
TextLabel4.Font = Enum.Font.Antique
3158
TextLabel4.FontSize = Enum.FontSize.Size14
3159
TextLabel4.Text = "The Void"
3160
TextLabel4.TextColor = BrickColor.new("Deep orange")
3161
TextLabel4.TextColor3 = Color3.new(cR,cG,cB)
3162
TextLabel4.TextScaled = true
3163
TextLabel4.TextSize = 14
3164
TextLabel4.TextStrokeColor3 = Color3.new(cR,cG,cB)
3165
TextLabel4.TextStrokeTransparency = 0
3166
TextLabel4.TextWrap = true
3167
TextLabel4.TextWrapped = true
3168
TextLabel5.Name = "Title"
3169
TextLabel5.Parent = BillboardGui3
3170
TextLabel5.Position = UDim2.new(-0.75, 0, 0.899999976, 0)
3171
TextLabel5.Transparency = 1
3172
TextLabel5.Size = UDim2.new(2.5, 0, 1.5, 0)
3173
TextLabel5.BackgroundColor = BrickColor.new("Deep orange")
3174
TextLabel5.BackgroundColor3 = Color3.new(cR,cG,cB)
3175
TextLabel5.BackgroundTransparency = 1
3176
TextLabel5.BorderColor = BrickColor.new("Deep orange")
3177
TextLabel5.BorderColor3 = Color3.new(cR,cG,cB)
3178
TextLabel5.BorderSizePixel = 0
3179
TextLabel5.Font = Enum.Font.Antique
3180
TextLabel5.FontSize = Enum.FontSize.Size14
3181
TextLabel5.Text = "The Rainbow God"
3182
TextLabel5.TextColor = BrickColor.new("Deep orange")
3183
TextLabel5.TextColor3 = Color3.new(cR,cG,cB)
3184
TextLabel5.TextScaled = true
3185
TextLabel5.TextSize = 14
3186
TextLabel5.TextStrokeColor3 = Color3.new(cR,cG,cB)
3187
TextLabel5.TextStrokeTransparency = 0
3188
TextLabel5.TextWrap = true
3189
TextLabel5.TextWrapped = true
3190
ParticleEmitter6.Name = "FistFire"
3191
ParticleEmitter6.Parent = LocalScript0
3192
ParticleEmitter6.Speed = NumberRange.new(3, 3)
3193
ParticleEmitter6.Rotation = NumberRange.new(0, 360)
3194
ParticleEmitter6.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3195
ParticleEmitter6.Enabled = false
3196
ParticleEmitter6.LightEmission = 0.89999997615814
3197
ParticleEmitter6.Texture = "rbxassetid://296874871"
3198
ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.2896174788475,0.25683063268661,0.4426229596138,0.62841534614563,1)
3199
ParticleEmitter6.ZOffset = 1
3200
ParticleEmitter6.Size = NumberSequence.new(0,0,0.7103830575943,0.49180328845978,0)
3201
ParticleEmitter6.Acceleration = Vector3.new(0, 3, 0)
3202
ParticleEmitter6.Drag = 1
3203
ParticleEmitter6.EmissionDirection = Enum.NormalId.Bottom
3204
ParticleEmitter6.Lifetime = NumberRange.new(2, 2)
3205
ParticleEmitter6.LockedToPart = true
3206
ParticleEmitter6.Rate = 300
3207
ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
3208
ParticleEmitter6.SpreadAngle = Vector2.new(45, 45)
3209
ParticleEmitter6.VelocitySpread = 45
3210
LocalScript7.Name = "CamShake"
3211
LocalScript7.Parent = LocalScript0
3212
table.insert(cors,sandbox(LocalScript7,function()
3213
wait()
3214
VT = Vector3.new
3215
MRANDOM = math.random
3216
local A = nil
3217
local B = nil
3218
local C = nil
3219
local HUMANOID = script.Parent:FindFirstChildOfClass("Humanoid")
3220
for _, c in pairs(script:GetChildren()) do
3221
	if c.Name == "Timer" then
3222
		A = c.Value
3223
	elseif c.Name == "Shake" then
3224
		B = c.Value*5
3225
	elseif c.Name == "DoesFade" then
3226
		C = c.Value
3227
	end
3228
end
3229
local TIMER = A or 35
3230
local SHAKE = B or 5
3231
local FADE = C or true
3232
if HUMANOID and game.Players:FindFirstChild(script.Parent.Name) then
3233
	if FADE == true then
3234
		local FADER = SHAKE/TIMER
3235
		for i = 1, TIMER do
3236
			wait()
3237
			HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10,MRANDOM(-(SHAKE-(FADER*i)),(SHAKE-(FADER*i)))/10)
3238
		end
3239
		HUMANOID.CameraOffset = VT(0,0,0)
3240
	else
3241
		for i = 1, TIMER do
3242
			wait()
3243
			HUMANOID.CameraOffset = VT(MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10,MRANDOM(-SHAKE,SHAKE)/10)
3244
		end
3245
		HUMANOID.CameraOffset = VT(0,0,0)
3246
	end
3247
end
3248
script:remove()
3249
end))
3250
LocalScript7.Disabled = true
3251
NumberValue8.Name = "Timer"
3252
NumberValue8.Parent = LocalScript7
3253
NumberValue8.Value = 35
3254
NumberValue9.Name = "Shake"
3255
NumberValue9.Parent = LocalScript7
3256
NumberValue9.Value = 5
3257
BoolValue10.Name = "DoesFade"
3258
BoolValue10.Parent = LocalScript7
3259
ParticleEmitter11.Name = "FireballFire2"
3260
ParticleEmitter11.Parent = LocalScript0
3261
ParticleEmitter11.Rotation = NumberRange.new(0, 360)
3262
ParticleEmitter11.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3263
ParticleEmitter11.Enabled = false
3264
ParticleEmitter11.LightEmission = 0.89999997615814
3265
ParticleEmitter11.Texture = "rbxassetid://296874871"
3266
ParticleEmitter11.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3267
ParticleEmitter11.ZOffset = 2
3268
ParticleEmitter11.Size = NumberSequence.new(5,5,1.8032789230347,0)
3269
ParticleEmitter11.Drag = 1
3270
ParticleEmitter11.EmissionDirection = Enum.NormalId.Right
3271
ParticleEmitter11.Lifetime = NumberRange.new(0, 1.5)
3272
ParticleEmitter11.Rate = 9999
3273
ParticleEmitter11.RotSpeed = NumberRange.new(-56, 56)
3274
ParticleEmitter11.SpreadAngle = Vector2.new(360, 360)
3275
ParticleEmitter11.VelocitySpread = 360
3276
ParticleEmitter12.Name = "ExplosionFire2"
3277
ParticleEmitter12.Parent = LocalScript0
3278
ParticleEmitter12.Speed = NumberRange.new(7, 270)
3279
ParticleEmitter12.Rotation = NumberRange.new(0, 360)
3280
ParticleEmitter12.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3281
ParticleEmitter12.Enabled = false
3282
ParticleEmitter12.LightEmission = 0.89999997615814
3283
ParticleEmitter12.Texture = "rbxassetid://296874871"
3284
ParticleEmitter12.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3285
ParticleEmitter12.ZOffset = 1
3286
ParticleEmitter12.Size = NumberSequence.new(0,0.98360657691956,1.530054807663,0)
3287
ParticleEmitter12.Drag = 8
3288
ParticleEmitter12.EmissionDirection = Enum.NormalId.Right
3289
ParticleEmitter12.Lifetime = NumberRange.new(2, 4)
3290
ParticleEmitter12.Rate = 300
3291
ParticleEmitter12.RotSpeed = NumberRange.new(-56, 56)
3292
ParticleEmitter12.SpreadAngle = Vector2.new(360, 360)
3293
ParticleEmitter12.VelocitySpread = 360
3294
ParticleEmitter13.Name = "Field"
3295
ParticleEmitter13.Parent = LocalScript0
3296
ParticleEmitter13.Speed = NumberRange.new(20, 50)
3297
ParticleEmitter13.Rotation = NumberRange.new(0, 360)
3298
ParticleEmitter13.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3299
ParticleEmitter13.Enabled = false
3300
ParticleEmitter13.LightEmission = 0.89999997615814
3301
ParticleEmitter13.Texture = "rbxassetid://296874871"
3302
ParticleEmitter13.Transparency = NumberSequence.new(1,0.92349725961685,0.87978142499924,0.92349725961685,1)
3303
ParticleEmitter13.ZOffset = 1
3304
ParticleEmitter13.Size = NumberSequence.new(0,10)
3305
ParticleEmitter13.EmissionDirection = Enum.NormalId.Right
3306
ParticleEmitter13.Lifetime = NumberRange.new(2, 4)
3307
ParticleEmitter13.Rate = 999
3308
ParticleEmitter13.RotSpeed = NumberRange.new(-56, 56)
3309
ParticleEmitter13.SpreadAngle = Vector2.new(360, 360)
3310
ParticleEmitter13.VelocitySpread = 360
3311
ParticleEmitter14.Name = "BodyFire"
3312
ParticleEmitter14.Parent = LocalScript0
3313
ParticleEmitter14.Speed = NumberRange.new(1, 1)
3314
ParticleEmitter14.Rotation = NumberRange.new(0, 360)
3315
ParticleEmitter14.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3316
ParticleEmitter14.Enabled = false
3317
ParticleEmitter14.LightEmission = 0.89999997615814
3318
ParticleEmitter14.Texture = "rbxassetid://296874871"
3319
ParticleEmitter14.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3320
ParticleEmitter14.ZOffset = 1
3321
ParticleEmitter14.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
3322
ParticleEmitter14.Acceleration = Vector3.new(0, 3, 0)
3323
ParticleEmitter14.Drag = 3
3324
ParticleEmitter14.EmissionDirection = Enum.NormalId.Right
3325
ParticleEmitter14.Lifetime = NumberRange.new(1, 1)
3326
ParticleEmitter14.Rate = 300
3327
ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
3328
ParticleEmitter14.SpreadAngle = Vector2.new(360, 360)
3329
ParticleEmitter14.VelocitySpread = 360
3330
ParticleEmitter15.Name = "WingFire1"
3331
ParticleEmitter15.Parent = LocalScript0
3332
ParticleEmitter15.Speed = NumberRange.new(8, 8)
3333
ParticleEmitter15.Rotation = NumberRange.new(0, 360)
3334
ParticleEmitter15.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3335
ParticleEmitter15.Enabled = false
3336
ParticleEmitter15.LightEmission = 0.89999997615814
3337
ParticleEmitter15.Texture = "rbxassetid://296874871"
3338
ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3339
ParticleEmitter15.ZOffset = 1
3340
ParticleEmitter15.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3341
ParticleEmitter15.Acceleration = Vector3.new(8, 5, -7)
3342
ParticleEmitter15.EmissionDirection = Enum.NormalId.Back
3343
ParticleEmitter15.Lifetime = NumberRange.new(2.5, 2.5)
3344
ParticleEmitter15.LockedToPart = true
3345
ParticleEmitter15.Rate = 300
3346
ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
3347
ParticleEmitter15.SpreadAngle = Vector2.new(15, 5)
3348
ParticleEmitter15.VelocitySpread = 15
3349
ParticleEmitter16.Name = "WingFire2"
3350
ParticleEmitter16.Parent = LocalScript0
3351
ParticleEmitter16.Speed = NumberRange.new(8, 8)
3352
ParticleEmitter16.Rotation = NumberRange.new(0, 360)
3353
ParticleEmitter16.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3354
ParticleEmitter16.Enabled = false
3355
ParticleEmitter16.LightEmission = 0.89999997615814
3356
ParticleEmitter16.Texture = "rbxassetid://296874871"
3357
ParticleEmitter16.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3358
ParticleEmitter16.ZOffset = 1
3359
ParticleEmitter16.Size = NumberSequence.new(0,4.0437164306641,5.7377052307129,6.1748638153076)
3360
ParticleEmitter16.Acceleration = Vector3.new(-8, 5, -7)
3361
ParticleEmitter16.EmissionDirection = Enum.NormalId.Back
3362
ParticleEmitter16.Lifetime = NumberRange.new(2.5, 2.5)
3363
ParticleEmitter16.LockedToPart = true
3364
ParticleEmitter16.Rate = 300
3365
ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
3366
ParticleEmitter16.SpreadAngle = Vector2.new(15, 5)
3367
ParticleEmitter16.VelocitySpread = 15
3368
ParticleEmitter17.Name = "ExplosionFire1"
3369
ParticleEmitter17.Parent = LocalScript0
3370
ParticleEmitter17.Speed = NumberRange.new(7, 670)
3371
ParticleEmitter17.Rotation = NumberRange.new(0, 360)
3372
ParticleEmitter17.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3373
ParticleEmitter17.Enabled = false
3374
ParticleEmitter17.LightEmission = 0.89999997615814
3375
ParticleEmitter17.Texture = "rbxassetid://296874871"
3376
ParticleEmitter17.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3377
ParticleEmitter17.ZOffset = 1
3378
ParticleEmitter17.Size = NumberSequence.new(10,10,7.0491800308228,0)
3379
ParticleEmitter17.Drag = 5
3380
ParticleEmitter17.EmissionDirection = Enum.NormalId.Right
3381
ParticleEmitter17.Lifetime = NumberRange.new(2, 4)
3382
ParticleEmitter17.Rate = 300
3383
ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
3384
ParticleEmitter17.SpreadAngle = Vector2.new(360, 360)
3385
ParticleEmitter17.VelocitySpread = 360
3386
ParticleEmitter18.Name = "FireballFire1"
3387
ParticleEmitter18.Parent = LocalScript0
3388
ParticleEmitter18.Rotation = NumberRange.new(0, 360)
3389
ParticleEmitter18.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3390
ParticleEmitter18.Enabled = false
3391
ParticleEmitter18.LightEmission = 0.89999997615814
3392
ParticleEmitter18.Texture = "rbxassetid://296874871"
3393
ParticleEmitter18.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3394
ParticleEmitter18.ZOffset = 1
3395
ParticleEmitter18.Size = NumberSequence.new(10,10,7.0491800308228,0)
3396
ParticleEmitter18.Drag = 1
3397
ParticleEmitter18.EmissionDirection = Enum.NormalId.Right
3398
ParticleEmitter18.Lifetime = NumberRange.new(0, 1.5)
3399
ParticleEmitter18.Rate = 9999
3400
ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
3401
ParticleEmitter18.SpreadAngle = Vector2.new(360, 360)
3402
ParticleEmitter18.VelocitySpread = 360
3403
ParticleEmitter19.Name = "FireballFire3"
3404
ParticleEmitter19.Parent = LocalScript0
3405
ParticleEmitter19.Rotation = NumberRange.new(0, 360)
3406
ParticleEmitter19.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3407
ParticleEmitter19.Enabled = false
3408
ParticleEmitter19.LightEmission = 0.89999997615814
3409
ParticleEmitter19.Texture = "rbxassetid://296874871"
3410
ParticleEmitter19.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
3411
ParticleEmitter19.ZOffset = 1
3412
ParticleEmitter19.Size = NumberSequence.new(2.7868854999542,4.4808745384216,4.5901637077332,0)
3413
ParticleEmitter19.Drag = 1
3414
ParticleEmitter19.EmissionDirection = Enum.NormalId.Right
3415
ParticleEmitter19.Lifetime = NumberRange.new(0, 1.5)
3416
ParticleEmitter19.Rate = 9999
3417
ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
3418
ParticleEmitter19.SpreadAngle = Vector2.new(360, 360)
3419
ParticleEmitter19.VelocitySpread = 360
3420
ParticleEmitter20.Name = "DebrisFire"
3421
ParticleEmitter20.Parent = LocalScript0
3422
ParticleEmitter20.Speed = NumberRange.new(2, 2)
3423
ParticleEmitter20.Rotation = NumberRange.new(0, 360)
3424
ParticleEmitter20.Color = ColorSequence.new(Color3.new(cR,cG,cB),Color3.new(cR,cG,cB),Color3.new(cR,cG,cB))
3425
ParticleEmitter20.Enabled = false
3426
ParticleEmitter20.LightEmission = 0.89999997615814
3427
ParticleEmitter20.Texture = "rbxassetid://296874871"
3428
ParticleEmitter20.Transparency = NumberSequence.new(0,0.14207655191422,0.4426229596138,0.62841534614563,1)
3429
ParticleEmitter20.ZOffset = 1
3430
ParticleEmitter20.Size = NumberSequence.new(2.677595615387,3.9890713691711,4.6448087692261,3.8251371383667,0)
3431
ParticleEmitter20.Acceleration = Vector3.new(0, 25, 0)
3432
ParticleEmitter20.Drag = 3
3433
ParticleEmitter20.EmissionDirection = Enum.NormalId.Right
3434
ParticleEmitter20.Lifetime = NumberRange.new(0, 3)
3435
ParticleEmitter20.Rate = 300
3436
ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
3437
ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
3438
ParticleEmitter20.VelocitySpread = 360
3439
Part21.Name = "Pauldrons"
3440
Part21.Parent = LocalScript0
3441
Part21.CFrame = CFrame.new(47.1000023, 21.5235691, 58.9999733, -1, 0, 0, 0, 1, 0, 0, 0, -1)
3442
Part21.Orientation = Vector3.new(0, 180, 0)
3443
Part21.Position = Vector3.new(47.1000023, 21.5235691, 58.9999733)
3444
Part21.Rotation = Vector3.new(-180, 0, -180)
3445
Part21.Transparency = 1
3446
Part21.Size = Vector3.new(3.4000001, 2.20000005, 1)
3447
Part21.Anchored = true
3448
Part21.BottomSurface = Enum.SurfaceType.Smooth
3449
Part21.CanCollide = false
3450
Part21.Locked = true
3451
Part21.TopSurface = Enum.SurfaceType.Smooth
3452
Part21.FormFactor = Enum.FormFactor.Custom
3453
Part21.formFactor = Enum.FormFactor.Custom
3454
SpecialMesh22.Parent = Part21
3455
SpecialMesh22.MeshId = "http://www.roblox.com/asset/?id=0"
3456
SpecialMesh22.TextureId = "rbxassetid://0"
3457
SpecialMesh22.MeshType = Enum.MeshType.FileMesh
3458
Folder23.Name = "Package"
3459
Folder23.Parent = LocalScript0
3460
CharacterMesh24.Parent = Folder23
3461
CharacterMesh24.BodyPart = Enum.BodyPart.Torso
3462
CharacterMesh24.MeshId = 27111894
3463
CharacterMesh25.Parent = Folder23
3464
CharacterMesh25.BodyPart = Enum.BodyPart.LeftLeg
3465
CharacterMesh25.MeshId = 27111857
3466
CharacterMesh26.Parent = Folder23
3467
CharacterMesh26.BodyPart = Enum.BodyPart.RightLeg
3468
CharacterMesh26.MeshId = 27111882
3469
CharacterMesh27.Name = "Superhero Left Arm"
3470
CharacterMesh27.Parent = Folder23
3471
CharacterMesh27.BodyPart = Enum.BodyPart.LeftArm
3472
CharacterMesh27.MeshId = 32328397
3473
CharacterMesh28.Name = "Superhero Right Arm"
3474
CharacterMesh28.Parent = Folder23
3475
CharacterMesh28.BodyPart = Enum.BodyPart.RightArm
3476
CharacterMesh28.MeshId = 32328563
3477
Part29.Name = "Flintlock"
3478
Part29.Parent = LocalScript0
3479
Part29.CFrame = CFrame.new(-11.2999983, 4.42351913, 92.0999756, -1, 0, 0, 0, -1, 0, 0, 0, 1)
3480
Part29.Orientation = Vector3.new(0, 0, 180)
3481
Part29.Position = Vector3.new(-11.2999983, 4.42351913, 92.0999756)
3482
Part29.Rotation = Vector3.new(0, 0, -180)
3483
Part29.Color = Color3.new(cR,cG,cB)
3484
Part29.Size = Vector3.new(1, 2, 1)
3485
Part29.Anchored = true
3486
Part29.BottomSurface = Enum.SurfaceType.Smooth
3487
Part29.BrickColor = BrickColor.new("Deep orange")
3488
Part29.CanCollide = false
3489
Part29.Locked = true
3490
Part29.TopSurface = Enum.SurfaceType.Smooth
3491
Part29.brickColor = BrickColor.new("Deep orange")
3492
Part29.FormFactor = Enum.FormFactor.Plate
3493
Part29.formFactor = Enum.FormFactor.Plate
3494
SpecialMesh30.Parent = Part29
3495
SpecialMesh30.MeshId = "http://www.roblox.com/asset/?id=0"
3496
SpecialMesh30.Scale = Vector3.new(1.5, 1.5, 1.5)
3497
SpecialMesh30.TextureId = "http://www.roblox.com/asset/?id=0"
3498
SpecialMesh30.MeshType = Enum.MeshType.FileMesh
3499
for i,v in pairs(mas:GetChildren()) do
3500
	v.Parent = workspace
3501
	pcall(function() v:MakeJoints() end)
3502
end
3503
mas:Destroy()
3504
for i,v in pairs(cors) do
3505
	spawn(function()
3506
		pcall(v)
3507
	end)
3508
end