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