View difference between Paste ID: 3fj21cud and 638RX9yS
SHOW: | | - or go back to the newest paste.
1
--Join my discord server.----------------------------------------------------------------
2
--Original by Shackluster.---------------------------------------------------------------
3
--Enjoy the edit! :D.--------------------------------------------------------------------
4
--Join here: https://discordapp.com/channels/506798328995119114/506798328995119116-------
5
-----------------------------------------------------------------------------------------
6
------Update 27/12/2018!-----------------------------------------------------
7
-----------------------------------------------------------------------------------------
8
-- This script has convert to FE by who i don't know?
9
10
-----------------------------------------------------
11
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
12
local Player,game,owner = owner,game
13
local RealPlayer = Player
14
do
15
    print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
16
    local rp = RealPlayer
17
    script.Parent = rp.Character
18
   
19
    --RemoteEvent for communicating
20
    local Event = Instance.new("RemoteEvent")
21
    Event.Name = "UserInput_Event"
22
 
23
    --Fake event to make stuff like Mouse.KeyDown work
24
    local function fakeEvent()
25
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
26
        t.connect = t.Connect
27
        return t
28
    end
29
 
30
    --Creating fake input objects with fake variables
31
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
32
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
33
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
34
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
35
    end}
36
    --Merged 2 functions into one by checking amount of arguments
37
    CAS.UnbindAction = CAS.BindAction
38
 
39
    --This function will trigger the events that have been :Connect()'ed
40
    local function te(self,ev,...)
41
        local t = m[ev]
42
        if t and t._fakeEvent then
43
            for _,f in pairs(t.Functions) do
44
                f(...)
45
            end
46
        end
47
    end
48
    m.TrigEvent = te
49
    UIS.TrigEvent = te
50
 
51
    Event.OnServerEvent:Connect(function(plr,io)
52
        if plr~=rp then return end
53
        m.Target = io.Target
54
        m.Hit = io.Hit
55
        if not io.isMouse then
56
            local b = io.UserInputState == Enum.UserInputState.Begin
57
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
58
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
59
            end
60
            for _,t in pairs(CAS.Actions) do
61
                for _,k in pairs(t.Keys) do
62
                    if k==io.KeyCode then
63
                        t.Function(t.Name,io.UserInputState,io)
64
                    end
65
                end
66
            end
67
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
68
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
69
        end
70
    end)
71
    Event.Parent = NLS([==[
72
    local Player = game:GetService("Players").LocalPlayer
73
    local Event = script:WaitForChild("UserInput_Event")
74
 
75
    local Mouse = Player:GetMouse()
76
    local UIS = game:GetService("UserInputService")
77
    local input = function(io,a)
78
        if a then return end
79
        --Since InputObject is a client-side instance, we create and pass table instead
80
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
81
    end
82
    UIS.InputBegan:Connect(input)
83
    UIS.InputEnded:Connect(input)
84
 
85
    local h,t
86
    --Give the server mouse data 30 times every second, but only if the values changed
87
    --If player is not moving their mouse, client won't fire events
88
    while wait(1/30) do
89
        if h~=Mouse.Hit or t~=Mouse.Target then
90
            h,t=Mouse.Hit,Mouse.Target
91
            Event:FireServer({isMouse=true,Target=t,Hit=h})
92
        end
93
    end]==],Player.Character)
94
 
95
    ----Sandboxed game object that allows the usage of client-side methods and services
96
    --Real game object
97
    local _rg = game
98
 
99
    --Metatable for fake service
100
    local fsmt = {
101
        __index = function(self,k)
102
            local s = rawget(self,"_RealService")
103
            if s then return s[k] end
104
        end,
105
        __newindex = function(self,k,v)
106
            local s = rawget(self,"_RealService")
107
            if s then s[k]=v end
108
        end,
109
        __call = function(self,...)
110
            local s = rawget(self,"_RealService")
111
            if s then return s(...) end
112
        end
113
    }
114
    local function FakeService(t,RealService)
115
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
116
        return setmetatable(t,fsmt)
117
    end
118
 
119
    --Fake game object
120
    local g = {
121
        GetService = function(self,s)
122
            return self[s]
123
        end,
124
        Players = FakeService({
125
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
126
        },"Players"),
127
        UserInputService = FakeService(UIS,"UserInputService"),
128
        ContextActionService = FakeService(CAS,"ContextActionService"),
129
    }
130
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
131
    g.service = g.GetService
132
   
133
    g.RunService = FakeService({
134
        RenderStepped = _rg:GetService("RunService").Heartbeat,
135
        BindToRenderStep = function(self,name,_,fun)
136
 
137
        end,
138
        UnbindFromRenderStep = function(self,name)
139
            self._btrs[name]:Disconnect()
140
        end,
141
    },"RunService")
142
 
143
    setmetatable(g,{
144
        __index=function(self,s)
145
            return _rg:GetService(s) or typeof(_rg[s])=="function"
146
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
147
        end,
148
        __newindex = fsmt.__newindex,
149
        __call = fsmt.__call
150
    })
151
    --Changing owner to fake player object to support owner:GetMouse()
152
    game,owner = g,g.Players.LocalPlayer
153
end
154
155
script:ClearAllChildren()
156
wait(0.2)
157
158
Player = game:GetService("Players").LocalPlayer
159
PlayerGui = Player.PlayerGui
160
Cam = workspace.CurrentCamera
161
Backpack = Player.Backpack
162
Character = Player.Character
163
Humanoid = Character.Humanoid
164
Mouse = Player:GetMouse()
165
RootPart = Character["HumanoidRootPart"]
166
Torso = Character["Torso"]
167
Head = Character["Head"]
168
RightArm = Character["Right Arm"]
169
LeftArm = Character["Left Arm"]
170
RightLeg = Character["Right Leg"]
171
LeftLeg = Character["Left Leg"]
172
RootJoint = RootPart["RootJoint"]
173
Neck = Torso["Neck"]
174
RightShoulder = Torso["Right Shoulder"]
175
LeftShoulder = Torso["Left Shoulder"]
176
RightHip = Torso["Right Hip"]
177
LeftHip = Torso["Left Hip"]
178
print('User: '..Player.Name)
179
print('Enjoy this Edit ;D')
180
local sick = Instance.new("Sound",Character)
181
sick.Parent = Character
182
sick:resume()
183
sick.Volume = 10
184-
sick.Pitch = 0.75
184+
sick.Pitch = 0.89
185
sick.Looped = true
186-
sick.SoundId = "rbxassetid://1073318933"
186+
sick.SoundId = "rbxassetid://407749940"
187
sick.Name = ""
188
local top = Instance.new("Shirt")
189
top.ShirtTemplate = "rbxassetid://230449737"
190
top.Parent = Character
191
top.Name = "Cloth"
192
local bottom = Instance.new("Pants")
193
bottom.PantsTemplate = "rbxassetid://676428351"
194
bottom.Parent = Character
195
bottom.Name = "Cloth"
196-
tecks.Text = "Silent Heaven"
196+
197
local naeeym = Instance.new("BillboardGui",Character)
198
naeeym.Size = UDim2.new(0,100,0,40)
199
naeeym.StudsOffset = Vector3.new(0,2,0)
200
naeeym.Adornee = Character.Head
201
local tecks = Instance.new("TextLabel",naeeym)
202
tecks.BackgroundTransparency = 1
203
tecks.BorderSizePixel = 0
204
tecks.Text = "MICHEAL THE FALLEN ANGEL"
205
tecks.Font = "Fantasy"
206
tecks.FontSize = "Size24"
207
tecks.TextStrokeTransparency = 0
208
tecks.TextStrokeColor3 = Color3.new(1,1,1)
209
tecks.TextColor3 = Color3.new(1,1,1)
210
tecks.Size = UDim2.new(1,0,0.5,0)
211
----------------------------------------------------
212
213
IT = Instance.new
214
CF = CFrame.new
215
VT = Vector3.new
216
RAD = math.rad
217
C3 = Color3.new
218
UD2 = UDim2.new
219
BRICKC = BrickColor.new
220
ANGLES = CFrame.Angles
221
EULER = CFrame.fromEulerAnglesXYZ
222
COS = math.cos
223
ACOS = math.acos
224
SIN = math.sin
225
ASIN = math.asin
226
ABS = math.abs
227
MRANDOM = math.random
228
FLOOR = math.floor
229
230
local sky = Instance.new('Sky', game:GetService'Lighting')
231
sky.SkyboxBk = "rbxassetid://48020371"
232
sky.SkyboxDn = "rbxassetid://48020144"
233
sky.SkyboxFt = "rbxassetid://48020234"
234
sky.SkyboxLf = "rbxassetid://48020211"
235
sky.SkyboxRt = "rbxassetid://48020254"
236
sky.SkyboxUp = "rbxassetid://48020383"
237
sky.StarCount = 3000
238
sky.SunAngularSize = 0
239
sky.MoonAngularSize = 11
240
sky.MoonTextureId = "rbxasset://sky/moon.jpg"
241
sky.CelestialBodiesShown = false
242
243
Character["Body Colors"].HeadColor = BrickColor.new("Institutional white")
244
Character["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
245
Character["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
246
Character["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
247
Character["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
248
Character["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
249
250
--//=================================\\
251
--|| 	      USEFUL VALUES
252
--\\=================================//
253
254
Player_Size = 1
255
Animation_Speed = 3
256
local FORCERESET = false
257
local Effects2 = {}
258
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
259
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
260
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
261
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
262
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
263
local DAMAGEMULTIPLIER = 1
264
local SIZE = 1
265
local ANIM = "Idle"
266
local ATTACK = false
267
local EQUIPPED = false
268
local HOLD = false
269
local COMBO = 1
270
local Rooted = false
271
local SINE = 0
272
local KEYHOLD = false
273
local CHANGE = 2 / Animation_Speed
274
local WALKINGANIM = false
275
local VALUE1 = false
276
local VALUE2 = false
277
local ROBLOXIDLEANIMATION = IT("Animation")
278
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
279
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
280
--ROBLOXIDLEANIMATION.Parent = Humanoid
281
local WEAPONGUI = IT("ScreenGui", PlayerGui)
282
WEAPONGUI.Name = "BanishV3Gui"
283
local Weapon = IT("Model")
284
Weapon.Name = "Adds"
285
local Effects = IT("Folder", Weapon)
286
Effects.Name = "Effects"
287
local ANIMATOR = Humanoid.Animator
288
local ANIMATE = Character:FindFirstChild("Animate")
289
local UNANCHOR = true
290
local TOBANISH = {}
291
local ROAR = {528589078,528589175,528589274,528589382}
292
script.Parent = PlayerGui
293
294
--//=================================\\
295
--\\=================================//
296
297
local Speed = 18
298
299
--//=================================\\
300
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
301
--\\=================================//
302
303
ArtificialHB = Instance.new("BindableEvent", script)
304
ArtificialHB.Name = "ArtificialHB"
305
306
script:WaitForChild("ArtificialHB")
307
308
frame = Frame_Speed
309
tf = 0
310
allowframeloss = false
311
tossremainder = false
312
lastframe = tick()
313
script.ArtificialHB:Fire()
314
315
game:GetService("RunService").Heartbeat:connect(function(s, p)
316
	tf = tf + s
317
	if tf >= frame then
318
		if allowframeloss then
319
			script.ArtificialHB:Fire()
320
			lastframe = tick()
321
		else
322
			for i = 1, math.floor(tf / frame) do
323
				script.ArtificialHB:Fire()
324
			end
325
		lastframe = tick()
326
		end
327
		if tossremainder then
328
			tf = 0
329
		else
330
			tf = tf - frame * math.floor(tf / frame)
331
		end
332
	end
333
end)
334
335
--//=================================\\
336
--\\=================================//
337
338
--//=================================\\
339
--|| 	      SOME FUNCTIONS
340
--\\=================================//
341
342
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
343
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
344
end
345
346
function PositiveAngle(NUMBER)
347
	if NUMBER >= 0 then
348
		NUMBER = 0
349
	end
350
	return NUMBER
351
end
352
353
function NegativeAngle(NUMBER)
354
	if NUMBER <= 0 then
355
		NUMBER = 0
356
	end
357
	return NUMBER
358
end
359
360
function Swait(NUMBER)
361
	if NUMBER == 0 or NUMBER == nil then
362
		ArtificialHB.Event:wait()
363
	else
364
		for i = 1, NUMBER do
365
			ArtificialHB.Event:wait()
366
		end
367
	end
368
end
369
370
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
371
	local NEWMESH = IT(MESH)
372
	if MESH == "SpecialMesh" then
373
		NEWMESH.MeshType = MESHTYPE
374
		if MESHID ~= "nil" and MESHID ~= "" then
375
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
376
		end
377
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
378
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
379
		end
380
	end
381
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
382
	NEWMESH.Scale = SCALE
383
	NEWMESH.Parent = PARENT
384
	return NEWMESH
385
end
386
387
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
388
	local NEWPART = IT("Part")
389
	NEWPART.formFactor = FORMFACTOR
390
	NEWPART.Reflectance = REFLECTANCE
391
	NEWPART.Transparency = TRANSPARENCY
392
	NEWPART.CanCollide = false
393
	NEWPART.Locked = true
394
	NEWPART.Anchored = true
395
	if ANCHOR == false then
396
		NEWPART.Anchored = false
397
	end
398
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
399
	NEWPART.Name = NAME
400
	NEWPART.Size = SIZE
401
	NEWPART.Position = Torso.Position
402
	NEWPART.Material = MATERIAL
403
	NEWPART:BreakJoints()
404
	NEWPART.Parent = PARENT
405
	return NEWPART
406
end
407
408
	local function weldBetween(a, b)
409
	    local weldd = Instance.new("ManualWeld")
410
	    weldd.Part0 = a
411
	    weldd.Part1 = b
412
	    weldd.C0 = CFrame.new()
413
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
414
	    weldd.Parent = a
415
	    return weldd
416
	end
417
418
419
function QuaternionFromCFrame(cf)
420
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
421
	local trace = m00 + m11 + m22
422
	if trace > 0 then 
423
		local s = math.sqrt(1 + trace)
424
		local recip = 0.5 / s
425
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
426
	else
427
		local i = 0
428
		if m11 > m00 then
429
			i = 1
430
		end
431
		if m22 > (i == 0 and m00 or m11) then
432
			i = 2
433
		end
434
		if i == 0 then
435
			local s = math.sqrt(m00 - m11 - m22 + 1)
436
			local recip = 0.5 / s
437
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
438
		elseif i == 1 then
439
			local s = math.sqrt(m11 - m22 - m00 + 1)
440
			local recip = 0.5 / s
441
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
442
		elseif i == 2 then
443
			local s = math.sqrt(m22 - m00 - m11 + 1)
444
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
445
		end
446
	end
447
end
448
449
function QuaternionToCFrame(px, py, pz, x, y, z, w)
450
	local xs, ys, zs = x + x, y + y, z + z
451
	local wx, wy, wz = w * xs, w * ys, w * zs
452
	local xx = x * xs
453
	local xy = x * ys
454
	local xz = x * zs
455
	local yy = y * ys
456
	local yz = y * zs
457
	local zz = z * zs
458
	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))
459
end
460
 
461
function QuaternionSlerp(a, b, t)
462
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
463
	local startInterp, finishInterp;
464
	if cosTheta >= 0.0001 then
465
		if (1 - cosTheta) > 0.0001 then
466
			local theta = ACOS(cosTheta)
467
			local invSinTheta = 1 / SIN(theta)
468
			startInterp = SIN((1 - t) * theta) * invSinTheta
469
			finishInterp = SIN(t * theta) * invSinTheta
470
		else
471
			startInterp = 1 - t
472
			finishInterp = t
473
		end
474
	else
475
		if (1 + cosTheta) > 0.0001 then
476
			local theta = ACOS(-cosTheta)
477
			local invSinTheta = 1 / SIN(theta)
478
			startInterp = SIN((t - 1) * theta) * invSinTheta
479
			finishInterp = SIN(t * theta) * invSinTheta
480
		else
481
			startInterp = t - 1
482
			finishInterp = t
483
		end
484
	end
485
	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
486
end
487
488
function Clerp(a, b, t)
489
	local qa = {QuaternionFromCFrame(a)}
490
	local qb = {QuaternionFromCFrame(b)}
491
	local ax, ay, az = a.x, a.y, a.z
492
	local bx, by, bz = b.x, b.y, b.z
493
	local _t = 1 - t
494
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
495
end
496
497
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
498
	local frame = IT("Frame")
499
	frame.BackgroundTransparency = TRANSPARENCY
500
	frame.BorderSizePixel = BORDERSIZEPIXEL
501
	frame.Position = POSITION
502
	frame.Size = SIZE
503
	frame.BackgroundColor3 = COLOR
504
	frame.BorderColor3 = BORDERCOLOR
505
	frame.Name = NAME
506
	frame.Parent = PARENT
507
	return frame
508
end
509
510
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
511
	local label = IT("TextLabel")
512
	label.BackgroundTransparency = 1
513
	label.Size = UD2(1, 0, 1, 0)
514
	label.Position = UD2(0, 0, 0, 0)
515
	label.TextColor3 = TEXTCOLOR
516
	label.TextStrokeTransparency = STROKETRANSPARENCY
517
	label.TextTransparency = TRANSPARENCY
518
	label.FontSize = TEXTFONTSIZE
519
	label.Font = TEXTFONT
520
	label.BorderSizePixel = BORDERSIZEPIXEL
521
	label.TextScaled = false
522
	label.Text = TEXT
523
	label.Name = NAME
524
	label.Parent = PARENT
525
	return label
526
end
527
528
function NoOutlines(PART)
529
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
530
end
531
532
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
533
	local NEWWELD = IT(TYPE)
534
	NEWWELD.Part0 = PART0
535
	NEWWELD.Part1 = PART1
536
	NEWWELD.C0 = C0
537
	NEWWELD.C1 = C1
538
	NEWWELD.Parent = PARENT
539
	return NEWWELD
540
end
541
local S = IT("Sound")
542
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
543
	local NEWSOUND = nil
544
	coroutine.resume(coroutine.create(function()
545
		NEWSOUND = S:Clone()
546
		NEWSOUND.Parent = PARENT
547
		NEWSOUND.Volume = VOLUME
548
		NEWSOUND.Pitch = PITCH
549
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
550
		NEWSOUND:play()
551
		if DOESLOOP == true then
552
			NEWSOUND.Looped = true
553
		else
554
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
555
			NEWSOUND:remove()
556
		end
557
	end))
558
	return NEWSOUND
559
end
560
561
function CFrameFromTopBack(at, top, back)
562
	local right = top:Cross(back)
563
	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)
564
end
565
566
--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})
567
function WACKYEFFECT(Table)
568
	local TYPE = (Table.EffectType or "Sphere")
569
	local SIZE = (Table.Size or VT(1,1,1))
570
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
571
	local TRANSPARENCY = (Table.Transparency or 0)
572
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
573
	local CFRAME = (Table.CFrame or Torso.CFrame)
574
	local MOVEDIRECTION = (Table.MoveToPos or nil)
575
	local ROTATION1 = (Table.RotationX or 0)
576
	local ROTATION2 = (Table.RotationY or 0)
577
	local ROTATION3 = (Table.RotationZ or 0)
578
	local MATERIAL = (Table.Material or "Neon")
579
	local COLOR = (Table.Color or C3(1,1,1))
580
	local TIME = (Table.Time or 45)
581
	local SOUNDID = (Table.SoundID or nil)
582
	local SOUNDPITCH = (Table.SoundPitch or nil)
583
	local SOUNDVOLUME = (Table.SoundVolume or nil)
584
	coroutine.resume(coroutine.create(function()
585
		local PLAYSSOUND = false
586
		local SOUND = nil
587
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
588
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
589
			PLAYSSOUND = true
590
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
591
		end
592
		EFFECT.Color = COLOR
593
		local MSH = nil
594
		if TYPE == "Sphere" then
595
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
596
		elseif TYPE == "Block" then
597
			MSH = IT("BlockMesh",EFFECT)
598
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
599
		elseif TYPE == "Wave" then
600
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
601
		elseif TYPE == "Ring" then
602
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
603
		elseif TYPE == "Slash" then
604
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
605
		elseif TYPE == "Round Slash" then
606
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
607
		elseif TYPE == "Swirl" then
608
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
609
		elseif TYPE == "Skull" then
610
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
611
		elseif TYPE == "Crystal" then
612
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
613
		end
614
		if MSH ~= nil then
615
			local MOVESPEED = nil
616
			if MOVEDIRECTION ~= nil then
617
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
618
			end
619
			local GROWTH = SIZE - ENDSIZE
620
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
621
			if TYPE == "Block" then
622
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
623
			else
624
				EFFECT.CFrame = CFRAME
625
			end
626
			for LOOP = 1, TIME+1 do
627
				Swait()
628
				MSH.Scale = MSH.Scale - GROWTH/TIME
629
				if TYPE == "Wave" then
630
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
631
				end
632
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
633
				if TYPE == "Block" then
634
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
635
				else
636
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
637
				end
638
				if MOVEDIRECTION ~= nil then
639
					local ORI = EFFECT.Orientation
640
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
641
					EFFECT.Orientation = ORI
642
				end
643
			end
644
			if PLAYSSOUND == false then
645
				EFFECT:remove()
646
			else
647
				SOUND.Stopped:Connect(function()
648
					EFFECT:remove()
649
				end)
650
			end
651
		else
652
			if PLAYSSOUND == false then
653
				EFFECT:remove()
654
			else
655
				repeat Swait() until SOUND.Playing == false
656
				EFFECT:remove()
657
			end
658
		end
659
	end))
660
end
661
662
function MakeForm(PART,TYPE)
663
	if TYPE == "Cyl" then
664
		local MSH = IT("CylinderMesh",PART)
665
	elseif TYPE == "Ball" then
666
		local MSH = IT("SpecialMesh",PART)
667
		MSH.MeshType = "Sphere"
668
	elseif TYPE == "Wedge" then
669
		local MSH = IT("SpecialMesh",PART)
670
		MSH.MeshType = "Wedge"
671
	end
672
end
673
674
function SpawnTrail(FROM,TO,BIG)
675
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(0,0,0))
676
	MakeForm(TRAIL,"Cyl")
677
	local DIST = (FROM - TO).Magnitude
678
	if BIG == true then
679
		TRAIL.Size = VT(4.5,DIST,4.5)
680
	else
681
		TRAIL.Size = VT(4.5,DIST,4.5)
682
	end
683
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
684
	coroutine.resume(coroutine.create(function()
685
		for i = 1, 5 do
686
			Swait()
687
			TRAIL.Transparency = TRAIL.Transparency + 0.1
688
		end
689
		TRAIL:remove()
690
	end))
691
end
692
693
function SpawnTrail0(FROM,TO,BIG)
694
	local TRAIL0 = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(1,1,1))
695
	MakeForm(TRAIL0,"Cyl")
696
	local DIST = (FROM - TO).Magnitude
697
	if BIG == true then
698
		TRAIL0.Size = VT(0.75,DIST,0.75)
699
	else
700
		TRAIL0.Size = VT(0.65,DIST,0.65)
701
	end
702
	TRAIL0.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
703
	coroutine.resume(coroutine.create(function()
704
		for i = 1, 5 do
705
			Swait()
706
			TRAIL0.Transparency = TRAIL0.Transparency + 0.1
707
		end
708
		TRAIL0:remove()
709
	end))
710
end
711
712
Debris = game:GetService("Debris")
713
714
function CastProperRay(StartPos, EndPos, Distance, Ignore)
715
	local DIRECTION = CF(StartPos,EndPos).lookVector
716
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
717
end
718
719
function turnto(position)
720
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
721
end
722
723
function swait(num)
724
	if num == 0 or num == nil then
725
		ArtificialHB.Event:wait()
726
	else
727
		for i = 0, num do
728
			ArtificialHB.Event:wait()
729
		end
730
	end
731
end
732
733
function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
734
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
735
	local mesh = IT("SpecialMesh",wave)
736
	mesh.MeshType = "FileMesh"
737
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
738
	mesh.Scale = SIZE
739
	mesh.Offset = VT(0,0,0)
740
	wave.CFrame = CFRAME
741
	coroutine.resume(coroutine.create(function(PART)
742
		for i = 1, WAIT do
743
			Swait()
744
			mesh.Scale = mesh.Scale + GROW
745
			if DOESROT == true then
746
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
747
			end
748
			wave.Transparency = wave.Transparency + (0.5/WAIT)
749
			if wave.Transparency > 0.99 then
750
				wave:remove()
751
			end
752
		end
753
	end))
754
end
755
756
function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
757
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
758
	local mesh = IT("SpecialMesh",wave)
759
	mesh.MeshType = "Sphere"
760
	mesh.Scale = SIZE
761
	mesh.Offset = VT(0,0,0)
762
	wave.CFrame = CFRAME
763
	coroutine.resume(coroutine.create(function(PART)
764
		for i = 1, WAIT do
765
			Swait()
766
			mesh.Scale = mesh.Scale + GROW
767
			wave.Transparency = wave.Transparency + (1/WAIT)
768
			if wave.Transparency > 0.99 then
769
				wave:remove()
770
			end
771
		end
772
	end))
773
end
774
775
function chatfunc(text)
776
	local chat = coroutine.wrap(function()
777
	if Character:FindFirstChild("TalkingBillBoard")~= nil then
778
		Character:FindFirstChild("TalkingBillBoard"):destroy()
779
	end
780
	local Bill = Instance.new("BillboardGui",Character)
781
	Bill.Size = UDim2.new(0,100,0,40)
782
	Bill.StudsOffset = Vector3.new(0,3,0)
783
	Bill.Adornee = Character.Head
784
	Bill.Name = "TalkingBillBoard"
785
	local Hehe = Instance.new("TextLabel",Bill)
786
	Hehe.BackgroundTransparency = 1
787
	Hehe.BorderSizePixel = 0
788
	Hehe.Text = ""
789
	Hehe.Font = "Fantasy"
790
	Hehe.TextSize = 40
791
	Hehe.TextStrokeTransparency = 0
792
	Hehe.Size = UDim2.new(1,0,0.5,0)
793
	coroutine.resume(coroutine.create(function()
794
		while Hehe ~= nil do
795
			swait()	
796
			Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))	
797
			Hehe.Rotation = math.random(-5,5)
798
			Hehe.TextColor3 = Color3.new(17,17,17)
799
			Hehe.TextStrokeColor3 = Color3.new(17,17,17)
800
		end
801
	end))
802
	for i = 1,string.len(text),1 do
803
		swait()
804
		Hehe.Text = string.sub(text,1,i)
805
	end
806
	swait(90)--Re[math.random(1, 93)]
807
	for i = 0, 1, .025 do
808
		swait()
809
		Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
810
		Hehe.TextStrokeTransparency = i
811
		Hehe.TextTransparency = i
812
	end
813
	Bill:Destroy()
814
	end)
815
chat()
816
end
817
818
function CheckTableForString(Table, String)
819
	for i, v in pairs(Table) do
820
		if string.find(string.lower(String), string.lower(v)) then
821
			return true
822
		end
823
	end
824
	return false
825
end
826
827
function CheckIntangible(Hit)
828
	local ProjectileNames = {
829
		"Water",
830
		"Arrow",
831
		"Projectile",
832
		"Effect",
833
		"Rail",
834
		"Lightning",
835
		"Bullet"
836
	}
837
	if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
838
		return true
839
	end
840
	return false
841
end
842
843
--//=================================\\
844
--||	     WEAPON CREATION
845
--\\=================================//
846
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
847
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
848
PRT.Color = C3(1,1,1)
849
for i = 1, 35 do
850
	local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
851
	FACE.Color = C3(0,0,0)
852
	Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
853
	CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
854
end
855
local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
856
PRT.Color = C3(1,1,1)
857
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
858
CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
859
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
860
MakeForm(Eye,"Ball")
861
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
862
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
863
MakeForm(Eye,"Ball")
864
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
865
local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
866
MakeForm(Eye,"Ball")
867
CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
868
local LASTPART = Head
869
for i = 1, 24 do
870
    local MATH = (1-(i/30))
871
    if LASTPART == Head then
872
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
873
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
874
        LASTPART = Horn
875
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
876
    else
877
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
878
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
879
        LASTPART = Horn
880
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
881
    end
882
end
883
local LASTPART = Head
884
for i = 1, 24 do
885
    local MATH = (1-(i/30))
886
    if LASTPART == Head then
887
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
888
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
889
        LASTPART = Horn
890
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
891
    else
892
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
893
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
894
        LASTPART = Horn
895
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
896
    end
897
end
898
local LASTPART = Head
899
for i = 1, 8 do
900
    local MATH = (1-(i/14))
901
    if LASTPART == Head then
902
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
903
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
904
        LASTPART = Horn
905
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
906
    else
907
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
908
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
909
        LASTPART = Horn
910
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
911
    end
912
end
913
local LASTPART = Head
914
for i = 1, 8 do
915
    local MATH = (1-(i/14))
916
    if LASTPART == Head then
917
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
918
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
919
        LASTPART = Horn
920
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
921
    else
922
        local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
923
        CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
924
        LASTPART = Horn
925
        Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
926
    end
927
end
928
929
function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
930
	if FLOOR ~= nil then
931
		coroutine.resume(coroutine.create(function()
932
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
933
			PART.CFrame = CF(POSITION)
934
			for i = 1, 45 do
935
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
936
				RingPiece.Material = FLOOR.Material
937
				RingPiece.Color = FLOOR.Color
938
				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)))
939
				Debris:AddItem(RingPiece, SWAIT)
940
			end
941
			PART:remove()
942
		end))
943
	end
944
end
945
function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
946
	if FLOOR ~= nil then
947
		for i = 1, AMOUNT do
948
			do
949
				local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
950
				DEBREE.Material = FLOOR.Material
951
				DEBREE.Color = FLOOR.Color
952
				DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
953
				DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
954
				coroutine.resume(coroutine.create(function()
955
					Swait(15)
956
					DEBREE.Parent = workspace
957
					DEBREE.CanCollide = true
958
					Debris:AddItem(DEBREE, SWAIT)
959
				end))
960
			end
961
		end
962
	end
963
end
964
965
local Particle = IT("ParticleEmitter",nil)
966
Particle.Enabled = false
967
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
968
Particle.LightEmission = 0.88
969
Particle.Rate = 250
970
Particle.ZOffset = 0.2
971
Particle.Rotation = NumberRange.new(-180, 180)
972
Particle.RotSpeed = NumberRange.new(-180, 180)
973
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
974
Particle.Color = ColorSequence.new(C3(255,255,255),C3(255,255,255))
975
976
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
977
function ParticleEmitter(Table)
978
	local PRTCL = Particle:Clone()
979
	local Speed = Table.Speed or 5
980
	local Drag = Table.Drag or 0
981
	local Size1 = Table.Size1 or 1
982
	local Size2 = Table.Size2 or 5
983
	local Lifetime1 = Table.Lifetime1 or 1
984
	local Lifetime2 = Table.Lifetime2 or 1.5
985
	local Parent = Table.Parent or Torso
986
	local Emit = Table.Emit or 100
987
	local Offset = Table.Offset or 360
988
	local Acel = Table.Acel or VT(0,0,0)
989
	local Enabled = Table.Enabled or false
990
	PRTCL.Parent = Parent
991
	PRTCL.Size = NumberSequence.new(Size1,Size2)
992
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
993
	PRTCL.Speed = NumberRange.new(Speed)
994
	PRTCL.VelocitySpread = Offset
995
	PRTCL.Drag = Drag
996
	PRTCL.Acceleration = Acel
997
	if Enabled == false then
998
		PRTCL:Emit(Emit)
999
		Debris:AddItem(PRTCL,Lifetime2)
1000
	else
1001
		PRTCL.Enabled = true
1002
	end
1003
	return PRTCL
1004
end
1005
1006
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1007
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1008
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1009
MakeForm(Part,"Wedge")
1010
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1011
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1012
MakeForm(Part,"Wedge")
1013
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1014
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1015
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1016
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1017
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1018
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1019
MakeForm(Part,"Cyl")
1020
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1021
for i = 1, 8 do
1022
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1023
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1024
end
1025
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1026
MakeForm(Part,"Cyl")
1027
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1028
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1029
MakeForm(Part,"Ball")
1030
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1031
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1032
MakeForm(Part,"Wedge")
1033
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1034
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1035
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1036
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1037
MakeForm(Part,"Cyl")
1038
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1039
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1040
MakeForm(Part,"Cyl")
1041
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1042
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1043
MakeForm(Part,"Cyl")
1044
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1045
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1046
MakeForm(Part,"Wedge")
1047
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1048
local LASTPART = Handle
1049
for i = 1, 10 do
1050
	if LASTPART == Handle then
1051
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1052
		LASTPART = Part
1053
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1054
	else
1055
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1056
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1057
		LASTPART = Part
1058
	end
1059
end
1060
1061
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1062
MakeForm(Barrel,"Cyl")
1063
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1064
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1065
MakeForm(Part,"Cyl")
1066
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1067
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1068
MakeForm(Part,"Wedge")
1069
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1070
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1071
MakeForm(Hole,"Cyl")
1072
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1073
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1074
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1075
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1076
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1077
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1078
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1079
coroutine.resume(coroutine.create(function()
1080
	while wait() do
1081
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1082
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1083
	end
1084
end))
1085
1086
ocal PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
1087
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1088
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
1089
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1090
MakeForm(PRT,"Cyl")
1091
local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
1092
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1093
MakeForm(PRT,"Cyl")
1094
PRT.Color = C3(159/255, 111/255, 183/255)
1095
local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
1096
CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
1097
MakeForm(RING,"Cyl")
1098
RING.Color = C3(0,0,0)
1099
for i = 1, 12 do
1100
    local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(0,0.15,0)*SIZE,false)
1101
    PRT.Color = C3(0,0,0)
1102
    local MSH = IT("BlockMesh",PRT)
1103
    MSH.Scale = VT(0.6,1,1)
1104
    CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
1105
end
1106
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(0,0.15,0.15)*SIZE,false)
1107
PRT.Color = C3(0,0,0)
1108
local MSH = IT("BlockMesh",PRT)
1109
MSH.Scale = VT(0.4,1,1)
1110
local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
1111
local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Crimson", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
1112
PRT.Color = C3(0,0,0)
1113
local MSH = IT("BlockMesh",PRT)
1114
MSH.Scale = VT(0.4,1,1)
1115
local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
1116
coroutine.resume(coroutine.create(function()
1117
    while true do
1118
        Swait()
1119
        CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
1120
        WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
1121
        WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
1122
        if CLOCKLOOP <= -150 then
1123
            if VALUE1 == false then
1124
                CLOCKLOOP = 0
1125
                WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
1126
                local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
1127
                ApplyAoE(HITPOS,10,15,45,75,false)
1128
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1129
                WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(0/0, 0/0, 0/0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
1130
                if CLOCKTARGET ~= nil then
1131
                    CLOCKTARGET.Health = CLOCKTARGET.Health - 20
1132
                    if CLOCKTARGET.Torso ~= nil then
1133
                        CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
1134
                    end
1135
                    if CLOCKTARGET.Health == 0 then
1136
                        CLOCKTARGET = nil
1137
                    end
1138
                end
1139
            end
1140
        end
1141
    end
1142
end))
1143
1144
ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.4, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1145
--ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
1146
1147
for _, c in pairs(Weapon:GetDescendants()) do
1148
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1149
		c.Material = "Glass"
1150
		c.Color = C3(0,0,0)
1151
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1152
		c.Color = C3(1,1,1)
1153
		c.Material = "Neon"
1154
	end
1155
end
1156
1157
Weapon.Parent = Character
1158
for _, c in pairs(Weapon:GetChildren()) do
1159
	if c.ClassName == "Part" then
1160
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1161
	end
1162
end
1163
1164
local SKILLTEXTCOLOR = C3(1,1,1)
1165
local SKILLFONT = "Bodoni"
1166
local SKILLTEXTSIZE = 5
1167
1168
Humanoid.Died:connect(function()
1169
	ATTACK = true
1170
end)
1171
Humanoid.Died:connect(function()
1172
	Humanoid.Parent = nil
1173
	chatfunc("I don't have any crimes to DIE!")
1174
	ApplyAoE(RootPart, 955, 9999, 9999, 9999, true)
1175
	Humanoid.Name = "DEAD!"
1176
	Humanoid.MaxHealth = 16e+16
1177
	Humanoid.Health = 16e+16
1178
	CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really white",VT(10,10,10))
1179
    CreateSound("178452217", Effects, 10, 1)
1180
	MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Institutional white",VT(500,500,500))
1181
end)
1182
1183
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1184
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
1185
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
1186
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
1187
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.20, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
1188
local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.03, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
1189
1190
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "Z - Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
1191
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "X - Pure Heaven", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
1192
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "F - Heaven's Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
1193
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "V - Gates Of Darkness", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
1194
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "C - ROAR", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
1195
local SKILL6TEXT = CreateLabel(SKILL6FRAME, "Q - Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
1196
1197
workspace.ChildAdded:connect(function(instance)
1198
    for BANISH = 1, #TOBANISH do
1199
		if TOBANISH[BANISH] ~= nil then
1200
			if instance.Name == TOBANISH[BANISH] then
1201
				coroutine.resume(coroutine.create(function()
1202
					printbye(instance.Name)
1203
					instance:ClearAllChildren()
1204
					Debris:AddItem(instance,0.0005)
1205
				end))
1206
			end
1207
		end
1208
	end
1209
end)
1210
1211
--//=================================\\
1212
--||			DAMAGING
1213
--\\=================================//
1214
1215
function Banish(Foe)
1216
	if Foe then
1217
		coroutine.resume(coroutine.create(function()
1218
			--if game.Players:FindFirstChild(Foe.Name) then
1219
				table.insert(TOBANISH,Foe.Name)
1220
				printbye(Foe.Name)
1221
			--end
1222
			Foe.Archivable = true
1223
			local CLONE = Foe:Clone()
1224
			Foe:Destroy()
1225
			CLONE.Parent = Effects
1226
			CLONE:BreakJoints()
1227
			local MATERIALS = {"Glass","Neon"}
1228
			for _, c in pairs(CLONE:GetDescendants()) do
1229
				if c:IsA("BasePart") then
1230
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
1231
 						CreateSound(340722848, c, 10, 1, false)
1232
					end
1233
					c.Anchored = true
1234
					c.Transparency = c.Transparency + 0.2
1235
					c.Material = MATERIALS[MRANDOM(1,2)]
1236
					c.Color = C3(1 ,1 ,1)
1237
					if c.ClassName == "MeshPart" then
1238
						c.TextureID = ""
1239
					end
1240
					if c:FindFirstChildOfClass("SpecialMesh") then
1241
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1242
					end
1243
					if c:FindFirstChildOfClass("Decal") then
1244
						c:FindFirstChildOfClass("Decal"):remove()
1245
					end
1246
					c.Name = "Banished"
1247
					c.CanCollide = false
1248
				else
1249
					c:remove()
1250
				end
1251
			end
1252
			local A = false
1253
			for i = 1, 35 do
1254
				if A == false then
1255
					A = true
1256
				elseif A == true then
1257
					A = false
1258
				end
1259
				for _, c in pairs(CLONE:GetDescendants()) do
1260
					if c:IsA("BasePart") then
1261
						c.Anchored = true
1262
						c.Material = MATERIALS[MRANDOM(1,2)]
1263
						c.Transparency = c.Transparency + 0.8/35
1264
						if A == false then
1265
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1266
						elseif A == true then
1267
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1268
						end
1269
					end
1270
				end
1271
				Swait()
1272
			end
1273
			CLONE:remove()
1274
		end))
1275
	end
1276
end
1277
1278
function ApplyAoE(POSITION,RANGE,ISBANISH)
1279
	local CHILDREN = workspace:GetDescendants()
1280
	for index, CHILD in pairs(CHILDREN) do
1281
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1282
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1283
			if HUM then
1284
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1285
				if TORSO then
1286
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1287
						if ISBANISH == true then
1288
							Banish(CHILD)
1289
						else
1290
							if ISBANISH == "Gravity" then
1291
								HUM.PlatformStand = true
1292
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1293
									local grav = Instance.new("BodyPosition",TORSO)
1294
									grav.D = 15
1295
									grav.P = 20000
1296
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1297
									grav.position = TORSO.Position
1298
									grav.Name = "V3BanishForce"..Player.Name
1299
								else
1300
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1301
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1302
								end
1303
							else
1304
								HUM.PlatformStand = false
1305
							end
1306
						end
1307
					elseif ISBANISH == "Gravity" then
1308
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1309
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1310
							HUM.PlatformStand = false
1311
						end
1312
					end
1313
				end
1314
			end
1315
		end
1316
	end
1317
end		
1318
function recurse(root,callback,i)
1319
	i= i or 0
1320
	for _,v in pairs(root:GetChildren()) do
1321
		i = i + 1
1322
		callback(i,v)
1323
		
1324
		if #v:GetChildren() > 0 then
1325
			i = recurse(v,callback,i)
1326
		end
1327
	end
1328
	
1329
	return i
1330
end
1331
function ragdollJoint(character, part0, part1, attachmentName, className, properties)
1332
	attachmentName = attachmentName.."RigAttachment"
1333
	local constraint = Instance.new(className.."Constraint")
1334
	constraint.Attachment0 = part0:FindFirstChild(attachmentName)
1335
	constraint.Attachment1 = part1:FindFirstChild(attachmentName)
1336
	constraint.Name = "RagdollConstraint"..part1.Name
1337
	
1338
	for _,propertyData in next,properties or {} do
1339
		constraint[propertyData[1]] = propertyData[2]
1340
	end
1341
	
1342
	constraint.Parent = character
1343
end
1344
function getAttachment0(character, attachmentName)
1345
	for _,child in next,character:GetChildren() do
1346
		local attachment = child:FindFirstChild(attachmentName)
1347
		if attachment then
1348
			return attachment
1349
		end
1350
	end
1351
end
1352
1353
function ArtificialHitbox(Part)
1354
	local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
1355
	HITBOX.CanCollide = true
1356
	HITBOX.CFrame = Part.CFrame
1357
	weldBetween(Part,HITBOX)
1358
end
1359
function R15Ragdoll(character,KeepArms)
1360
	character:BreakJoints()
1361
	coroutine.resume(coroutine.create(function()
1362
		recurse(character, function(_,v)
1363
			if v:IsA("Attachment") then
1364
				v.Axis = Vector3.new(0, 1, 0)
1365
				v.SecondaryAxis = Vector3.new(0, 0, 1)
1366
				v.Rotation = Vector3.new(0, 0, 0)
1367
			end
1368
		end)
1369
		for _,child in next,character:GetChildren() do
1370
			if child:IsA("Accoutrement") then
1371
				for _,part in next,child:GetChildren() do
1372
					if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
1373
						local attachment1 = part:FindFirstChildOfClass("Attachment")
1374
						local attachment0 = getAttachment0(character,attachment1.Name)
1375
						if attachment0 and attachment1 then
1376
							local constraint = Instance.new("HingeConstraint")
1377
							constraint.Attachment0 = attachment0
1378
							constraint.Attachment1 = attachment1
1379
							constraint.LimitsEnabled = true
1380
							constraint.UpperAngle = 0
1381
							constraint.LowerAngle = 0
1382
							constraint.Parent = character
1383
						end
1384
						ArtificialHitbox(part)
1385
					elseif part.Name == "HumanoidRootPart" then
1386
						part:remove()
1387
					end
1388
				end
1389
			end
1390
		end
1391
		
1392
		ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
1393
			{"LimitsEnabled",true};
1394
			{"UpperAngle",5};
1395
		})
1396
		if character:FindFirstChild("Head") then
1397
			ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
1398
				{"LimitsEnabled",true};
1399
				{"UpperAngle",15};
1400
			})
1401
		end
1402
		
1403
		local handProperties = {
1404
			{"LimitsEnabled", true};
1405
			{"UpperAngle",0};
1406
			{"LowerAngle",0};
1407
		}
1408
		ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
1409
		ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
1410
		
1411
		local shinProperties = {
1412
			{"LimitsEnabled", true};
1413
			{"UpperAngle", 0};
1414
			{"LowerAngle", -75};
1415
		}
1416
		ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
1417
		ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
1418
		
1419
		local footProperties = {
1420
			{"LimitsEnabled", true};
1421
			{"UpperAngle", 15};
1422
			{"LowerAngle", -45};
1423
		}
1424
		ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
1425
		ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
1426
		if KeepArms == true then
1427
			ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
1428
			ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
1429
			ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
1430
			ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
1431
		end
1432
		ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
1433
		ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
1434
		Debris:AddItem(character,5)
1435
	end))
1436
end
1437
1438
function Ragdoll(Character2,CharTorso,KeepArms)
1439
	coroutine.resume(coroutine.create(function()
1440
		Character2:BreakJoints()
1441
		local hum = Character2:findFirstChild("Humanoid")
1442
		hum:remove()
1443
		local function Scan(ch)
1444
			local e
1445
			for e = 1,#ch do
1446
				Scan(ch[e]:GetChildren())
1447
				if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
1448
					ch[e]:remove()
1449
				end
1450
			end
1451
		end
1452
		local NEWHUM = IT("Humanoid")
1453
		NEWHUM.Name = "Corpse"
1454
		NEWHUM.Health = 0
1455
		NEWHUM.MaxHealth = 0
1456
		NEWHUM.PlatformStand = true
1457
		NEWHUM.Parent = Character2
1458
		NEWHUM.DisplayDistanceType = "None"
1459
	
1460
		local ch = Character2:GetChildren()
1461
		local i
1462
		for i = 1,#ch do
1463
			if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
1464
				ch[i]:remove()
1465
			end
1466
		end
1467
	
1468
		local Torso2 = Character2.Torso
1469
		local movevector = Vector3.new()
1470
	
1471
		if Torso2 then
1472
			movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
1473
			local Head = Character2:FindFirstChild("Head")
1474
			if Head then
1475
				local Neck = Instance.new("Weld")
1476
				Neck.Name = "Neck"
1477
				Neck.Part0 = Torso2
1478
				Neck.Part1 = Head
1479
				Neck.C0 = CFrame.new(0, 1.5, 0)
1480
				Neck.C1 = CFrame.new()
1481
				Neck.Parent = Torso2
1482
	
1483
			end
1484
			local Limb = Character2:FindFirstChild("Right Arm")
1485
			if Limb and KeepArms == true then
1486
	
1487
				Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
1488
				local Joint = Instance.new("Glue")
1489
				Joint.Name = "RightShoulder"
1490
				Joint.Part0 = Torso2
1491
				Joint.Part1 = Limb
1492
				Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1493
				Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1494
				Joint.Parent = Torso2
1495
	
1496
				local B = Instance.new("Part")
1497
				B.TopSurface = 0
1498
				B.BottomSurface = 0
1499
				B.formFactor = "Symmetric"
1500
				B.Size = Vector3.new(1, 1, 1)
1501
				B.Transparency = 1
1502
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1503
				B.Parent = Character2
1504
				local W = Instance.new("Weld")
1505
				W.Part0 = Limb
1506
				W.Part1 = B
1507
				W.C0 = CFrame.new(0, -0.5, 0)
1508
				W.Parent = Limb
1509
	
1510
			end
1511
			local Limb = Character2:FindFirstChild("Left Arm")
1512
			if Limb and KeepArms == true then
1513
	
1514
				Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
1515
				local Joint = Instance.new("Glue")
1516
				Joint.Name = "LeftShoulder"
1517
				Joint.Part0 = Torso2
1518
				Joint.Part1 = Limb
1519
				Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1520
				Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1521
				Joint.Parent = Torso2
1522
	
1523
				local B = Instance.new("Part")
1524
				B.TopSurface = 0
1525
				B.BottomSurface = 0
1526
				B.formFactor = "Symmetric"
1527
				B.Size = Vector3.new(1, 1, 1)
1528
				B.Transparency = 1
1529
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1530
				B.Parent = Character2
1531
				local W = Instance.new("Weld")
1532
				W.Part0 = Limb
1533
				W.Part1 = B
1534
				W.C0 = CFrame.new(0, -0.5, 0)
1535
				W.Parent = Limb
1536
	
1537
			end
1538
			local Limb = Character2:FindFirstChild("Right Leg")
1539
			if Limb then
1540
	
1541
				Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
1542
				local Joint = Instance.new("Glue")
1543
				Joint.Name = "RightHip"
1544
				Joint.Part0 = Torso2
1545
				Joint.Part1 = Limb
1546
				Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1547
				Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
1548
				Joint.Parent = Torso2
1549
	
1550
				local B = Instance.new("Part")
1551
				B.TopSurface = 0
1552
				B.BottomSurface = 0
1553
				B.formFactor = "Symmetric"
1554
				B.Size = Vector3.new(1, 1, 1)
1555
				B.Transparency = 1
1556
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1557
				B.Parent = Character2
1558
				local W = Instance.new("Weld")
1559
				W.Part0 = Limb
1560
				W.Part1 = B
1561
				W.C0 = CFrame.new(0, -0.5, 0)
1562
				W.Parent = Limb
1563
	
1564
			end
1565
			local Limb = Character2:FindFirstChild("Left Leg")
1566
			if Limb then
1567
	
1568
				Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
1569
				local Joint = Instance.new("Glue")
1570
				Joint.Name = "LeftHip"
1571
				Joint.Part0 = Torso2
1572
				Joint.Part1 = Limb
1573
				Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1574
				Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
1575
				Joint.Parent = Torso2
1576
	
1577
				local B = Instance.new("Part")
1578
				B.TopSurface = 0
1579
				B.BottomSurface = 0
1580
				B.formFactor = "Symmetric"
1581
				B.Size = Vector3.new(1, 1, 1)
1582
				B.Transparency = 1
1583
				B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
1584
				B.Parent = Character2
1585
				local W = Instance.new("Weld")
1586
				W.Part0 = Limb
1587
				W.Part1 = B
1588
				W.C0 = CFrame.new(0, -0.5, 0)
1589
				W.Parent = Limb
1590
	
1591
			end
1592
			--[
1593
			local Bar = Instance.new("Part")
1594
			Bar.TopSurface = 0
1595
			Bar.BottomSurface = 0
1596
			Bar.formFactor = "Symmetric"
1597
			Bar.Size = Vector3.new(1, 1, 1)
1598
			Bar.Transparency = 1
1599
			Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
1600
			Bar.Parent = Character2
1601
			local Weld = Instance.new("Weld")
1602
			Weld.Part0 = Torso2
1603
			Weld.Part1 = Bar
1604
			Weld.C0 = CFrame.new(0, 0.5, 0)
1605
			Weld.Parent = Torso2
1606
			--]]
1607
		end
1608
		Character2.Parent = workspace
1609
		Debris:AddItem(Character2,5)
1610
	
1611
		return Character2,Torso2
1612
	end))
1613
end
1614
		
1615
--//=================================\\
1616
--||	ATTACK FUNCTIONS AND STUFF
1617
--\\=================================//
1618
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
1619
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
1620
	local mesh = IT("SpecialMesh",wave)
1621
	mesh.MeshType = "Sphere"
1622
	mesh.Scale = SIZE
1623
	mesh.Offset = VT(0,0,0)
1624
	wave.CFrame = CFRAME
1625
	coroutine.resume(coroutine.create(function(PART)
1626
		for i = 1, WAIT do
1627
			Swait()
1628
			mesh.Scale = mesh.Scale + GROW
1629
			wave.Transparency = wave.Transparency + (1/WAIT)
1630
			if wave.Transparency > 0.99 then
1631
				wave:remove()
1632
			end
1633
		end
1634
	end))
1635
end
1636
function Roar()
1637
	ATTACK = true
1638
	Rooted = true
1639
	local VIOLENCE = 1
1640
	FORCEIDLE = true
1641
	FORCEIDLE = false
1642
	if VIOLENCE <= 10 then
1643
	MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(2,2,2))
1644
		for i=0, 1, 0.1 / Animation_Speed do
1645
			Swait()
1646
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1647
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1648
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1649
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1650
			RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1651
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1652
		end
1653
		local TAUNT = CreateSound(ROAR[MRANDOM(1,#ROAR)], Head, 100, 1, false)
1654
		repeat Swait() until TAUNT.TimeLength > 0
1655
		repeat
1656
			Swait()
1657
			ApplyAoE(Head.Position,15,0,0,200,false)
1658
			local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
1659
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(150,0,150), Transparency = 1, Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
1660
			WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(350,0,350), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
1661
			WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
1662
			TAUNT.Parent = Head
1663
		Swait()
1664
		TAUNT.Parent = Head
1665
		local CHILDREN = workspace:GetDescendants()
1666
		for index, CHILD in pairs(CHILDREN) do
1667
			if CHILD.ClassName == "Model" and CHILD ~= Character then
1668
				local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1669
				if HUM then
1670
					local TORSO = CHILD:FindFirstChild("Head")
1671
					if TORSO then
1672
						if (TORSO.Position - Head.Position).Magnitude <= 999 then
1673
							WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1674
							TORSO:remove()
1675
							if CHILD:FindFirstChild("Torso") then
1676
								Ragdoll(CHILD,Torso,true)
1677
							elseif CHILD:FindFirstChild("UpperTorso") then
1678
								R15Ragdoll(CHILD,true)
1679
							end
1680
						end
1681
					end
1682
				end
1683
			end
1684
		end
1685
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1686
        Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
1687
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1688
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1689
		RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1690
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
1691
		until TAUNT.TimePosition > TAUNT.TimeLength - 2
1692
	end
1693
	MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
1694
	ATTACK = false
1695
	Rooted = false
1696
end
1697
function Shot()
1698
	ATTACK = true
1699
	Rooted = false
1700
	MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
1701
	MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
1702
	for i=0, 0.5, 0.22 / Animation_Speed do
1703
		Swait()
1704
		turnto(Mouse.Hit.p)
1705
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1706
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1707
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)                
1708
		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)
1709
		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)
1710
	end
1711
	repeat
1712
		for i=0, 0.5, 0.22 / Animation_Speed do
1713
			Swait()
1714
			turnto(Mouse.Hit.p)
1715
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1716
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1717
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)            
1718
            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)
1719
			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)
1720
		end
1721
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1722
		SpawnTrail0(Hole.Position,POS)
1723
		if HIT ~= nil then
1724
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1725
				Banish(HIT.Parent)
1726
			end
1727
		end
1728
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(4,4,4).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1729
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = 0.95, SoundVolume = 10})
1730
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), 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(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
1731
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(0,0,0), 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(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
1732
		local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
1733
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(150,0,150), Transparency = 1, Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
1734
		WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(350,0,350), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
1735
		for i=0, 0.5, 0.22 / Animation_Speed do
1736
			Swait()
1737
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1738
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1739
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1740
			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)
1741
			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)
1742
		end
1743
		MagicSphere(VT(0,0,0),15,Head.CFrame,"Really white",VT(5,5,5))
1744
	until KEYHOLD == false
1745
	ATTACK = false
1746
	Rooted = false
1747
end
1748
function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
1749
	if FLOOR ~= nil then
1750
		coroutine.resume(coroutine.create(function()
1751
			local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really black", "DebreeCenter", VT(0,0,0))
1752
			PART.CFrame = CF(POSITION)
1753
			for i = 1, 45 do
1754
				local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really black", "DebreePart", BLOCKSIZE)
1755
				RingPiece.Material = FLOOR.Material
1756
				RingPiece.Color = FLOOR.Color
1757
				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)))
1758
				Debris:AddItem(RingPiece,SWAIT)
1759
			end
1760
			PART:remove()
1761
		end))
1762
	end
1763
end
1764
1765
function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
1766
	if FLOOR ~= nil then
1767
		for i = 1, AMOUNT do
1768
			local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Debree", BLOCKSIZE, false)
1769
			DEBREE.Material = FLOOR.Material
1770
			DEBREE.Color = FLOOR.Color
1771
			DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
1772
			DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
1773
			coroutine.resume(coroutine.create(function()
1774
				Swait(15)
1775
				DEBREE.Parent = workspace
1776
				DEBREE.CanCollide = true
1777
				Debris:AddItem(DEBREE,SWAIT)
1778
			end))
1779
		end
1780
	end
1781
end
1782
function Pure_Heaven()
1783
	chatfunc("The Light of Heaven will make sense!")
1784
	ATTACK = true
1785
	Rooted = true
1786
	for i = 1, 15 do
1787
			Swait()
1788
			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)
1789
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1790
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1791
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1792
	end
1793
	for i=0, 0.5, 0.1 / Animation_Speed do
1794
			Swait()
1795
			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(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1796
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1797
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1798
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1799
	end
1800
	coroutine.resume(coroutine.create(function()
1801
		local POS = Mouse.Hit.p
1802
		local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
1803
		MakeForm(RAY,"Cyl")
1804
		local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
1805
		MakeForm(SPHERE,"Ball")
1806
		local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Strike", VT(0,0,0))
1807
		MakeForm(SHIELD,"Ball")
1808
		SHIELD.CFrame = CF(POS)
1809
		RAY.CFrame = CF(POS)
1810
		SPHERE.CFrame = CF(POS)
1811
		CreateSound(440145570, SPHERE, 15, 0.5, false)
1812
		CreateSound(415700134, SPHERE, 15, 0.5, false)
1813
		for i = 1, 200 do
1814
			Swait()
1815
			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(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1816
			RAY.Size = RAY.Size + VT(0.5,0,0.5)
1817
			SPHERE.Size = SPHERE.Size + VT(1.5,1.5,1.5)
1818
			SHIELD.Size = SPHERE.Size + VT(2.5,2.5,2.5)
1819
			ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
1820
		end	
1821
		for i = 1, 45 do
1822
			Swait()
1823
			RAY.Transparency = RAY.Transparency + 1/45
1824
			SPHERE.Transparency = RAY.Transparency 
1825
			SHIELD.Transparency = SPHERE.Transparency + 1/45
1826
		end
1827
		RAY:remove()
1828
		SHIELD:remove()
1829
		SPHERE:remove()
1830
	end))
1831
	for i=0, 1, 0.1 / Animation_Speed do
1832
		Swait()
1833
		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)
1834
		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)
1835
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1836
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1837
		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)
1838
		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)
1839
	end
1840
	ATTACK = false
1841
	Rooted = false
1842
end
1843
function printbye(Name)
1844
	local MESSAGES = {"YOU NOT WORTH TO BE ON HEAVEN, ","God don't like Criminal, ","Go to hell Heaven is not a Place you want to go, ","YOU CAN GO TO HEAVEN BUT IT'S SILENT, "}
1845
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1846
end
1847
local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1848
MakeForm(RightHole,"Cyl")
1849
local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
1850
MakeForm(LeftHole,"Cyl")
1851
function Gates_Of_Darkness()
1852
	chatfunc("Be Darker...")
1853
	CreateSound(0, Torso, 10, 1, false)
1854
	ATTACK = true
1855
	Rooted = true
1856
	for i=0, 0.5, 0.1 / Animation_Speed do
1857
		Swait()
1858
		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)
1859
		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)
1860
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1861
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1862
		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)
1863
		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)
1864
	end
1865
	local DONE = false
1866
	local GATE = nil
1867
	local GATESPIN = true
1868
	coroutine.resume(coroutine.create(function()
1869
		repeat
1870
			Swait()
1871
			if GATE ~= nil then
1872
				GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
1873
			end
1874
		until GATESPIN == false
1875
	end))
1876
	coroutine.resume(coroutine.create(function()
1877
		repeat
1878
			Swait()
1879
			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)
1880
			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)
1881
			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)
1882
			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)
1883
			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)
1884
			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)
1885
		until DONE == true
1886
		Swait(50)
1887
		for i = 1, 35 do
1888
			Swait(4)
1889
			local FIRED = false
1890
			local CHILDREN = workspace:GetDescendants()
1891
			for index, CHILD in pairs(CHILDREN) do
1892
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1893
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1894
					if HUM then
1895
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1896
						if TORSO then
1897
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1898
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1899
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1900
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1901
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1902
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1903
								Banish(CHILD)
1904
								FIRED = true
1905
								break
1906
							end
1907
						end
1908
					end
1909
				end
1910
			end
1911
			if FIRED == false then
1912
				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)))
1913
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1914
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1915
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
1916
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1917
				if HITBOD ~= nil then
1918
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1919
						Banish(HITBOD.Parent)
1920
					end
1921
				end
1922
			end
1923
		end
1924
		for i = 1, 35 do
1925
			Swait(4)
1926
			local FIRED = false
1927
			local CHILDREN = workspace:GetDescendants()
1928
			for index, CHILD in pairs(CHILDREN) do
1929
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1930
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1931
					if HUM then
1932
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1933
						if TORSO then
1934
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1935
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1936
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1937
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1938
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1939
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1940
								Banish(CHILD)
1941
								FIRED = true
1942
								break
1943
							end
1944
						end
1945
					end
1946
				end
1947
			end
1948
			if FIRED == false then
1949
				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)))
1950
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1951
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1952
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
1953
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1954
				if HITBOD ~= nil then
1955
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1956
						Banish(HITBOD.Parent)
1957
					end
1958
				end
1959
			end
1960
		end
1961
		for i = 1, 35 do
1962
			Swait(4)
1963
			local FIRED = false
1964
			local CHILDREN = workspace:GetDescendants()
1965
			for index, CHILD in pairs(CHILDREN) do
1966
				if CHILD.ClassName == "Model" and CHILD ~= Character then
1967
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1968
					if HUM then
1969
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1970
						if TORSO then
1971
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
1972
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
1973
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
1974
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1975
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1976
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
1977
								Banish(CHILD)
1978
								FIRED = true
1979
								break
1980
							end
1981
						end
1982
					end
1983
				end
1984
			end
1985
			if FIRED == false then
1986
				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)))
1987
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
1988
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1989
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
1990
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
1991
				if HITBOD ~= nil then
1992
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
1993
						Banish(HITBOD.Parent)
1994
					end
1995
				end
1996
			end
1997
		end
1998
		for i = 1, 35 do
1999
			Swait(4)
2000
			local FIRED = false
2001
			local CHILDREN = workspace:GetDescendants()
2002
			for index, CHILD in pairs(CHILDREN) do
2003
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2004
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2005
					if HUM then
2006
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2007
						if TORSO then
2008
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2009
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2010
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2011
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2012
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2013
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2014
								Banish(CHILD)
2015
								FIRED = true
2016
								break
2017
							end
2018
						end
2019
					end
2020
				end
2021
			end
2022
			if FIRED == false then
2023
				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)))
2024
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2025
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2026
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2027
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2028
				if HITBOD ~= nil then
2029
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2030
						Banish(HITBOD.Parent)
2031
					end
2032
				end
2033
			end
2034
		end
2035
		for i = 1, 35 do
2036
			Swait(4)
2037
			local FIRED = false
2038
			local CHILDREN = workspace:GetDescendants()
2039
			for index, CHILD in pairs(CHILDREN) do
2040
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2041
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2042
					if HUM then
2043
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2044
						if TORSO then
2045
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2046
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2047
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2048
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2049
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2050
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2051
								Banish(CHILD)
2052
								FIRED = true
2053
								break
2054
							end
2055
						end
2056
					end
2057
				end
2058
			end
2059
			if FIRED == false then
2060
				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)))
2061
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2062
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2063
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2064
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2065
				if HITBOD ~= nil then
2066
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2067
						Banish(HITBOD.Parent)
2068
					end
2069
				end
2070
			end
2071
		end
2072
		for i = 1, 35 do
2073
			Swait(4)
2074
			local FIRED = false
2075
			local CHILDREN = workspace:GetDescendants()
2076
			for index, CHILD in pairs(CHILDREN) do
2077
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2078
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2079
					if HUM then
2080
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2081
						if TORSO then
2082
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2083
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2084
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2085
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2086
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2087
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2088
								Banish(CHILD)
2089
								FIRED = true
2090
								break
2091
							end
2092
						end
2093
					end
2094
				end
2095
			end
2096
			if FIRED == false then
2097
				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)))
2098
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2099
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2100
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2101
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2102
				if HITBOD ~= nil then
2103
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2104
						Banish(HITBOD.Parent)
2105
					end
2106
				end
2107
			end
2108
		end
2109
		for i = 1, 35 do
2110
			Swait(4)
2111
			local FIRED = false
2112
			local CHILDREN = workspace:GetDescendants()
2113
			for index, CHILD in pairs(CHILDREN) do
2114
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2115
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2116
					if HUM then
2117
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2118
						if TORSO then
2119
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2120
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2121
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2122
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2123
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2124
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2125
								Banish(CHILD)
2126
								FIRED = true
2127
								break
2128
							end
2129
						end
2130
					end
2131
				end
2132
			end
2133
			if FIRED == false then
2134
				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)))
2135
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2136
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2137
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2138
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2139
				if HITBOD ~= nil then
2140
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2141
						Banish(HITBOD.Parent)
2142
					end
2143
				end
2144
			end
2145
		end
2146
		for i = 1, 35 do
2147
			Swait(4)
2148
			local FIRED = false
2149
			local CHILDREN = workspace:GetDescendants()
2150
			for index, CHILD in pairs(CHILDREN) do
2151
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2152
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2153
					if HUM then
2154
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2155
						if TORSO then
2156
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2157
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2158
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2159
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2160
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2161
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2162
								Banish(CHILD)
2163
								FIRED = true
2164
								break
2165
							end
2166
						end
2167
					end
2168
				end
2169
			end
2170
			if FIRED == false then
2171
				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)))
2172
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2173
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2174
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2175
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2176
				if HITBOD ~= nil then
2177
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2178
						Banish(HITBOD.Parent)
2179
					end
2180
				end
2181
			end
2182
		end
2183
		for i = 1, 35 do
2184
			Swait(4)
2185
			local FIRED = false
2186
			local CHILDREN = workspace:GetDescendants()
2187
			for index, CHILD in pairs(CHILDREN) do
2188
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2189
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2190
					if HUM then
2191
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2192
						if TORSO then
2193
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2194
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2195
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2196
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2197
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2198
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2199
								Banish(CHILD)
2200
								FIRED = true
2201
								break
2202
							end
2203
						end
2204
					end
2205
				end
2206
			end
2207
			if FIRED == false then
2208
				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)))
2209
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2210
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2211
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2212
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2213
				if HITBOD ~= nil then
2214
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2215
						Banish(HITBOD.Parent)
2216
					end
2217
				end
2218
			end
2219
		end
2220
		for i = 1, 35 do
2221
			Swait(4)
2222
			local FIRED = false
2223
			local CHILDREN = workspace:GetDescendants()
2224
			for index, CHILD in pairs(CHILDREN) do
2225
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2226
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2227
					if HUM then
2228
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2229
						if TORSO then
2230
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2231
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2232
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2233
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2234
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2235
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2236
								Banish(CHILD)
2237
								FIRED = true
2238
								break
2239
							end
2240
						end
2241
					end
2242
				end
2243
			end
2244
			if FIRED == false then
2245
				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)))
2246
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2247
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2248
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2249
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2250
				if HITBOD ~= nil then
2251
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2252
						Banish(HITBOD.Parent)
2253
					end
2254
				end
2255
			end
2256
		end
2257
		for i = 1, 35 do
2258
			Swait(4)
2259
			local FIRED = false
2260
			local CHILDREN = workspace:GetDescendants()
2261
			for index, CHILD in pairs(CHILDREN) do
2262
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2263
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2264
					if HUM then
2265
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2266
						if TORSO then
2267
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2268
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2269
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2270
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2271
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2272
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2273
								Banish(CHILD)
2274
								FIRED = true
2275
								break
2276
							end
2277
						end
2278
					end
2279
				end
2280
			end
2281
			if FIRED == false then
2282
				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)))
2283
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2284
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2285
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2286
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2287
				if HITBOD ~= nil then
2288
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2289
						Banish(HITBOD.Parent)
2290
					end
2291
				end
2292
			end
2293
		end
2294
		for i = 1, 35 do
2295
			Swait(4)
2296
			local FIRED = false
2297
			local CHILDREN = workspace:GetDescendants()
2298
			for index, CHILD in pairs(CHILDREN) do
2299
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2300
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2301
					if HUM then
2302
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2303
						if TORSO then
2304
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2305
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2306
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2307
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2308
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2309
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2310
								Banish(CHILD)
2311
								FIRED = true
2312
								break
2313
							end
2314
						end
2315
					end
2316
				end
2317
			end
2318
			if FIRED == false then
2319
				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)))
2320
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2321
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2322
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2323
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2324
				if HITBOD ~= nil then
2325
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2326
						Banish(HITBOD.Parent)
2327
					end
2328
				end
2329
			end
2330
		end
2331
		for i = 1, 35 do
2332
			Swait(4)
2333
			local FIRED = false
2334
			local CHILDREN = workspace:GetDescendants()
2335
			for index, CHILD in pairs(CHILDREN) do
2336
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2337
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2338
					if HUM then
2339
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2340
						if TORSO then
2341
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2342
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2343
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2344
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2345
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2346
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2347
								Banish(CHILD)
2348
								FIRED = true
2349
								break
2350
							end
2351
						end
2352
					end
2353
				end
2354
			end
2355
			if FIRED == false then
2356
				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)))
2357
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2358
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2359
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2360
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2361
				if HITBOD ~= nil then
2362
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2363
						Banish(HITBOD.Parent)
2364
					end
2365
				end
2366
			end
2367
		end
2368
		for i = 1, 35 do
2369
			Swait(4)
2370
			local FIRED = false
2371
			local CHILDREN = workspace:GetDescendants()
2372
			for index, CHILD in pairs(CHILDREN) do
2373
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2374
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2375
					if HUM then
2376
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2377
						if TORSO then
2378
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2379
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2380
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2381
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2382
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2383
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2384
								Banish(CHILD)
2385
								FIRED = true
2386
								break
2387
							end
2388
						end
2389
					end
2390
				end
2391
			end
2392
			if FIRED == false then
2393
				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)))
2394
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2395
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2396
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2397
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2398
				if HITBOD ~= nil then
2399
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2400
						Banish(HITBOD.Parent)
2401
					end
2402
				end
2403
			end
2404
		end
2405
		for i = 1, 35 do
2406
			Swait(4)
2407
			local FIRED = false
2408
			local CHILDREN = workspace:GetDescendants()
2409
			for index, CHILD in pairs(CHILDREN) do
2410
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2411
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2412
					if HUM then
2413
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2414
						if TORSO then
2415
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2416
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2417
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2418
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2419
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2420
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2421
								Banish(CHILD)
2422
								FIRED = true
2423
								break
2424
							end
2425
						end
2426
					end
2427
				end
2428
			end
2429
			if FIRED == false then
2430
				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)))
2431
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2432
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2433
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2434
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2435
				if HITBOD ~= nil then
2436
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2437
						Banish(HITBOD.Parent)
2438
					end
2439
				end
2440
			end
2441
		end
2442
		for i = 1, 35 do
2443
			Swait(4)
2444
			local FIRED = false
2445
			local CHILDREN = workspace:GetDescendants()
2446
			for index, CHILD in pairs(CHILDREN) do
2447
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2448
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2449
					if HUM then
2450
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2451
						if TORSO then
2452
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2453
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2454
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2455
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2456
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2457
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2458
								Banish(CHILD)
2459
								FIRED = true
2460
								break
2461
							end
2462
						end
2463
					end
2464
				end
2465
			end
2466
			if FIRED == false then
2467
				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)))
2468
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2469
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2470
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2471
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2472
				if HITBOD ~= nil then
2473
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2474
						Banish(HITBOD.Parent)
2475
					end
2476
				end
2477
			end
2478
		end
2479
		for i = 1, 35 do
2480
			Swait(4)
2481
			local FIRED = false
2482
			local CHILDREN = workspace:GetDescendants()
2483
			for index, CHILD in pairs(CHILDREN) do
2484
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2485
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2486
					if HUM then
2487
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2488
						if TORSO then
2489
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2490
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2491
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2492
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2493
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2494
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2495
								Banish(CHILD)
2496
								FIRED = true
2497
								break
2498
							end
2499
						end
2500
					end
2501
				end
2502
			end
2503
			if FIRED == false then
2504
				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)))
2505
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2506
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2507
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2508
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2509
				if HITBOD ~= nil then
2510
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2511
						Banish(HITBOD.Parent)
2512
					end
2513
				end
2514
			end
2515
		end
2516
		for i = 1, 35 do
2517
			Swait(4)
2518
			local FIRED = false
2519
			local CHILDREN = workspace:GetDescendants()
2520
			for index, CHILD in pairs(CHILDREN) do
2521
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2522
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2523
					if HUM then
2524
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2525
						if TORSO then
2526
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2527
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2528
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2529
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2530
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2531
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2532
								Banish(CHILD)
2533
								FIRED = true
2534
								break
2535
							end
2536
						end
2537
					end
2538
				end
2539
			end
2540
			if FIRED == false then
2541
				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)))
2542
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2543
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2544
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2545
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2546
				if HITBOD ~= nil then
2547
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2548
						Banish(HITBOD.Parent)
2549
					end
2550
				end
2551
			end
2552
		end
2553
		for i = 1, 35 do
2554
			Swait(4)
2555
			local FIRED = false
2556
			local CHILDREN = workspace:GetDescendants()
2557
			for index, CHILD in pairs(CHILDREN) do
2558
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2559
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2560
					if HUM then
2561
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2562
						if TORSO then
2563
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2564
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2565
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2566
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2567
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2568
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2569
								Banish(CHILD)
2570
								FIRED = true
2571
								break
2572
							end
2573
						end
2574
					end
2575
				end
2576
			end
2577
			if FIRED == false then
2578
				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)))
2579
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2580
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2581
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2582
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2583
				if HITBOD ~= nil then
2584
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2585
						Banish(HITBOD.Parent)
2586
					end
2587
				end
2588
			end
2589
		end
2590
		for i = 1, 35 do
2591
			Swait(4)
2592
			local FIRED = false
2593
			local CHILDREN = workspace:GetDescendants()
2594
			for index, CHILD in pairs(CHILDREN) do
2595
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2596
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2597
					if HUM then
2598
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2599
						if TORSO then
2600
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2601
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2602
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2603
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2604
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2605
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2606
								Banish(CHILD)
2607
								FIRED = true
2608
								break
2609
							end
2610
						end
2611
					end
2612
				end
2613
			end
2614
			if FIRED == false then
2615
				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)))
2616
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2617
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2618
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2619
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2620
				if HITBOD ~= nil then
2621
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2622
						Banish(HITBOD.Parent)
2623
					end
2624
				end
2625
			end
2626
		end
2627
		for i = 1, 35 do
2628
			Swait(4)
2629
			local FIRED = false
2630
			local CHILDREN = workspace:GetDescendants()
2631
			for index, CHILD in pairs(CHILDREN) do
2632
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2633
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2634
					if HUM then
2635
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2636
						if TORSO then
2637
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2638
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2639
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2640
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2641
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2642
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2643
								Banish(CHILD)
2644
								FIRED = true
2645
								break
2646
							end
2647
						end
2648
					end
2649
				end
2650
			end
2651
			if FIRED == false then
2652
				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)))
2653
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2654
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2655
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2656
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2657
				if HITBOD ~= nil then
2658
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2659
						Banish(HITBOD.Parent)
2660
					end
2661
				end
2662
			end
2663
		end
2664
		for i = 1, 35 do
2665
			Swait(4)
2666
			local FIRED = false
2667
			local CHILDREN = workspace:GetDescendants()
2668
			for index, CHILD in pairs(CHILDREN) do
2669
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2670
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2671
					if HUM then
2672
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2673
						if TORSO then
2674
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2675
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2676
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2677
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2678
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2679
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2680
								Banish(CHILD)
2681
								FIRED = true
2682
								break
2683
							end
2684
						end
2685
					end
2686
				end
2687
			end
2688
			if FIRED == false then
2689
				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)))
2690
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2691
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2692
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2693
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2694
				if HITBOD ~= nil then
2695
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2696
						Banish(HITBOD.Parent)
2697
					end
2698
				end
2699
			end
2700
		end
2701
		for i = 1, 35 do
2702
			Swait(4)
2703
			local FIRED = false
2704
			local CHILDREN = workspace:GetDescendants()
2705
			for index, CHILD in pairs(CHILDREN) do
2706
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2707
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2708
					if HUM then
2709
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2710
						if TORSO then
2711
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2712
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2713
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2714
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2715
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2716
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2717
								Banish(CHILD)
2718
								FIRED = true
2719
								break
2720
							end
2721
						end
2722
					end
2723
				end
2724
			end
2725
			if FIRED == false then
2726
				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)))
2727
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2728
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2729
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2730
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2731
				if HITBOD ~= nil then
2732
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2733
						Banish(HITBOD.Parent)
2734
					end
2735
				end
2736
			end
2737
		end
2738
		for i = 1, 35 do
2739
			Swait(4)
2740
			local FIRED = false
2741
			local CHILDREN = workspace:GetDescendants()
2742
			for index, CHILD in pairs(CHILDREN) do
2743
				if CHILD.ClassName == "Model" and CHILD ~= Character then
2744
					local HUM = CHILD:FindFirstChildOfClass("Humanoid")
2745
					if HUM then
2746
						local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
2747
						if TORSO then
2748
							if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
2749
								local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
2750
								local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
2751
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2752
								WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2753
								SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)		
2754
								Banish(CHILD)
2755
								FIRED = true
2756
								break
2757
							end
2758
						end
2759
					end
2760
				end
2761
			end
2762
			if FIRED == false then
2763
				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)))
2764
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 1486538358, SoundPitch = 1, SoundVolume = 6})
2765
				WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2766
				SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
2767
				local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
2768
				if HITBOD ~= nil then
2769
					if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
2770
						Banish(HITBOD.Parent)
2771
					end
2772
				end
2773
			end
2774
		end
2775
		for i = 1, 45 do
2776
			Swait()
2777
			GATE.Size = GATE.Size - VT(10,0,10)
2778
		end
2779
		GATESPIN = false
2780
		GATE:remove()
2781
	end))
2782
	Swait(15)
2783
	local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
2784
	GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
2785
	local DECAL = IT("Decal",GATE)
2786
	DECAL.Texture = "http://www.roblox.com/asset/?id=62270888"
2787
	DECAL.Face = "Top"
2788
	GATE.CFrame = CF(HITPOS)
2789
	CreateSound(0, GATE, 7, 1.3, false)
2790
	for i = 1, 45 do
2791
		Swait()
2792
		GATE.Size = GATE.Size + VT(10,0,10)
2793
	end
2794
	CreateSound(213603013, RightHole, 7, 1, false)
2795
	CreateSound(213603013, LeftHole, 7, 1, false)
2796
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2797
	WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), 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(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
2798
	ATTACK = false
2799
	Rooted = false
2800
	DONE = true
2801
end
2802
function Taunt()
2803
	ATTACK = true
2804
	Rooted = true
2805
	CreateSound("907333406", Head, 10, 0.9)
2806
	sick:Stop()
2807
	Weapon.Parent = nil
2808
	for i = 1, 3 do
2809
		for i = 0, 0.7, 0.14 / Animation_Speed do
2810
			Swait()
2811
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2812
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.5 / Animation_Speed)
2813
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
2814
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
2815
			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)
2816
			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)
2817
		end
2818
		for i = 0, 0.7, 0.14 / Animation_Speed do
2819
			Swait()
2820
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
2821
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
2822
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(145)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.5)
2823
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-145)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 0.5)
2824
			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)
2825
			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)
2826
		end
2827
	end
2828
	sick:Play()
2829
	Weapon.Parent = Character
2830
	ATTACK = false
2831
	Rooted = false
2832
end
2833
2834
--//=================================\\
2835
--||	  ASSIGN THINGS TO KEYS
2836
--\\=================================//
2837
2838
function MouseDown(Mouse)
2839
	if ATTACK == false then
2840
	end
2841
end
2842
2843
function MouseUp(Mouse)
2844
HOLD = false
2845
end
2846
2847
function KeyDown(Key)
2848
	KEYHOLD = true
2849
	if Key == "z" and ATTACK == false then
2850
	   Shot()
2851
	end
2852
	
2853
	if Key == "f" and ATTACK == false then
2854
	   chatfunc("If you decided to be a Good Person then go to Afterlife...")
2855
       TOBANISH = {}
2856
	end
2857
	
2858
	if Key == "t" and ATTACK == false then
2859
	   Taunt()
2860
	end
2861
	
2862
	if Key == "c" and ATTACK == false then
2863
	   Roar()
2864
	end
2865
	
2866
	if Key == "q" and ATTACK == false then
2867
		for i=0, 0.5, 0.08 / Animation_Speed do
2868
		Swait()
2869
		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)
2870
		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)
2871
		end
2872
		MagicSphere(VT(0,0,0),15,Head.CFrame,"Pearl",VT(5,5,5))
2873
		local pos = RootPart.Position
2874
		RootPart.CFrame = CF(Mouse.Hit.p+VT(0,5,0),pos)
2875
	end
2876
2877
	if Key == "x" and ATTACK == false then
2878
	   Pure_Heaven()
2879
	end
2880
2881
	if Key == "v" and ATTACK == false then
2882
	   Gates_Of_Darkness()
2883-
	 Head.face.Texture = "rbxassetid://0"
2883+
2884
end
2885
2886
function KeyUp(Key)
2887
	KEYHOLD = false
2888
end
2889
2890
	Mouse.Button1Down:connect(function(NEWKEY)
2891
		MouseDown(NEWKEY)
2892
	end)
2893
	Mouse.Button1Up:connect(function(NEWKEY)
2894
		MouseUp(NEWKEY)
2895
	end)
2896
	Mouse.KeyDown:connect(function(NEWKEY)
2897
		KeyDown(NEWKEY)
2898
	end)
2899
	Mouse.KeyUp:connect(function(NEWKEY)
2900
		KeyUp(NEWKEY)
2901
	end)
2902
2903
--//=================================\\
2904
--\\=================================//
2905
2906
2907
function unanchor()
2908
	if UNANCHOR == true then
2909
		g = Character:GetChildren()
2910
		for i = 1, #g do
2911
			if g[i].ClassName == "Part" then
2912
				g[i].Anchored = false
2913
			end
2914
		end
2915
	end
2916
end
2917
2918
2919
--//=================================\\
2920
--||	WRAP THE WHOLE SCRIPT UP
2921
--\\=================================//
2922
 
2923
Humanoid.Changed:connect(function(Jump)
2924
	if Jump == "Jump" and (Disable_Jump == true) then
2925
		Humanoid.Jump = false
2926
	end
2927
end)
2928
2929
sick.AncestryChanged:Connect(function()
2930
	sick.Parent = Character
2931
end)
2932
2933
local FF = IT("ForceField", Character)
2934
FF.Visible = false
2935
2936
while true do
2937
	Swait()
2938
	script.Parent = WEAPONGUI
2939
	ANIMATE.Parent = nil
2940
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2941
	    v:Stop();
2942
	end
2943
	SINE = SINE + CHANGE
2944
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2945
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2946
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2947
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2948
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2949
		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) / Animation_Speed)
2950
		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) / Animation_Speed)
2951
		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) / Animation_Speed)
2952
		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) / Animation_Speed)
2953
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2954
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2955
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2956
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2957
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2958
	end
2959
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2960
		ANIM = "Jump"
2961
		if ATTACK == false then
2962
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2963
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2964
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2965
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2966
			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)
2967
			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)
2968
	    end
2969
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2970
		ANIM = "Fall"
2971
		if ATTACK == false then
2972
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2973
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2974
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2975
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2976
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2977
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2978
		end
2979
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2980
		ANIM = "Idle"
2981
		if ATTACK == false then
2982
			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)
2983
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
2984
			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)
2985
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2986
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2987
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2988
		end
2989
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2990
		ANIM = "Walk"
2991
		if ATTACK == false then
2992
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2993
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2994
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2995
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2996
		 end
2997
	 end
2998
	 unanchor()
2999
	 Humanoid.MaxHealth = 16e+16
3000
	 Humanoid.Health = 16e+16
3001
	 if Rooted == false then
3002
		Disable_Jump = false
3003
		Humanoid.WalkSpeed = Speed
3004
	 elseif Rooted == true then
3005
		Disable_Jump = true
3006
		Humanoid.WalkSpeed = 0
3007
	 end
3008
	 if Head:FindFirstChild("face") then
3009
	 Head.face.Texture = "rbxassetid://176777497"
3010
	end
3011
end
3012
3013
        elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
3014
            c:remove()
3015
        elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
3016
            c:remove()
3017
        end
3018
    end	
3019
3020
--//=================================\\
3021
--\\=================================//
3022
3023
3024
3025
3026
3027
--//====================================================\\--
3028
--||			  		 END OF SCRIPT
3029
--\\====================================================//--