View difference between Paste ID: Hp8uBAmX and 7XkEdgSU
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,game,owner = owner,game
4
local RealPlayer = Player
5
do
6-
	print("FE Compatibility code by Mokiros")
6+
	print("FE Compatibility code V2 by Mokiros")
7-
	local rp = RealPlayer
7+
	local RealPlayer = RealPlayer
8-
	script.Parent = rp.Character
8+
	script.Parent = RealPlayer.Character
9
10-
	--RemoteEvent for communicating
10+
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16-
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16+
		Connect = function(this,f)
17-
		t.connect = t.Connect
17+
			local i = tostring(math.random(0,10000))
18-
		return t
18+
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
22+
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31-
	local function te(self,ev,...)
31+
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32-
		local t = m[ev]
32+
    FakeMouse.keyUp = FakeMouse.KeyUp
33-
		if t and t._fakeEvent then
33+
    FakeMouse.keyDown = FakeMouse.KeyDown
34-
			for _,f in pairs(t.Functions) do
34+
35-
				f(...)
35+
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39-
	m.TrigEvent = te
39+
40-
	UIS.TrigEvent = te
40+
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43-
	    if plr~=rp then return end
43+
		for _,f in pairs(self[ev].Functions) do
44-
		m.Target = io.Target
44+
			f(...)
45-
		m.Hit = io.Hit
45+
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49+
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52-
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
52+
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61+
62-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62+
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65-
	Event.Parent = NLS([==[
65+
66-
	local Player = game:GetService("Players").LocalPlayer
66+
67-
	local Event = script:WaitForChild("UserInput_Event")
67+
68-
	local Mouse = Player:GetMouse()
68+
69
					end
70-
	local input = function(io,a)
70+
71-
		if a then return end
71+
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78-
	--Give the server mouse data 30 times every second, but only if the values changed
78+
79
	local input = function(io,RobloxHandled)
80-
	while wait(1/30) do
80+
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85-
	end]==],Player.Character)
85+
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89-
	local _rg = game
89+
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92-
	local fsmt = {
92+
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106-
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106+
107-
		return setmetatable(t,fsmt)
107+
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111-
	local g = {
111+
112
				and function(_,...)return s[k](s,...)end or s[k]
113-
			return rawget(self,s) or _rg:GetService(s)
113+
114
		end,
115
		__newindex = function(self,k,v)
116-
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116+
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122-
			RenderStepped = _rg:GetService("RunService").Heartbeat,
122+
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131-
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
131+
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132-
	g.service = g.GetService
132+
133-
	FakeService(g,game)
133+
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135-
	game,owner = g,g.Players.LocalPlayer
135+
136
			_btrs = {},
137-
Player = owner
137+
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
wait(0.2)
154
155
Player = game.Players.LocalPlayer
156
Render = game:service'RunService'.RenderStepped
157
PlayerGui = Player.PlayerGui
158
Cam = workspace.CurrentCamera
159
Backpack = Player.Backpack
160
Character = Player.Character
161
Humanoid = Character.Humanoid
162
RootPart = Character["HumanoidRootPart"]
163
Torso = Character["Torso"]
164
Head = Character["Head"]
165
RightArm = Character["Right Arm"]
166
LeftArm = Character["Left Arm"]
167
RightLeg = Character["Right Leg"]
168
LeftLeg = Character["Left Leg"]
169
RootJoint = RootPart["RootJoint"]
170
Neck = Torso["Neck"]
171
RightShoulder = Torso["Right Shoulder"]
172
LeftShoulder = Torso["Left Shoulder"]
173
RightHip = Torso["Right Hip"]
174
LeftHip = Torso["Left Hip"]
175
local TIME = 0
176
local sick = Instance.new("Sound",Torso)
177
local EYES = {}
178
local EYE, PUPIL
179
180
IT = Instance.new
181
CF = CFrame.new
182
VT = Vector3.new
183
RAD = math.rad
184
C3 = Color3.new
185
UD2 = UDim2.new
186
BRICKC = BrickColor.new
187
ANGLES = CFrame.Angles
188
EULER = CFrame.fromEulerAnglesXYZ
189
COS = math.cos
190
ACOS = math.acos
191
SIN = math.sin
192
ASIN = math.asin
193
ABS = math.abs
194
MRANDOM = math.random
195
FLOOR = math.floor
196
local RWINGS = {}
197
local LWINGS = {}
198
local GunPoint
199
Player_Size = 1
200
201
-- Thingy To Make Song Work
202
203
p = game.Players.LocalPlayer
204
	char = p.Character
205
206
---------------------------[[[ LOOPED SONG ]]]--------------------------
207
local s = Instance.new("Sound",char)
208
	s.Name = "BGMusic"
209
	s.SoundId = "rbxassetid://1119113013"
210
	s.Pitch = 1
211
	s.Volume = 40
212
	s.Looped = true
213
	s.archivable = false
214
	s.Parent = char.Head
215
	wait(0.1)
216
	s:play()
217
218
-- Rest of Script
219
-- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
220
221
--//=================================\\
222
--|| 	      PARTICLES N STUFF
223
--\\=================================//
224
225
local particleemitter = Instance.new('ParticleEmitter', LeftArm)
226
        particleemitter.VelocitySpread = 350
227
        particleemitter.Lifetime = NumberRange.new(1)
228
        particleemitter.Speed = NumberRange.new(0)
229
cringememe= {}
230
for i=0, 19 do
231
  cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
232
end
233
particleemitter.Size = NumberSequence.new(cringememe)
234
        particleemitter.Rate = 20
235
        particleemitter.LockedToPart = true
236
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
237
        particleemitter.LightEmission = 1
238
        particleemitter.Texture = "rbxassetid://38727848"
239
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
240
241
        local particleemitter = Instance.new('ParticleEmitter', Torso)
242
        particleemitter.VelocitySpread = 250
243
        particleemitter.Lifetime = NumberRange.new(3)
244
        particleemitter.Speed = NumberRange.new(1.5)
245
youAreATHOT = {}
246
for i=0, 19 do
247
  youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
248
end
249
particleemitter.Size = NumberSequence.new(youAreATHOT)
250
        particleemitter.Rate = 10
251
        particleemitter.LockedToPart = false
252
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
253
        particleemitter.LightEmission = 1
254
        particleemitter.Texture = "rbxassetid://253188763"
255
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
256
257
        local particleemitter = Instance.new('ParticleEmitter', RightArm)
258
        particleemitter.VelocitySpread = 350
259
        particleemitter.Lifetime = NumberRange.new(1)
260
        particleemitter.Speed = NumberRange.new(0)
261
cringememe2= {}
262
for i=0, 19 do
263
  cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
264
end
265
particleemitter.Size = NumberSequence.new(cringememe2)
266
        particleemitter.Rate = 20
267
        particleemitter.LockedToPart = true
268
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
269
        particleemitter.LightEmission = 1
270
        particleemitter.Texture = "rbxassetid://38727848"
271
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
272
273
        local particleemitter = Instance.new('ParticleEmitter', RightLeg)
274
        particleemitter.VelocitySpread = 350
275
        particleemitter.Lifetime = NumberRange.new(1)
276
        particleemitter.Speed = NumberRange.new(0)
277
cringememe3= {}
278
for i=0, 19 do
279
  cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
280
end
281
particleemitter.Size = NumberSequence.new(cringememe3)
282
        particleemitter.Rate = 30
283
        particleemitter.LockedToPart = true
284
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
285
        particleemitter.LightEmission = 1
286
        particleemitter.Texture = "rbxassetid://38727848"
287
        particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
288
289
        local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
290
        particleemitter.VelocitySpread = 350
291
        particleemitter.Lifetime = NumberRange.new(1)
292
        particleemitter.Speed = NumberRange.new(0)
293
cringememe4= {}
294
for i=0, 19 do
295
  cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
296
end
297
particleemitter.Size = NumberSequence.new(cringememe4)
298
        particleemitter.Rate = 30
299
        particleemitter.LockedToPart = true
300
        particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
301
        particleemitter.LightEmission = 1
302
        particleemitter.Texture = "rbxassetid://38727848"
303
        particleemitter.Color = ColorSequence.new(BrickColor.new("Really blue").Color)
304
305
--//=================================\\
306
--|| 	      USEFUL VALUES
307
--\\=================================//
308
309
Animation_Speed = 1.5
310
local FORCERESET = false
311
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
312
local Speed = 16
313
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
314
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
315
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
316
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
317
local DAMAGEMULTIPLIER = 1
318
local ANIM = "Idle"
319
local ATTACK = false
320
local EQUIPPED = false
321
local HOLD = false
322
local COMBO = 1
323
local Rooted = false
324
local SINE = 0
325
local KEYHOLD = false
326
local CHANGE = 2 / Animation_Speed
327
local WALKINGANIM = false
328
local VALUE1 = false
329
local VALUE2 = false
330
local ROBLOXIDLEANIMATION = IT("Animation")
331
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
332
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
333
--ROBLOXIDLEANIMATION.Parent = Humanoid
334
local WEAPONGUI = IT("ScreenGui", PlayerGui)
335
WEAPONGUI.Name = "BanishV3Gui"
336
local Weapon = IT("Model")
337
Weapon.Name = "Adds"
338
local Effects = IT("Folder", Weapon)
339
Effects.Name = "Effects"
340
local ANIMATOR = Humanoid.Animator
341
local ANIMATE = Character:FindFirstChild("Animate")
342
local UNANCHOR = true
343
local TOBANISH = {}
344
script.Parent = PlayerGui
345
346
function StatLabel(CFRAME, TEXT, COLOR)
347
	local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
348
	STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
349
	local BODYGYRO = IT("BodyGyro", STATPART)
350
	game:GetService("Debris"):AddItem(STATPART ,5)
351
	local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
352
	BILLBOARDGUI.Adornee = STATPART
353
	BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
354
	BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
355
	BILLBOARDGUI.AlwaysOnTop = false
356
	local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
357
	TEXTLABEL.BackgroundTransparency = 1
358
	TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
359
	TEXTLABEL.Text = TEXT
360
	TEXTLABEL.Font = SKILLFONT
361
	TEXTLABEL.FontSize="Size42"
362
	TEXTLABEL.TextColor3 = COLOR
363
	TEXTLABEL.TextStrokeTransparency = 0
364
	TEXTLABEL.TextScaled = true
365
	TEXTLABEL.TextWrapped = true
366
	coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
367
		for i = 1, 50 do
368
			Swait()
369
			STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
370
			TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
371
			TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
372
		end
373
		THEPART.Parent = nil
374
	end),STATPART, TEXTLABEL)
375
end
376
377
--//=================================\\
378
--\\=================================//
379
380
381
--//=================================\\
382
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
383
--\\=================================//
384
385
ArtificialHB = Instance.new("BindableEvent", script)
386
ArtificialHB.Name = "ArtificialHB"
387
388
script:WaitForChild("ArtificialHB")
389
390
frame = Frame_Speed
391
tf = 0
392
allowframeloss = false
393
tossremainder = false
394
lastframe = tick()
395
script.ArtificialHB:Fire()
396
397
game:GetService("RunService").Heartbeat:connect(function(s, p)
398
	tf = tf + s
399
	if tf >= frame then
400
		if allowframeloss then
401
			script.ArtificialHB:Fire()
402
			lastframe = tick()
403
		else
404
			for i = 1, math.floor(tf / frame) do
405
				script.ArtificialHB:Fire()
406
			end
407
		lastframe = tick()
408
		end
409
		if tossremainder then
410
			tf = 0
411
		else
412
			tf = tf - frame * math.floor(tf / frame)
413
		end
414
	end
415
end)
416
417
--//=================================\\
418
--\\=================================//
419
420
--//=================================\\
421
--||          SOME TAG EDIT
422
--\\=================================//
423
424
m = game.Players.LocalPlayer
425
char = m.Character
426
local txt = Instance.new("BillboardGui", char)
427
txt.Adornee = char.Head
428
txt.Name = "_status"
429
txt.Size = UDim2.new(2, 0, 1.2, 0)
430
txt.StudsOffset = Vector3.new(-9, 8, 0)
431
local text = Instance.new("TextLabel", txt)
432
text.Size = UDim2.new(10, 0, 7, 0)
433
text.FontSize = "Size24"
434
text.TextScaled = true
435
text.TextTransparency = 0
436
text.BackgroundTransparency = 1
437
text.TextTransparency = 0
438
text.TextStrokeTransparency = 0
439
text.Font = "Bodoni"
440
text.TextStrokeColor3 = Color3.new(0, 0, 0)
441
v = Instance.new("Part")
442
v.Name = "ColorBrick"
443
v.Parent = m.Character
444
v.FormFactor = "Symmetric"
445
v.Anchored = true
446
v.CanCollide = false
447
v.BottomSurface = "Smooth"
448
v.TopSurface = "Smooth"
449
v.Size = Vector3.new(10, 5, 3)
450
v.Transparency = 1
451
v.CFrame = char.Torso.CFrame
452
v.BrickColor = BrickColor.new("Really black")
453
v.Transparency = 1
454
v.Shape = "Block"
455
spawn(function()
456
local TweenService = game:GetService("TweenService")
457
local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
458
local Int = 0
459
while wait(0.5) do
460
    if Int == #Colours then Int = 0 end
461
    Int = Int+1
462
    TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
463
end
464
end)
465
	text.Text = "You kinda smell"
466
                IntroSound = Instance.new("Sound")
467
		IntroSound.Parent = char.Torso
468
		IntroSound.Volume = 20
469
		IntroSound.Pitch = 1
470
		IntroSound.SoundId = "http://www.roblox.com/asset/?id="
471
		IntroSound:Play()
472
	wait(2)
473
		v.Shape = "Block"
474
	text.Text = "Like fish"
475
                IntroSound = Instance.new("Sound")
476
		IntroSound.Parent = char.Torso
477
		IntroSound.Volume = 20
478
		IntroSound.Pitch = 1
479
		IntroSound.SoundId = "http://www.roblox.com/asset/?id="
480
		IntroSound:Play()
481
        wait(2)
482
		v.Shape = "Block"
483
	text.Text = "spits"
484
                IntroSound = Instance.new("Sound")
485
		IntroSound.Parent = char.Torso
486
		IntroSound.Volume = 20
487
		IntroSound.Pitch = 1
488
		IntroSound.SoundId = "http://www.roblox.com/asset/?id="
489
		IntroSound:Play()
490
               wait(2)
491
text.Text = "Scrub"
492
493
--//=================================\\
494
--\\=================================//
495
496
--//=================================\\
497
--|| 	      SOME FUNCTIONS
498
--\\=================================//
499
500
function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
501
	coroutine.resume(coroutine.create(function()
502
		local METEOR = IT("Model",Effects)
503
		METEOR.Name = "Meteorite"
504
		local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
505
		METEOR.PrimaryPart = CENTER
506
		local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
507
		PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
508
		for i = 1, 15 do
509
			local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really blue", "Fire", VT(5.1,1,5.1)*SIZE)
510
			FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
511
		end
512
		if ISDEBREE ~= true then
513
			METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
514
		else
515
			METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
516
		end
517
		local IMPACT = false
518
		CreateSound(463593339, CENTER, 10, 0.6)
519
		if SIZE >= 3.5 then
520
			for i = 1, MRANDOM(3,7) do
521
				SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
522
			end
523
		end
524
		for i = 1, 200 do
525
			Swait()
526
			local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
527
			if HITFLOOR == nil then
528
				local ORI = CENTER.Orientation
529
				METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
530
			else
531
				if HITFLOOR.Anchored == true then
532
					CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
533
					CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
534
				end
535
				IMPACT = true
536
				break
537
			end
538
		end
539
		if IMPACT == true then
540
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
541
			WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
542
			WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
543
			ApplyAoE(CENTER.Position,30*SIZE)
544
		end
545
		METEOR:remove()
546
	end))
547
end
548
549
550
local naeeym2 = Instance.new("BillboardGui", Character)
551
naeeym2.AlwaysOnTop = true
552
naeeym2.Size = UDim2.new(5, 35, 2, 15)
553
naeeym2.StudsOffset = Vector3.new(0, 3, 0)
554
naeeym2.Adornee = Character.Head
555
naeeym2.Name = "Name"
556
naeeym2.PlayerToHideFrom = Player
557
local tecks2 = Instance.new("TextLabel", naeeym2)
558
tecks2.BackgroundTransparency = 1
559
tecks2.TextScaled = true
560
tecks2.BorderSizePixel = 0
561
tecks2.Text = ""
562
tecks2.Font = "Fantasy"
563
tecks2.TextSize = 30
564
tecks2.TextStrokeTransparency = 0
565
tecks2.TextColor3 = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
566
tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
567
tecks2.Size = UDim2.new(1, 0, 0.5, 0)
568
tecks2.Parent = naeeym2
569
function Transparency(TRANS)
570
	tecks2.TextTransparency = TRANS
571
	tecks2.TextStrokeTransparency = TRANS
572
	for _, c in pairs(Character:GetChildren()) do
573
		if c.ClassName == "Part" and c ~= RootPart then
574
			c.Transparency = TRANS
575
			if c:FindFirstChildOfClass("Decal") then
576
				c:FindFirstChildOfClass("Decal").Transparency = TRANS
577
			end
578
		elseif c.ClassName == "Accessory" then
579
			c.Handle.Transparency = TRANS
580
		elseif c.ClassName == "Model" then
581
			for _, q in pairs(c:GetChildren()) do
582
				if q.ClassName == "Part" then
583
					q.Transparency = TRANS
584
					if q:FindFirstChildOfClass("Decal") then
585
						q:FindFirstChildOfClass("Decal").Transparency = TRANS
586
					end
587
				end
588
			end
589
		end
590
	end
591
end
592
593
function CamShake(SHAKE,TIMER)
594
	coroutine.resume(coroutine.create(function()
595
		local FADER = SHAKE/TIMER
596
		for i = 1, TIMER do
597
			wait()
598
			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)
599
		end
600
		Humanoid.CameraOffset = VT(0,0,0)
601
	end))
602
end
603
604
function OhnoItsAShotgun()
605
	local SHOOTgun = CreatePart(3, Effects, "Fabric", 0, 1, BRICKC("Black"), "OhNoItsAShotgun", VT(0.25, 0.5, 5), true)
606
	CreateMesh("SpecialMesh", SHOOTgun, "FileMesh", "3835506", "", VT(0.9, 1.13, 1), VT(0,-0.3,0))
607
	return SHOOTgun
608
end
609
610
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
611
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
612
	local mesh = IT("SpecialMesh",wave)
613
	mesh.MeshType = "FileMesh"
614
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
615
	mesh.Scale = SIZE
616
	mesh.Offset = VT(0,0,0)
617
	wave.CFrame = CFRAME
618
	coroutine.resume(coroutine.create(function(PART)
619
		for i = 1, WAIT do
620
			Swait()
621
			mesh.Scale = mesh.Scale + GROW
622
			if DOESROT == true then
623
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
624
			end
625
			wave.Transparency = wave.Transparency + (0.5/WAIT)
626
			if wave.Transparency > 0.99 then
627
				wave:remove()
628
			end
629
		end
630
	end))
631
end
632
633
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
634
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
635
	local mesh = IT("SpecialMesh",wave)
636
	mesh.MeshType = "Sphere"
637
	mesh.Scale = SIZE
638
	mesh.Offset = VT(0,0,0)
639
	wave.CFrame = CFRAME
640
	coroutine.resume(coroutine.create(function(PART)
641
		for i = 1, WAIT do
642
			Swait()
643
			mesh.Scale = mesh.Scale + GROW
644
			wave.Transparency = wave.Transparency + (1/WAIT)
645
			if wave.Transparency > 0.99 then
646
				wave:remove()
647
			end
648
		end
649
	end))
650
end
651
652
--Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
653
function Lightning(Table)
654
	local Color = Table.Color or C3(1,1,1)
655
	local StartPos = Table.Start or Torso.Position
656
	local EndPos = Table.End or Mouse.Hit.p
657
	local SegmentLength = Table.SegmentL or 2
658
	local Thickness = Table.Thickness or 0.1
659
	local Dissapear = Table.DoesFade or false
660
	local Parent = Table.Ignore or Character
661
	local MaxDist = Table.MaxDist or 400
662
	local Branches = Table.Branches or false
663
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
664
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
665
	local LIGHTNINGMODEL = IT("Model",Effects)
666
	LIGHTNINGMODEL.Name = "Lightning"
667
	local LastBolt = nil
668
	for E = 1, DISTANCE do
669
		local ExtraSize = (DISTANCE-E)/15
670
		local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
671
		PART.Color = Color
672
		MakeForm(PART,"Cyl")
673
		if LastBolt == nil then
674
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
675
		else
676
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
677
		end
678
		LastBolt = PART
679
		if Branches == true then
680
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
681
			if CHOICE == 1 then
682
				local LASTBRANCH = nil
683
				for i = 1, MRANDOM(2,5) do
684
					local ExtraSize2 = ((DISTANCE-E)/25)/i
685
					local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
686
					PART.Color = Color
687
					MakeForm(PART,"Cyl")
688
					if LASTBRANCH == nil then
689
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
690
					else
691
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
692
					end
693
					LASTBRANCH = PART
694
				end
695
			end
696
		end
697
	end
698
	if Dissapear == true then
699
		coroutine.resume(coroutine.create(function()
700
			for i = 1, 10 do
701
				Swait()
702
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
703
					if c.ClassName == "Part" then
704
						c.Transparency = i/10
705
					end
706
				end
707
			end
708
			LIGHTNINGMODEL:remove()
709
		end))
710
	elseif Dissapear == false then
711
		Debris:AddItem(LIGHTNINGMODEL,0.1)
712
	end
713
	return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
714
end
715
716
function Petrify(Foe)
717
	local STONEMODEL = IT("Model", Effects)
718
	local CHILDREN = Foe:GetDescendants()
719
	for index, CHILD in pairs(CHILDREN) do
720
		if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
721
			CHILD.Parent = STONEMODEL
722
			CHILD.Material = "Slate"
723
			CHILD.Color = C3(0.5, 0.5, 0.5)
724
			if CHILD:FindFirstChildOfClass("SpecialMesh") then
725
				local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
726
				mesh.TextureId = ""
727
			end
728
			if CHILD:FindFirstChildOfClass("Decal") then
729
				local mesh = CHILD:FindFirstChildOfClass("Decal")
730
				mesh:remove()
731
			end
732
			if CHILD.ClassName == "MeshPart" then
733
				CHILD.TextureID = ""
734
			end
735
			if CHILD.ClassName == "UnionOperation" then
736
				CHILD.UsePartColor = true
737
			end
738
			CHILD.CanCollide = true
739
		end
740
	end
741
	Debris:AddItem(STONEMODEL, 5)
742
end
743
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
744
	if FLOOR ~= nil then
745
		coroutine.resume(coroutine.create(function()
746
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
747
			PART.CFrame = CF(POSITION)
748
			for i = 1, 45 do
749
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
750
				RingPiece.Material = FLOOR.Material
751
				RingPiece.Color = FLOOR.Color
752
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
753
				Debris:AddItem(RingPiece, SWAIT)
754
			end
755
			PART:remove()
756
		end))
757
	end
758
end
759
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
760
	if FLOOR ~= nil then
761
		for i = 1, AMOUNT do
762
			do
763
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
764
				DEBREE.Material = FLOOR.Material
765
				DEBREE.Color = FLOOR.Color
766
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
767
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
768
				coroutine.resume(coroutine.create(function()
769
					Swait(15)
770
					DEBREE.Parent = workspace
771
					DEBREE.CanCollide = true
772
					Debris:AddItem(DEBREE, SWAIT)
773
				end))
774
			end
775
		end
776
	end
777
end
778
function CheckIntangible(Hit)
779
	local ProjectileNames = {
780
		"Water",
781
		"Arrow",
782
		"Projectile",
783
		"Effect",
784
		"Rail",
785
		"Lightning",
786
		"Bullet"
787
	}
788
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
789
		return true
790
	end
791
	return false
792
end
793
Debris = game:GetService("Debris")
794
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
795
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
796
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
797
	if RayHit and CheckIntangible(RayHit) then
798
		if DelayIfHit then
799
			wait()
800
		end
801
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
802
	end
803
	return RayHit, RayPos, RayNormal
804
end
805
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
806
	local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
807
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
808
	if RayHit and CheckIntangible(RayHit) then
809
		if DelayIfHit then
810
			wait()
811
		end
812
		RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
813
	end
814
	return RayHit, RayPos, RayNormal
815
end
816
function CastProperRay(StartPos, EndPos, Distance, Ignore)
817
	local DIRECTION = CF(StartPos, EndPos).lookVector
818
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
819
end
820
function turnto(position)
821
	RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
822
end
823
BaseLightning = IT("Part")
824
BaseLightning.Anchored = true
825
BaseLightning.CanCollide = false
826
BaseLightning.Material = "Neon"
827
local LightningBolts = {}
828
function Zap(Table)
829
	local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
830
	local Duration = Table.Duration or 2
831
	local Offset = Table.Offset or 2
832
	local Individualize = Table.Individualize or false
833
	local MaxRange = Table.MaxRange or 200
834
	local SegmentLength = Table.SegmentLength or 5
835
	local Transparency = Table.Transparency or 0
836
	local Ignore = Table.Ignore or {}
837
	local SIZE = Table.SIZE or 0.3
838
	if not (StartPos and TargetPos) or not Character then
839
		return
840
	end
841
	local LightningModel = IT("Folder", Effects)
842
	LightningModel.Name = "ZAPP"
843
	for i, v in pairs({Character, LightningModel}) do
844
		table.insert(Ignore, v)
845
	end
846
	local LastPos = StartPos
847
	local Direction = CFrame.new(StartPos, TargetPos).lookVector
848
	local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
849
	local RayLength = (StartPos - RayPos).Magnitude
850
	local Struck = false
851
	local TotalSegments = math.ceil(RayLength / SegmentLength)
852
	Direction = CFrame.new(StartPos, RayPos).lookVector
853
	local LightningBolt = IT("Model", Effects)
854
	LightningBolt.Name = "Lightning"
855
	LastBolt = LightningBolt
856
	Debris:AddItem(LightningBolt, Duration)
857
	LightningBolt.Parent = LightningModel
858
	for i = 1, TotalSegments do
859
		if not Struck then
860
			local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
861
			local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
862
			local SegmentVec = NewPos - LastPos
863
			local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
864
			local RayVec = LastPos - RayPos
865
			local LightningPart = BaseLightning:Clone()
866
			LightningPart.BrickColor = BrickColor.new(Color)
867
			LightningPart.Transparency = Transparency
868
			LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
869
			LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
870
			local CylinderMesh = IT("CylinderMesh", LightningPart)
871
			local OrigCF = LightningPart.CFrame
872
			LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
873
			LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
874
			LightningPart.Parent = LightningBolt
875
			LastPos = NewPos
876
		end
877
	end
878
	return {
879
		RayHit = RayHit,
880
		RayPos = RayPos,
881
		RayNormal = RayNormal,
882
		LightningModel = LightningModel
883
	}
884
end
885
886
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
887
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
888
end
889
890
function PositiveAngle(NUMBER)
891
	if NUMBER >= 0 then
892
		NUMBER = 0
893
	end
894
	return NUMBER
895
end
896
897
function NegativeAngle(NUMBER)
898
	if NUMBER <= 0 then
899
		NUMBER = 0
900
	end
901
	return NUMBER
902
end
903
904
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
905
	if FLOOR ~= nil then
906
		for i = 1, AMOUNT do
907
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
908
			DEBREE.Material = FLOOR.Material
909
			DEBREE.Color = FLOOR.Color
910
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
911
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
912
			coroutine.resume(coroutine.create(function()
913
				Swait(15)
914
				DEBREE.Parent = workspace
915
				DEBREE.CanCollide = true
916
				Debris:AddItem(DEBREE,SWAIT)
917
			end))
918
		end
919
	end
920
end
921
922
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
923
	if FLOOR ~= nil then
924
		coroutine.resume(coroutine.create(function()
925
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really blue", "DebreeCenter", VT(0,0,0))
926
			PART.CFrame = CF(POSITION)
927
			for i = 1, 45 do
928
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really blue", "DebreePart", BLOCKSIZE)
929
				RingPiece.Material = FLOOR.Material
930
				RingPiece.Color = FLOOR.Color
931
				RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
932
				Debris:AddItem(RingPiece,SWAIT)
933
			end
934
			PART:remove()
935
		end))
936
	end
937
end
938
939
local DECAL = IT("Decal")
940
function MakeRing()
941
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
942
	local MSH = IT("BlockMesh", RING)
943
	local TOP = DECAL:Clone()
944
	local BOTTOM = DECAL:Clone()
945
	TOP.Parent = RING
946
	BOTTOM.Parent = RING
947
	TOP.Face = "Top"
948
	BOTTOM.Face = "Bottom"
949
	TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
950
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
951
	local function REMOVE()
952
		coroutine.resume(coroutine.create(function()
953
			local SIZE = MSH.Scale.X
954
			for i = 1, 35 do
955
				Swait()
956
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
957
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
958
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
959
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
960
			end
961
			RING:remove()
962
		end))
963
	end
964
	return RING, MSH, REMOVE
965
end
966
967
function killnearest(position, range, maxstrength)
968
	for i, v in ipairs(workspace:GetChildren()) do
969
		do
970
			local body = v:GetChildren()
971
			for part = 1, #body do
972
				if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
973
					if v.ClassName == "Model" then
974
						v:BreakJoints()
975
					end
976
					local bv = Instance.new("BodyVelocity")
977
					bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
978
					bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
979
					bv.Parent = body[part]
980
					Debris:AddItem(bv, 0.2)
981
					body[part].Parent = Effects
982
					body[part].Material = "Neon"
983
					body[part].Color = C3(0, 0, 0)
984
					body[part].CanCollide = true
985
					coroutine.resume(coroutine.create(function()
986
						wait(5)
987
						if body[part].Parent == Effects then
988
							body[part]:remove()
989
						end
990
					end))
991
				end
992
			end
993
			if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
994
				v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
995
			end
996
		end
997
	end
998
end
999
1000
function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
1001
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1002
	wave.Color = COLOR
1003
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
1004
	wave.CFrame = CFRAME
1005
	coroutine.resume(coroutine.create(function(PART)
1006
		for i = 1, WAIT do
1007
			Swait()
1008
			mesh.Scale = mesh.Scale + GROW
1009
			if DOESROT == true then
1010
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1011
			end
1012
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1013
			if wave.Transparency > 0.99 then
1014
				wave:remove()
1015
			end
1016
		end
1017
	end))
1018
end
1019
1020
function MakeForm(PART, TYPE)
1021
	if TYPE == "Cyl" then
1022
		local MSH = IT("CylinderMesh", PART)
1023
	elseif TYPE == "Ball" then
1024
		local MSH = IT("SpecialMesh", PART)
1025
		MSH.MeshType = "Sphere"
1026
	elseif TYPE == "Wedge" then
1027
		local MSH = IT("SpecialMesh", PART)
1028
		MSH.MeshType = "Wedge"
1029
	end
1030
end
1031
1032
function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
1033
	local NEWPART = IT("Part")
1034
	NEWPART.formFactor = FORMFACTOR
1035
	NEWPART.Reflectance = REFLECTANCE
1036
	NEWPART.Transparency = TRANSPARENCY
1037
	NEWPART.CanCollide = false
1038
	NEWPART.Locked = true
1039
	NEWPART.Anchored = true
1040
	if ANCHOR == false then
1041
		NEWPART.Anchored = false
1042
	end
1043
	NEWPART.Name = NAME
1044
	NEWPART.Size = SIZE
1045
	NEWPART.Position = Torso.Position
1046
	NEWPART.Material = MATERIAL
1047
	NEWPART:BreakJoints()
1048
	NEWPART.Parent = PARENT
1049
	return NEWPART
1050
end
1051
1052
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
1053
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
1054
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
1055
	wave.CFrame = CFRAME
1056
	coroutine.resume(coroutine.create(function(PART)
1057
		for i = 1, WAIT do
1058
			Swait()
1059
			mesh.Scale = mesh.Scale + GROW
1060
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
1061
			if DOESROT == true then
1062
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
1063
			end
1064
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1065
			if wave.Transparency > 0.99 then
1066
				wave:remove()
1067
			end
1068
		end
1069
	end))
1070
end
1071
1072
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
1073
	for _, c in pairs(PARENT:GetChildren()) do
1074
		if c.ClassName == "Model" then
1075
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
1076
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
1077
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
1078
				if DIST > (TORSO.Position - FROM).Magnitude then
1079
					table.insert(TABLE, c)
1080
				end
1081
				AddChildrenToTable(FROM, c, DIST, TABLE)
1082
			elseif c.ClassName == "Folder" then
1083
				AddChildrenToTable(FROM, c, DIST, TABLE)
1084
			end
1085
		end
1086
	end
1087
end
1088
1089
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
1090
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1091
	local mesh
1092
	if KIND == "Base" then
1093
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
1094
	elseif KIND == "Thin" then
1095
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1096
	elseif KIND == "Round" then
1097
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
1098
	end
1099
	wave.CFrame = CFRAME
1100
	coroutine.resume(coroutine.create(function(PART)
1101
		for i = 1, WAIT do
1102
			Swait()
1103
			mesh.Scale = mesh.Scale + GROW / 10
1104
			wave.Transparency = wave.Transparency + 0.5 / WAIT
1105
			if wave.Transparency > 0.99 then
1106
				wave:remove()
1107
			end
1108
		end
1109
	end))
1110
end
1111
1112
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
1113
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
1114
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
1115
	wave.CFrame = CFRAME
1116
	coroutine.resume(coroutine.create(function(PART)
1117
		for i = 1, WAIT do
1118
			Swait()
1119
			mesh.Scale = mesh.Scale + GROW
1120
			wave.Transparency = wave.Transparency + 1 / WAIT
1121
			if wave.Transparency > 0.99 then
1122
				wave:remove()
1123
			end
1124
		end
1125
	end))
1126
end
1127
1128
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
1129
	local TORSO = Torso
1130
	local HUM = Humanoid
1131
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
1132
		coroutine.wrap(function()
1133
			VT = Vector3.new
1134
			MRANDOM = math.random
1135
			local A = TIME
1136
			local B = INTENSITY
1137
			local C = true
1138
			local HUMANOID = Humanoid
1139
			local TIMER = A or 35
1140
			local SHAKE = B or 5
1141
			local FADE = C or true
1142
			if HUMANOID then
1143
				local FADER = SHAKE / TIMER
1144
				for i = 1, TIMER do
1145
					wait()
1146
					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)
1147
				end
1148
				HUMANOID.CameraOffset = VT(0, 0, 0)
1149
			end
1150
1151
		end)()
1152
	end
1153
end
1154
1155
function Effect(data)
1156
	local FX = data.Effect or 'ResizeAndFade'
1157
	local Parent = data.Parent or Effects
1158
	local Color = data.Color or C3.N(0,0,0)
1159
	local Size = data.Size or V3.N(1,1,1)
1160
	local MoveDir = data.MoveDirection or nil
1161
	local MeshData = data.Mesh or nil
1162
	local SndData = data.Sound or nil
1163
	local Frames = data.Frames or 45
1164
	local Manual = data.Manual or nil
1165
	local Material = data.Material or nil
1166
	local CFra = data.CFrame or Torso.CFrame
1167
	local Settings = data.FXSettings or {}
1168
	local Snd,Prt,Msh;
1169
	local Shape = data.Shape or Enum.PartType.Block
1170
	coroutine.resume(coroutine.create(function()
1171
		if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
1172
			Prt = Manual
1173
		else
1174
			Prt = Part(Parent,Color,Material,Size,CFra,true,false)
1175
			Prt.Shape = Shape
1176
		end
1177
		if(typeof(MeshData) == 'table')then
1178
			Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
1179
		elseif(typeof(MeshData) == 'Instance')then
1180
			Msh = MeshData:Clone()
1181
			Msh.Parent = Prt
1182
		elseif(Shape == Enum.PartType.Block)then
1183
			Msh = Mesh(Prt,Enum.MeshType.Brick)
1184
		end
1185
		if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
1186
			Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
1187
		end
1188
		if(Snd)then
1189
			repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
1190
			Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
1191
		end
1192
		local MoveSpeed = nil;
1193
		if(MoveDir)then
1194
			MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
1195
		end
1196
		local Inc = M.RNG()-M.RNG()
1197
		local Thingie = 0
1198
		local Thingie2 = M.RNG(50,100)/100
1199
		if(FX ~= 'Arc')then
1200
			for i = 1, Frames do
1201
				if(swait and typeof(swait) == 'function')then
1202
					swait()
1203
				else
1204
					wait()
1205
				end
1206
				if(FX == 'ResizeAndFade')then
1207
					if(not Settings.EndSize)then
1208
						Settings.EndSize = V3.N(0,0,0)
1209
					end
1210
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
1211
					if(Settings.EndIsIncrement)then
1212
						Prt.Size = Prt.Size + Settings.EndSize					
1213
					else
1214
						Prt.Size = Prt.Size - grow/Frames
1215
					end 
1216
					Prt.Transparency = (i/Frames)
1217
				elseif(FX == 'Fade')then
1218
					Prt.Transparency = (i/Frames)
1219
				end
1220
				
1221
				if(Settings.RandomizeCFrame)then
1222
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
1223
				end
1224
				if(MoveDir and MoveSpeed)then
1225
					local Orientation = Prt.Orientation
1226
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
1227
					Prt.Orientation = Orientation
1228
				end
1229
			end
1230
			Prt:destroy() 
1231
		else
1232
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
1233
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
1234
			local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1235
			local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
1236
			assert(start ~= nil,"You need to specify a start point!")
1237
			assert(endP ~= nil,"You need to specify an end point!")
1238
			for i = 0, 1, Settings.Speed or 0.01 do
1239
				if(swait and typeof(swait) == 'function')then
1240
					swait()
1241
				else
1242
					wait()
1243
				end
1244
				if(Settings.Home)then
1245
					endP = Settings.Home.CFrame
1246
				end
1247
				Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
1248
			end
1249
			if(Settings.RemoveOnGoal)then
1250
				Prt:destroy()
1251
			end
1252
		end
1253
	end))
1254
	return Prt,Msh,Snd
1255
end
1256
1257
function RightWing()
1258
	for i = 1, 2 do
1259
		local PART
1260
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1261
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
1262
		table.insert(RWINGS, WingWeld)
1263
		PART = Wing
1264
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
1265
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
1266
		PART = Wing
1267
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1268
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
1269
		local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
1270
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1271
		PART = Wing
1272
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
1273
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
1274
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
1275
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1276
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
1277
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1278
		PART = Wing
1279
		table.insert(RWINGS, WingWeld)
1280
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
1281
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
1282
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
1283
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1284
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
1285
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1286
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
1287
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
1288
		PART = Wing
1289
		table.insert(RWINGS, WingWeld)
1290
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
1291
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1292
		PART = Wing
1293
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1294
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
1295
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
1296
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
1297
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
1298
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
1299
		PART = Wing
1300
		table.insert(RWINGS, WingWeld)
1301
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
1302
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
1303
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
1304
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1305
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
1306
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
1307
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
1308
		table.insert(EYES, Wing1)
1309
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
1310
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
1311
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
1312
		PART = Wing
1313
		table.insert(RWINGS, WingWeld)
1314
	end
1315
	BODY = {}
1316
	for _, c in pairs(Character:GetDescendants()) do
1317
		if c:IsA("BasePart") then
1318
			table.insert(BODY, {
1319
				c,
1320
				c.Parent,
1321
				c.Material,
1322
				c.Color
1323
			})
1324
		elseif c:IsA("JointInstance") then
1325
			table.insert(BODY, {
1326
				c,
1327
				c.Parent,
1328
				nil,
1329
				nil
1330
			})
1331
		end
1332
	end
1333
end
1334
function LeftWing()
1335
	for i = 1, 2 do
1336
		local PART
1337
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1338
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
1339
		table.insert(LWINGS, WingWeld)
1340
		PART = Wing
1341
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
1342
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
1343
		PART = Wing
1344
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1345
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
1346
		local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
1347
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1348
		PART = Wing
1349
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
1350
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
1351
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
1352
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1353
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
1354
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1355
		PART = Wing
1356
		table.insert(LWINGS, WingWeld)
1357
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
1358
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
1359
		local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
1360
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
1361
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
1362
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1363
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
1364
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
1365
		PART = Wing
1366
		table.insert(LWINGS, WingWeld)
1367
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
1368
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1369
		PART = Wing
1370
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
1371
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
1372
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
1373
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
1374
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
1375
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
1376
		PART = Wing
1377
		table.insert(LWINGS, WingWeld)
1378
		local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
1379
		local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
1380
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
1381
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1382
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
1383
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
1384
		local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
1385
		table.insert(EYES, Wing1)
1386
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
1387
		local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
1388
		CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
1389
		PART = Wing
1390
		table.insert(LWINGS, WingWeld)
1391
	end
1392
	BODY = {}
1393
	for _, c in pairs(Character:GetDescendants()) do
1394
		if c:IsA("BasePart") then
1395
			table.insert(BODY, {
1396
				c,
1397
				c.Parent,
1398
				c.Material,
1399
				c.Color
1400
			})
1401
		elseif c:IsA("JointInstance") then
1402
			table.insert(BODY, {
1403
				c,
1404
				c.Parent,
1405
				nil,
1406
				nil
1407
			})
1408
		end
1409
	end
1410
end
1411
1412
function Swait(NUMBER)
1413
	if NUMBER == 0 or NUMBER == nil then
1414
		ArtificialHB.Event:wait()
1415
	else
1416
		for i = 1, NUMBER do
1417
			ArtificialHB.Event:wait()
1418
		end
1419
	end
1420
end
1421
1422
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1423
	local NEWMESH = IT(MESH)
1424
	if MESH == "SpecialMesh" then
1425
		NEWMESH.MeshType = MESHTYPE
1426
		if MESHID ~= "nil" and MESHID ~= "" then
1427
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1428
		end
1429
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1430
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1431
		end
1432
	end
1433
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
1434
	NEWMESH.Scale = SCALE
1435
	NEWMESH.Parent = PARENT
1436
	return NEWMESH
1437
end
1438
1439
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1440
	local NEWPART = IT("Part")
1441
	NEWPART.formFactor = FORMFACTOR
1442
	NEWPART.Reflectance = REFLECTANCE
1443
	NEWPART.Transparency = TRANSPARENCY
1444
	NEWPART.CanCollide = false
1445
	NEWPART.Locked = true
1446
	NEWPART.Anchored = true
1447
	if ANCHOR == false then
1448
		NEWPART.Anchored = false
1449
	end
1450
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
1451
	NEWPART.Name = NAME
1452
	NEWPART.Size = SIZE
1453
	NEWPART.Position = Torso.Position
1454
	NEWPART.Material = MATERIAL
1455
	NEWPART:BreakJoints()
1456
	NEWPART.Parent = PARENT
1457
	return NEWPART
1458
end
1459
1460
	local function weldBetween(a, b)
1461
	    local weldd = Instance.new("ManualWeld")
1462
	    weldd.Part0 = a
1463
	    weldd.Part1 = b
1464
	    weldd.C0 = CFrame.new()
1465
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
1466
	    weldd.Parent = a
1467
	    return weldd
1468
	end
1469
1470
1471
function QuaternionFromCFrame(cf)
1472
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
1473
	local trace = m00 + m11 + m22
1474
	if trace > 0 then 
1475
		local s = math.sqrt(1 + trace)
1476
		local recip = 0.5 / s
1477
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
1478
	else
1479
		local i = 0
1480
		if m11 > m00 then
1481
			i = 1
1482
		end
1483
		if m22 > (i == 0 and m00 or m11) then
1484
			i = 2
1485
		end
1486
		if i == 0 then
1487
			local s = math.sqrt(m00 - m11 - m22 + 1)
1488
			local recip = 0.5 / s
1489
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
1490
		elseif i == 1 then
1491
			local s = math.sqrt(m11 - m22 - m00 + 1)
1492
			local recip = 0.5 / s
1493
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
1494
		elseif i == 2 then
1495
			local s = math.sqrt(m22 - m00 - m11 + 1)
1496
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
1497
		end
1498
	end
1499
end
1500
 
1501
function QuaternionToCFrame(px, py, pz, x, y, z, w)
1502
	local xs, ys, zs = x + x, y + y, z + z
1503
	local wx, wy, wz = w * xs, w * ys, w * zs
1504
	local xx = x * xs
1505
	local xy = x * ys
1506
	local xz = x * zs
1507
	local yy = y * ys
1508
	local yz = y * zs
1509
	local zz = z * zs
1510
	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))
1511
end
1512
 
1513
function QuaternionSlerp(a, b, t)
1514
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
1515
	local startInterp, finishInterp;
1516
	if cosTheta >= 0.0001 then
1517
		if (1 - cosTheta) > 0.0001 then
1518
			local theta = ACOS(cosTheta)
1519
			local invSinTheta = 1 / SIN(theta)
1520
			startInterp = SIN((1 - t) * theta) * invSinTheta
1521
			finishInterp = SIN(t * theta) * invSinTheta
1522
		else
1523
			startInterp = 1 - t
1524
			finishInterp = t
1525
		end
1526
	else
1527
		if (1 + cosTheta) > 0.0001 then
1528
			local theta = ACOS(-cosTheta)
1529
			local invSinTheta = 1 / SIN(theta)
1530
			startInterp = SIN((t - 1) * theta) * invSinTheta
1531
			finishInterp = SIN(t * theta) * invSinTheta
1532
		else
1533
			startInterp = t - 1
1534
			finishInterp = t
1535
		end
1536
	end
1537
	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
1538
end
1539
1540
function Clerp(a, b, t)
1541
	local qa = {QuaternionFromCFrame(a)}
1542
	local qb = {QuaternionFromCFrame(b)}
1543
	local ax, ay, az = a.x, a.y, a.z
1544
	local bx, by, bz = b.x, b.y, b.z
1545
	local _t = 1 - t
1546
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
1547
end
1548
1549
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
1550
	local frame = IT("Frame")
1551
	frame.BackgroundTransparency = TRANSPARENCY
1552
	frame.BorderSizePixel = BORDERSIZEPIXEL
1553
	frame.Position = POSITION
1554
	frame.Size = SIZE
1555
	frame.BackgroundColor3 = COLOR
1556
	frame.BorderColor3 = BORDERCOLOR
1557
	frame.Name = NAME
1558
	frame.Parent = PARENT
1559
	return frame
1560
end
1561
1562
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
1563
	local label = IT("TextLabel")
1564
	label.BackgroundTransparency = 1
1565
	label.Size = UD2(1, 0, 1, 0)
1566
	label.Position = UD2(0, 0, 0, 0)
1567
	label.TextColor3 = TEXTCOLOR
1568
	label.TextStrokeTransparency = STROKETRANSPARENCY
1569
	label.TextTransparency = TRANSPARENCY
1570
	label.FontSize = TEXTFONTSIZE
1571
	label.Font = TEXTFONT
1572
	label.BorderSizePixel = BORDERSIZEPIXEL
1573
	label.TextScaled = false
1574
	label.Text = TEXT
1575
	label.Name = NAME
1576
	label.Parent = PARENT
1577
	return label
1578
end
1579
1580
function NoOutlines(PART)
1581
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
1582
end
1583
1584
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
1585
	local NEWWELD = IT(TYPE)
1586
	NEWWELD.Part0 = PART0
1587
	NEWWELD.Part1 = PART1
1588
	NEWWELD.C0 = C0
1589
	NEWWELD.C1 = C1
1590
	NEWWELD.Parent = PARENT
1591
	return NEWWELD
1592
end
1593
1594
local S = IT("Sound")
1595
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
1596
	local NEWSOUND = nil
1597
	coroutine.resume(coroutine.create(function()
1598
		NEWSOUND = S:Clone()
1599
		NEWSOUND.Parent = PARENT
1600
		NEWSOUND.Volume = VOLUME
1601
		NEWSOUND.Pitch = PITCH
1602
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1603
		NEWSOUND:play()
1604
		if DOESLOOP == true then
1605
			NEWSOUND.Looped = true
1606
		else
1607
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
1608
			NEWSOUND:remove()
1609
		end
1610
	end))
1611
	return NEWSOUND
1612
end
1613
1614
function CFrameFromTopBack(at, top, back)
1615
	local right = top:Cross(back)
1616
	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)
1617
end
1618
1619
--Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
1620
function Lightning(Table)
1621
	local Color = Table.Color or C3(1,1,1)
1622
	local StartPos = Table.Start or Torso.Position
1623
	local EndPos = Table.End or Mouse.Hit.p
1624
	local SegmentLength = Table.SegmentL or 2
1625
	local Thickness = Table.Thickness or 0.1
1626
	local Dissapear = Table.DoesFade or false
1627
	local Parent = Table.Ignore or Character
1628
	local MaxDist = Table.MaxDist or 400
1629
	local Branches = Table.Branches or false
1630
	local Thicken = Table.Thicken or false
1631
	local FadeTime = Table.FadeTime or 15
1632
	local FadeIn = Table.FadeIn or false
1633
	local Material = Table.Material or "Neon"
1634
	local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
1635
	local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
1636
	local LIGHTNINGMODEL = IT("Model",Effects)
1637
	LIGHTNINGMODEL.Name = "Lightning"
1638
	local LastBolt = nil
1639
	for E = 1, DISTANCE do
1640
		local ExtraSize = 0
1641
		if Thicken == true then
1642
			ExtraSize = (DISTANCE-E)/15
1643
		end
1644
		local TRANSPARENCY = 0
1645
		if FadeIn == true then
1646
			TRANSPARENCY = 1-(E/(DISTANCE/1.5))
1647
			if TRANSPARENCY < 0 then
1648
				TRANSPARENCY = 0
1649
			end
1650
		end
1651
		local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
1652
		PART.Color = Color
1653
		MakeForm(PART,"Cyl")
1654
		if LastBolt == nil then
1655
			PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1656
		else
1657
			PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1658
		end
1659
		LastBolt = PART
1660
		if Branches == true and E < (DISTANCE-5) then
1661
			local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
1662
			if CHOICE == 1 then
1663
				local LASTBRANCH = nil
1664
				for i = 1, MRANDOM(2,5) do
1665
					local ExtraSize2 = 0
1666
					if Thicken == true then
1667
						ExtraSize = ((DISTANCE-E)/25)/i
1668
					end
1669
					local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
1670
					PART.Color = Color
1671
					MakeForm(PART,"Cyl")
1672
					if LASTBRANCH == nil then
1673
						PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1674
					else
1675
						PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
1676
					end
1677
					LASTBRANCH = PART
1678
				end
1679
			end
1680
		end
1681
	end
1682
	if Dissapear == true then
1683
		coroutine.resume(coroutine.create(function()
1684
			for i = 1, FadeTime do
1685
				Swait()
1686
				for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
1687
					if c.ClassName == "Part" then
1688
						c.Transparency = c.Transparency + (i/FadeTime)/10
1689
					end
1690
				end
1691
			end
1692
			LIGHTNINGMODEL:remove()
1693
		end))
1694
	elseif Dissapear == false then
1695
		Debris:AddItem(LIGHTNINGMODEL,0.1)
1696
	end
1697
	return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
1698
end
1699
1700
--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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1701
local cR=255
1702
local cG=0
1703
local cB=0
1704
local flg5=1 local omgidk=1
1705
local add=15
1706
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
1707
	if omgidk>10000 then omgidk=0 end
1708
	omgidk=omgidk+1
1709
	if cR>=255 then flg5=1 end
1710
	if cG>=255 then flg5=2 end
1711
	if cB>=255 then flg5=3 end
1712
	if flg5==1 then cR=cR-add cG=cG+add end
1713
	if flg5==2 then cG=cG-add cB=cB+add end
1714
	if flg5==3 then cB=cB-add cR=cR+add end
1715
	color=Color3.fromRGB(cR,cG,cB)
1716
function WACKYEFFECT(Table)
1717
	local TYPE = (Table.EffectType or "Sphere")
1718
	local SIZE = (Table.Size or VT(6,6,6))
1719
	local ENDSIZE = (Table.Size2 or VT(7,7,7))
1720
	local TRANSPARENCY = (Table.Transparency or 0)
1721
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
1722
	local CFRAME = (Table.CFrame or Torso.CFrame)
1723
	local MOVEDIRECTION = (Table.MoveToPos or nil)
1724
	local ROTATION1 = (Table.RotationX or 0)
1725
	local ROTATION2 = (Table.RotationY or 0)
1726
	local ROTATION3 = (Table.RotationZ or 0)
1727
	local MATERIAL = "Neon"
1728
	local COLOR = color
1729
	local TIME = (Table.Time or 45)
1730
	local SOUNDID = (Table.SoundID or nil)
1731
	local SOUNDPITCH = (Table.SoundPitch or nil)
1732
	local SOUNDVOLUME = (Table.SoundVolume or nil)
1733
	coroutine.resume(coroutine.create(function()
1734
		local PLAYSSOUND = false
1735
		local SOUND = nil
1736
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
1737
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
1738
			PLAYSSOUND = true
1739
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
1740
		end
1741
		EFFECT.Color = color
1742
		local MSH = nil
1743
		if TYPE == "Sphere" then
1744
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
1745
		elseif TYPE == "Block" then
1746
			MSH = IT("BlockMesh",EFFECT)
1747
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
1748
		elseif TYPE == "Wave" then
1749
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
1750
		elseif TYPE == "Ring" then
1751
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
1752
		elseif TYPE == "Slash" then
1753
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1754
		elseif TYPE == "Round Slash" then
1755
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
1756
		elseif TYPE == "Swirl" then
1757
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
1758
		elseif TYPE == "Skull" then
1759
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
1760
		elseif TYPE == "Crystal" then
1761
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
1762
		end
1763
		if MSH ~= nil then
1764
			local MOVESPEED = nil
1765
			if MOVEDIRECTION ~= nil then
1766
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
1767
			end
1768
			local GROWTH = SIZE - ENDSIZE
1769
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
1770
			if TYPE == "Block" then
1771
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1772
			else
1773
				EFFECT.CFrame = CFRAME
1774
			end
1775
			for LOOP = 1, TIME+1 do
1776
				Swait()
1777
				MSH.Scale = MSH.Scale - GROWTH/TIME
1778
				if TYPE == "Wave" then
1779
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
1780
				end
1781
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
1782
				if TYPE == "Block" then
1783
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
1784
				else
1785
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
1786
				end
1787
				if MOVEDIRECTION ~= nil then
1788
					local ORI = EFFECT.Orientation
1789
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
1790
					EFFECT.Orientation = ORI
1791
				end
1792
			end
1793
			if PLAYSSOUND == false then
1794
				EFFECT:remove()
1795
			else
1796
				SOUND.Stopped:Connect(function()
1797
					EFFECT:remove()
1798
				end)
1799
			end
1800
		else
1801
			if PLAYSSOUND == false then
1802
				EFFECT:remove()
1803
			else
1804
				repeat Swait() until SOUND.Playing == false
1805
				EFFECT:remove()
1806
			end
1807
		end
1808
	end))
1809
end
1810
end)
1811
function MakeForm(PART,TYPE)
1812
	if TYPE == "Cyl" then
1813
		local MSH = IT("CylinderMesh",PART)
1814
	elseif TYPE == "Ball" then
1815
		local MSH = IT("SpecialMesh",PART)
1816
		MSH.MeshType = "Sphere"
1817
	elseif TYPE == "Wedge" then
1818
		local MSH = IT("SpecialMesh",PART)
1819
		MSH.MeshType = "Wedge"
1820
	end
1821
end
1822
function SpawnTrail(FROM,TO,BIG)
1823
local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
1824
	MakeForm(TRAIL,"Cyl")
1825
local cR=255
1826
local cG=0
1827
local cB=0
1828
local flg5=1 local omgidk=1
1829
local add=15
1830
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
1831
	if omgidk>10000 then omgidk=0 end
1832
	omgidk=omgidk+1
1833
	if cR>=255 then flg5=1 end
1834
	if cG>=255 then flg5=2 end
1835
	if cB>=255 then flg5=3 end
1836
	if flg5==1 then cR=cR-add cG=cG+add end
1837
	if flg5==2 then cG=cG-add cB=cB+add end
1838
	if flg5==3 then cB=cB-add cR=cR+add end
1839
	color=Color3.fromRGB(cR,cG,cB)
1840
	TRAIL.Color = color
1841
end)
1842
	local DIST = (FROM - TO).Magnitude
1843
	if BIG == true then
1844
		TRAIL.Size = VT(5,DIST,5)
1845
	else
1846
		TRAIL.Size = VT(5,DIST,5)
1847
	end
1848
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1849
	coroutine.resume(coroutine.create(function()
1850
		for i = 1, 55 do
1851
			Swait()
1852
			TRAIL.Transparency = TRAIL.Transparency + 0.01
1853
		end
1854
		TRAIL:remove()
1855
	end))
1856
end
1857
1858
Debris = game:GetService("Debris")
1859
1860
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1861
	local DIRECTION = CF(StartPos,EndPos).lookVector
1862
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1863
end
1864
1865
function turnto(position)
1866
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1867
end
1868
1869
--//=================================\\
1870
--||	     WEAPON CREATION
1871
--\\=================================//
1872
1873
local lightning = Instance.new("ParticleEmitter",Torso)
1874
lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
1875
lightning.LightEmission = 0
1876
lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
1877
lightning.LockedToPart = true
1878
lightning.Rate = 20
1879
lightning.Lifetime = NumberRange.new(0.1,0.10)
1880
lightning.Rotation = NumberRange.new(0,360)
1881
lightning.Size = NumberSequence.new(3,3,3)
1882
lightning.Transparency = NumberSequence.new(0,0)
1883
lightning.Speed = NumberRange.new(0,0)
1884
lightning.RotSpeed = NumberRange.new(0,0)
1885
lightning.ZOffset = 5
1886
lightning.Parent = Character.Torso
1887
lightning.Enabled = false
1888
1889
local eeeffecto = Instance.new("ParticleEmitter",Torso)
1890
eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
1891
eeeffecto.LightEmission = 0
1892
eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
1893
eeeffecto.LockedToPart = true
1894
eeeffecto.Rate = 10
1895
eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
1896
eeeffecto.Rotation = NumberRange.new(0,0)
1897
eeeffecto.Size = NumberSequence.new(9,9,9)
1898
eeeffecto.Transparency = NumberSequence.new(0,0)
1899
eeeffecto.Speed = NumberRange.new(0,0)
1900
eeeffecto.RotSpeed = NumberRange.new(0,0)
1901
eeeffecto.Parent = Character.Torso
1902
eeeffecto.Enabled = false
1903
1904
for i = 1, 15 do
1905
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
1906
	FACE.Color = C3(0,0,0)
1907
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
1908
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
1909
end
1910
local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
1911
MakeForm(HAT1,"Cyl")
1912
HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
1913
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
1914
BELT.Color = C3(15/255,15/255,15/255)
1915
MakeForm(BELT,"Cyl")
1916
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
1917
local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
1918
MakeForm(HAT2,"Cyl")
1919
CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
1920
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
1921
BELT.Color = C3(15/255,15/255,15/255)
1922
MakeForm(BELT,"Cyl")
1923
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
1924
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Gem", VT(0.25,0.25,0.1),false)
1925
MakeForm(GEM,"Ball")
1926
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
1927
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.25,0.25,0.1),false)
1928
MakeForm(GEM,"Ball")
1929
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
1930
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
1931
MakeForm(GEM,"Ball")
1932
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
1933
local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Gem", VT(0.1,0.25,0.25),false)
1934
MakeForm(GEM,"Ball")
1935
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
1936
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
1937
BELT.Color = C3(15/255,15/255,15/255)
1938
MakeForm(BELT,"Cyl")
1939
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
1940
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
1941
BELT.Color = C3(15/255,15/255,15/255)
1942
MakeForm(BELT,"Cyl")
1943
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
1944
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
1945
BELT.Color = C3(15/255,15/255,15/255)
1946
MakeForm(BELT,"Cyl")
1947
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
1948
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
1949
BELT.Color = C3(15/255,15/255,15/255)
1950
MakeForm(BELT,"Cyl")
1951
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
1952
local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
1953
MakeForm(BELT,"Ball")
1954
CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
1955
Humanoid.DisplayDistanceType = "None"
1956
1957
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "FaceGradient", VT(0.6,0.1,1)/2,false)
1958
MakeForm(EYE,"Ball")
1959
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
1960
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "FaceGradient", VT(0.6,0.1,1)/2,false)
1961
MakeForm(EYE,"Ball")
1962
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
1963
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "FaceGradient", VT(0.1,1,1)/2,false)
1964
MakeForm(EYE,"Ball")
1965
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
1966
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "FaceGradient", VT(0.1,1,1)/2,false)
1967
MakeForm(EYE,"Ball")
1968
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
1969
1970
local top = Instance.new("Shirt")
1971
top.ShirtTemplate = "rbxassetid://676428254"
1972
top.Parent = Character
1973
top.Name = "Cloth"
1974
local bottom = Instance.new("Pants")
1975
bottom.PantsTemplate = "rbxassetid://676428351"
1976
bottom.Parent = Character
1977
bottom.Name = "Cloth"
1978
for _, c in pairs(Character:GetChildren()) do
1979
	if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
1980
		c.Material = "Neon"
1981
		if c:FindFirstChildOfClass("ParticleEmitter") then
1982
			c:FindFirstChildOfClass("ParticleEmitter"):remove()
1983
		end
1984
		c.Color = C3(1,1,1)
1985
		if c == Head then
1986
			if c:FindFirstChild("face") then
1987
				c.face:remove()
1988
			end
1989
		end
1990
	elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
1991
		c:remove()
1992
	elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
1993
		c:remove()
1994
	end
1995
end
1996
local BONE = CreatePart(3, nil, "Neon", 0, 0, BRICKC("Really black"), "Tail", VT(0.3,0.5,0.3), false)
1997
MakeForm(BONE,"Cyl")
1998
1999
local TAIL = {}
2000
local LASTPART = Torso
2001
local SIZE = BONE.Size
2002
for i = 1, 15 do
2003
	local PART = BONE:Clone()
2004
	PART.Anchored = false
2005
	PART.Parent = Character
2006
	PART.Size = SIZE*((0-0)/0)/0.0
2007
	if LASTPART == Torso then
2008
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-1,0.6)* ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
2009
		LASTPART = PART
2010
		table.insert(TAIL,WELD)
2011
	else
2012
		local WELD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, PART, CF(0,-PART.Size.Y/2,0), CF(0, PART.Size.Y/2, 0))
2013
		LASTPART = PART
2014
		table.insert(TAIL,WELD)
2015
	end
2016
end
2017
2018
2019
for _, c in pairs(Character:GetChildren()) do
2020
	if script:FindFirstChild(c.Name) then
2021
		local Part = script[c.Name]
2022
		Part.Parent = Character
2023
		Part.Base.Anchored = false
2024
		Part:SetPrimaryPartCFrame(c.CFrame)
2025
		weldBetween(c,Part.Base)
2026
		for _, e in pairs(Part:GetChildren()) do
2027
			if e:IsA("BasePart") and e.Name ~= "Base" then
2028
				e.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2029
				e.Locked = true
2030
				e.Anchored = false
2031
				e.Parent = Character
2032
				weldBetween(c,e)
2033
			end
2034
		end
2035
		Part:remove()
2036
	end
2037
end
2038
2039
2040
2041
ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
2042
ff.Visible = false
2043
Humanoid.Name = "God Mode"
2044
Humanoid.MaxHealth = 1.0E298
2045
Humanoid.Health = 1.0E298
2046
game:GetService("RunService"):BindToRenderStep("ew", 0, function()
2047
  if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then
2048
    Humanoid.MaxHealth = 1.0E298
2049
    Humanoid.Health = 1.0E298
2050
  end
2051
end)
2052
2053
2054
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "FaceGradient", VT(0.15,0.15,0.15),false)
2055
MakeForm(EYE,"Ball")
2056
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
2057
local EYE = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "FaceGradient", VT(0.05,0.14,0.05),false)
2058
EYE.Color = C3(0,0,0)
2059
MakeForm(EYE,"Ball")
2060
CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
2061
2062
for i = 1, 16 do
2063
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Baby blue", "FaceGradient", VT(1.01,0.65,1.01),false)
2064
	FACE.Color = C3(0,0,0)
2065
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2066
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
2067
end
2068
2069
local LASTPART = Head
2070
for i = 1, 20 do
2071
	local MATH = (1-(i/25))
2072
	if LASTPART == Head then
2073
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2074
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
2075
		LASTPART = Horn
2076
		Horn.Color = C3((i*3-3)/255,0,0)
2077
	else
2078
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2079
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
2080
		LASTPART = Horn
2081
		Horn.Color = C3((i*3-3)/255,0,0)
2082
	end
2083
end
2084
local LASTPART = Head
2085
for i = 1, 20 do
2086
	local MATH = (1-(i/25))
2087
	if LASTPART == Head then
2088
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2089
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
2090
		LASTPART = Horn
2091
		Horn.Color = C3((i*3-3)/255,0,0)
2092
	else
2093
		local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
2094
		CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
2095
		LASTPART = Horn
2096
		Horn.Color = C3((i*3-3)/255,0,0)
2097
	end
2098
end
2099
2100
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
2101
PRT.Color = C3(0,0,0)
2102
local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
2103
CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
2104
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
2105
PRT.Color = C3(0,0,0)
2106
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
2107
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
2108
2109
local BODY = {}
2110
for _, c in pairs(Character:GetDescendants()) do
2111
	if c:IsA("BasePart") and c.Name ~= "Handle" then
2112
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
2113
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2114
		end
2115
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
2116
	elseif c:IsA("JointInstance") then
2117
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
2118
	end
2119
end
2120
for e = 1, #BODY do
2121
	if BODY[e] ~= nil then
2122
		local STUFF = BODY[e]
2123
		local PART = STUFF[1]
2124
		local PARENT = STUFF[2]
2125
		local MATERIAL = STUFF[3]
2126
		local COLOR = STUFF[4]
2127
		local TRANSPARENCY = STUFF[5]
2128
		if PART.ClassName == "Part" and PART ~= RootPart then
2129
			PART.Material = MATERIAL
2130
			PART.Color = COLOR
2131
			PART.Transparency = TRANSPARENCY
2132
		end
2133
		PART.AncestryChanged:Connect(function()
2134
			PART.Parent = PARENT
2135
		end)
2136
	end
2137
end
2138
    Player=game:GetService('Players').LocalPlayer
2139
    Character=Player.Character
2140
    Mouse=Player:GetMouse()
2141
    m=Instance.new('Model',Character)
2142
    local function weldBetween(a, b)
2143
        local weldd = Instance.new("ManualWeld")
2144
        weldd.Part0 = a
2145
        weldd.Part1 = b
2146
        weldd.C0 = CFrame.new()
2147
        weldd.C1 = b.CFrame:inverse() * a.CFrame
2148
        weldd.Parent = a
2149
        return weldd
2150
    end
2151
 
2152
    it=Instance.new
2153
 
2154
    function nooutline(part)
2155
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
2156
    end
2157
 
2158
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
2159
        local fp=it("Part")
2160
        fp.formFactor=formfactor
2161
        fp.Parent=parent
2162
        fp.Reflectance=reflectance
2163
        fp.Transparency=transparency
2164
        fp.CanCollide=false
2165
        fp.Locked=true
2166
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
2167
        fp.Name=name
2168
        fp.Size=size
2169
        fp.Position=Character.Torso.Position
2170
        nooutline(fp)
2171
        fp.Material=material
2172
        fp:BreakJoints()
2173
        return fp
2174
    end
2175
   
2176
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
2177
        local mesh=it(Mesh)
2178
        mesh.Parent=part
2179
        if Mesh=="SpecialMesh" then
2180
            mesh.MeshType=meshtype
2181
            mesh.MeshId=meshid
2182
        end
2183
        mesh.Offset=offset
2184
        mesh.Scale=scale
2185
        return mesh
2186
    end
2187
   
2188
    function weld(parent,part0,part1,c0,c1)
2189
        local weld=it("Weld")
2190
        weld.Parent=parent
2191
        weld.Part0=part0
2192
        weld.Part1=part1
2193
        weld.C0=c0
2194
        weld.C1=c1
2195
        return weld
2196
    end
2197
 
2198
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Lime green","Handle",Vector3.new(4, 1, 2))
2199
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
2200
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
2201
 
2202
    Player=game:GetService('Players').LocalPlayer
2203
    Character=Player.Character
2204
    Mouse=Player:GetMouse()
2205
    m=Instance.new('Model',Character)
2206
    local function weldBetween(a, b)
2207
        local weldd = Instance.new("ManualWeld")
2208
        weldd.Part0 = a
2209
        weldd.Part1 = b
2210
        weldd.C0 = CFrame.new()
2211
        weldd.C1 = b.CFrame:inverse() * a.CFrame
2212
        weldd.Parent = a
2213
        return weldd
2214
    end
2215
   
2216
    it=Instance.new
2217
   
2218
    function nooutline(part)
2219
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
2220
    end
2221
   
2222
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
2223
        local fp=it("Part")
2224
        fp.formFactor=formfactor
2225
        fp.Parent=parent
2226
        fp.Reflectance=reflectance
2227
        fp.Transparency=transparency
2228
        fp.CanCollide=false
2229
        fp.Locked=true
2230
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
2231
        fp.Name=name
2232
        fp.Size=size
2233
        fp.Position=Character.Torso.Position
2234
        nooutline(fp)
2235
        fp.Material=material
2236
        fp:BreakJoints()
2237
        return fp
2238
    end
2239
   
2240
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
2241
        local mesh=it(Mesh)
2242
        mesh.Parent=part
2243
        if Mesh=="SpecialMesh" then
2244
            mesh.MeshType=meshtype
2245
            mesh.MeshId=meshid
2246
        end
2247
        mesh.Offset=offset
2248
        mesh.Scale=scale
2249
        return mesh
2250
    end
2251
   
2252
    function weld(parent,part0,part1,c0,c1)
2253
        local weld=it("Weld")
2254
        weld.Parent=parent
2255
        weld.Part0=part0
2256
        weld.Part1=part1
2257
        weld.C0=c0
2258
        weld.C1=c1
2259
        return weld
2260
    end
2261
 
2262
 
2263
handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Crimson","Handle",Vector3.new(4, 1, 2))
2264
handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
2265
mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
2266
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.6,0.1,1)/2,false)
2267
MakeForm(HandlePart,"Ball")
2268
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
2269
local HandlePart = CreatePart(3,Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.6,0.1,1)/2,false)
2270
MakeForm(HandlePart,"Ball")
2271
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
2272
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.1,1,1)/2,false)
2273
MakeForm(HandlePart,"Ball")
2274
 local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
2275
local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Handle", VT(0.1,1,1)/2,false)
2276
MakeForm(HandlePart,"Ball")
2277
CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
2278
2279
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))
2280
2281
for i = 1, 35 do
2282
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
2283
	FACE.Color = C3(0,0,0)
2284
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
2285
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
2286
end
2287
2288
local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really blue", "Eon", VT(0.5,0.5,1.25),false)
2289
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2290
2291
local Particle = IT("ParticleEmitter",nil)
2292
Particle.Enabled = false
2293
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
2294
Particle.LightEmission = 0.5
2295
Particle.Rate = 150
2296
Particle.ZOffset = 0.2
2297
Particle.Rotation = NumberRange.new(-180, 180)
2298
Particle.RotSpeed = NumberRange.new(-180, 180)
2299
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
2300
Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
2301
2302
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
2303
function ParticleEmitter(Table)
2304
	local PRTCL = Particle:Clone()
2305
	local Speed = Table.Speed or 5
2306
	local Drag = Table.Drag or 0
2307
	local Size1 = Table.Size1 or 1
2308
	local Size2 = Table.Size2 or 5
2309
	local Lifetime1 = Table.Lifetime1 or 1
2310
	local Lifetime2 = Table.Lifetime2 or 1.5
2311
	local Parent = Table.Parent or Torso
2312
	local Emit = Table.Emit or 100
2313
	local Offset = Table.Offset or 360
2314
	local Acel = Table.Acel or VT(0,0,0)
2315
	local Enabled = Table.Enabled or false
2316
	PRTCL.Parent = Parent
2317
	PRTCL.Size = NumberSequence.new(Size1,Size2)
2318
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
2319
	PRTCL.Speed = NumberRange.new(Speed)
2320
	PRTCL.VelocitySpread = Offset
2321
	PRTCL.Drag = Drag
2322
	PRTCL.Acceleration = Acel
2323
	if Enabled == false then
2324
		PRTCL:Emit(Emit)
2325
		Debris:AddItem(PRTCL,Lifetime2)
2326
	else
2327
		PRTCL.Enabled = true
2328
	end
2329
	return PRTCL
2330
end
2331
2332
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
2333
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
2334
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
2335
MakeForm(Part,"Wedge")
2336
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
2337
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
2338
MakeForm(Part,"Wedge")
2339
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
2340
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
2341
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2342
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
2343
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2344
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
2345
MakeForm(Part,"Cyl")
2346
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2347
for i = 1, 8 do
2348
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
2349
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
2350
end
2351
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
2352
MakeForm(Part,"Cyl")
2353
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2354
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
2355
MakeForm(Part,"Ball")
2356
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2357
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
2358
MakeForm(Part,"Wedge")
2359
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
2360
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
2361
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
2362
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
2363
MakeForm(Part,"Cyl")
2364
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2365
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
2366
MakeForm(Part,"Cyl")
2367
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2368
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
2369
MakeForm(Part,"Cyl")
2370
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2371
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
2372
MakeForm(Part,"Wedge")
2373
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
2374
local LASTPART = Handle
2375
for i = 1, 10 do
2376
	if LASTPART == Handle then
2377
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
2378
		LASTPART = Part
2379
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2380
	else
2381
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
2382
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
2383
		LASTPART = Part
2384
	end
2385
end
2386
2387
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
2388
MakeForm(Barrel,"Cyl")
2389
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
2390
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
2391
MakeForm(Part,"Cyl")
2392
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
2393
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
2394
MakeForm(Part,"Wedge")
2395
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
2396
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
2397
MakeForm(Hole,"Cyl")
2398
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
2399
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
2400
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2401
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
2402
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
2403
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
2404
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
2405
coroutine.resume(coroutine.create(function()
2406
	while wait() do
2407
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
2408
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
2409
	end
2410
end))
2411
2412
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
2413
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
2414
2415
local cR=255
2416
local cG=0
2417
local cB=0
2418
local flg5=1 local omgidk=1
2419
local add=15
2420
game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
2421
	if omgidk>10000 then omgidk=0 end
2422
	omgidk=omgidk+1
2423
	if cR>=255 then flg5=1 end
2424
	if cG>=255 then flg5=2 end
2425
	if cB>=255 then flg5=3 end
2426
	if flg5==1 then cR=cR-add cG=cG+add end
2427
	if flg5==2 then cG=cG-add cB=cB+add end
2428
	if flg5==3 then cB=cB-add cR=cR+add end
2429
	color=Color3.fromRGB(cR,cG,cB)
2430
for _, c in pairs(Weapon:GetDescendants()) do
2431
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
2432
		c.Material = "Glass"
2433
		c.Color = C3(0,0,0)
2434
	elseif c.ClassName == "Part" and c.Name == "Eye" then
2435
		c.Color = color
2436
		c.Material = "Neon"
2437
	end
2438
end
2439
end)
2440
Weapon.Parent = Character
2441
for _, c in pairs(Weapon:GetChildren()) do
2442
	if c.ClassName == "Part" then
2443
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2444
	end
2445
end
2446
2447
function swait(num)
2448
	if num == 0 or num == nil then
2449
		ArtificialHB.Event:wait()
2450
	else
2451
		for i = 0, num do
2452
			ArtificialHB.Event:wait()
2453
		end
2454
	end
2455
end
2456
2457
function chatfunc(text)
2458
	local chat = coroutine.wrap(function()
2459
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
2460
		Character:FindFirstChild("TalkingBillBoard"):destroy()
2461
	end
2462
	local Bill = Instance.new("BillboardGui",Character)
2463
	Bill.Size = UDim2.new(0,100,0,40)
2464
	Bill.StudsOffset = Vector3.new(0,3,0)
2465
	Bill.Adornee = Character.Head
2466
	Bill.Name = "TalkingBillBoard"
2467
	local Hehe = Instance.new("TextLabel",Bill)
2468
	Hehe.BackgroundTransparency = 1
2469
	Hehe.BorderSizePixel = 0
2470
	Hehe.Text = ""
2471
	Hehe.Font = "Bodoni"
2472
	Hehe.TextSize = 40
2473
	Hehe.TextStrokeTransparency = 0
2474
	Hehe.Size = UDim2.new(1,0,0.5,0)
2475
	coroutine.resume(coroutine.create(function()
2476
		while Hehe ~= nil do
2477
			swait()	
2478
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
2479
			Hehe.Rotation = math.random(-5,5)
2480
			Hehe.TextColor3 = Color3.new(0,255,0)
2481
			Hehe.TextStrokeColor3 = Color3.new(0,0,0)
2482
		end
2483
	end))
2484
	for i = 1,string.len(text),1 do
2485
		swait()
2486
		Hehe.Text = string.sub(text,1,i)
2487
	end
2488
	swait(90)--Re[math.random(1, 93)]
2489
	for i = 0, 1, .025 do
2490
		swait()
2491
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
2492
		Hehe.TextStrokeTransparency = i
2493
		Hehe.TextTransparency = i
2494
	end
2495
	Bill:Destroy()
2496
	end)
2497
chat()
2498
end
2499
2500
function onChatted(msg)
2501
	chatfunc(msg)
2502
end
2503
2504
Player.Chatted:connect(onChatted)
2505
2506
local BODY = {}
2507
for _, c in pairs(Character:GetDescendants()) do
2508
	if c:IsA("BasePart") and c.Name ~= "Handle" then
2509
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
2510
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2511
		end
2512
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
2513
	elseif c:IsA("JointInstance") then
2514
		table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
2515
	end
2516
end
2517
2518
function refit()
2519
	Character.Parent = workspace
2520
	for e = 1, #BODY do
2521
		if BODY[e] ~= nil then
2522
			local STUFF = BODY[e]
2523
			local PART = STUFF[1]
2524
			local PARENT = STUFF[2]
2525
			local MATERIAL = STUFF[3]
2526
			local COLOR = STUFF[4]
2527
			local TRANSPARENCY = STUFF[5]
2528
			--local SIZE = STUFF[6]
2529
			local NAME = STUFF[7]
2530
			if PART.ClassName == "Part" and PART ~= RootPart then
2531
				PART.Material = MATERIAL
2532
				PART.Transparency = TRANSPARENCY
2533
				PART.Name = NAME
2534
			end
2535
			if PART.Parent ~= PARENT then
2536
				Humanoid:remove()
2537
				PART.Parent = PARENT
2538
				Humanoid = IT("Humanoid",Character)
2539
			end
2540
		end
2541
	end
2542
end
2543
local BasePart = CreatePart(3, Weapon, "Marble", 0, 0, "Maroon", "BraceletPart", VT(1.01,0.3,1.01),false)
2544
2545
for i = 1, 3 do
2546
	local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Really black", "BraceletPart", VT(0.2,1.02,0.2),false)
2547
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0, 0, 0.6-0.3*i) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
2548
	MakeForm(Part,"Cyl")
2549
end
2550
for i = 1, 3 do
2551
	local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Really black", "BraceletPart", VT(0.2,1.02,0.2),false)
2552
	CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.6-0.3*i, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(90)), CF(0, 0, 0))
2553
	MakeForm(Part,"Cyl")
2554
end
2555
local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Maroon", "BraceletPart", VT(0.51,0.6,0.25),false)
2556
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
2557
MakeForm(Part,"Wedge")
2558
local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Maroon", "BraceletPart", VT(0.51,0.6,0.25),false)
2559
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125, -0.4, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
2560
MakeForm(Part,"Wedge")
2561
local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Really black", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
2562
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(-0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(90), RAD(180)), CF(0, 0, 0))
2563
MakeForm(Part,"Wedge")
2564
local Part = CreatePart(3, Weapon, "Marble", 0, 0, "Really black", "BraceletPart", VT(0.52,0.5,0.25/2.3),false)
2565
CreateWeldOrSnapOrMotor("Weld", BasePart, BasePart, Part, CF(0.125/2.3, -0.25, -0.25) * ANGLES(RAD(0), RAD(-90), RAD(180)), CF(0, 0, 0))
2566
MakeForm(Part,"Wedge")
2567
2568
for _, c in pairs(Weapon:GetChildren()) do
2569
	if c.ClassName == "Part" then
2570
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
2571
		local AURA = c:Clone()
2572
		AURA:BreakJoints()
2573
		AURA.Parent = c
2574
		AURA.CFrame = c.CFrame
2575
		AURA.Size = AURA.Size*1.001
2576
		AURA.Transparency = 0.3
2577
		AURA.BrickColor = BRICKC"Really black"
2578
		AURA.Material = "Neon"
2579
		weldBetween(c,AURA)
2580
	end
2581
end
2582
2583
local SKILLTEXTCOLOR = C3(0,255,0)
2584
local SKILLFONT = "Code"
2585
local SKILLTEXTSIZE = 7
2586
2587
local SKILLTEXTCOLOR2 = BRICKC"Really Blue".Color
2588
local SKILLFONT = "Bodoni"
2589
local SKILLTEXTSIZE = 7
2590
2591
Humanoid.Died:connect(function()
2592
	           refit()
2593
end)
2594
2595
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
2596
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
2597
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
2598
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
2599
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
2600
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
2601
local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
2602
local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
2603
local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
2604
local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
2605
local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
2606
local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame")
2607
local SKILL13FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 13 Frame")
2608
local SKILL14FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 14 Frame")
2609
local SKILL15FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 15 Frame")
2610
2611
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
2612
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
2613
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
2614
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
2615
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Burning Fury", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
2616
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Dance Boi", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
2617
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
2618
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
2619
local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Burning Ravage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
2620
local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Y] Overflowing Burn", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
2621
local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[J] Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11")
2622
local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[U] Everyone's Hopes", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12")
2623
local SKILL13TEXT = CreateLabel(SKILL13FRAME, "[N] Hell Bat", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 13")
2624
local SKILL14TEXT = CreateLabel(SKILL14FRAME, "[Q] Possessed Pistols", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 14")
2625
local SKILL15TEXT = CreateLabel(SKILL15FRAME, "[R] Burning Hopes", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 15")
2626
2627
function printbye(Name)
2628
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
2629
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
2630
end
2631
2632
workspace.ChildAdded:connect(function(instance)
2633
    for BANISH = 1, #TOBANISH do
2634
		if TOBANISH[BANISH] ~= nil then
2635
			if instance.Name == TOBANISH[BANISH] then
2636
				coroutine.resume(coroutine.create(function()
2637
					printbye(instance.Name)
2638
					instance:ClearAllChildren()
2639
					Debris:AddItem(instance,0.0005)
2640
				end))
2641
			end
2642
		end
2643
	end
2644
end)
2645
2646
--//=================================\\
2647
--||	    GUIS AND MISC
2648
--\\=================================//
2649
2650
local SKILLTEXTCOLOR = C3(1,1,1)
2651
local SKILLFONT = "SciFi"
2652
local SKILLTEXTSIZE = 4
2653
2654
local ATTACKS = {"Burning Shower - I","Big Bat Wave - O","Hope Shotgun - K","Rainbow Fire - M","New Form - L"}
2655
2656
for i = 1, #ATTACKS do
2657
	local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.04*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
2658
	local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Skill text")
2659
	SKILLTEXT.TextXAlignment = "Right"
2660
	SKILLTEXT.Rotation = i*3
2661
end
2662
2663
local BMUSIC = IT("Sound",RootPart)
2664
local VOLUME = 3
2665
local PITCH = 1
2666
local SONGID = 554435540
2667
2668
local HEALTHBAR = CreateFrame(WEAPONGUI, 0.5, 1, UD2(1-0.20, 0, 0.75, 0), UD2(0.20, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Health Bar") 
2669
local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 0, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), BRICKC"Shamrock".Color, C3(0, 0, 0),"Health Cover")
2670
local HEALTHTEXT = CreateLabel(HEALTHBAR, Humanoid.Health.."/"..Humanoid.MaxHealth, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "HP")
2671
Character.Health:remove()
2672
HEALTHBAR.Rotation = (#ATTACKS*3)+3
2673
local WHOAMI = CreateFrame(WEAPONGUI, 1, 1, UD2(1-0.26, 0, 0.69, 0), UD2(0.26, 0, 0.02, 0), C3(0,0,0), C3(0, 0, 0),"Ban") 
2674
WHOAMI.Rotation = (#ATTACKS*3)+3
2675
CreateLabel(WHOAMI, "New attacks", SKILLTEXTCOLOR, SKILLTEXTSIZE+4, SKILLFONT, 0, 2, 0, "Yes")
2676
2677
Humanoid.Died:Connect(function()
2678
	RootPart:remove()
2679
	CreateSound(160718677, Head, 4, 1, false)
2680
	BMUSIC:remove()
2681
	Effects:remove()
2682
	WEAPONGUI:remove()
2683
end)
2684
local GRUNTS = {1146556975,1146556706,1278006076}
2685
2686
--//=================================\\
2687
--||			DAMAGING
2688
--\\=================================//
2689
2690
function PAW_HAHA(LOC,AIMTO,OUCH)
2691
	WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1.4,1.4,1.4), Transparency = 0, Transparency2 = 1, CFrame = CF(LOC), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = 138083993, SoundPitch = MRANDOM(8,12)/13, SoundVolume = 2})
2692
	for i = 1, 4 do
2693
		local POS1 = CF(LOC,AIMTO)*CF(0,0,-45).p
2694
		local AIMPOS = CF(LOC,POS1) * CF(0,0,-45) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,MRANDOM(5,75)/10).p
2695
		local HIT,POS = CastProperRay(LOC,AIMPOS,1000,Character)
2696
		local DISTANCE = (POS - LOC).Magnitude
2697
		if HIT then
2698
			local HUM = nil
2699
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
2700
				HUM = HIT.Parent:FindFirstChildOfClass("Humanoid")
2701
			elseif HIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
2702
				HUM = HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")
2703
			end
2704
			if HUM then
2705
				ApplyDamage(HUM,OUCH+MRANDOM(-3,3))
2706
			end
2707
		end
2708
		WACKYEFFECT({Time = 20, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 4})
2709
		WACKYEFFECT({Time = 20, EffectType = "Box", Size = VT(0,0,DISTANCE), Size2 = VT(0.7,0.7,DISTANCE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(LOC,POS)*CF(0,0,-DISTANCE/2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New Yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2710
	end
2711
end
2712
2713
function Banish(Foe)
2714
	if Foe then
2715
		coroutine.resume(coroutine.create(function()
2716
			--if game.Players:FindFirstChild(Foe.Name) then
2717
				table.insert(TOBANISH,Foe.Name)
2718
				printbye(Foe.Name)
2719
			--end
2720
			Foe.Archivable = true
2721
			local CLONE = Foe:Clone()
2722
			Foe:Destroy()
2723
			CLONE.Parent = Effects
2724
			CLONE:BreakJoints()
2725
			local MATERIALS = {"Glass","Neon"}
2726
			for _, c in pairs(CLONE:GetDescendants()) do
2727
				if c:IsA("BasePart") then
2728
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
2729
 						CreateSound(340722848, c, 10, 1, false)
2730
					end
2731
					c.Anchored = true
2732
					c.Transparency = c.Transparency + 0.2
2733
					c.Material = MATERIALS[MRANDOM(1,2)]
2734
					c.Color = C3(0,255,0)
2735
					if c.ClassName == "MeshPart" then
2736
						c.TextureID = ""
2737
					end
2738
					if c:FindFirstChildOfClass("SpecialMesh") then
2739
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
2740
					end
2741
					if c:FindFirstChildOfClass("Decal") then
2742
						c:FindFirstChildOfClass("Decal"):remove()
2743
					end
2744
					c.Name = "Banished"
2745
					c.CanCollide = false
2746
				else
2747
					c:remove()
2748
				end
2749
			end
2750
			local A = false
2751
			for i = 1, 35 do
2752
				if A == false then
2753
					A = true
2754
				elseif A == true then
2755
					A = false
2756
				end
2757
				for _, c in pairs(CLONE:GetDescendants()) do
2758
					if c:IsA("BasePart") then
2759
						c.Anchored = true
2760
						c.Material = MATERIALS[MRANDOM(1,2)]
2761
						c.Transparency = c.Transparency + 0.8/35
2762
						if A == false then
2763
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
2764
						elseif A == true then
2765
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
2766
						end
2767
					end
2768
				end
2769
				Swait()
2770
			end
2771
			CLONE:remove()
2772
		end))
2773
	end
2774
end
2775
2776
function ApplyAoE(POSITION,RANGE,ISBANISH)
2777
	local CHILDREN = workspace:GetDescendants()
2778
	for index, CHILD in pairs(CHILDREN) do
2779
		if CHILD.ClassName == "Model" and CHILD ~= Character then
2780
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2781
			if HUM then
2782
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2783
				if TORSO then
2784
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
2785
						if ISBANISH == true then
2786
							Banish(CHILD)
2787
						else
2788
							if ISBANISH == "Gravity" then
2789
								HUM.PlatformStand = true
2790
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2791
									local grav = Instance.new("BodyPosition",TORSO)
2792
									grav.D = 15
2793
									grav.P = 20000
2794
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2795
									grav.position = TORSO.Position
2796
									grav.Name = "V3BanishForce"..Player.Name
2797
								else
2798
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
2799
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
2800
								end
2801
							else
2802
								HUM.PlatformStand = false
2803
							end
2804
						end
2805
					elseif ISBANISH == "Gravity" then
2806
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
2807
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
2808
							HUM.PlatformStand = false
2809
						end
2810
					end
2811
				end
2812
			end
2813
		end
2814
	end
2815
end
2816
2817
UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
2818
2819
DeathTaunt = {"You Will Know Pain."}
2820
--//=================================\\
2821
--||	ATTACK FUNCTIONS AND STUFF
2822
--\\=================================//
2823
local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
2824
2825
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
2826
MakeForm(RightHole,"Cyl")
2827
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
2828
MakeForm(LeftHole,"Cyl")
2829
2830
function getbloody(victim,amount)
2831
	local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
2832
	PART.CFrame = victim.CFrame
2833
	local HITPLAYERSOUNDS = {"356551938","264486467"}
2834
	Debris:AddItem(PART,5)
2835
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2836
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2837
	CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
2838
	local prtcl = asd:Clone()
2839
	prtcl.Parent = PART
2840
	prtcl:Emit(amount*10)
2841
end
2842
2843
GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
2844
2845
function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
2846
	if DoesCourontine == false then
2847
		local Direction = CF(Part.Position, ToLocation)
2848
		local Distance = (Part.Position - ToLocation).magnitude
2849
		for i = 1, AmountOfTime do
2850
			Swait()
2851
			Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
2852
			Direction = Part.CFrame
2853
		end
2854
		Part:remove()
2855
	elseif DoesCourontine == true then
2856
		coroutine.resume(coroutine.create(function()
2857
			local Direction = CF(Part.Position, ToLocation)
2858
			local Distance = (Part.Position - ToLocation).magnitude
2859
			for i = 1, AmountOfTime do
2860
				Swait()
2861
				Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
2862
				Direction = Part.CFrame
2863
			end
2864
			Part:remove()
2865
		end))
2866
	end
2867
end
2868
2869
function Burning_Hopes()
2870
	ATTACK = true
2871
	Rooted = true
2872
	local AIMPOS = Mouse.Hit.p
2873
	local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character)
2874
	coroutine.resume(coroutine.create(function()
2875
		local RAYS = {}
2876
		for i = 1, 4 do
2877
			local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Ray", VT(50,2000,50))
2878
			MakeForm(RAY,"Cyl")
2879
			RAY.Mesh.Scale = VT(1,1.1,1)
2880
			table.insert(RAYS,RAY)
2881
		end
2882
		CreateSound(348663022, Effects, 2, 1.2, false)
2883
		for i = 1, 100 do
2884
			Swait()
2885
			for e = 1, #RAYS do
2886
				if RAYS[e] ~= nil then
2887
					local RAY = RAYS[e]
2888
					RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0)
2889
					RAY.Transparency = RAY.Transparency - 0.01
2890
				end
2891
			end
2892
		end
2893
		for i = 1, 20 do
2894
			Swait()
2895
			for e = 1, #RAYS do
2896
				if RAYS[e] ~= nil then
2897
					local RAY = RAYS[e]
2898
					RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20)
2899
				end
2900
			end
2901
		end
2902
		wait(0.3)
2903
		for i = 1, 16 do
2904
			local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p
2905
			SpawnTrail(POS+VT(0,200,0),POS)
2906
		end
2907
		for i = 1, 4 do
2908
			CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5)
2909
		end
2910
2911
		CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false)
2912
		CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false)
2913
		CreateSound(130972023, Effects, 2, 1, false)
2914
		local POS = Mouse.Hit.p
2915
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,0,0))
2916
		MakeForm(RAY,"Cyl")
2917
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "New yeller", "Strike", VT(130,130,130))
2918
		MakeForm(SPHERE,"Ball")
2919
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(120,120,120))
2920
		MakeForm(SHIELD,"Ball")
2921
		SHIELD.CFrame = CF(AIMPOS)
2922
		RAY.CFrame = CF(AIMPOS)
2923
		SPHERE.CFrame = CF(AIMPOS)
2924
		local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
2925
		CreateSound(415700134, SPHERE, 10, 0.8, false)
2926
		for i = 1, 200 do
2927
			Swait()
2928
		WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
2929
	MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5))
2930
			RAY.Size = RAY.Size + VT(0,0,0)
2931
			SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05)
2932
			SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05)
2933
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
2934
		end	
2935
		for i = 1, 45 do
2936
			Swait()
2937
			RAY.Transparency = RAY.Transparency + 1/45
2938
			SPHERE.Transparency = RAY.Transparency 
2939
			SHIELD.Transparency = SPHERE.Transparency + 1/45
2940
		end
2941
		RAY:remove()
2942
		SHIELD:remove()
2943
		SPHERE:remove()
2944
	end))
2945
	ATTACK = false
2946
	Rooted = false
2947
end
2948
2949
function OP()
2950
	ATTACK = true
2951
	Rooted = false
2952
	for i = 0, 1, 0.1 / Animation_Speed do
2953
		Swait()
2954
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2955
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2956
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2957
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2958
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2959
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2960
	end
2961
	Rooted = true
2962
	local GYRO = IT("BodyGyro", RootPart)
2963
	GYRO.D = 100
2964
	GYRO.P = 2000
2965
	GYRO.MaxTorque = VT(0, 4000000, 0)
2966
	GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2967
	for i = 1, 15 do
2968
		for i = 1, 15 do
2969
			Swait()
2970
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
2971
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2972
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
2973
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2974
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
2975
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2976
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
2977
		end
2978
		coroutine.resume(coroutine.create(function()
2979
			local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really Blue", "Eyeball", VT(0, 0, 0))
2980
			CreateSound("814168787", EYE, 10, 1)
2981
			EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
2982
			local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
2983
			MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
2984
			local ATTACKI = false
2985
			local TORS
2986
			for i = 1, 10 do
2987
				Swait()
2988
				M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
2989
				EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
2990
			end
2991
			for i = 1, 100 do
2992
				Swait()
2993
				for _, c in pairs(workspace:GetChildren()) do
2994
					if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
2995
						local HUMANOID = c:FindFirstChildOfClass("Humanoid")
2996
						if 0 < HUMANOID.Health then
2997
							local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
2998
							if (TORSO.Position - EYE.Position).Magnitude < 35 then
2999
								ATTACKI = true
3000
								TORS = TORSO
3001
							end
3002
						end
3003
					end
3004
				end
3005
				if ATTACKI == true then
3006
					break
3007
				end
3008
				EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
3009
			end
3010
			if ATTACKI == false then
3011
				for i = 1, 10 do
3012
					Swait()
3013
					M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
3014
					EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
3015
				end
3016
			else
3017
				if TORS ~= nil then
3018
					CreateSound("213603013", EYE, 10, 2)
3019
					local DIST = (TORS.Position - EYE.Position).Magnitude
3020
					MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
3021
					MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
3022
					MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
3023
					EYE.CFrame = CF(EYE.Position, TORS.Position)
3024
					TORS.Parent:BreakJoints()
3025
					Swait(35)
3026
				end
3027
				for i = 1, 10 do
3028
					Swait()
3029
					M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
3030
				end
3031
			end
3032
			EYE:remove()
3033
		end))
3034
	end
3035
	GYRO:remove()
3036
	ATTACK = false
3037
	Rooted = false
3038
end
3039
3040
function Absoluteum()
3041
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
3042
	if HITFLOOR ~= nil then
3043
		do
3044
			local HITBODIES = {}
3045
			ATTACK = true
3046
			Rooted = true
3047
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "ABSOLUTEUM", VT(0, 0, 0))
3048
			MakeForm(ABSOLUTE, "Ball")
3049
			CreateSound("416200578", RootPart, 10, 1)
3050
			for i = 0, 8, 0.1 / Animation_Speed do
3051
				Swait()
3052
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
3053
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
3054
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
3055
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "ABSOLUTEUM", VT(2, 2, 2))
3056
				MakeForm(CHARGE, "Ball")
3057
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
3058
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
3059
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3060
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3061
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3062
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3063
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3064
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3065
			end
3066
			CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
3067
			CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
3068
			for i = 1, 45 do
3069
				Swait()
3070
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3071
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3072
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3073
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3074
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3075
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3076
			end
3077
			coroutine.resume(coroutine.create(function()
3078
				local IMPACT = false
3079
				local BULLET = ABSOLUTE
3080
				MakeForm(BULLET, "Ball")
3081
				BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
3082
				for i = 1, 500 do
3083
					Swait()
3084
					BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
3085
					local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
3086
					MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
3087
					if HIT ~= nil then
3088
						IMPACT = true
3089
						break
3090
					end
3091
				end
3092
				if IMPACT == false then
3093
					for i = 1, 40 do
3094
						Swait()
3095
						BULLET.Size = BULLET.Size * 0.9
3096
					end
3097
					BULLET:remove()
3098
				else
3099
					CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
3100
					for i = 1, 175 do
3101
						Swait()
3102
						BULLET.Size = BULLET.Size * 0.99
3103
						Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85)
3104
					end
3105
					CreateSound("438666001", BULLET, 10, 3)
3106
					Swait(35)
3107
					BULLET.Transparency = 1
3108
					for i = 1, 20 do
3109
						for e = 1, 5 do
3110
							MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0)
3111
							Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3)
3112
						end
3113
						AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
3114
						CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
3115
						CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
3116
						MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
3117
						Swait(5)
3118
						for e = 1, #HITBODIES do
3119
							if HITBODIES[e] ~= nil then
3120
								local BOD = HITBODIES[e]
3121
								local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
3122
								if TORS then
3123
									BOD:BreakJoints()
3124
									for _, c in pairs(BOD:GetChildren()) do
3125
										if c.ClassName == "Part" or c.ClassName == "MeshPart" then
3126
											local bv = Instance.new("BodyVelocity")
3127
											bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
3128
											bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
3129
											bv.Parent = c
3130
											Debris:AddItem(bv, 0.2)
3131
										end
3132
									end
3133
								end
3134
							end
3135
						end
3136
						CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Really red", VT(i, 0, i) * 2)
3137
					end
3138
					MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
3139
					Debris:AddItem(BULLET, 10)
3140
				end
3141
			end))
3142
			ATTACK = false
3143
			Rooted = false
3144
		end
3145
	end
3146
end
3147
3148
function Nuke()
3149
	ATTACK = true
3150
	Rooted = true
3151
	local CHARGE = false
3152
	local BLASTS = {468991944, 468991990}
3153
	coroutine.resume(coroutine.create(function()
3154
		repeat
3155
			Swait()
3156
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
3157
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
3158
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
3159
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
3160
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3161
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
3162
		until CHARGE == true
3163
		for i = 0, 0.4, 0.1 / Animation_Speed do
3164
			Swait()
3165
			WACKYEFFECT({
3166
				Time = 15,
3167
				EffectType = "Sphere",
3168
				Size = VT(60, 60, 60),
3169
				Size2 = VT(0, 0, 0),
3170
				Transparency = 1,
3171
				Transparency2 = 0.7,
3172
				CFrame = CF(RootPart.Position),
3173
				MoveToPos = nil,
3174
				RotationX = 0,
3175
				RotationY = 0,
3176
				RotationZ = 0,
3177
				Material = "Neon",
3178
				Color = C3(1, 1, 1),
3179
				SoundID = nil,
3180
				SoundPitch = nil,
3181
				SoundVolume = nil
3182
			})
3183
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
3184
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3185
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3186
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3187
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3188
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3189
		end
3190
		coroutine.resume(coroutine.create(function()
3191
			local POS = RootPart.Position
3192
			wait(0.2)
3193
			for i = 1, 5 do
3194
				WACKYEFFECT({
3195
					Time = 65,
3196
					EffectType = "Sphere",
3197
					Size = VT(2, 2, 2),
3198
					Size2 = VT(0, 0, 500),
3199
					Transparency = 1,
3200
					Transparency2 = 0,
3201
					CFrame = CF(POS),
3202
					MoveToPos = nil,
3203
					RotationX = MRANDOM(-2, 2),
3204
					RotationY = MRANDOM(-12, 12),
3205
					RotationZ = MRANDOM(-2, 2),
3206
					Material = "Neon",
3207
					Color = C3(1, 1, 1),
3208
					SoundID = nil,
3209
					SoundPitch = nil,
3210
					SoundVolume = nil
3211
				})
3212
			end
3213
			wait(1)
3214
			SHAKECAM(POS, 9999999999, 25, 25)
3215
			ApplyAoE(POS, 450, true)
3216
			WACKYEFFECT({
3217
				Time = 85,
3218
				EffectType = "Sphere",
3219
				Size = VT(120, 120, 120),
3220
				Size2 = VT(350, 350, 350),
3221
				Transparency = 0,
3222
				Transparency2 = 1,
3223
				CFrame = CF(POS),
3224
				MoveToPos = nil,
3225
				RotationX = 0,
3226
				RotationY = 0,
3227
				RotationZ = 0,
3228
				Material = "Neon",
3229
				Color = C3(1, 1, 1),
3230
				SoundID = nil,
3231
				SoundPitch = 1,
3232
				SoundVolume = 10
3233
			})
3234
			for i = 1, 20 do
3235
				WACKYEFFECT({
3236
					Time = 85,
3237
					EffectType = "Sphere",
3238
					Size = VT(120, 120, 120),
3239
					Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
3240
					Transparency = 0.8,
3241
					Transparency2 = 1,
3242
					CFrame = CF(POS),
3243
					MoveToPos = nil,
3244
					RotationX = 0,
3245
					RotationY = 0,
3246
					RotationZ = 0,
3247
					Material = "Neon",
3248
					Color = C3(1, 1, 1),
3249
					SoundID = nil,
3250
					SoundPitch = 1,
3251
					SoundVolume = 10
3252
				})
3253
				WACKYEFFECT({
3254
					Time = 100,
3255
					EffectType = "Wave",
3256
					Size = VT(25, 2, 25),
3257
					Size2 = VT(400, 0, 400) * 1.2,
3258
					Transparency = 0,
3259
					Transparency2 = 1,
3260
					CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3261
					MoveToPos = nil,
3262
					RotationX = 0,
3263
					RotationY = 0,
3264
					RotationZ = 0,
3265
					Material = "Neon",
3266
					Color = C3(1, 1, 1),
3267
					SoundID = nil,
3268
					SoundPitch = nil,
3269
					SoundVolume = nil
3270
				})
3271
			end
3272
			local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
3273
			for i = 1, 5 do
3274
				CreateSound(438666077, Effects, 15, 1 - i / 15, false)
3275
				WACKYEFFECT({
3276
					Time = 120,
3277
					EffectType = "Wave",
3278
					Size = VT(150, 2, 150),
3279
					Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
3280
					Transparency = 0,
3281
					Transparency2 = 1,
3282
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
3283
					MoveToPos = nil,
3284
					RotationX = 0,
3285
					RotationY = 0,
3286
					RotationZ = 0,
3287
					Material = "Neon",
3288
					Color = C3(1, 1, 1),
3289
					SoundID = nil,
3290
					SoundPitch = nil,
3291
					SoundVolume = nil
3292
				})
3293
			end
3294
		end))
3295
		for i = 0, 1, 0.1 / Animation_Speed do
3296
			Swait()
3297
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
3298
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3299
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3300
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3301
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3302
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3303
		end
3304
		ATTACK = false
3305
		Rooted = false
3306
	end))
3307
	for i = 1, 30 do
3308
		wait(0.01)
3309
		local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
3310
		local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
3311
		if HITFLOOR then
3312
			ApplyAoE(HITPOS, 65, true)
3313
			local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
3314
			WACKYEFFECT({
3315
				Time = 25,
3316
				EffectType = "Sphere",
3317
				Size = VT(22, 22, 22),
3318
				Size2 = VT(85, 85, 85),
3319
				Transparency = 0,
3320
				Transparency2 = 1,
3321
				CFrame = CF(HITPOS),
3322
				MoveToPos = nil,
3323
				RotationX = 0,
3324
				RotationY = 0,
3325
				RotationZ = 0,
3326
				Material = "Neon",
3327
				Color = C3(1, 1, 1),
3328
				SoundID = BLASTS[MRANDOM(1, #BLASTS)],
3329
				SoundPitch = MRANDOM(9, 12) / 10,
3330
				SoundVolume = 10
3331
			})
3332
			for e = 1, 3 do
3333
				WACKYEFFECT({
3334
					EffectType = "Wave",
3335
					Size = VT(25, 0, 25),
3336
					Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
3337
					Transparency = 0,
3338
					Transparency2 = 1,
3339
					CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
3340
					MoveToPos = nil,
3341
					RotationX = 0,
3342
					RotationY = 3,
3343
					RotationZ = 0,
3344
					Material = "Neon",
3345
					Color = C3(1, 1, 1),
3346
					SoundID = nil,
3347
					SoundPitch = nil,
3348
					SoundVolume = nil
3349
				})
3350
				WACKYEFFECT({
3351
					Time = 35,
3352
					EffectType = "Sphere",
3353
					Size = VT(22, 45, 22),
3354
					Size2 = VT(25, 45 + e * 75, 25),
3355
					Transparency = 0,
3356
					Transparency2 = 1,
3357
					CFrame = CF(HITPOS) * TURN,
3358
					MoveToPos = nil,
3359
					RotationX = 0,
3360
					RotationY = 0,
3361
					RotationZ = 0,
3362
					Material = "Neon",
3363
					Color = C3(1, 1, 1),
3364
					SoundID = nil,
3365
					SoundPitch = MRANDOM(9, 12) / 10,
3366
					SoundVolume = 10
3367
				})
3368
			end
3369
		end
3370
	end
3371
	CHARGE = true
3372
end
3373
3374
function SpectralBanishing()
3375
	ATTACK = true
3376
	Rooted = false
3377
	chatfunc("If you desire to be a ghost...", 20)
3378
	for i = 0, 5, 0.1 / Animation_Speed do
3379
		Swait()
3380
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
3381
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
3382
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
3383
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
3384
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3385
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3386
	end
3387
	chatfunc("Then move on to the afterlife!", 6)
3388
	CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
3389
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.1, 0.1, 0.1))
3390
	MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Really red", VT(0.05, 0.05, 0.05))
3391
	local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
3392
	local distance = (GunPoint.Position - Way).magnitude
3393
	for i = 1, 5 do
3394
		local laser = Instance.new("Part", Effects)
3395
		laser.Transparency = 0
3396
		laser.CanCollide = false
3397
		laser.Anchored = true
3398
		laser.Color = C3(1, 0, 0)
3399
		laser.Material = "Neon"
3400
		laser.formFactor = Enum.FormFactor.Custom
3401
		laser.Size = Vector3.new(0.15, 0.15, distance)
3402
		laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
3403
		table.insert(Effects2, {
3404
			laser,
3405
			"Disappear",
3406
			0.1,
3407
			1,
3408
			1,
3409
			1,
3410
			2
3411
		})
3412
	end
3413
	coroutine.resume(coroutine.create(function()
3414
		Swait(15)
3415
		local FILTER = IT("ColorCorrectionEffect", game.Lighting)
3416
		for i = 1, 25 do
3417
			Swait()
3418
			FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
3419
		end
3420
		local GAME = game.Players:GetChildren()
3421
		for PLAYER = 1, #GAME do
3422
			do
3423
				local PLAY = GAME[PLAYER]
3424
				if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
3425
					PLAY.Character.Parent = nil
3426
					coroutine.resume(coroutine.create(function()
3427
						if PLAY.Character:FindFirstChild("HumanoidRootPart") then
3428
							PLAY.Character.Parent = workspace
3429
							local Value = IT("BoolValue", Delete)
3430
							Value.Name = PLAY.Name
3431
						end
3432
					end))
3433
				end
3434
			end
3435
		end
3436
		for i = 1, 25 do
3437
			Swait()
3438
			FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
3439
		end
3440
	end))
3441
	for i = 0, 2, 0.1 / Animation_Speed do
3442
		Swait()
3443
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
3444
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
3445
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
3446
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
3447
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3448
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
3449
	end
3450
	ATTACK = false
3451
	Rooted = false
3452
end
3453
3454
function Madness()
3455
	ATTACK = true
3456
	Rooted = false
3457
	local GYRO = IT("BodyGyro",RootPart)
3458
	GYRO.D = 750
3459
	GYRO.P = 20000
3460
	GYRO.MaxTorque = VT(0,40000000,0)
3461
	local LOCKED = true
3462
	local SHOT = false
3463
	coroutine.resume(coroutine.create(function()
3464
		for i=0, 1, 0.1 / Animation_Speed do
3465
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
3466
			Swait()
3467
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3468
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3469
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3470
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3471
		end
3472
		LOCKED = false
3473
		SHOT = true
3474
		repeat
3475
			GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
3476
			Swait()
3477
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3478
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3479
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3480
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3481
		until HOLD == false and SHOT == false
3482
		for i=0, 0.3, 0.1 / Animation_Speed do
3483
			Swait()
3484
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3485
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3486
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3487
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3488
		end
3489
		GYRO:remove()
3490
		ATTACK = false
3491
		Rooted = false
3492
	end))
3493
	repeat wait() until LOCKED == false
3494
	repeat
3495
		SHOT = true
3496
		wait(0.2)
3497
		SHOT = false
3498
		local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
3499
		local HIT = BULLET.Hit
3500
		local HITPOS = BULLET.End
3501
		if HIT then
3502
			if HIT.Parent:FindFirstChildOfClass("Humanoid") then
3503
				Banish(HIT.Parent)
3504
			end
3505
		end
3506
		WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
3507
		WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
3508
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
3509
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
3510
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
3511
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
3512
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
3513
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
3514
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
3515
	until HOLD == false
3516
end
3517
3518
function EMOTE()
3519
	ATTACK = true
3520
	Rooted = false
3521
	local LOOP = 0
3522
	for i=0, 0.1, 0.1 / Animation_Speed do
3523
		Swait()
3524
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3525
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3526
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3527
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3528
	end
3529
	for i=0, 3, 0.1 / Animation_Speed do
3530
		Swait()
3531
		LOOP = LOOP + 1
3532
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3533
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3534
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3535
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3536
	end
3537
	for i=0, 0.1, 0.1 / Animation_Speed do
3538
		Swait()
3539
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3540
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
3541
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3542
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3543
	end
3544
	ATTACK = false
3545
	Rooted = false
3546
end
3547
3548
function Kill(Char)
3549
	local NewCharacter = IT("Model",Effects)
3550
	NewCharacter.Name = "Ow im ded ;-;"
3551
	for _, c in pairs(Char:GetDescendants()) do
3552
		if c:IsA("BasePart") and c.Transparency == 0 then
3553
			if c.Parent == Char then
3554
				getbloody(c,5)
3555
			end
3556
			c:BreakJoints()
3557
			c.Material = "Glass"
3558
			c.Color = C3(0.5,0,0)
3559
			c.CanCollide = true
3560
			c.Transparency = 0.3
3561
			if c:FindFirstChildOfClass("SpecialMesh") then
3562
				c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
3563
			end
3564
			if c.Name == "Head" then
3565
				c:ClearAllChildren()
3566
				c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
3567
			end
3568
			if c.ClassName == "MeshPart" then
3569
				c.TextureID = ""
3570
			end
3571
			if c:FindFirstChildOfClass("BodyPosition") then
3572
				c:FindFirstChildOfClass("BodyPosition"):remove()
3573
			end
3574
			if c:FindFirstChildOfClass("ParticleEmitter") then
3575
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
3576
			end
3577
			c.Parent = NewCharacter
3578
			c.Name = "DeadPart"
3579
			c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
3580
			c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
3581
		end
3582
	end
3583
	Char:remove()
3584
	Debris:AddItem(NewCharacter,5)
3585
end
3586
3587
function Taunt()
3588
	ATTACK = true
3589
	Rooted = true
3590
	local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
3591
	repeat
3592
		Swait()
3593
		TAUNT.Parent = Torso
3594
		TAUNT.Playing = true
3595
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3596
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
3597
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3598
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3599
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3600
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3601
	until TAUNT.TimePosition >= 1.25
3602
	for i=0, 1.6, 0.1 / Animation_Speed do
3603
		Swait()
3604
		TAUNT.Parent = Torso
3605
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
3606
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
3607
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3608
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3609
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3610
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3611
	end
3612
	ATTACK = false
3613
	Rooted = false
3614
end
3615
3616
function oofBeam()
3617
	ATTACK = true
3618
	Rooted = false
3619
    VALUE2 = true
3620
	local GYRO = IT("BodyGyro", RootPart)
3621
	GYRO.D = 20
3622
	GYRO.P = 4000
3623
	GYRO.MaxTorque = VT(0, 40000, 0)
3624
	local POS = RootPart.Position + VT(0, 25, 0)
3625
	CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
3626
		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)
3627
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3628
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3629
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3630
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3631
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3632
	coroutine.resume(coroutine.create(function()
3633
		local E = 0
3634
		repeat
3635
			E = E + 5
3636
			GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
3637
			Swait()
3638
		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)
3639
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3640
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
3641
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
3642
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3643
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
3644
		until ATTACK == false
3645
		GYRO:remove()
3646
	end))
3647
	for i = 1, 50 do
3648
		Swait()
3649
	end
3650
	for i = 1, 25 do
3651
		Swait()
3652
		WACKYEFFECT({
3653
			Time = 15,
3654
			EffectType = "Skull",
3655
			Size = VT(4, 4, 4),
3656
			Size2 = VT(0, 0, 0),
3657
			Transparency = 1,
3658
			Transparency2 = 0,
3659
			CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
3660
			MoveToPos = Eon.Position,
3661
			RotationX = 0,
3662
			RotationY = 0,
3663
			RotationZ = 0,
3664
			Material = "Neon",
3665
			Color = C3(1, 0, 0),
3666
			SoundID = nil,
3667
			SoundPitch = nil,
3668
			SoundVolume = nil
3669
		})
3670
	end
3671
	local LOOP = 0
3672
	local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really blue"), "Beamo", VT(0,0,0))
3673
	MakeForm(BEAMO, "Ball")
3674
	local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
3675
	MakeForm(BEAM, "Cyl")
3676
	repeat
3677
		local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
3678
		if DISTANCE < 2000 then
3679
			BEAMO.Size = VT(3 + 1 * COS(SINE / 4),  3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
3680
	        BEAMO.CFrame = CF(Eon.Position)
3681
			BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
3682
			BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
3683
			ApplyAoE(Mouse.Hit.p, 14,true,false)
3684
			WACKYEFFECT({
3685
				Time = 35,
3686
				EffectType = "Sphere",
3687
				Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
3688
				Size2 = VT(5, 75, 5),
3689
				Transparency = 0,
3690
				Transparency2 = 1,
3691
				CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
3692
				MoveToPos = nil,
3693
				RotationX = 0,
3694
				RotationY = 0,
3695
				RotationZ = 0,
3696
				Material = "Neon",
3697
				Color = C3(1, 0, 0),
3698
				SoundID = nil,
3699
				SoundPitch = MRANDOM(9, 12) / 10,
3700
				SoundVolume = 10
3701
			})
3702
		WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3703
			Swait()
3704
			LOOP = LOOP + 1
3705
		end
3706
	until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
3707
	coroutine.resume(coroutine.create(function()
3708
		for i = 1, 15 do
3709
			Swait()
3710
			BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
3711
			BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
3712
			BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
3713
			BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
3714
end
3715
		BEAM:remove()
3716
		BEAMO:remove()
3717
	end))
3718
	ATTACK = false
3719
	Rooted = false
3720
    VALUE2 = false
3721
end
3722
3723
function TakeOnMe()
3724
	Speed = 5
3725
	local MEME = CreateSound(0, Effects, 2, 1, false)
3726
	ATTACK = true
3727
	Rooted = false
3728
	local DANCE = true
3729
	local KEY = Mouse.KeyDown:connect(function(NEWKEY)
3730
		if NEWKEY == "p" then
3731
			DANCE = false
3732
		end
3733
	end)
3734
	PLAYSONG = false
3735
	while true do
3736
		for i = 1, 15 do
3737
			Swait()
3738
			MEME.Parent = Effects
3739
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3740
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3741
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3742
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3743
			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)
3744
			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)
3745
		end
3746
		if DANCE == false then
3747
			break
3748
		end
3749
		for i = 1, 15 do
3750
			Swait()
3751
			MEME.Parent = Effects
3752
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3753
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3754
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3755
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3756
			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)
3757
			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)
3758
		end
3759
	end
3760
	PLAYSONG = true
3761
	KEY:Disconnect()
3762
	MEME:remove()
3763
	Speed = 25
3764
	ATTACK = false
3765
	Rooted = false
3766
end
3767
3768
function Banisher_Bullet()
3769
	ATTACK = true
3770
	Rooted = false
3771
	for i=0, 0.05, 0.1 / Animation_Speed do
3772
		Swait()
3773
		turnto(Mouse.Hit.p)
3774
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3775
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3776
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3777
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3778
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3779
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3780
	end
3781
	repeat
3782
		for i=0, 0.05, 0.1 / Animation_Speed do
3783
			Swait()
3784
			turnto(Mouse.Hit.p)
3785
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3786
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3787
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3788
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3789
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3790
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3791
		end
3792
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
3793
		SpawnTrail(Hole.Position,POS)
3794
		if HIT ~= nil then
3795
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
3796
				Banish(HIT.Parent)
3797
			end
3798
		end
3799
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3800
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3801
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3802
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
3803
		for i=0, 0.05, 0.1 / Animation_Speed do
3804
			Swait()
3805
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3806
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
3807
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3808
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3809
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3810
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3811
		end
3812
	until KEYHOLD == false
3813
	ATTACK = false
3814
	Rooted = false
3815
end
3816
function Execute()
3817
	ATTACK = true
3818
	Rooted = false
3819
	local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
3820
	Part.Color = C3(0,0,0)
3821
	MakeForm(Part,"Wedge")
3822
	Part.CanCollide = true
3823
	CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
3824
	for i=0, 1, 0.1 / Animation_Speed do
3825
		Swait()
3826
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
3827
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
3828
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3829
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3830
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3831
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3832
	end
3833
	CreateSound(541909867, RightBarrel, 7, 1, false)
3834
	local TOCH = Part.Touched:Connect(function(hit)
3835
		if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
3836
			Banish(hit.Parent)
3837
		end
3838
	end)
3839
	for i=0, 0.35, 0.1 / Animation_Speed do
3840
		Swait()
3841
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
3842
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
3843
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3844
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3845
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3846
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3847
	end
3848
	TOCH:disconnect()
3849
	for i=0, 0.35, 0.1 / Animation_Speed do
3850
		Swait()
3851
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
3852
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
3853
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3854
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3855
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3856
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3857
	end
3858
	Part:remove()
3859
	ATTACK = false
3860
	Rooted = false
3861
end
3862
function Banisher_Burn()
3863
	ATTACK = true
3864
	Rooted = true
3865
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
3866
	for i=0, 1, 0.1 / Animation_Speed do
3867
		Swait()
3868
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
3869
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3870
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3871
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3872
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3873
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3874
	end	
3875
	coroutine.resume(coroutine.create(function()
3876
		local POS = Mouse.Hit.p
3877
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Lime green", "Strike", VT(0,2000,0))
3878
		MakeForm(RAY,"Cyl")
3879
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0))
3880
		MakeForm(SPHERE,"Ball")
3881
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Strike", VT(0,0,0))
3882
		MakeForm(SHIELD,"Ball")
3883
		SHIELD.CFrame = CF(POS)
3884
		RAY.CFrame = CF(POS)
3885
		SPHERE.CFrame = CF(POS)
3886
		CreateSound(440145570, SPHERE, 10, 0.8, false)
3887
		CreateSound(415700134, SPHERE, 10, 0.8, false)
3888
		for i = 1, 200 do
3889
			Swait()
3890
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
3891
			RAY.Size = RAY.Size + VT(0.05,0,0.05)
3892
			SPHERE.Size = SPHERE.Size + VT(2,2,2)
3893
			SHIELD.Size = SPHERE.Size + VT(3,3,3)
3894
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
3895
		end	
3896
		for i = 1, 45 do
3897
			Swait()
3898
			RAY.Transparency = RAY.Transparency + 1/45
3899
			SPHERE.Transparency = RAY.Transparency 
3900
			SHIELD.Transparency = SPHERE.Transparency + 1/45
3901
		end
3902
		RAY:remove()
3903
		SHIELD:remove()
3904
		SPHERE:remove()
3905
	end))
3906
	for i=0, 1, 0.1 / Animation_Speed do
3907
		Swait()
3908
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
3909
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3910
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3911
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
3912
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3913
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3914
	end
3915
	ATTACK = false
3916
	Rooted = false
3917
end
3918
function Teleport()
3919
	ATTACK = true
3920
	Rooted = false
3921
	for i=0, 0.5, 0.1 / Animation_Speed do
3922
		Swait()
3923
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3924
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
3925
	end
3926
	for e = 1, #BODY do
3927
		if BODY[e] ~= nil then
3928
			local STUFF = BODY[e]
3929
			local PART = STUFF[1]
3930
			if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
3931
				local PRT = PART:Clone()
3932
				PRT.Anchored = true
3933
				PRT.CanCollide = false
3934
				PRT.Material = "Neon"
3935
				PRT.Color = C3(255,100,255)
3936
				PRT.Name = "WarpEffect"
3937
				PRT.Parent = Effects
3938
				PRT.CFrame = PART.CFrame
3939
				PRT:BreakJoints()
3940
				if PRT:FindFirstChildOfClass("Sound") then
3941
					PRT:FindFirstChildOfClass("Sound"):remove()
3942
				end
3943
				if PRT:FindFirstChildOfClass("Decal") then
3944
					PRT:FindFirstChildOfClass("Decal"):remove()
3945
				end
3946
				coroutine.resume(coroutine.create(function()
3947
					for i = 1, 100 do
3948
						Swait()
3949
						PRT.Transparency = PRT.Transparency + 1/100
3950
					end
3951
					PRT:remove()
3952
				end))
3953
			end
3954
		end
3955
	end
3956
	CreateSound(217767125, Torso, 10, 1)
3957
	local POS = RootPart.Orientation
3958
	RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
3959
	RootPart.Orientation = POS
3960
	RootJoint.Parent = RootPart
3961
	for i=0, 0.5, 0.1 / Animation_Speed do
3962
		Swait()
3963
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3964
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
3965
	end
3966
	for i=0, 0.1, 0.1 / Animation_Speed do
3967
		Swait()
3968
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
3969
	end
3970
	ATTACK = false
3971
	Rooted = false
3972
end
3973
function BanishmentBeam()
3974
	ATTACK = true
3975
	Rooted = false
3976
	local GYRO = IT("BodyGyro",RootPart)
3977
	GYRO.D = 100
3978
	GYRO.P = 2000
3979
	GYRO.MaxTorque = VT(0,4000000,0)
3980
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3981
	CreateSound("93724183", RightArm, 5, 1, false)
3982
	for i=1, 35 do
3983
		Swait()
3984
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
3985
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
3986
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
3987
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
3988
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
3989
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
3990
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3991
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
3992
	end
3993
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Lazer", VT(0,0,0))
3994
	local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
3995
	local TOCH = BEAM.Touched:Connect(function(hit)
3996
		if hit.Anchored == false and hit.Parent ~= Head and  hit.Parent ~= Character and hit.Parent ~= Effects then
3997
			Kill(hit)
3998
		end
3999
	end)
4000
	local I = 0
4001
	repeat
4002
		Swait()
4003
		I = I + 1
4004
		if I <= 10 then
4005
			BEAM.Transparency = BEAM.Transparency - 0.1
4006
		end
4007
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
4008
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
4009
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
4010
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
4011
		BEAM.Size = VT(2,2,DISTANCE)
4012
		WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4013
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
4014
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
4015
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
4016
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
4017
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
4018
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4019
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4020
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4021
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4022
		if ENDHIT ~= nil then
4023
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
4024
				Banish(ENDHIT)
4025
			end
4026
		end
4027
	until LOOP.Playing == false
4028
	GYRO:remove()
4029
	BEAM:remove()
4030
	ATTACK = false
4031
	Rooted = false
4032
end
4033
function Bat_Wave()
4034
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
4035
	if HITFLOOR ~= nil then
4036
		ATTACK = true
4037
		Rooted = true
4038
		do
4039
			local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
4040
			BAT.Color = C3(0, 0, 0)
4041
			MakeForm(BAT, "Ball")
4042
			CreateSound("1177785010", BAT, 10, 1)
4043
			for i = 1, 25 do
4044
				Swait()
4045
				BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
4046
				BAT.Transparency = BAT.Transparency - 0.04
4047
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4048
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4049
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4050
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4051
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4052
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4053
			end
4054
			local GYRO = IT("BodyGyro", RootPart)
4055
			GYRO.D = 100
4056
			GYRO.P = 2000
4057
			GYRO.MaxTorque = VT(0, 4000000, 0)
4058
			GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4059
			local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
4060
			WING.Color = C3(1, 0, 0)
4061
			WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4062
			local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
4063
			for i = 1, 15 do
4064
				Swait()
4065
				BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
4066
				WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4067
				GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4068
				WING.Transparency = WING.Transparency - 0.06666666666666667
4069
				MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
4070
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4071
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
4072
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4073
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4074
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4075
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4076
			end
4077
			coroutine.resume(coroutine.create(function()
4078
				local LOOP = 0
4079
				for i = 1, 70 do
4080
					LOOP = LOOP + 1
4081
					Swait()
4082
					if i < 18 then
4083
						MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
4084
						MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
4085
					end
4086
					BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
4087
					WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
4088
					if LOOP == 15 then
4089
						LOOP = 0
4090
						killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
4091
						CreateSound("201858087", BAT, 10, 1)
4092
						CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
4093
					end
4094
				end
4095
				killnearest(BAT.Position, 35, 250)
4096
				MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
4097
				CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
4098
				CreateSound("178452217", BAT, 10, 1)
4099
				WING:remove()
4100
				BAT.Transparency = 1
4101
				Debris:AddItem(BAT, 5)
4102
			end))
4103
			GYRO:remove()
4104
			ATTACK = false
4105
			Rooted = false
4106
		end
4107
	end
4108
end
4109
function Deathbound()
4110
	CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
4111
	ATTACK = true
4112
	Rooted = true
4113
	for i=0, 1, 0.1 / Animation_Speed do
4114
		Swait()
4115
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
4116
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4117
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4118
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4119
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4120
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4121
	end
4122
	local DONE = false
4123
	local GATE = nil
4124
	local GATESPIN = true
4125
	coroutine.resume(coroutine.create(function()
4126
		repeat
4127
			Swait()
4128
			if GATE ~= nil then
4129
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
4130
			end
4131
		until GATESPIN == false
4132
	end))
4133
	coroutine.resume(coroutine.create(function()
4134
		repeat
4135
			Swait()
4136
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
4137
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4138
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
4139
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
4140
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4141
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
4142
		until DONE == true
4143
		Swait(50)
4144
		for i = 1, 35 do
4145
			Swait(4)
4146
			local FIRED = false
4147
			local CHILDREN = workspace:GetDescendants()
4148
			for index, CHILD in pairs(CHILDREN) do
4149
				if CHILD.ClassName == "Model" and CHILD ~= Character then
4150
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4151
					if HUM then
4152
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4153
						if TORSO then
4154
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
4155
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
4156
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
4157
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
4158
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4159
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
4160
								Banish(CHILD)
4161
								FIRED = true
4162
								break
4163
							end
4164
						end
4165
					end
4166
				end
4167
			end
4168
			if FIRED == false then
4169
				local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
4170
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
4171
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4172
				SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
4173
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
4174
				if HITBOD ~= nil then
4175
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
4176
						Kill(HITBOD.Parent)
4177
					end
4178
				end
4179
			end
4180
		end
4181
		for i = 1, 45 do
4182
			Swait()
4183
			GATE.Size = GATE.Size - VT(3,0,3)
4184
		end
4185
		GATESPIN = false
4186
		GATE:remove()
4187
	end))
4188
	Swait(15)
4189
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
4190
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
4191
	local DECAL = IT("Decal",GATE)
4192
	DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
4193
	DECAL.Face = "Top"
4194
	GATE.CFrame = CF(HITPOS)
4195
	CreateSound(160772554, GATE, 7, 1.3, false)
4196
	for i = 1, 45 do
4197
		Swait()
4198
		GATE.Size = GATE.Size + VT(3,0,3)
4199
	end
4200
	CreateSound(213603013, RightHole, 7, 1, false)
4201
	CreateSound(213603013, LeftHole, 7, 1, false)
4202
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4203
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
4204
	ATTACK = false
4205
	Rooted = false
4206
	DONE = true
4207
end
4208
4209
function Fire_At_Will()
4210
	ATTACK = true
4211
	Rooted = false
4212
	local GYRO = IT("BodyGyro", RootPart)
4213
	GYRO.D = 750
4214
	GYRO.P = 2000
4215
	GYRO.MaxTorque = VT(0, 40000, 0)
4216
	for i = 0, 0.2, 0.1 / Animation_Speed do
4217
		Swait()
4218
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4219
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
4220
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
4221
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4222
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4223
		if ANIM == "Idle" then
4224
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4225
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4226
		elseif ANIM == "Walk" then
4227
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4228
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4229
		elseif ANIM == "Jump" or ANIM == "Fall" then
4230
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4231
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4232
		end
4233
	end
4234
	local BOMB = CreatePart(3, Effects, "Neon", 0, 0, "Burgundy", "Sphere", VT(1, 1, 1), false)
4235
	MakeForm(BOMB, "Ball")
4236
	BOMB.Mesh.Scale = VT(0.5, 0.5, 0.5)
4237
	local WELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, BOMB, CF(0, -2, 0), CF(0, 0, 0))
4238
	for i = 0, 1.5, 0.1 / Animation_Speed do
4239
		Swait()
4240
		if MRANDOM(1, 2) == 1 then
4241
			for E = 1, #EYES do
4242
				if EYES[E] ~= nil then
4243
					local EY = EYES[E]
4244
					local LIGHTNING = Zap({
4245
						StartPosition = EY.Position,
4246
						TargetPosition = BOMB.Position,
4247
						Character = Character,
4248
						Color = "Burgundy",
4249
						Individual = false,
4250
						MaxRange = 7,
4251
						SegmentLength = 1,
4252
						Offset = 0.3,
4253
						SIZE = 0.05
4254
					})
4255
					Debris:AddItem(LIGHTNING.LightningModel, 0.05)
4256
				end
4257
			end
4258
		end
4259
		BOMB.Mesh.Scale = BOMB.Mesh.Scale + VT(0.1, 0.1, 0.1)
4260
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4261
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
4262
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
4263
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.48, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4264
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4265
		if ANIM == "Idle" then
4266
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4267
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4268
		elseif ANIM == "Walk" then
4269
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4270
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4271
		elseif ANIM == "Jump" or ANIM == "Fall" then
4272
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4273
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4274
		end
4275
	end
4276
	WACKYEFFECT({
4277
		Time = 25,
4278
		EffectType = "Ring",
4279
		Size = VT(0, 0, 0),
4280
		Size2 = VT(3.75, 3.75, 0),
4281
		Transparency = 0.7,
4282
		Transparency2 = 1,
4283
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
4284
		MoveToPos = nil,
4285
		RotationX = 0,
4286
		RotationY = 0,
4287
		RotationZ = 0,
4288
		Material = "Neon",
4289
		Color = BOMB.Color,
4290
		SoundID = nil,
4291
		SoundPitch = nil,
4292
		SoundVolume = nil
4293
	})
4294
	WACKYEFFECT({
4295
		Time = 50,
4296
		EffectType = "Ring",
4297
		Size = VT(0, 0, 0),
4298
		Size2 = VT(15, 15, 0),
4299
		Transparency = 0.7,
4300
		Transparency2 = 1,
4301
		CFrame = RootPart.CFrame * CF(0, -0.25, -1.3),
4302
		MoveToPos = nil,
4303
		RotationX = 0,
4304
		RotationY = 0,
4305
		RotationZ = 0,
4306
		Material = "Neon",
4307
		Color = BOMB.Color,
4308
		SoundID = nil,
4309
		SoundPitch = nil,
4310
		SoundVolume = nil
4311
	})
4312
	BOMB.Anchored = true
4313
	WELD:remove()
4314
	GYRO:remove()
4315
	coroutine.resume(coroutine.create(function()
4316
		BOMB.CFrame = CF(BOMB.Position, Mouse.Hit.p)
4317
		for i = 1, 500 do
4318
			Swait()
4319
			BOMB.CFrame = BOMB.CFrame * CF(0, 0, -2)
4320
			local HITFLOOR, HITPOS = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2.2, Character)
4321
			if HITFLOOR ~= nil then
4322
				break
4323
			end
4324
		end
4325
		ApplyAoE(BOMB.Position, 75, 0, 0, 0, true)
4326
		for i = 1, 3 do
4327
			WACKYEFFECT({
4328
				Time = 35,
4329
				EffectType = "Swirl",
4330
				Size = VT(0, 0, 0),
4331
				Size2 = VT(150, 225, 150) + VT(5, 15, 5) * i,
4332
				Transparency = 0,
4333
				Transparency2 = 1,
4334
				CFrame = BOMB.CFrame,
4335
				MoveToPos = nil,
4336
				RotationX = 0,
4337
				RotationY = 5 * i,
4338
				RotationZ = 0,
4339
				Material = "Neon",
4340
				Color = BOMB.Color,
4341
				SoundID = nil,
4342
				SoundPitch = nil,
4343
				SoundVolume = nil
4344
			})
4345
		end
4346
		for i = 1, 5 do
4347
			WACKYEFFECT({
4348
				Time = 75,
4349
				EffectType = "Sphere",
4350
				Size = BOMB.Mesh.Scale,
4351
				Size2 = VT(25, 25, 25) * i,
4352
				Transparency = 0.5,
4353
				Transparency2 = 1,
4354
				CFrame = BOMB.CFrame,
4355
				MoveToPos = nil,
4356
				RotationX = 0,
4357
				RotationY = 0,
4358
				RotationZ = 0,
4359
				Material = "Neon",
4360
				Color = BOMB.Color,
4361
				SoundID = 1222405264,
4362
				SoundPitch = 1,
4363
				SoundVolume = 10
4364
			})
4365
		end
4366
		local HITFLOOR, HITPOS = Raycast(BOMB.Position, CF(BOMB.Position + VT(0, 1, 0), BOMB.Position - VT(0, 1, 0)).lookVector, 15, Character)
4367
		if HITFLOOR then
4368
			CreateDebreeRing(HITFLOOR, HITPOS, 15, VT(8, 8, 8), 5)
4369
		end
4370
		BOMB.Transparency = 1
4371
		for i = 1, 35 do
4372
			Swait()
4373
			CreateFlyingDebree(BOMB, CF(BOMB.Position), 1, VT(0.5, 0.5, 0.5), 5, 150)
4374
		end
4375
		BOMB:remove()
4376
	end))
4377
	ATTACK = false
4378
	Rooted = false
4379
end
4380
function Imperfect_Command()
4381
	ATTACK = true
4382
	Rooted = true
4383
	if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
4384
		local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
4385
		local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
4386
		if TORSO then
4387
			local GYRO = IT("BodyGyro", RootPart)
4388
			GYRO.D = 750
4389
			GYRO.P = 2000
4390
			GYRO.MaxTorque = VT(0, 40000, 0)
4391
			CreateSound("907330103", Torso, 10, 1)
4392
			for i = 0, 1.6, 0.1 / Animation_Speed do
4393
				Swait()
4394
				WACKYEFFECT({
4395
					Time = 5,
4396
					EffectType = "Round Slash",
4397
					Size = VT(0, 0, 0),
4398
					Size2 = VT(0.01, 0, 0.01),
4399
					Transparency = 0.5,
4400
					Transparency2 = 1,
4401
					MoveToPos = nil,
4402
					RotationX = MRANDOM(-50, 50) / 10,
4403
					RotationY = MRANDOM(-50, 50) / 10,
4404
					RotationZ = MRANDOM(-50, 50) / 10,
4405
					Material = "Neon",
4406
					Color = C3(1, 0, 0),
4407
					SoundID = nil,
4408
					SoundPitch = nil,
4409
					SoundVolume = nil
4410
				})
4411
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
4412
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
4413
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
4414
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
4415
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4416
				if ANIM == "Idle" then
4417
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4418
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4419
				elseif ANIM == "Walk" then
4420
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4421
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4422
				elseif ANIM == "Jump" or ANIM == "Fall" then
4423
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4424
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4425
				end
4426
			end
4427
			GYRO:remove()
4428
			for i = 1, 15 do
4429
				WACKYEFFECT({
4430
					Time = MRANDOM(15, 85),
4431
					EffectType = "Round Slash",
4432
					Size = VT(0, 0, 0),
4433
					Size2 = VT(0.3, 0, 0.3),
4434
					Transparency = 0.5,
4435
					Transparency2 = 1,
4436
					CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4437
					MoveToPos = nil,
4438
					RotationX = MRANDOM(-50, 50) / 10,
4439
					RotationY = MRANDOM(-50, 50) / 10,
4440
					RotationZ = MRANDOM(-50, 50) / 10,
4441
					Material = "Neon",
4442
					Color = C3(1, 0, 0),
4443
					SoundID = nil,
4444
					SoundPitch = nil,
4445
					SoundVolume = nil
4446
				})
4447
			end
4448
			local bv = Instance.new("BodyVelocity")
4449
			bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
4450
			bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
4451
			bv.Parent = TORSO
4452
			Debris:AddItem(bv, 0.05)
4453
			CreateSound("1222405264", TORSO, 10, 1)
4454
			Petrify(HUM.Parent)
4455
			for i = 0, 0.5, 0.1 / Animation_Speed do
4456
				Swait()
4457
				WACKYEFFECT({
4458
					Time = 5,
4459
					EffectType = "Round Slash",
4460
					Size = VT(0, 0, 0),
4461
					Size2 = VT(0.01, 0, 0.01),
4462
					Transparency = 0.5,
4463
					Transparency2 = 1,
4464
					MoveToPos = nil,
4465
					RotationX = MRANDOM(-50, 50) / 10,
4466
					RotationY = MRANDOM(-50, 50) / 10,
4467
					RotationZ = MRANDOM(-50, 50) / 10,
4468
					Material = "Neon",
4469
					Color = C3(1, 0, 0),
4470
					SoundID = nil,
4471
					SoundPitch = nil,
4472
					SoundVolume = nil
4473
				})
4474
				GYRO.cframe = CF(RootPart.Position, TORSO.Position)
4475
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
4476
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
4477
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4478
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
4479
				if ANIM == "Idle" then
4480
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4481
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4482
				elseif ANIM == "Walk" then
4483
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4484
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
4485
				elseif ANIM == "Jump" or ANIM == "Fall" then
4486
					RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
4487
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
4488
				end
4489
			end
4490
		end
4491
	end
4492
	ATTACK = false
4493
	Rooted = false
4494
end
4495
4496
function RiftForm()
4497
	ATTACK = true
4498
	Rooted = false
4499
	UNANCHOR = false
4500
	RootPart.Anchored = true
4501
	for i=0, 5, 0.1 / Animation_Speed do
4502
		Swait()
4503
		RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
4504
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4505
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
4506
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4507
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
4508
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
4509
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
4510
	end
4511
	CreateSound("1368598393", Effects, 10, 1)
4512
	for i=0, 2, 0.1 / Animation_Speed do
4513
		Swait()
4514
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
4515
		MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
4516
		MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,5))
4517
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4518
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
4519
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4520
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
4521
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
4522
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
4523
	end
4524
	CreateSound("1368583274", Effects, 10, 1)
4525
	for i=0, 6, 0.1 / Animation_Speed do
4526
		Swait()
4527
		CreateRing2(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0))
4528
		CreateRing2(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0)*3)
4529
		local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
4530
		MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,55))
4531
		MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(2,2,2))
4532
		MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,55))
4533
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4534
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
4535
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4536
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
4537
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
4538
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
4539
	end
4540
	CreateSound("907329532", Effects, 10, 0.9)
4541
	Swait(175)
4542
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(7,7,0))
4543
	CreateSound("1368605755", Effects, 10, 1)
4544
	CreateSound("1368637781", Effects, 10, 1)
4545
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(5,5,5))
4546
	for i=0, 1, 0.1 / Animation_Speed do
4547
	CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(4,4,0))
4548
		CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(5,5,0))
4549
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
4550
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
4551
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
4552
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
4553
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
4554
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
4555
	end
4556
	UNANCHOR = true
4557
	RootPart.Anchored = false
4558
	ATTACK = false
4559
	Rooted = false
4560
end
4561
4562
-- LIMIT BROKEN
4563
4564
local DECAL = IT("Decal")
4565
function MakeRing()
4566
	local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
4567
	local MSH = IT("BlockMesh", RING)
4568
	local TOP = DECAL:Clone()
4569
	local BOTTOM = DECAL:Clone()
4570
	TOP.Parent = RING
4571
	BOTTOM.Parent = RING
4572
	TOP.Face = "Top"
4573
	BOTTOM.Face = "Bottom"
4574
	TOP.Texture = "http://www.roblox.com/asset/?id=1259031636"
4575
	BOTTOM.Texture = "http://www.roblox.com/asset/?id=1259031636"
4576
	local function REMOVE()
4577
		coroutine.resume(coroutine.create(function()
4578
			local SIZE = MSH.Scale.X
4579
			for i = 1, 35 do
4580
				Swait()
4581
				MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
4582
				TOP.Transparency = TOP.Transparency + 0.02857142857142857
4583
				BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
4584
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
4585
			end
4586
			RING:remove()
4587
		end))
4588
	end
4589
	return RING, MSH, REMOVE
4590
end
4591
4592
function RiftWorld()
4593
	local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
4594
	CHOICE = 6
4595
     chatfunc("This place... Looks so familiar...")
4596
	local sillsky = Instance.new('Sky', game:GetService'Lighting')
4597
sillsky.SkyboxBk = "rbxassetid://157784474"
4598
sillsky.SkyboxDn = "rbxassetid://157784290"
4599
sillsky.SkyboxFt = "rbxassetid://157784317"
4600
sillsky.SkyboxLf = "rbxassetid://157784355"
4601
sillsky.SkyboxRt = "rbxassetid://157784340"
4602
sillsky.SkyboxUp = "rbxassetid://157784452"
4603
sillsky.StarCount = 0
4604
sillsky.SunAngularSize = 0
4605
sillsky.MoonAngularSize = 0
4606
sillsky.MoonTextureId = ""
4607
sillsky.CelestialBodiesShown = false
4608
game.Lighting.FogColor = Color3.new(0,0,0)
4609
game.Lighting.FogEnd = 1400
4610
	if HITFLOOR ~= nil then
4611
		ATTACK = false
4612
		Rooted = false
4613
		local RINGSPIN = true
4614
		local CONSTRUCTING = true
4615
		local RING = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Ring", VT(0,0,0))
4616
		RING.Color = C3(0,0,0)
4617
		MakeForm(RING,"Cyl")
4618
		RING.CFrame = CF(HITPOS)
4619
		coroutine.resume(coroutine.create(function()
4620
			repeat
4621
				Swait()
4622
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4623
			until CONSTRUCTING == false
4624
			repeat 
4625
				Swait() 
4626
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4627
			until RINGSPIN == false
4628
			for i = 1, 25 do
4629
				Swait()
4630
				RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
4631
				RING.Size = RING.Size - VT(0.15,0,0.15)
4632
				--DECAL.Transparency = DECAL.Transparency + 1/25
4633
				RING.Transparency = RING.Transparency + 1/25
4634
			end
4635
			RING:remove()
4636
		end))
4637
		for i = 1, 15 do
4638
			Swait()
4639
			RING.Size = RING.Size + VT(0,0,0)
4640
			RING.Transparency = RING.Transparency - 1/15
4641
		end
4642
		end
4643
	local RANDOMEFFECT = MRANDOM(1)
4644
	local BASE = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Black", VT(2,1.8,2))
4645
			BASE.Color = C3(0,0,0)
4646
			BASE.Transparency = 1
4647
			BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
4648
	if RANDOMEFFECT == 1 then
4649
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
4650
				FIELD.CFrame = BASE.CFrame
4651
				MakeForm(FIELD,"Ball")
4652
				for i = 1, 50 do
4653
					Swait()
4654
					FIELD.Size = VT(0,0,0)
4655
					FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
4656
				end
4657
				end
4658
				wait(0.2)
4659
				local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
4660
				FIELD.CFrame = BASE.CFrame
4661
				local LOOP = CreateSound(1393698948, Character, 0, 1, true)
4662
				coroutine.resume(coroutine.create(function()
4663
					for i = 1, 75 do
4664
                        Swait()
4665
						LOOP.Volume = LOOP.Volume + 10/75
4666
						LOOP.Parent = FIELD
4667
						local CHILDREN = workspace:GetDescendants()
4668
						for index, CHILD in pairs(CHILDREN) do
4669
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4670
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4671
								if HUM then
4672
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4673
									if TORSO then
4674
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
4675
											HUM.Health = HUM.Health - 0
4676
											TORSO.Velocity = VT(0,5,0)
4677
											HUM.PlatformStand = true
4678
											if TORSO.RotVelocity.Magnitude < 15 then
4679
										 		TORSO.Anchored = true
4680
											end
4681
										end
4682
									end
4683
								end
4684
							end
4685
						end
4686
						FIELD.Size = FIELD.Size + VT(90,90,90)
4687
						FIELD.Transparency = FIELD.Transparency + 0.8/75
4688
					end
4689
				for i = 1, 500 do
4690
                        Swait()
4691
						LOOP.Parent = FIELD
4692
						local CHILDREN = workspace:GetDescendants()
4693
						for index, CHILD in pairs(CHILDREN) do
4694
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4695
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4696
								if HUM then
4697
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4698
									if TORSO then
4699
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
4700
											TORSO.Velocity = VT(0,5,0)
4701
											HUM.Health = HUM.Health - 0
4702
											HUM.PlatformStand = true
4703
											if TORSO.RotVelocity.Magnitude < 15 then
4704
										 		TORSO.Anchored = false
4705
											end
4706
										end
4707
									end
4708
								end
4709
							end
4710
						end
4711
					end
4712
 CHOICE = MRANDOM (1,5)
4713
					for i = 1, 25 do
4714
						Swait()
4715
						LOOP.Volume = LOOP.Volume + 10/25
4716
						LOOP.Parent = FIELD
4717
						local CHILDREN = workspace:GetDescendants()
4718
						for index, CHILD in pairs(CHILDREN) do
4719
							if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
4720
								local HUM = CHILD:FindFirstChildOfClass("Humanoid")
4721
								if HUM then
4722
									local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
4723
									if TORSO then
4724
										if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
4725
											TORSO.Velocity = VT(0,5,0)
4726
											HUM.Health = HUM.Health - 0
4727
											HUM.PlatformStand = false
4728
											if TORSO.RotVelocity.Magnitude < 15 then
4729
										 		TORSO.Anchored = false
4730
										end
4731
									end
4732
								end
4733
							end
4734
						end
4735
						FIELD.Size = FIELD.Size - VT(3,3,3)
4736
						FIELD.Transparency = FIELD.Transparency + 0.2/25
4737
						     end
4738
						end
4739
				end))	
4740
				FIELD:Remove()
4741
           ATTACK = false
4742
		Rooted = false
4743
end
4744
function Eon_Fire()
4745
	ATTACK = true
4746
	Rooted = true
4747
	local GYRO = IT("BodyGyro", RootPart)
4748
	GYRO.D = 15
4749
	GYRO.P = 2000
4750
	GYRO.MaxTorque = VT(0, 4000000, 0)
4751
	CreateSound("341301115", Head, 5, 1.1)
4752
	CreateSound("93724183", Head, 6, 1)
4753
	for i = 1, 200 do
4754
		Swait()
4755
		WACKYEFFECT({
4756
			Time = MRANDOM(5, 15),
4757
			EffectType = "Round Slash",
4758
			Size = VT(0, 0, 0),
4759
			Size2 = VT(0.12, 0, 0.12),
4760
			Transparency = 0.5,
4761
			Transparency2 = 1,
4762
			CFrame = RootPart.CFrame * CF(0, -2.8, 0) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
4763
			MoveToPos = nil,
4764
			RotationX = MRANDOM(-50, 50) / 50,
4765
			RotationY = MRANDOM(-50, 50) / 10,
4766
			RotationZ = MRANDOM(-50, 50) / 50,
4767
			Material = "Neon",
4768
			Color = C3(1, 0, 0),
4769
			SoundID = nil,
4770
			SoundPitch = nil,
4771
			SoundVolume = nil
4772
		})
4773
		WACKYEFFECT({
4774
			Time = MRANDOM(5, 15),
4775
			EffectType = "Round Slash",
4776
			Size = VT(0, 0, 0),
4777
			Size2 = VT(0.1, 0, 0.1),
4778
			Transparency = 0.5,
4779
			Transparency2 = 1,
4780
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-35), RAD(MRANDOM(0, 360)), RAD(0)),
4781
			MoveToPos = nil,
4782
			RotationX = MRANDOM(-50, 50) / 50,
4783
			RotationY = MRANDOM(-50, 50) / 10,
4784
			RotationZ = MRANDOM(-50, 50) / 50,
4785
			Material = "Neon",
4786
			Color = C3(1, 0, 0),
4787
			SoundID = nil,
4788
			SoundPitch = nil,
4789
			SoundVolume = nil
4790
		})
4791
		WACKYEFFECT({
4792
			Time = MRANDOM(5, 15),
4793
			EffectType = "Round Slash",
4794
			Size = VT(0, 0, 0),
4795
			Size2 = VT(0.16, 0, 0.16),
4796
			Transparency = 0.5,
4797
			Transparency2 = 1,
4798
			CFrame = Torso.CFrame * CF(0, -2.5, 1) * ANGLES(RAD(-45), RAD(MRANDOM(0, 360)), RAD(0)),
4799
			MoveToPos = nil,
4800
			RotationX = MRANDOM(-50, 50) / 50,
4801
			RotationY = MRANDOM(-50, 50) / 10,
4802
			RotationZ = MRANDOM(-50, 50) / 50,
4803
			Material = "Neon",
4804
			Color = C3(1, 0, 0),
4805
			SoundID = nil,
4806
			SoundPitch = nil,
4807
			SoundVolume = nil
4808
		})
4809
		WACKYEFFECT({
4810
			Time = 5,
4811
			EffectType = "Sphere",
4812
			Size = VT(i, i, i) / 150,
4813
			Size2 = VT(0, 0, 0),
4814
			Transparency = 0.5,
4815
			Transparency2 = 1,
4816
			CFrame = Head.CFrame * CF(0, -0.25, -1),
4817
			MoveToPos = nil,
4818
			RotationX = 0,
4819
			RotationY = 0,
4820
			RotationZ = 0,
4821
			Material = "Neon",
4822
			Color = C3(1, 0, 0),
4823
			SoundID = nil,
4824
			SoundPitch = nil,
4825
			SoundVolume = nil
4826
		})
4827
		GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
4828
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.05 / Animation_Speed)
4829
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.05 / Animation_Speed)
4830
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
4831
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
4832
		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.05 / Animation_Speed)
4833
		LeftHip.C0 = Clerp(LeftHip.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.05 / Animation_Speed)
4834
	end
4835
	GYRO:remove()
4836
	for i = 0, 0.3, 0.1 / Animation_Speed do
4837
		Swait()
4838
		WACKYEFFECT({
4839
			Time = 25,
4840
			EffectType = "Sphere",
4841
			Size = VT(200, 200, 200) / 150,
4842
			Size2 = VT(0, 0, 0),
4843
			Transparency = 0.5,
4844
			Transparency2 = 1,
4845
			CFrame = Head.CFrame * CF(0, -0.25, -1),
4846
			MoveToPos = nil,
4847
			RotationX = 0,
4848
			RotationY = 0,
4849
			RotationZ = 0,
4850
			Material = "Neon",
4851
			Color = C3(1, 0, 0),
4852
			SoundID = nil,
4853
			SoundPitch = nil,
4854
			SoundVolume = nil
4855
		})
4856
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4857
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4858
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4859
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4860
		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.5 / Animation_Speed)
4861
		LeftHip.C0 = Clerp(LeftHip.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.5 / Animation_Speed)
4862
	end
4863
	coroutine.resume(coroutine.create(function()
4864
		local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "DOOM", VT(1, 1, 1))
4865
		MakeForm(FIREBALL, "Ball")
4866
		local SOUND = CreateSound(463593339, FIREBALL, 8, 1, false)
4867
		FIREBALL.CFrame = CF(Head.Position, Mouse.Hit.p) * CF(0, 0, -2)
4868
		for i = 1, 500 do
4869
			Swait()
4870
			FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
4871
			local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.2, Character)
4872
			if HITFLOOR ~= nil then
4873
				break
4874
			end
4875
		end
4876
		CreateSound(325132788, Effects, 8, 1, false)
4877
		for i = 1, 120 do
4878
			Swait()
4879
			WACKYEFFECT({
4880
				Time = 85,
4881
				EffectType = "Sphere",
4882
				Size = FIREBALL.Size,
4883
				Size2 = VT(0, 1000, 0),
4884
				Transparency = 0.5,
4885
				Transparency2 = 1,
4886
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4887
				MoveToPos = nil,
4888
				RotationX = MRANDOM(-50, 50) / 10,
4889
				RotationY = MRANDOM(-50, 50) / 10,
4890
				RotationZ = MRANDOM(-50, 50) / 10,
4891
				Material = "Neon",
4892
				Color = C3(1, 0, 0),
4893
				SoundID = nil,
4894
				SoundPitch = nil,
4895
				SoundVolume = nil
4896
			})
4897
			FIREBALL.Size = FIREBALL.Size - VT(1, 1, 1) / 120
4898
		end
4899
		Swait(5)
4900
		ApplyAoE(FIREBALL.Position, 435, 65, 65, 600, false)
4901
		for i = 1, 10 do
4902
			WACKYEFFECT({
4903
				Time = 85 + 5 * i,
4904
				EffectType = "Slash",
4905
				Size = VT(3, 0, 3),
4906
				Size2 = VT(12, 0, 12),
4907
				Transparency = 0.5,
4908
				Transparency2 = 1,
4909
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4910
				MoveToPos = nil,
4911
				RotationX = MRANDOM(-50, 50) / 50,
4912
				RotationY = MRANDOM(-50, 50) / 10,
4913
				RotationZ = MRANDOM(-50, 50) / 50,
4914
				Material = "Neon",
4915
				Color = C3(1, 1, 1),
4916
				SoundID = nil,
4917
				SoundPitch = nil,
4918
				SoundVolume = nil
4919
			})
4920
			WACKYEFFECT({
4921
				Time = 185 + 5 * i,
4922
				EffectType = "Swirl",
4923
				Size = VT(15, 15, 15),
4924
				Size2 = VT(700, 700, 700) + VT(15, 15, 15) * i,
4925
				Transparency = 0.5,
4926
				Transparency2 = 1,
4927
				CFrame = FIREBALL.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
4928
				MoveToPos = nil,
4929
				RotationX = MRANDOM(-50, 50) / 50,
4930
				RotationY = MRANDOM(-50, 50) / 10,
4931
				RotationZ = MRANDOM(-50, 50) / 50,
4932
				Material = "Neon",
4933
				Color = C3(1, 0.5, 0.5),
4934
				SoundID = nil,
4935
				SoundPitch = nil,
4936
				SoundVolume = nil
4937
			})
4938
			WACKYEFFECT({
4939
				Time = 285 + 5 * i,
4940
				EffectType = "Round Slash",
4941
				Size = VT(3, 0, 3),
4942
				Size2 = VT(12, 0, 12),
4943
				Transparency = 0.5,
4944
				Transparency2 = 1,
4945
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
4946
				MoveToPos = nil,
4947
				RotationX = MRANDOM(-50, 50) / 50,
4948
				RotationY = MRANDOM(-50, 50) / 10,
4949
				RotationZ = MRANDOM(-50, 50) / 50,
4950
				Material = "Neon",
4951
				Color = C3(1, 0, 0),
4952
				SoundID = nil,
4953
				SoundPitch = nil,
4954
				SoundVolume = nil
4955
			})
4956
			WACKYEFFECT({
4957
				Time = 285 + 5 * i,
4958
				EffectType = "Sphere",
4959
				Size = VT(650, 650, 650),
4960
				Size2 = VT(750, 750, 750) + VT(15, 15, 15) * i,
4961
				Transparency = 0.5,
4962
				Transparency2 = 1,
4963
				CFrame = FIREBALL.CFrame,
4964
				MoveToPos = nil,
4965
				RotationX = 0,
4966
				RotationY = 0,
4967
				RotationZ = 0,
4968
				Material = "Neon",
4969
				Color = C3(1, 0, 0),
4970
				SoundID = nil,
4971
				SoundPitch = 0,
4972
				SoundVolume = 0
4973
			})
4974
		end
4975
		wait(1)
4976
		WACKYEFFECT({
4977
			Time = 75,
4978
			EffectType = "Sphere",
4979
			Size = VT(350, 350, 350),
4980
			Size2 = VT(4500, 4500, 4500),
4981
			Transparency = 0.8,
4982
			Transparency2 = 1,
4983
			CFrame = FIREBALL.CFrame,
4984
			MoveToPos = nil,
4985
			RotationX = 0,
4986
			RotationY = 0,
4987
			RotationZ = 0,
4988
			Material = "Neon",
4989
			Color = C3(1, 1, 1),
4990
			SoundID = nil,
4991
			SoundPitch = 0,
4992
			SoundVolume = 0
4993
		})
4994
		for i = 1, 15 do
4995
			Swait()
4996
			ApplyAoE(FIREBALL.Position, 435 + 85 * i, 3, 3, 100, false)
4997
			WACKYEFFECT({
4998
				Time = 85,
4999
				EffectType = "Sphere",
5000
				Size = VT(75, 75, 75),
5001
				Size2 = VT(0, 2500, 0),
5002
				Transparency = 0.5,
5003
				Transparency2 = 1,
5004
				CFrame = FIREBALL.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
5005
				MoveToPos = nil,
5006
				RotationX = MRANDOM(-50, 50) / 10,
5007
				RotationY = MRANDOM(-50, 50) / 10,
5008
				RotationZ = MRANDOM(-50, 50) / 10,
5009
				Material = "Neon",
5010
				Color = C3(1, 0, 0),
5011
				SoundID = nil,
5012
				SoundPitch = nil,
5013
				SoundVolume = nil
5014
			})
5015
		end
5016
		FIREBALL:remove()
5017
	end))
5018
	WACKYEFFECT({
5019
		Time = 25,
5020
		EffectType = "Ring",
5021
		Size = VT(0, 0, 0),
5022
		Size2 = VT(3.75, 3.75, 0),
5023
		Transparency = 0.7,
5024
		Transparency2 = 1,
5025
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
5026
		MoveToPos = nil,
5027
		RotationX = 0,
5028
		RotationY = 0,
5029
		RotationZ = 0,
5030
		Material = "Neon",
5031
		Color = C3(1, 0, 0),
5032
		SoundID = nil,
5033
		SoundPitch = nil,
5034
		SoundVolume = nil
5035
	})
5036
	WACKYEFFECT({
5037
		Time = 50,
5038
		EffectType = "Ring",
5039
		Size = VT(0, 0, 0),
5040
		Size2 = VT(15, 15, 0),
5041
		Transparency = 0.7,
5042
		Transparency2 = 1,
5043
		CFrame = Head.CFrame * CF(0, -0.25, -0.75),
5044
		MoveToPos = nil,
5045
		RotationX = 0,
5046
		RotationY = 0,
5047
		RotationZ = 0,
5048
		Material = "Neon",
5049
		Color = C3(1, 0, 0),
5050
		SoundID = nil,
5051
		SoundPitch = nil,
5052
		SoundVolume = nil
5053
	})
5054
	for i = 0, 0.3, 0.1 / Animation_Speed do
5055
		Swait()
5056
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.1, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5057
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
5058
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
5059
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
5060
		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.5 / Animation_Speed)
5061
		LeftHip.C0 = Clerp(LeftHip.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.5 / Animation_Speed)
5062
	end
5063
	ATTACK = false
5064
	Rooted = false
5065
end
5066
function Conjour()
5067
	local SHOOT = OhnoItsAShotgun()
5068
	local CFRAME = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,MRANDOM(15,25)/3,MRANDOM(15,25)/3)
5069
	local ORI = 90
5070
	SHOOT.CFrame = CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(0), RAD(ORI), RAD(0))
5071
	local GOODRIDDANCE = false
5072
	CreateSound(233856115, SHOOT, 2, (MRANDOM(8,12)/10)+0.3, false)
5073
	coroutine.resume(coroutine.create(function()
5074
		repeat
5075
			SHOOT.CFrame = Clerp(SHOOT.CFrame,CF(CFRAME.p,Mouse.Hit.p) * ANGLES(RAD(ORI), RAD(0), RAD(0)),0.25)
5076
			Swait()
5077
		until GOODRIDDANCE == true
5078
		SHOOT.CFrame = SHOOT.CFrame * ANGLES(RAD(45), RAD(0), RAD(0))
5079
		SHOOT.CanCollide = true
5080
		SHOOT.Anchored = false
5081
		SHOOT.Parent = workspace
5082
		local bv = Instance.new("BodyVelocity",SHOOT) 
5083
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5084
		bv.velocity = CF(SHOOT.Position,SHOOT.CFrame*CF(0,2.5,2).p).lookVector*45
5085
		Debris:AddItem(bv,0.1)
5086
		wait(5)
5087
		for i = 1, 45 do
5088
			Swait()
5089
			SHOOT.Transparency = SHOOT.Transparency + 1/45
5090
		end
5091
		SHOOT:remove()
5092
	end))
5093
	for i = 1, 15 do
5094
		Swait()
5095
		SHOOT.Transparency = SHOOT.Transparency - 1/15
5096
		ORI = ORI - 3
5097
	end
5098
	for i = 1, 15 do
5099
		Swait()
5100
		ORI = ORI - 3
5101
	end
5102
	wait(MRANDOM(2,8)/10)
5103
	PAW_HAHA(SHOOT.CFrame*CF(0,0,-SHOOT.Size.Z/2).p,Mouse.Hit.p,14)
5104
	CamShake(4,4)
5105
	GOODRIDDANCE = true
5106
end
5107
function Aerial_Bombardament()
5108
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
5109
	if HITFLOOR then
5110
		ATTACK = true
5111
		Rooted = true
5112
		local bv = Instance.new("BodyVelocity") 
5113
		bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5114
		bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1.5,-2).p).lookVector*175
5115
		bv.Parent = RootPart
5116
		local GYRO = IT("BodyGyro",RootPart)
5117
		GYRO.D = 2
5118
		GYRO.P = 20000
5119
		GYRO.MaxTorque = VT(0,4000000,0)
5120
		GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
5121
		CreateSound(145486992,Torso,10,0.85,false)
5122
		for i=0, 0.05, 0.1 / Animation_Speed do
5123
			Swait()
5124
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
5125
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
5126
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5127
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5128
			if ANIM == "Fall" or ANIM == "Jump" then
5129
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5130
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5131
			else
5132
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
5133
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
5134
			end
5135
		end
5136
		bv:Remove()
5137
		local E = 360/15
5138
		for i = 1, 15 do
5139
			Swait()
5140
			WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
5141
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
5142
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
5143
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5144
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
5145
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5146
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5147
		end
5148
		WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(17/255,17/255,17/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
5149
		for i = 1, 15 do
5150
			coroutine.resume(coroutine.create(function()
5151
				Conjour()
5152
			end))
5153
		end
5154
		local LANDED = nil
5155
		local POS = nil
5156
		coroutine.resume(coroutine.create(function()
5157
			repeat
5158
				Swait()
5159
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
5160
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
5161
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5162
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5163
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5164
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
5165
			until LANDED ~= nil
5166
		end))
5167
		repeat
5168
			Swait()
5169
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
5170
			if HITFLOOR then
5171
				LANDED = HITFLOOR
5172
				POS = HITPOS
5173
			end
5174
		until LANDED ~= nil
5175
		GYRO:remove()
5176
		CamShake(6,3)
5177
		CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
5178
		ATTACK = false
5179
		Rooted = false
5180
	end
5181
end
5182
function Final_Limit()
5183
	local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
5184
	if HITFLOOR ~= nil then
5185
		do
5186
			local HITBODIES = {}
5187
			ATTACK = true
5188
			Rooted = true
5189
			local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
5190
			ABSOLUTE.Color = C3(0, 0, 0)
5191
			MakeForm(ABSOLUTE, "Ball")
5192
			CreateSound("814168787", ABSOLUTE, 10, 0.3)
5193
			CreateSound("1177785010", ABSOLUTE, 10, 0.4)
5194
			for i = 0, 4, 0.1 / Animation_Speed do
5195
				Swait()
5196
				ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
5197
				ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
5198
				ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
5199
				local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
5200
				MakeForm(CHARGE, "Ball")
5201
				CHARGE.Color = C3(0, 0, 0)
5202
				CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
5203
				FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
5204
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5205
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5206
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5207
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5208
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5209
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5210
			end
5211
			local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
5212
			WING.Color = C3(0, 0, 0)
5213
			WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
5214
			local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
5215
			for i = 1, 15 do
5216
				Swait()
5217
				WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
5218
				WING.Transparency = WING.Transparency - 0.06666666666666667
5219
				MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
5220
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5221
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5222
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5223
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5224
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5225
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5226
			end
5227
			for i = 1, 15 do
5228
				Swait()
5229
				WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
5230
				WING.Transparency = WING.Transparency - 0.06666666666666667
5231
				MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
5232
				MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
5233
				RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5234
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5235
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5236
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5237
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5238
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5239
			end
5240
			coroutine.resume(coroutine.create(function()
5241
				local LOOP = 0
5242
				local ech = 0
5243
				for i = 1, 250 do
5244
					LOOP = LOOP + 1
5245
					Swait()
5246
					ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
5247
					WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
5248
					CreateRing(VT(0, 0, 0), false, 0, 25, CF(ABSOLUTE.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(0, 0, 0), VT(LOOP, LOOP, 0) / 45)
5249
					if LOOP == 25 then
5250
						LOOP = 0
5251
						ech = ech + 1
5252
						killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
5253
						CreateSound("201858087", ABSOLUTE, 10, 0.6)
5254
						for i = 1, 5 do
5255
							Slice("Thin", 2 * ech, 35, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), C3(0, 0, 0), VT(0.001, 0, 0.001))
5256
							Slice("Round", 2 * ech, 45, CF(VT(ABSOLUTE.Position.X, HITPOS.Y + 0.1, ABSOLUTE.Position.Z)) * ANGLES(RAD(0), RAD(MRANDOM(-180, 180)), RAD(0)), C3(0, 0, 0), VT(0, 0, 0))
5257
						end
5258
					end
5259
				end
5260
				for i = 1, 10 do
5261
					Swait()
5262
					WING.Transparency = WING.Transparency + 0.1
5263
				end
5264
				WING:remove()
5265
				for i = 1, 10 do
5266
					Swait()
5267
					ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
5268
				end
5269
				ABSOLUTE:remove()
5270
			end))
5271
			ATTACK = false
5272
			Rooted = false
5273
		end
5274
	end
5275
end
5276
local Decal = IT("Decal")
5277
function Hop()
5278
	ATTACK = true
5279
	Rooted = false
5280
	local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
5281
	O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
5282
	local decal = Decal:Clone()
5283
	decal.Parent = O1
5284
	decal.Face = "Top"
5285
	decal.Texture = "http://www.roblox.com/asset/?id=224019254"
5286
	local decal2 = Decal:Clone()
5287
	decal2.Parent = O1
5288
	decal2.Face = "Bottom"
5289
	decal2.Texture = "http://www.roblox.com/asset/?id=224019254"
5290
	local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
5291
	local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
5292
	O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
5293
	local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
5294
	ROOT.CFrame = CF(O2.Position, RootPart.Position)
5295
	local decal = Decal:Clone()
5296
	decal.Parent = O2
5297
	decal.Face = "Top"
5298
	decal.Texture = "http://www.roblox.com/asset/?id=224019254"
5299
	local decal2 = Decal:Clone()
5300
	decal2.Parent = O2
5301
	decal2.Face = "Bottom"
5302
	decal2.Texture = "http://www.roblox.com/asset/?id=224019254"
5303
	CreateSound("84005018", O1, 10, 0.7)
5304
	CreateSound("84005018", O2, 10, 0.7)
5305
	for i = 1, 75 do
5306
		Swait()
5307
		O1.Size = O1.Size + VT(0.1, 0, 0.1)
5308
		O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
5309
		O2.Size = O2.Size + VT(0.1, 0, 0.1)
5310
		O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
5311
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5312
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5313
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5314
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5315
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5316
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5317
	end
5318
	Rooted = true
5319
	UNANCHOR = false
5320
	RootPart.Anchored = true
5321
	VALUE1 = true
5322
	for i = 1, 15 do
5323
		Transparency(i / 15)
5324
		Swait()
5325
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
5326
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5327
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5328
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5329
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5330
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5331
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5332
	end
5333
	RootPart.CFrame = ROOT.CFrame
5334
	ROOT:remove()
5335
	for i = 1, 15 do
5336
		Transparency(1 - i / 15)
5337
		Swait()
5338
		RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
5339
		RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5340
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
5341
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5342
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
5343
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5344
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5345
	end
5346
	VALUE1 = false
5347
	coroutine.resume(coroutine.create(function()
5348
		for i = 1, 75 do
5349
			Swait()
5350
			O1.Size = O1.Size - VT(0.1, 0, 0.1)
5351
			O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
5352
			O2.Size = O2.Size - VT(0.1, 0, 0.1)
5353
			O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
5354
		end
5355
		O1:remove()
5356
		O2:remove()
5357
	end))
5358
	UNANCHOR = true
5359
	RootPart.Anchored = false
5360
	ATTACK = false
5361
	Rooted = false
5362
end
5363
5364
function Meteor_Shower()
5365
	ATTACK = true
5366
	Rooted = false
5367
	CreateSound(1368573150, RightArm, 3, 0.8)
5368
	CreateSound(649634100, Torso, 10, 0.8)
5369
	for i=0, 1.2, 0.1 / Animation_Speed do
5370
		Swait()
5371
		WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
5372
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
5373
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
5374
	end
5375
	local POS = Mouse.Hit.p
5376
	CreateSound(463593339, Effects, 3, 1)
5377
	coroutine.resume(coroutine.create(function()
5378
		for i = 1, 35 do
5379
			wait(MRANDOM(5,150)/100)
5380
			SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
5381
		end
5382
	end))
5383
	ATTACK = false
5384
	Rooted = false
5385
end
5386
5387
--//=================================\\
5388
--||	  ASSIGN THINGS TO KEYS
5389
--\\=================================//
5390
5391
function MouseDown(Mouse)
5392
	if ATTACK == false then
5393
	                EMOTE()
5394
	end
5395
end
5396
5397
function MouseUp(Mouse)
5398
HOLD = false
5399
end
5400
5401
function KeyDown(Key)
5402
	KEYHOLD = true
5403
	
5404
    if Key == "l" and ATTACK == false then
5405
		RiftForm()
5406
        lightning.Enabled = true
5407
		eeeffecto.Enabled = true
5408
		SKILL1TEXT:remove()
5409
        SKILL2TEXT:remove()
5410
		SKILL3TEXT:remove()
5411
		SKILL4TEXT:remove()
5412
		SKILL5TEXT:remove()
5413
        SKILL6TEXT:remove()
5414
        SKILL7TEXT:remove()
5415
        SKILL8TEXT:remove()
5416
        SKILL9TEXT:remove()
5417
        SKILL10TEXT:remove()
5418
        SKILL11TEXT:remove()
5419
        SKILL12TEXT:remove()
5420
        SKILL13TEXT:remove()
5421
        SKILL14TEXT:remove()
5422
        SKILL15TEXT:remove()
5423
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
5424
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
5425
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
5426
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
5427
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
5428
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
5429
local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
5430
local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
5431
local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
5432
local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Y] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 10")
5433
local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[J] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 11")
5434
local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[U] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 12")
5435
local SKILL13TEXT = CreateLabel(SKILL13FRAME, "[N] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 13")
5436
local SKILL14TEXT = CreateLabel(SKILL14FRAME, "[Q] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 14")
5437
local SKILL15TEXT = CreateLabel(SKILL15FRAME, "[R] Coming Soon", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 15")
5438
        RiftWorld()
5439
s:stop()
5440
local s = Instance.new("Sound",char)
5441
	s.Name = "BGMusic"
5442
	s.SoundId = "rbxassetid://1119113013"
5443
	s.Pitch = 1
5444
	s.Volume = 40
5445
	s.Looped = true
5446
	s.archivable = false
5447
	s.Parent = char.Head
5448
	wait(0.1)
5449
	s:play()
5450
    end
5451
5452
	if Key == "i" and ATTACK == false then
5453
		Meteor_Shower()
5454
	end
5455
	
5456
	if Key == "o" and ATTACK == false then
5457
		Final_Limit()
5458
	end
5459
	
5460
	if Key == "k" and ATTACK == false then
5461
		Aerial_Bombardament()
5462
	end
5463
	
5464
	if Key == "m" and ATTACK == false then
5465
		Eon_Fire()
5466
	end
5467
	
5468
	if Key == "z" and ATTACK == false then
5469
		Banisher_Bullet()
5470
	end
5471
5472
	if Key == "b" and ATTACK == false then
5473
                 Banisher_Burn()
5474
	end
5475
5476
	if Key == "c" and ATTACK == false then
5477
                 BanishmentBeam()
5478
	end
5479
5480
	if Key == "v" and ATTACK == false then
5481
                 Teleport()
5482
	end
5483
5484
	if Key == "t" and ATTACK == false then
5485
                 Taunt()
5486
		chatfunc(DeathTaunt[MRANDOM(1,#DeathTaunt)])
5487
	end
5488
5489
	if Key == "e" and ATTACK == false then
5490
                 Madness()
5491
	end	
5492
5493
	if Key == "n" and ATTACK == false then
5494
                 Bat_Wave()
5495
	end	
5496
5497
	if Key == "q" and ATTACK == false then
5498
                 OP()
5499
	end	
5500
5501
	if Key == "j" and ATTACK == false then
5502
                 Nuke()
5503
	end	
5504
5505
	if Key == "y" and ATTACK == false then
5506
                 oofBeam()
5507
	end
5508
5509
	if Key == "r" and ATTACK == false then
5510
                 Burning_Hopes()
5511
	end
5512
5513
	if Key == "u" and ATTACK == false then
5514
		Absoluteum()
5515
	end
5516
5517
	if Key == "g" and ATTACK == false then
5518
		               chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
5519
			       TOBANISH = {}
5520
	end
5521
5522
	if Key == "p" and ATTACK == false then
5523
		TakeOnMe()
5524
	end
5525
5526
	if Key == "x" and ATTACK == false then
5527
                 Deathbound()
5528
	end
5529
	
5530
	if Key == "f" and ATTACK == false then
5531
                 Fire_At_Will()
5532
	end
5533
	
5534
    if Key == "h" and ATTACK == false then
5535
                 Imperfect_Command()
5536
end
5537
end
5538
5539
function KeyUp(Key)
5540
	KEYHOLD = false
5541
end
5542
5543
	Mouse.Button1Down:connect(function(NEWKEY)
5544
		MouseDown(NEWKEY)
5545
	end)
5546
	Mouse.Button1Up:connect(function(NEWKEY)
5547
		MouseUp(NEWKEY)
5548
	end)
5549
	Mouse.KeyDown:connect(function(NEWKEY)
5550
		KeyDown(NEWKEY)
5551
	end)
5552
	Mouse.KeyUp:connect(function(NEWKEY)
5553
		KeyUp(NEWKEY)
5554
	end)
5555
5556
--//=================================\\
5557
--\\=================================//
5558
5559
5560
function unanchor()
5561
	if UNANCHOR == true then
5562
		g = Character:GetChildren()
5563
		for i = 1, #g do
5564
			if g[i].ClassName == "Part" then
5565
				g[i].Anchored = false
5566
			end
5567
		end
5568
	end
5569
end
5570
5571
5572
--//=================================\\
5573
--||	WRAP THE WHOLE SCRIPT UP
5574
--\\=================================//
5575
5576
Humanoid.Changed:connect(function(Jump)
5577
	if Jump == "Jump" and (Disable_Jump == true) then
5578
		Humanoid.Jump = false
5579
	end
5580
end)
5581
5582
local CONNECT = nil
5583
5584
while true do
5585
	Swait()
5586
	ANIMATE.Parent = nil
5587
	if Character:FindFirstChildOfClass("Humanoid") == nil then
5588
		Humanoid = IT("Humanoid",Character)
5589
	end
5590
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
5591
	    v:Stop();
5592
	end
5593
	SINE = SINE + CHANGE
5594
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
5595
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
5596
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
5597
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
5598
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
5599
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
5600
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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) / 3)
5601
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
5602
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
5603
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
5604
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
5605
		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 / 3)
5606
		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 / 3)
5607
		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 / 3)
5608
	end
5609
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
5610
		ANIM = "Jump"
5611
		if ATTACK == false then
5612
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5613
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5614
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5615
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5616
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
5617
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
5618
	    end
5619
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
5620
		ANIM = "Fall"
5621
		if ATTACK == false then
5622
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5623
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5624
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
5625
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
5626
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
5627
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
5628
		end
5629
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
5630
		ANIM = "Idle"
5631
		if ATTACK == false then
5632
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
5633
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
5634
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(80), RAD(15), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
5635
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
5636
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5637
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5638
		end
5639
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
5640
		ANIM = "Walk"
5641
		if ATTACK == false then
5642
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
5643
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
5644
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
5645
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
5646
			RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
5647
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
5648
		end
5649
	end
5650
	unanchor()
5651
	Humanoid.MaxHealth = "inf"
5652
	Humanoid.Health = "inf"
5653
	if Rooted == false then
5654
		Disable_Jump = false
5655
		Humanoid.WalkSpeed = Speed
5656
	elseif Rooted == true then
5657
		Disable_Jump = true
5658
		Humanoid.WalkSpeed = 0
5659
	end
5660
refit()
5661
	sick.Parent = Torso
5662
	sick:resume()
5663
	sick.Volume = 5
5664
	sick.Pitch = 1
5665
	sick.SoundId = "rbxassetid://0"
5666
	sick.Name = "BanishV3Music"
5667
end
5668
5669
--//=================================\\
5670
--\\=================================//
5671
5672
5673
5674
5675
5676
--//====================================================\\--
5677
--||			  		 END OF SCRIPT
5678
--\\====================================================//--