View difference between Paste ID: tvFKRHVk and 560YDKLV
SHOW: | | - or go back to the newest paste.
1-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
1+
2-
local Player,game,owner = owner,game
2+
3-
local RealPlayer = Player
3+
4-
do
4+
5-
    print("FE Compatibility code by Mokiros")
5+
6-
    local rp = RealPlayer
6+
7-
    script.Parent = rp.Character
7+
8
            local s = rawget(self,"_RealService")
9-
    --RemoteEvent for communicating
9+
10-
    local Event = Instance.new("RemoteEvent")
10+
11-
    Event.Name = "UserInput_Event"
11+
12
            local s = rawget(self,"_RealService")
13-
    --Fake event to make stuff like Mouse.KeyDown work
13+
14-
    local function fakeEvent()
14+
15-
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
15+
16-
        t.connect = t.Connect
16+
17-
        return t
17+
18
        end
19
    }
20-
    --Creating fake input objects with fake variables
20+
21-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21+
22-
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22+
23-
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23+
24-
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24+
25-
    end}
25+
26-
    --Merged 2 functions into one by checking amount of arguments
26+
27-
    CAS.UnbindAction = CAS.BindAction
27+
28
            return self[s]
29-
    --This function will trigger the events that have been :Connect()'ed
29+
30-
    local function te(self,ev,...)
30+
31-
        local t = m[ev]
31+
32-
        if t and t._fakeEvent then
32+
33-
            for _,f in pairs(t.Functions) do
33+
34-
                f(...)
34+
35-
            end
35+
36
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
37
    g.service = g.GetService
38-
    m.TrigEvent = te
38+
39-
    UIS.TrigEvent = te
39+
40
        RenderStepped = _rg:GetService("RunService").Heartbeat,
41-
    Event.OnServerEvent:Connect(function(plr,io)
41+
42-
        if plr~=rp then return end
42+
43-
        m.Target = io.Target
43+
44-
        m.Hit = io.Hit
44+
45-
        if not io.isMouse then
45+
46-
            local b = io.UserInputState == Enum.UserInputState.Begin
46+
47-
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
47+
48-
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
48+
49-
            end
49+
50-
            for _,t in pairs(CAS.Actions) do
50+
51-
                for _,k in pairs(t.Keys) do
51+
52-
                    if k==io.KeyCode then
52+
53-
                        t.Function(t.Name,io.UserInputState,io)
53+
54-
                    end
54+
55-
                end
55+
56-
            end
56+
57-
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57+
58-
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58+
59
end
60-
    end)
60+
61-
    Event.Parent = NLS([==[
61+
62-
    local Player = game:GetService("Players").LocalPlayer
62+
63-
    local Event = script:WaitForChild("UserInput_Event")
63+
64
Character = Player.Character
65-
    local Mouse = Player:GetMouse()
65+
66-
    local UIS = game:GetService("UserInputService")
66+
67-
    local input = function(io,a)
67+
68-
        if a then return end
68+
69-
        --Since InputObject is a client-side instance, we create and pass table instead
69+
70-
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
70+
71
LeftArm = Character["Left Arm"]
72-
    UIS.InputBegan:Connect(input)
72+
73-
    UIS.InputEnded:Connect(input)
73+
74
RootJoint = RootPart["RootJoint"]
75-
    local h,t
75+
76-
    --Give the server mouse data 30 times every second, but only if the values changed
76+
77-
    --If player is not moving their mouse, client won't fire events
77+
78-
    while wait(1/30) do
78+
79-
        if h~=Mouse.Hit or t~=Mouse.Target then
79+
80-
            h,t=Mouse.Hit,Mouse.Target
80+
81-
            Event:FireServer({isMouse=true,Target=t,Hit=h})
81+
82
sick.Looped = true
83-
    end]==],Player.Character)
83+
84
sick.Volume = 2
85
sick.TimePosition = 0
86
Character.Archivable = true
87
Humanoid.DisplayDistanceType = "None"
88
89
local naeeym2 = Instance.new("BillboardGui",Character)
90
naeeym2.AlwaysOnTop = true
91
naeeym2.Size = UDim2.new(5,35,2,35)
92
naeeym2.StudsOffset = Vector3.new(0,3,0)
93
naeeym2.Adornee = Character.Head
94
naeeym2.Name = "Name"
95
local tecks2 = Instance.new("TextLabel",naeeym2)
96
tecks2.BackgroundTransparency = 1
97
tecks2.TextScaled = true
98
tecks2.BorderSizePixel = 0
99
tecks2.Text = "BY:Fetty"
100
tecks2.Font = "Code"
101
tecks2.TextSize = 30
102
tecks2.TextTransparency = 1
103
tecks2.TextStrokeTransparency = 1
104
tecks2.TextColor3 = Color3.new(255/255,0/255,0/255)
105
tecks2.Size = UDim2.new(1,0,0.5,0)
106
tecks2.Parent = naeeym2
107
108
IT = Instance.new
109
CF = CFrame.new
110
VT = Vector3.new
111
RAD = math.rad
112
C3 = Color3.new
113
UD2 = UDim2.new
114
BRICKC = BrickColor.new
115
ANGLES = CFrame.Angles
116
EULER = CFrame.fromEulerAnglesXYZ
117
COS = math.cos
118
ACOS = math.acos
119
SIN = math.sin
120
ASIN = math.asin
121
ABS = math.abs
122
MRANDOM = math.random
123
FLOOR = math.floor
124
125
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
126
	local NEWMESH = IT(MESH)
127
	if MESH == "SpecialMesh" then
128
		NEWMESH.MeshType = MESHTYPE
129
		if MESHID ~= "nil" and MESHID ~= "" then
130
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
131
		end
132
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
133
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
134
		end
135
	end
136
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
137
	NEWMESH.Scale = SCALE
138
	NEWMESH.Parent = PARENT
139
	return NEWMESH
140
end
141
142
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
143
	local NEWPART = IT("Part")
144
	NEWPART.formFactor = FORMFACTOR
145
	NEWPART.Reflectance = REFLECTANCE
146
	NEWPART.Transparency = TRANSPARENCY
147
	NEWPART.CanCollide = false
148
	NEWPART.Locked = true
149
	NEWPART.Anchored = true
150
	if ANCHOR == false then
151
		NEWPART.Anchored = false
152
	end
153
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
154
	NEWPART.Name = NAME
155
	NEWPART.Size = SIZE
156
	NEWPART.Position = Torso.Position
157
	NEWPART.Material = MATERIAL
158
	NEWPART:BreakJoints()
159
	NEWPART.Parent = PARENT
160
	return NEWPART
161
end
162
163
--//=================================\\
164
--||		  CUSTOMIZATION
165
--\\=================================//
166
167
Player_Size = 1 --Size of the player.
168
Animation_Speed = 3
169
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
170
171
local Speed = 16
172
local Effects2 = {}
173
174
--//=================================\\
175
--|| 	  END OF CUSTOMIZATION
176
--\\=================================//
177
178
	local function weldBetween(a, b)
179
	    local weldd = Instance.new("ManualWeld")
180
	    weldd.Part0 = a
181
	    weldd.Part1 = b
182
	    weldd.C0 = CFrame.new()
183
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
184
	    weldd.Parent = a
185
	    return weldd
186
	end
187
188
--//=================================\\
189
--|| 	      USEFUL VALUES
190
--\\=================================//
191
192
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
193
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
194
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
195
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
196
local CHANGEDEFENSE = 0
197
local CHANGEDAMAGE = 0
198
local CHANGEMOVEMENT = 0
199
local ANIM = "Idle"
200
local ATTACK = false
201
local EQUIPPED = false
202
local HOLD = false
203
local COMBO = 1
204
local Rooted = false
205
local SINE = 0
206
local KEYHOLD = false
207
local CHANGE = 2 / Animation_Speed
208
local WALKINGANIM = false
209
local WALK = 0
210
local VALUE1 = false
211
local VALUE2 = false
212
local ROBLOXIDLEANIMATION = IT("Animation")
213
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
214
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
215
--ROBLOXIDLEANIMATION.Parent = Humanoid
216
local WEAPONGUI = IT("ScreenGui", PlayerGui)
217
WEAPONGUI.Name = "Weapon GUI"
218
local Weapon = IT("Model")
219
Weapon.Name = "Weapon"
220
local Delete = IT("Model",Character)
221
Delete.Name = "Banlist"
222
local Effects = IT("Folder", Weapon)
223
Effects.Name = "Effects"
224
local ANIMATOR = Humanoid.Animator
225
local ANIMATE = Character.Animate
226
local UNANCHOR = true
227
local LAUGHS = {834001699,834001752,834001797,834001828}
228
local SONGS = {534861083,530959353,1534958855,0}
229
local CHOICE = MRANDOM(1,4)
230
local PLAYMAINANIM = true
231
local INTRO = false
232
local TRANSFORMED = false
233
local INSTANT = false
234
local MODE = "GoodCop"
235
236
--//=================================\\
237
--\\=================================//
238
239
240
--//=================================\\
241
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
242
--\\=================================//
243
244
ArtificialHB = Instance.new("BindableEvent", script)
245
ArtificialHB.Name = "ArtificialHB"
246
247
script:WaitForChild("ArtificialHB")
248
249
frame = Frame_Speed
250
tf = 0
251
allowframeloss = false
252
tossremainder = false
253
lastframe = tick()
254
script.ArtificialHB:Fire()
255
256
game:GetService("RunService").Heartbeat:connect(function(s, p)
257
	tf = tf + s
258
	if tf >= frame then
259
		if allowframeloss then
260
			script.ArtificialHB:Fire()
261
			lastframe = tick()
262
		else
263
			for i = 1, math.floor(tf / frame) do
264
				script.ArtificialHB:Fire()
265
			end
266
		lastframe = tick()
267
		end
268
		if tossremainder then
269
			tf = 0
270
		else
271
			tf = tf - frame * math.floor(tf / frame)
272
		end
273
	end
274
end)
275
276
--//=================================\\
277
--\\=================================//
278
279
280
281
282
283
--//=================================\\
284
--|| 	      SOME FUNCTIONS
285
--\\=================================//
286
287
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
288
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
289
end
290
291
function PositiveAngle(NUMBER)
292
	if NUMBER >= 0 then
293
		NUMBER = 0
294
	end
295
	return NUMBER
296
end
297
298
function NegativeAngle(NUMBER)
299
	if NUMBER <= 0 then
300
		NUMBER = 0
301
	end
302
	return NUMBER
303
end
304
305
function Swait(NUMBER)
306
	if NUMBER == 0 or NUMBER == nil then
307
		ArtificialHB.Event:wait()
308
	else
309
		for i = 1, NUMBER do
310
			ArtificialHB.Event:wait()
311
		end
312
	end
313
end
314
315
function QuaternionFromCFrame(cf)
316
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
317
	local trace = m00 + m11 + m22
318
	if trace > 0 then 
319
		local s = math.sqrt(1 + trace)
320
		local recip = 0.5 / s
321
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
322
	else
323
		local i = 0
324
		if m11 > m00 then
325
			i = 1
326
		end
327
		if m22 > (i == 0 and m00 or m11) then
328
			i = 2
329
		end
330
		if i == 0 then
331
			local s = math.sqrt(m00 - m11 - m22 + 1)
332
			local recip = 0.5 / s
333
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
334
		elseif i == 1 then
335
			local s = math.sqrt(m11 - m22 - m00 + 1)
336
			local recip = 0.5 / s
337
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
338
		elseif i == 2 then
339
			local s = math.sqrt(m22 - m00 - m11 + 1)
340
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
341
		end
342
	end
343
end
344
 
345
function QuaternionToCFrame(px, py, pz, x, y, z, w)
346
	local xs, ys, zs = x + x, y + y, z + z
347
	local wx, wy, wz = w * xs, w * ys, w * zs
348
	local xx = x * xs
349
	local xy = x * ys
350
	local xz = x * zs
351
	local yy = y * ys
352
	local yz = y * zs
353
	local zz = z * zs
354
	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))
355
end
356
 
357
function QuaternionSlerp(a, b, t)
358
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
359
	local startInterp, finishInterp;
360
	if cosTheta >= 0.0001 then
361
		if (1 - cosTheta) > 0.0001 then
362
			local theta = ACOS(cosTheta)
363
			local invSinTheta = 1 / SIN(theta)
364
			startInterp = SIN((1 - t) * theta) * invSinTheta
365
			finishInterp = SIN(t * theta) * invSinTheta
366
		else
367
			startInterp = 1 - t
368
			finishInterp = t
369
		end
370
	else
371
		if (1 + cosTheta) > 0.0001 then
372
			local theta = ACOS(-cosTheta)
373
			local invSinTheta = 1 / SIN(theta)
374
			startInterp = SIN((t - 1) * theta) * invSinTheta
375
			finishInterp = SIN(t * theta) * invSinTheta
376
		else
377
			startInterp = t - 1
378
			finishInterp = t
379
		end
380
	end
381
	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
382
end
383
384
function Clerp(a, b, t)
385
	local qa = {QuaternionFromCFrame(a)}
386
	local qb = {QuaternionFromCFrame(b)}
387
	local ax, ay, az = a.x, a.y, a.z
388
	local bx, by, bz = b.x, b.y, b.z
389
	local _t = 1 - t
390
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
391
end
392
393
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
394
	local frame = IT("Frame")
395
	frame.BackgroundTransparency = TRANSPARENCY
396
	frame.BorderSizePixel = BORDERSIZEPIXEL
397
	frame.Position = POSITION
398
	frame.Size = SIZE
399
	frame.BackgroundColor3 = COLOR
400
	frame.BorderColor3 = BORDERCOLOR
401
	frame.Name = NAME
402
	frame.Parent = PARENT
403
	return frame
404
end
405
406
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
407
	local label = IT("TextLabel")
408
	label.BackgroundTransparency = 1
409
	label.Size = UD2(1, 0, 1, 0)
410
	label.Position = UD2(0, 0, 0, 0)
411
	label.TextColor3 = TEXTCOLOR
412
	label.TextStrokeTransparency = STROKETRANSPARENCY
413
	label.TextTransparency = TRANSPARENCY
414
	label.FontSize = TEXTFONTSIZE
415
	label.Font = TEXTFONT
416
	label.BorderSizePixel = BORDERSIZEPIXEL
417
	label.TextScaled = false
418
	label.Text = TEXT
419
	label.Name = NAME
420
	label.Parent = PARENT
421
	return label
422
end
423
424
function NoOutlines(PART)
425
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
426
end
427
428
429
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
430
	local NEWWELD = IT(TYPE)
431
	NEWWELD.Part0 = PART0
432
	NEWWELD.Part1 = PART1
433
	NEWWELD.C0 = C0
434
	NEWWELD.C1 = C1
435
	NEWWELD.Parent = PARENT
436
	return NEWWELD
437
end
438
439
function CreateSound(ID, PARENT, VOLUME, PITCH)
440
	local NEWSOUND = nil
441
	coroutine.resume(coroutine.create(function()
442
		NEWSOUND = IT("Sound", PARENT)
443
		NEWSOUND.Volume = VOLUME
444
		NEWSOUND.Pitch = PITCH
445
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
446
		Swait()
447
		NEWSOUND:play()
448
		game:GetService("Debris"):AddItem(NEWSOUND, 10)
449
	end))
450
	return NEWSOUND
451
end
452
453
function CFrameFromTopBack(at, top, back)
454
	local right = top:Cross(back)
455
	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)
456
end
457
458
function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
459
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
460
	local mesh = IT("SpecialMesh",wave)
461
	mesh.MeshType = "FileMesh"
462
	mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
463
	mesh.Scale = SIZE
464
	mesh.Offset = VT(0,0,0)
465
	wave.CFrame = CFRAME
466
	coroutine.resume(coroutine.create(function(PART)
467
		for i = 1, WAIT do
468
			Swait()
469
			mesh.Scale = mesh.Scale + GROW
470
			if DOESROT == true then
471
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
472
			end
473
			wave.Transparency = wave.Transparency + (0.5/WAIT)
474
			if wave.Transparency > 0.99 then
475
				wave:remove()
476
			end
477
		end
478
	end))
479
end
480
481
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
482
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
483
	local mesh = IT("SpecialMesh",wave)
484
	mesh.MeshType = "Sphere"
485
	mesh.Scale = SIZE
486
	mesh.Offset = VT(0,0,0)
487
	wave.CFrame = CFRAME
488
	coroutine.resume(coroutine.create(function(PART)
489
		for i = 1, WAIT do
490
			Swait()
491
			mesh.Scale = mesh.Scale + GROW
492
			wave.Transparency = wave.Transparency + (1/WAIT)
493
			if wave.Transparency > 0.99 then
494
				wave:remove()
495
			end
496
		end
497
	end))
498
end
499
500
function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
501
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
502
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
503
	wave.CFrame = CFRAME
504
	coroutine.resume(coroutine.create(function(PART)
505
		for i = 1, WAIT do
506
			Swait()
507
			mesh.Scale = mesh.Scale * GROW
508
			wave.Transparency = wave.Transparency + (0.5/WAIT)
509
			if wave.Transparency > 0.99 then
510
				wave:remove()
511
			end
512
		end
513
	end))
514
end
515
516
function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
517
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
518
	local mesh = IT("BlockMesh",wave)
519
	wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
520
	coroutine.resume(coroutine.create(function(PART)
521
		for i = 1, WAIT do
522
			Swait()
523
			mesh.Scale = mesh.Scale + GROW
524
			wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
525
			wave.Transparency = wave.Transparency + (1/WAIT)
526
			if wave.Transparency > 0.99 then
527
				wave:remove()
528
			end
529
		end
530
	end))
531
end
532
533
function MakeForm(PART,TYPE)
534
	if TYPE == "Cyl" then
535
		local MSH = IT("CylinderMesh",PART)
536
	elseif TYPE == "Ball" then
537
		local MSH = IT("SpecialMesh",PART)
538
		MSH.MeshType = "Sphere"
539
	elseif TYPE == "Wedge" then
540
		local MSH = IT("SpecialMesh",PART)
541
		MSH.MeshType = "Wedge"
542
	end
543
end
544
545
function CheckTableForString(Table, String)
546
	for i, v in pairs(Table) do
547
		if string.find(string.lower(String), string.lower(v)) then
548
			return true
549
		end
550
	end
551
	return false
552
end
553
554
555
556
Debris = game:GetService("Debris")
557
558
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
559
	local Direction = CFrame.new(StartPos, Vec).lookVector
560
	local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
561
	local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
562
	if RayHit and CheckIntangible(RayHit) then
563
		if DelayIfHit then
564
			wait()
565
		end
566
		RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
567
	end
568
	return RayHit, RayPos, RayNormal
569
end
570
571
function RayCast(Position, Direction, MaxDistance, IgnoreList)
572
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
573
end
574
575
function turnto(position)
576
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
577
end
578
579
function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
580
	PLAYMAINANIM = false
581
	if WhichPose == "Cast1" then
582
		for i=0, Time, 0.1 / Animation_Speed do
583
			Swait()
584
			if Magic == true then
585
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
586
			end
587
			if Gyro ~= nil and Gyro ~= false then
588
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
589
			end
590
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
591
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
592
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
593
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
594
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
595
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
596
		end
597
	elseif WhichPose == "Cast2" then
598
		for i=0, Time, 0.1 / Animation_Speed do
599
			Swait()
600
			if Magic == true then
601
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
602
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
603
			end
604
			if Gyro ~= nil and Gyro ~= false then
605
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
606
			end
607
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
608
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
609
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
610
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
611
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
612
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
613
		end
614
	elseif WhichPose == "RightArmUp" then
615
		for i=0, Time, 0.1 / Animation_Speed do
616
			Swait()
617
			if Magic == true then
618
				WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
619
			end
620
			if Gyro ~= nil and Gyro ~= false then
621
				Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
622
			end
623
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
624
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
625
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
626
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
627
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
628
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
629
		end
630
	elseif WhichPose == "Taunt" then
631
		for i=0, Time, 0.1 / Animation_Speed do
632
			Swait()
633
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
634
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
635
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
636
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
637
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
638
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
639
		end
640
		CreateSound(221057812,Torso,10,1,false)
641
		for i=0, Time*2, 0.1 / Animation_Speed do
642
			Swait()
643
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
644
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
645
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
646
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
647
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
648
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
649
		end
650
		for i=0, Time, 0.1 / Animation_Speed do
651
			Swait()
652
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
653
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
654
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
655
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
656
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
657
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
658
		end
659
	elseif WhichPose == "Prepare key" then
660
		for i=0, Time, 0.1 / Animation_Speed do
661
			Swait()
662
			if Gyro ~= nil and Gyro ~= false then
663
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
664
			end
665
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
666
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
667
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
668
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
669
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
670
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
671
		end
672
	elseif WhichPose == "Turn key" then
673
		for i=0, Time, 0.1 / Animation_Speed do
674
			Swait()
675
			if Gyro ~= nil and Gyro ~= false then
676
				Gyro.cframe = CF(RootPart.Position,Tors.Position)
677
			end
678
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
679
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
680
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
681
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
682
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
683
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
684
		end
685
	end
686
	PLAYMAINANIM = true
687
end
688
689
--//=================================\\
690
--|| 			SPEECH
691
--\\=================================//
692
693
function Chatter(Text,Timer)
694
	local chat = coroutine.wrap(function()
695
		if Character:FindFirstChild("SpeechBoard")~= nil then
696
			Character:FindFirstChild("SpeechBoard"):destroy()
697
		end
698
		local naeeym2 = IT("BillboardGui",Character)
699
		naeeym2.Size = UD2(0,100,0,40)
700
		naeeym2.StudsOffset = Vector3.new(0,2,0)
701
		naeeym2.Adornee = Character.Head
702
		naeeym2.Name = "SpeechBoard"
703
		naeeym2.AlwaysOnTop = true
704
		local tecks2 = IT("TextLabel",naeeym2)
705
		tecks2.BackgroundTransparency = 1
706
		tecks2.BorderSizePixel = 0
707
		tecks2.Text = ""
708
		tecks2.Font = "Legacy"
709
		tecks2.TextSize = 15
710
		tecks2.TextStrokeTransparency = 1
711
		tecks2.TextColor3 = Color3.new(255,0,0)
712
		tecks2.TextStrokeColor3 = Color3.new(255,0,0)
713
		tecks2.Size = UDim2.new(1,0,0.5,0)
714
		for i = 1,string.len(Text),1 do
715
			CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
716
			tecks2.Text = string.sub(Text,1,i)
717
			wait(Timer)
718
		end
719
		wait(1)
720
		naeeym2:Destroy()
721
	end)
722
	chat()
723
end
724
725
function chatfunc(text,waitt)
726
local chat = coroutine.wrap(function()
727
if Character:FindFirstChild("TalkingBillBoard")~= nil then
728
Character:FindFirstChild("TalkingBillBoard"):destroy()
729
end
730
local naeeym2 = Instance.new("BillboardGui",Character)
731
naeeym2.Size = UDim2.new(0,100,0,40)
732
naeeym2.StudsOffset = Vector3.new(0,5,0)
733
naeeym2.Adornee = Character.Head
734
naeeym2.Name = "TalkingBillBoard"
735
naeeym2.AlwaysOnTop = true
736
local tecks2 = Instance.new("TextLabel",naeeym2)
737
tecks2.BackgroundTransparency = 1
738
tecks2.BorderSizePixel = 0
739
tecks2.Text = ""
740
tecks2.Font = "SciFi"
741
tecks2.TextSize = 30
742
tecks2.TextStrokeTransparency = 1
743
tecks2.TextColor3 = SKILLTEXTCOLOR
744
tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
745
tecks2.Size = UDim2.new(1,0,0.5,0)
746
for i = 1,string.len(text),1 do
747
tecks2.Text = string.sub(text,1,i)
748
Swait()
749
end
750
wait(waitt)
751
coroutine.resume(coroutine.create(function()
752
	for i = 1, 10 do
753
		tecks2.TextTransparency = tecks2.TextTransparency + 0.1
754
		Swait()
755
	end
756
	naeeym2:Destroy()
757
end))
758
end)
759
chat()
760
end
761
762
--// Start Stuff for Banishing \\--
763
764
local TOBANISH = {}
765
766
function CastProperRay(StartPos, EndPos, Distance, Ignore)
767
	local DIRECTION = CF(StartPos,EndPos).lookVector
768
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
769
end
770
771
function printbye(Name)
772
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your life is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
773
	chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
774
end
775
776
function Banish(Foe)
777
	if Foe then
778
		coroutine.resume(coroutine.create(function()
779
			--if game.Players:FindFirstChild(Foe.Name) then
780
				table.insert(TOBANISH,Foe.Name)
781
				printbye(Foe.Name)
782
			--end
783
			Foe.Archivable = true
784
			local CLONE = Foe:Clone()
785
			Foe:Destroy()
786
			CLONE.Parent = Effects
787
			CLONE:BreakJoints()
788
			local MATERIALS = {"Glass","Neon"}
789
			for _, c in pairs(CLONE:GetDescendants()) do
790
				if c:IsA("BasePart") then
791
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
792
 						CreateSound(340722848, c, 10, 1, false)
793
					end
794
					c.Anchored = true
795
					c.Transparency = c.Transparency + 0.2
796
					c.Material = MATERIALS[MRANDOM(1,2)]
797
					c.Color = C3(0,255,0)
798
					if c.ClassName == "MeshPart" then
799
						c.TextureID = ""
800
					end
801
					if c:FindFirstChildOfClass("SpecialMesh") then
802
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
803
					end
804
					if c:FindFirstChildOfClass("Decal") then
805
						c:FindFirstChildOfClass("Decal"):remove()
806
					end
807
					c.Name = "Banished"
808
					c.CanCollide = false
809
				else
810
					c:remove()
811
				end
812
			end
813
			local A = false
814
			for i = 1, 35 do
815
				if A == false then
816
					A = true
817
				elseif A == true then
818
					A = false
819
				end
820
				for _, c in pairs(CLONE:GetDescendants()) do
821
					if c:IsA("BasePart") then
822
						c.Anchored = true
823
						c.Material = MATERIALS[MRANDOM(1,2)]
824
						c.Transparency = c.Transparency + 0.8/35
825
						if A == false then
826
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
827
						elseif A == true then
828
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
829
						end
830
					end
831
				end
832
				Swait()
833
			end
834
			CLONE:remove()
835
		end))
836
	end
837
end
838
839
function BANNEAREST(POS,RANGE)
840
	for i,v in ipairs(workspace:GetChildren()) do
841
	local body = v:GetChildren()
842
		for part = 1, #body do
843
			if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
844
				if(body[part].Position - POS).Magnitude < RANGE then
845
					if v:FindFirstChildOfClass("Humanoid") then
846
						Banish(v)
847
						if game.Players:FindFirstChild(v.Name) then
848
							local Value = IT("BoolValue",Delete)
849
							Value.Name = v.Name
850
						end
851
					end
852
				end
853
			end
854
		end
855
	end
856
end
857
858
workspace.ChildAdded:connect(function(instance)
859
    for BANISH = 1, #TOBANISH do
860
		if TOBANISH[BANISH] ~= nil then
861
			if instance.Name == TOBANISH[BANISH] then
862
				coroutine.resume(coroutine.create(function()
863
					printbye(instance.Name)
864
					instance:ClearAllChildren()
865
					Debris:AddItem(instance,0.0005)
866
				end))
867
			end
868
		end
869
	end
870
end)
871
872
function SpawnTrail(FROM,TO,BIG)
873
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
874
	MakeForm(TRAIL,"Cyl")
875
	local DIST = (FROM - TO).Magnitude
876
	if BIG == true then
877
		TRAIL.Size = VT(10,DIST,10)
878
	else
879
		TRAIL.Size = VT(0.25,DIST,0.25)
880
	end
881
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
882
	coroutine.resume(coroutine.create(function()
883
		for i = 1, 5 do
884
			Swait()
885
			TRAIL.Transparency = TRAIL.Transparency + 0.1
886
		end
887
		TRAIL:remove()
888
	end))
889
end
890
891
function WACKYEFFECT(Table)
892
	local TYPE = (Table.EffectType or "Sphere")
893
	local SIZE = (Table.Size or VT(1,1,1))
894
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
895
	local TRANSPARENCY = (Table.Transparency or 0)
896
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
897
	local CFRAME = (Table.CFrame or Torso.CFrame)
898
	local MOVEDIRECTION = (Table.MoveToPos or nil)
899
	local ROTATION1 = (Table.RotationX or 0)
900
	local ROTATION2 = (Table.RotationY or 0)
901
	local ROTATION3 = (Table.RotationZ or 0)
902
	local MATERIAL = (Table.Material or "Neon")
903
	local COLOR = (Table.Color or C3(0,255,0))
904
	local TIME = (Table.Time or 45)
905
	local SOUNDID = (Table.SoundID or nil)
906
	local SOUNDPITCH = (Table.SoundPitch or nil)
907
	local SOUNDVOLUME = (Table.SoundVolume or nil)
908
	coroutine.resume(coroutine.create(function()
909
		local PLAYSSOUND = false
910
		local SOUND = nil
911
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
912
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
913
			PLAYSSOUND = true
914
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
915
		end
916
		EFFECT.Color = COLOR
917
		local MSH = nil
918
		if TYPE == "Sphere" then
919
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
920
		elseif TYPE == "Block" then
921
			MSH = IT("BlockMesh",EFFECT)
922
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
923
		elseif TYPE == "Wave" then
924
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
925
		elseif TYPE == "Ring" then
926
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
927
		elseif TYPE == "Slash" then
928
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
929
		elseif TYPE == "Round Slash" then
930
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
931
		elseif TYPE == "Swirl" then
932
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
933
		elseif TYPE == "Skull" then
934
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
935
		elseif TYPE == "Crystal" then
936
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
937
		end
938
		if MSH ~= nil then
939
			local MOVESPEED = nil
940
			if MOVEDIRECTION ~= nil then
941
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
942
			end
943
			local GROWTH = SIZE - ENDSIZE
944
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
945
			if TYPE == "Block" then
946
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
947
			else
948
				EFFECT.CFrame = CFRAME
949
			end
950
			for LOOP = 1, TIME+1 do
951
				Swait()
952
				MSH.Scale = MSH.Scale - GROWTH/TIME
953
				if TYPE == "Wave" then
954
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
955
				end
956
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
957
				if TYPE == "Block" then
958
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
959
				else
960
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
961
				end
962
				if MOVEDIRECTION ~= nil then
963
					local ORI = EFFECT.Orientation
964
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
965
					EFFECT.Orientation = ORI
966
				end
967
			end
968
			if PLAYSSOUND == false then
969
				EFFECT:remove()
970
			else
971
				SOUND.Stopped:Connect(function()
972
					EFFECT:remove()
973
				end)
974
			end
975
		else
976
			if PLAYSSOUND == false then
977
				EFFECT:remove()
978
			else
979
				repeat Swait() until SOUND.Playing == false
980
				EFFECT:remove()
981
			end
982
		end
983
	end))
984
end
985
986
-- \\ End Stuff for Banishing //--
987
988
--//=================================\\
989
--||	     WEAPON CREATION
990
--\\=================================//
991
print("hello this is Epticallity and you're watching Disney Channel")
992
warn("let dreamer suck you off VengefulProgram")
993
local EyeSizes={
994
	NumberSequenceKeypoint.new(0,1,0),
995
	NumberSequenceKeypoint.new(1,0,0)
996
}
997
local EyeTrans={
998
	NumberSequenceKeypoint.new(0,0.8,0),
999
	NumberSequenceKeypoint.new(1,1,0)
1000
}
1001
local PE=Instance.new("ParticleEmitter")
1002
PE.LightEmission=.8
1003
PE.Color = ColorSequence.new(BRICKC("Really red").Color)
1004
PE.Size=NumberSequence.new(EyeSizes)
1005
PE.Transparency=NumberSequence.new(EyeTrans)
1006
PE.Lifetime=NumberRange.new(0.35,1.5)
1007
PE.Rotation=NumberRange.new(0,360)
1008
PE.Rate=999
1009
PE.VelocitySpread = 10000
1010
PE.Acceleration = Vector3.new(0,0,0)
1011
PE.Drag = 5
1012
PE.Speed = NumberRange.new(0,0,0)
1013
PE.Texture="http://www.roblox.com/asset/?id=0"
1014
PE.ZOffset = -1.5
1015
PE.Name = "PE"
1016
PE.Enabled = false
1017
1018
function particles(art)
1019
	local PARTICLES = PE:Clone()
1020
	PARTICLES.Parent = art
1021
end
1022
1023
local SCYTHE = IT("Model",Character)
1024
SCYTHE.Name = "SCYTHE"
1025
1026
local B = SCYTHE
1027
local HandlePart = CreatePart(0, B, "Neon", 0, 0, "Really red", "HandPart", VT(0,0,0),false)
1028
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1029
local HitBox = CreatePart(0, B, "Neon", 0, 0, "Really red", "Hitbox", VT(0,0,0),false)
1030
1031
for _, c in pairs(SCYTHE:GetChildren()) do
1032
	if c.ClassName == "Part" then
1033
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1034
	end
1035
end
1036
1037
Weapon.Parent = Character
1038
1039
Humanoid.Died:connect(function()
1040
	KillChildren(Character)
1041
	SCYTHE:ClearAllChildren()
1042
	for i = 1, 100 do
1043
		Swait()
1044
		sick.Volume = sick.Volume - 0.02
1045
	end
1046
end)
1047
1048
local Particle = IT("ParticleEmitter",nil)
1049
Particle.Enabled = false
1050
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
1051
Particle.LightEmission = 0.5
1052
Particle.Rate = 150
1053
Particle.ZOffset = 0.2
1054
Particle.Rotation = NumberRange.new(-180, 180)
1055
Particle.RotSpeed = NumberRange.new(-180, 180)
1056
Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
1057
Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
1058
1059
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
1060
function ParticleEmitter(Table)
1061
	local PRTCL = Particle:Clone()
1062
	local Speed = Table.Speed or 5
1063
	local Drag = Table.Drag or 0
1064
	local Size1 = Table.Size1 or 1
1065
	local Size2 = Table.Size2 or 5
1066
	local Lifetime1 = Table.Lifetime1 or 1
1067
	local Lifetime2 = Table.Lifetime2 or 1.5
1068
	local Parent = Table.Parent or Torso
1069
	local Emit = Table.Emit or 100
1070
	local Offset = Table.Offset or 360
1071
	local Acel = Table.Acel or VT(0,0,0)
1072
	local Enabled = Table.Enabled or false
1073
	PRTCL.Parent = Parent
1074
	PRTCL.Size = NumberSequence.new(Size1,Size2)
1075
	PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
1076
	PRTCL.Speed = NumberRange.new(Speed)
1077
	PRTCL.VelocitySpread = Offset
1078
	PRTCL.Drag = Drag
1079
	PRTCL.Acceleration = Acel
1080
	if Enabled == false then
1081
		PRTCL:Emit(Emit)
1082
		Debris:AddItem(PRTCL,Lifetime2)
1083
	else
1084
		PRTCL.Enabled = true
1085
	end
1086
	return PRTCL
1087
end
1088
1089
local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
1090
local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
1091
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1092
MakeForm(Part,"Wedge")
1093
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
1094
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
1095
MakeForm(Part,"Wedge")
1096
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
1097
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
1098
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1099
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
1100
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1101
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
1102
MakeForm(Part,"Cyl")
1103
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1104
for i = 1, 8 do
1105
	local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
1106
	CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
1107
end
1108
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
1109
MakeForm(Part,"Cyl")
1110
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1111
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
1112
MakeForm(Part,"Ball")
1113
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1114
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
1115
MakeForm(Part,"Wedge")
1116
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
1117
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
1118
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1119
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
1120
MakeForm(Part,"Cyl")
1121
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1122
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
1123
MakeForm(Part,"Cyl")
1124
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1125
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
1126
MakeForm(Part,"Cyl")
1127
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1128
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
1129
MakeForm(Part,"Wedge")
1130
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
1131
local LASTPART = Handle
1132
for i = 1, 10 do
1133
	if LASTPART == Handle then
1134
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
1135
		LASTPART = Part
1136
		CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1137
	else
1138
		local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
1139
		CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
1140
		LASTPART = Part
1141
	end
1142
end
1143
1144
local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
1145
MakeForm(Barrel,"Cyl")
1146
CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1147
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
1148
MakeForm(Part,"Cyl")
1149
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
1150
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
1151
MakeForm(Part,"Wedge")
1152
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1153
local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
1154
MakeForm(Hole,"Cyl")
1155
CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
1156
local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
1157
local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1158
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
1159
local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
1160
local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
1161
CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
1162
coroutine.resume(coroutine.create(function()
1163
	while wait() do
1164
		GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
1165
		GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
1166
	end
1167
end))
1168
1169
local EXE = Instance.new("Shirt")
1170
EXE.ShirtTemplate = "rbxassetid://303225219"
1171
EXE.Parent = Character
1172
EXE.Name = "Cloth"
1173
local LOL = Instance.new("Pants")
1174
LOL.PantsTemplate = "rbxassetid://303225409"
1175
LOL.Parent = Character
1176
LOL.Name = "Cloth"
1177
local BODY = {}
1178
1179
for _, c in pairs(Character:GetDescendants()) do
1180
	if c:IsA("BasePart") and c.Name ~= "Handle" then
1181
		if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
1182
			c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1183
		end
1184
		table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
1185
	elseif c:IsA("JointInstance") then
1186
		table.insert(BODY,{c,c.Parent,nil,nil,nil})
1187
	end
1188
end
1189
1190
for e = 1, #BODY do
1191
	if BODY[e] ~= nil then
1192
		local STUFF = BODY[e]
1193
		local PART = STUFF[1]
1194
		local PARENT = STUFF[2]
1195
		local MATERIAL = STUFF[3]
1196
		local COLOR = STUFF[4]
1197
		local TRANSPARENCY = STUFF[5]
1198
		if PART.ClassName == "Part" and PART ~= RootPart then
1199
			PART.Material = MATERIAL
1200
			PART.Color = COLOR
1201
			PART.Transparency = TRANSPARENCY
1202
		end
1203
		PART.AncestryChanged:Connect(function()
1204
			PART.Parent = PARENT
1205
		end)
1206
	end
1207
end
1208
1209
function refit()
1210
	Character.Parent = workspace
1211
	for e = 1, #BODY do
1212
		if BODY[e] ~= nil then
1213
			local STUFF = BODY[e]
1214
			local PART = STUFF[1]
1215
			local PARENT = STUFF[2]
1216
			local MATERIAL = STUFF[3]
1217
			local COLOR = STUFF[4]
1218
			local TRANSPARENCY = STUFF[5]
1219
			if PART.ClassName == "Part" and PART ~= RootPart then
1220
				PART.Material = MATERIAL
1221
				PART.Color = COLOR
1222
				PART.Transparency = TRANSPARENCY
1223
			end
1224
			if PART.Parent ~= PARENT then
1225
				Humanoid:remove()
1226
				PART.Parent = PARENT
1227
				Humanoid = IT("Humanoid",Character)
1228
			end
1229
		end
1230
	end
1231
end
1232
1233
for _, c in pairs(Weapon:GetDescendants()) do
1234
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1235
		c.Material = "Glass"
1236
		c.Color = C3(0,0,0)
1237
                c.Transparency = 10
1238
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1239
		c.Color = C3(0,0,0)
1240
		c.Material = "Neon"
1241
                c.Transparency = 10
1242
	end
1243
end
1244
1245
Weapon.Parent = Character
1246
for _, c in pairs(Weapon:GetChildren()) do
1247
	if c.ClassName == "Part" then
1248
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1249
	end
1250
end
1251
1252
local SKILLTEXTCOLOR = C3(0,0,0)
1253
local SKILLFONT = "Antique"
1254
local SKILLTEXTSIZE = 7
1255
1256
Humanoid.Died:connect(function()
1257
	ATTACK = true
1258
end)
1259
1260
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
1261
1262
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
1263
1264
function printbye(Name)
1265
	local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
1266
	warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")	
1267
end
1268
1269
workspace.ChildAdded:connect(function(instance)
1270
    for BANISH = 1, #TOBANISH do
1271
		if TOBANISH[BANISH] ~= nil then
1272
			if instance.Name == TOBANISH[BANISH] then
1273
				coroutine.resume(coroutine.create(function()
1274
					printbye(instance.Name)
1275
					instance:ClearAllChildren()
1276
					Debris:AddItem(instance,0.0005)
1277
				end))
1278
			end
1279
		end
1280
	end
1281
end)
1282
--//=================================\\
1283
--||			DAMAGING
1284
--\\=================================//
1285
1286
function Banish(Foe)
1287
	if Foe then
1288
		coroutine.resume(coroutine.create(function()
1289
			--if game.Players:FindFirstChild(Foe.Name) then
1290
				table.insert(TOBANISH,Foe.Name)
1291
				printbye(Foe.Name)
1292
			--end
1293
			Foe.Archivable = true
1294
			local CLONE = Foe:Clone()
1295
			Foe:Destroy()
1296
			CLONE.Parent = Effects
1297
			CLONE:BreakJoints()
1298
			local MATERIALS = {"Glass","Neon"}
1299
			for _, c in pairs(CLONE:GetDescendants()) do
1300
				if c:IsA("BasePart") then
1301
					c.Anchored = true
1302
					c.Transparency = c.Transparency + 0.2
1303
					c.Material = MATERIALS[MRANDOM(1,2)]
1304
					c.Color = C3(0,0,0)
1305
					if c.ClassName == "MeshPart" then
1306
						c.TextureID = ""
1307
					end
1308
					if c:FindFirstChildOfClass("SpecialMesh") then
1309
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
1310
					end
1311
					if c:FindFirstChildOfClass("Decal") then
1312
						c:FindFirstChildOfClass("Decal"):remove()
1313
					end
1314
					c.Name = "Banished"
1315
					c.CanCollide = false
1316
				else
1317
					c:remove()
1318
				end
1319
			end
1320
			local A = false
1321
			for i = 1, 35 do
1322
				if A == false then
1323
					A = true
1324
				elseif A == true then
1325
					A = false
1326
				end
1327
				for _, c in pairs(CLONE:GetDescendants()) do
1328
					if c:IsA("BasePart") then
1329
						c.Anchored = true
1330
						c.Material = MATERIALS[MRANDOM(1,2)]
1331
						c.Transparency = c.Transparency + 0.8/35
1332
						if A == false then
1333
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
1334
						elseif A == true then
1335
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
1336
						end
1337
					end
1338
				end
1339
				Swait()
1340
			end
1341
			CLONE:remove()
1342
		end))
1343
	end
1344
end
1345
1346
function ApplyAoE(POSITION,RANGE,ISBANISH)
1347
	local CHILDREN = workspace:GetDescendants()
1348
	for index, CHILD in pairs(CHILDREN) do
1349
		if CHILD.ClassName == "Model" and CHILD ~= Character then
1350
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
1351
			if HUM then
1352
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
1353
				if TORSO then
1354
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
1355
						if ISBANISH == true then
1356
							Banish(CHILD)
1357
						else
1358
							if ISBANISH == "Gravity" then
1359
								HUM.PlatformStand = true
1360
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1361
									local grav = Instance.new("BodyPosition",TORSO)
1362
									grav.D = 15
1363
									grav.P = 20000
1364
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1365
									grav.position = TORSO.Position
1366
									grav.Name = "V3BanishForce"..Player.Name
1367
								else
1368
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
1369
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
1370
								end
1371
							else
1372
								HUM.PlatformStand = false
1373
							end
1374
						end
1375
					elseif ISBANISH == "Gravity" then
1376
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
1377
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
1378
							HUM.PlatformStand = false
1379
						end
1380
					end
1381
				end
1382
			end
1383
		end
1384
	end
1385
end
1386
1387
--//=================================\\
1388
--||	    TRANSFORMATIONS
1389
--\\=================================//
1390
1391
function Switch()
1392
	ATTACK = true
1393
	Rooted = true
1394
	if MODE == "GoodCop" then
1395
		for i=0, 0.3, 0.1 / Animation_Speed do
1396
			Swait()
1397
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1398
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1399
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1400
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
1401
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1402
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1403
		end
1404
		for i=0, 1, 0.1 / Animation_Speed do
1405
			Swait()
1406
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
1407
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1408
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1409
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1410
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1411
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1412
		end
1413
		CreateSound(363808674, Torso, 6, 1, false)
1414
		for i=0, 0.6, 0.1 / Animation_Speed do
1415
			Swait()
1416
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
1417
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1418
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1419
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1420
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1421
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1422
		end
1423
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1424
	CreateSound(340722848, Torso, 10, 0.8)
1425
		for i=0, 0.6, 0.1 / Animation_Speed do
1426
			Swait()
1427
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1428
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1429
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1430
			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)
1431
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1432
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1433
		end
1434
		MODE = "BadCop"
1435
                tecks2.Text = ". . . . . ."
1436
                sick.TimePosition = 0
1437
                EXE.ShirtTemplate = "rbxassetid://1328938028"
1438
                LOL.PantsTemplate = "rbxassetid://1033898637"
1439
	elseif MODE == "BadCop" then
1440
		for i=0, 0.3, 0.1 / Animation_Speed do
1441
			Swait()
1442
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1443
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1444
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1445
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
1446
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1447
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1448
		end
1449
		for i=0, 1, 0.1 / Animation_Speed do
1450
			Swait()
1451
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
1452
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1453
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1454
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1455
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1456
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1457
		end
1458
		CreateSound(363808674, Torso, 6, 1, false)
1459
		for i=0, 0.6, 0.1 / Animation_Speed do
1460
			Swait()
1461
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
1462
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
1463
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1464
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1465
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1466
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1467
		end
1468
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1469
	CreateSound(340722848, Torso, 10, 0.8)
1470
		for i=0, 0.6, 0.1 / Animation_Speed do
1471
			Swait()
1472
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1473
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1474
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1475
			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)
1476
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1477
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1478
		end
1479
		MODE = "GoodCop"
1480
                tecks2.Text = "Switch"
1481
                sick.TimePosition = 22
1482
                LOL.PantsTemplate = "rbxassetid://303225409"
1483
                EXE.ShirtTemplate = "rbxassetid://303225219"
1484
for _, c in pairs(Weapon:GetDescendants()) do
1485
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1486
		c.Material = "Glass"
1487
		c.Color = C3(0,0,0)
1488
                c.Transparency = 10
1489
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1490
		c.Color = C3(0,255,255)
1491
		c.Material = "Neon"
1492
                c.Transparency = 10
1493
	end
1494
end
1495
	end
1496
	ATTACK = false
1497
	Rooted = false
1498
end
1499
1500
function Switch2()
1501
	ATTACK = true
1502
	Rooted = true
1503
	if MODE == "GoodCop" then
1504
		for i=0, 0.3, 0.1 / Animation_Speed do
1505
			Swait()
1506
			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)
1507
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1508
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1509
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1510
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1511
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1512
		end
1513
		for i=0, 1, 0.1 / Animation_Speed do
1514
			Swait()
1515
			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)
1516
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1517
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1518
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1519
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1520
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1521
		end
1522
		CreateSound(363808674, Torso, 6, 1, false)
1523
		for i=0, 0.6, 0.1 / Animation_Speed do
1524
			Swait()
1525
			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)
1526
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1527
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1528
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1529
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1530
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1531
		end
1532
		CreateSound(363808674, Torso, 6, 1, false)
1533
		for i=0, 0.6, 0.1 / Animation_Speed do
1534
			Swait()
1535
			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)
1536
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1537
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1538
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1539
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1540
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1541
		end
1542
		MODE = "Killbot"
1543
                tecks2.Text = "Dead Gun"
1544
                sick.TimePosition = 1
1545
                EXE.ShirtTemplate = "rbxassetid://136505905"
1546
                LOL.PantsTemplate = "rbxassetid://136506009"
1547
for _, c in pairs(Weapon:GetDescendants()) do
1548
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1549
		c.Material = "Neon"
1550
		c.Color = C3(0,0,0)
1551
                c.Transparency = 0
1552
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1553
                c.Transparency = 0
1554
		c.Color = C3(0,0,0)
1555
		c.Material = "Neon"
1556
	end
1557
end
1558
	elseif MODE == "Killbot" then
1559
		CreateSound(147722227, Torso, 4, 1.3, false)
1560
		for i=0, 0.3, 0.1 / Animation_Speed do
1561
			Swait()
1562
			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)
1563
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1564
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4, 0.75, -0.3) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1565
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1566
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1567
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1568
		end
1569
		MODE = "GoodCop"
1570
                tecks2.Text = "Switch"
1571
                sick.TimePosition = 22
1572
                LOL.PantsTemplate = "rbxassetid://303225409"
1573
                EXE.ShirtTemplate = "rbxassetid://303225219"
1574
for _, c in pairs(Weapon:GetDescendants()) do
1575
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1576
		c.Material = "Glass"
1577
		c.Color = C3(0,0,0)
1578
                c.Transparency = 10
1579
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1580
		c.Color = C3(0,255,255)
1581
		c.Material = "Neon"
1582
                c.Transparency = 10
1583
	end
1584
end
1585
	end
1586
	ATTACK = false
1587
	Rooted = false
1588
end
1589
1590
function Switch3()
1591
	ATTACK = true
1592
	Rooted = true
1593
	if MODE == "GoodCop" then
1594
		for i=0, 0.3, 0.1 / Animation_Speed do
1595
			Swait()
1596
			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)
1597
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1598
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1599
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1600
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1601
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1602
		end
1603
		for i=0, 1, 0.1 / Animation_Speed do
1604
			Swait()
1605
			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)
1606
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1607
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1608
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1609
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1610
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1611
		end
1612
		CreateSound(363808674, Torso, 6, 1, false)
1613
		for i=0, 0.6, 0.1 / Animation_Speed do
1614
			Swait()
1615
			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)
1616
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
1617
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1618
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1619
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1620
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1621
		end
1622
		CreateSound(363808674, Torso, 6, 1, false)
1623
		for i=0, 0.6, 0.1 / Animation_Speed do
1624
			Swait()
1625
			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)
1626
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
1627
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1628
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1629
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1630
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1631
		end
1632
		MODE = "Like"
1633
                tecks2.Text = "First"
1634
                 sick.SoundId = "rbxassetid://584489577"
1635
                 sick.Volume = 3
1636
                sick.TimePosition = 1
1637
                EXE.ShirtTemplate = "rbxassetid://665649421"
1638
                LOL.PantsTemplate = "rbxassetid://650822220"
1639
	elseif MODE == "Like" then
1640
		CreateSound(147722227, Torso, 4, 1.3, false)
1641
		for i=0, 0.3, 0.1 / Animation_Speed do
1642
			Swait()
1643
			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)
1644
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
1645
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4, 0.75, -0.3) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
1646
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1647
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1648
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1649
		end
1650
		MODE = "GoodCop"
1651
                tecks2.Text = "Switch"
1652
                sick.TimePosition = 22
1653
                LOL.PantsTemplate = "rbxassetid://303225409"
1654
                EXE.ShirtTemplate = "rbxassetid://303225219"
1655
	end
1656
	ATTACK = false
1657
	Rooted = false
1658
end
1659
--//=================================\\
1660
--||	ATTACK FUNCTIONS AND STUFF
1661
--\\=================================//
1662
1663
function Intro()
1664
	ATTACK = true
1665
	Rooted = true
1666
                sick.SoundId = "rbxassetid://2003573630"
1667
                LOL.PantsTemplate = "rbxassetid://303225409"
1668
                EXE.ShirtTemplate = "rbxassetid://303225219"
1669
	repeat 
1670
		Swait() 
1671
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1672
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1673
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1674
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1675
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1676
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1677
	until sick.TimePosition > 5
1678
                sick.SoundId = "rbxassetid://996616715"
1679
                EXE.ShirtTemplate = "rbxassetid://1328938028"
1680
                LOL.PantsTemplate = "rbxassetid://1033898637"
1681
	repeat 
1682
		Swait()
1683
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1684
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
1685
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
1686
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
1687
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1688
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
1689
	until sick.TimePosition > 15
1690
                sick.SoundId = "rbxassetid://1696854181"
1691
                EXE.ShirtTemplate = "rbxassetid://136505905"
1692
                LOL.PantsTemplate = "rbxassetid://136506009"
1693
for _, c in pairs(Weapon:GetDescendants()) do
1694
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1695
		c.Material = "Neon"
1696
		c.Color = C3(0,0,0)
1697
                c.Transparency = 0
1698
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1699
                c.Transparency = 0
1700
		c.Color = C3(0,0,0)
1701
		c.Material = "Neon"
1702
	end
1703
end
1704
	repeat 
1705
		Swait() 
1706
		                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)
1707
		                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
1708
		                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1709
		                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1710
		                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1711
		                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
1712
	until sick.TimePosition > 20
1713
                sick.SoundId = "rbxassetid://2003573630"
1714
                LOL.PantsTemplate = "rbxassetid://303225409"
1715
                EXE.ShirtTemplate = "rbxassetid://303225219"
1716
	repeat 
1717
		Swait() 
1718
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1719
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1720
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1721
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1722
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1723
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1724
	until sick.TimePosition > 25
1725
	tecks2.TextTransparency = 0
1726
for _, c in pairs(Weapon:GetDescendants()) do
1727
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1728
		c.Material = "Neon"
1729
		c.Color = C3(0,0,0)
1730
                c.Transparency = 10
1731
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1732
                c.Transparency = 10
1733
		c.Color = C3(0,0,0)
1734
		c.Material = "Neon"
1735
	end
1736
end
1737
	HandleWeld.Part0 = RightArm
1738
	for i = 1, 100 do
1739
		Swait()
1740
1741
1742
	end
1743
	HandleWeld.Part0 = Torso
1744
	TRANSFORMED = true
1745
	ATTACK = false
1746
	Rooted = false
1747
end
1748
function Shot1()
1749
	ATTACK = true
1750
	Rooted = false
1751
for _, c in pairs(Weapon:GetDescendants()) do
1752
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1753
		c.Material = "Neon"
1754
		c.Color = C3(1,0,0)
1755
                c.Transparency = 0.7
1756
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1757
                c.Transparency = 0.7
1758
		c.Color = C3(1,0,0)
1759
		c.Material = "Neon"
1760
	end
1761
end
1762
	for i=0, 0.5, 0.1 / Animation_Speed do
1763
		Swait()
1764
		turnto(Mouse.Hit.p)
1765
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1766
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1767
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1768
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1769
		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)
1770
		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)
1771
	end
1772
	repeat
1773
		for i=0, 0.3, 0.1 / Animation_Speed do
1774
			Swait()
1775
			turnto(Mouse.Hit.p)
1776
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1777
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1778
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1779
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1780
			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)
1781
			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)
1782
		end
1783
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1784
		SpawnTrail(Hole.Position,POS)
1785
		if HIT ~= nil then
1786
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1787
				Banish(HIT.Parent)
1788
			end
1789
		end
1790
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1791
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1792
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1793
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1794
		for i=0, 0.4, 0.1 / Animation_Speed do
1795
			Swait()
1796
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1797
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1798
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1799
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1800
			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)
1801
			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)
1802
		end
1803
for _, c in pairs(Weapon:GetDescendants()) do
1804
	if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
1805
		c.Material = "Neon"
1806
		c.Color = C3(1,0,0)
1807
                c.Transparency = 10
1808
	elseif c.ClassName == "Part" and c.Name == "Eye" then
1809
                c.Transparency = 10
1810
		c.Color = C3(1,0,0)
1811
		c.Material = "Neon"
1812
	end
1813
end
1814
	until KEYHOLD == false
1815
	ATTACK = false
1816
	Rooted = false
1817
end
1818
function Shot2()
1819
	ATTACK = true
1820
	Rooted = false
1821
	for i=0, 0.5, 0.1 / Animation_Speed do
1822
		Swait()
1823
		turnto(Mouse.Hit.p)
1824
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1825
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1826
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1827
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1828
		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)
1829
		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)
1830
	end
1831
	repeat
1832
		for i=0, 0.3, 0.1 / Animation_Speed do
1833
			Swait()
1834
			turnto(Mouse.Hit.p)
1835
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1836
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
1837
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1838
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1839
			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)
1840
			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)
1841
		end
1842
		local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
1843
		SpawnTrail(Hole.Position,POS)
1844
		if HIT ~= nil then
1845
			if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
1846
				Banish(HIT.Parent)
1847
			end
1848
		end
1849
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1850
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 165946702, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
1851
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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 = MRANDOM(8,11)/10, SoundVolume = 8})
1852
		WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), 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 = MRANDOM(8,11)/10, SoundVolume = 8})
1853
		for i=0, 0.4, 0.1 / Animation_Speed do
1854
			Swait()
1855
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
1856
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
1857
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
1858
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
1859
			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)
1860
			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)
1861
		end
1862
	until KEYHOLD == false
1863
	ATTACK = false
1864
	Rooted = false
1865
end
1866
function Taunt1()
1867
	ATTACK = true
1868
	Rooted = false
1869
	TAUNT = true
1870
	for i=0, 0.1, 0.1 / Animation_Speed do
1871
		Swait()
1872
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1873
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
1874
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
1875
	end
1876
	for i=0, 3, 0.1 / Animation_Speed do
1877
		Swait()
1878
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1879
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
1880
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
1881
	end
1882
	CreateSound(363808674, Torso, 10, 1.3)
1883
	for i=0, 1, 0.1 / Animation_Speed do
1884
		Swait()
1885
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
1886
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
1887
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1888
	end
1889
	WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
1890
	CreateSound(649634100, Torso, 10, 0.8)
1891
	for i=0, 0.01, 0.1 / Animation_Speed do
1892
		Swait()
1893
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
1894
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
1895
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
1896
	end
1897
	ATTACK = false
1898
	Rooted = false
1899
	TAUNT = false
1900
end
1901
1902
function Taunt2()
1903
	ATTACK = true
1904
	Rooted = true
1905
	local TAUNT = CreateSound(159882303,Torso,10,1,false)
1906
	coroutine.resume(coroutine.create(function()
1907
		repeat
1908
			Swait()
1909
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1910
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1911
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1912
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1913
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1914
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
1915
		until ATTACK == false
1916
	end))
1917
	repeat wait() until TAUNT.Playing == false
1918
	ATTACK = false
1919
	Rooted = false
1920
end
1921
1922
function Taunt3()
1923
	ATTACK = true
1924
	Rooted = true
1925
	local L = CreateSound(1278007556,Head,8,1.1,false)
1926
	L.EmitterSize = 25
1927
	for i = 1, 20 do
1928
		Swait()
1929
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
1930
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
1931
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1932
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1933
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1934
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1935
	end
1936
	for i = 1, 40 do
1937
		Swait()
1938
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
1939
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
1940
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1941
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
1942
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1943
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
1944
	end
1945
	ATTACK = false
1946
	Rooted = false
1947
end
1948
1949
function BanishmentBeam()
1950
	ATTACK = true
1951
	Rooted = false
1952
	local GYRO = IT("BodyGyro",RootPart)
1953
	GYRO.D = 100
1954
	GYRO.P = 2000
1955
	GYRO.MaxTorque = VT(0,4000000,0)
1956
	GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1957
	CreateSound("340722848", RightArm, 5, 1, false)
1958
	for i=0.1, 0.1 do
1959
		Swait()
1960
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
1961
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1962
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
1963
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
1964
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1965
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1966
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1967
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1968
	end
1969
	local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
1970
	local LOOP = CreateSound("340722848", RightArm, 5, 1, false)
1971
	local TOCH = BEAM.Touched:Connect(function(hit)
1972
		if hit.Anchored == false and hit.Parent ~= Head and  hit.Parent ~= Character and hit.Parent ~= Effects then
1973
			Kill(hit)
1974
		end
1975
	end)
1976
	local I = 0
1977
	repeat
1978
		Swait()
1979
		I = I + 1
1980
		if I <= 0 then
1981
			BEAM.Transparency = BEAM.Transparency - 0.1
1982
		end
1983
		local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
1984
		local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
1985
		local DISTANCE = (STARTPOS - ENDPOS).Magnitude
1986
		BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
1987
		BEAM.Size = VT(2,2,DISTANCE)
1988
		WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
1989
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-0.10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
1990
		WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
1991
		GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
1992
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
1993
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
1994
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
1995
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
1996
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1997
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
1998
		if ENDHIT ~= nil then
1999
			if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
2000
				Banish(ENDHIT)
2001
			end
2002
		end
2003
	until LOOP.Playing == false
2004
	GYRO:remove()
2005
	BEAM:remove()
2006
	ATTACK = false
2007
	Rooted = false
2008
end
2009
--//=================================\\
2010
--||	  ASSIGN THINGS TO KEYS
2011
--\\=================================//
2012
2013
function MouseDown(Mouse)
2014
	if ATTACK == false then
2015
		
2016
	end
2017
end
2018
2019
function MouseUp(Mouse)
2020
HOLD = false
2021
end
2022
2023
function KeyDown(Key)
2024
	KEYHOLD = true
2025
	if TRANSFORMED == true and Rooted == false then
2026
		if Key == "f" and ATTACK == false then
2027
			Switch()
2028
		end
2029
2030
		if Key == "g" and ATTACK == false then
2031
			Switch2()
2032
		end
2033
2034
		if Key == "e" and ATTACK == false then
2035
			Switch3()
2036
		end
2037
2038
	if Key == "z" and ATTACK == false then
2039
		if MODE == "GoodCop" then
2040
			MagicMissiles()
2041
		elseif MODE == "BadCop" then
2042
			BanishmentBeam()
2043
		elseif MODE == "Killbot" then
2044
			Shot2()
2045
		end
2046
	end
2047
2048
	if Key == "x" and ATTACK == false then
2049
		if MODE == "GoodCop" then
2050
			
2051
		elseif MODE == "BadCop" then
2052
			
2053
		end
2054
	end
2055
2056
	if Key == "t" and ATTACK == false then
2057
		if MODE == "GoodCop" then
2058
			Taunt2()
2059
		elseif MODE == "BadCop" then
2060
			Taunt1()
2061
		elseif MODE == "Killbot" then
2062
			Taunt3()
2063
		end
2064
	end
2065
	
2066
	end
2067
2068
	if Key == "9" and ATTACK == false then
2069
		CreateSound("135017578", Effects, 5, 1)
2070
	end
2071
2072
	if Key == "m" and ATTACK == false then
2073
		local sick = Instance.new("Sound",Character)
2074
		sick.SoundId = "rbxassetid://415898123"
2075
		sick.Looped = true
2076
		sick.Pitch = 1
2077
		sick.Volume = 5
2078
		sick.TimePosition = 0
2079
		sick.Playing = true
2080
	end
2081
end
2082
2083
function KeyUp(Key)
2084
	KEYHOLD = false
2085
end
2086
2087
	Mouse.Button1Down:connect(function(NEWKEY)
2088
		MouseDown(NEWKEY)
2089
	end)
2090
	Mouse.Button1Up:connect(function(NEWKEY)
2091
		MouseUp(NEWKEY)
2092
	end)
2093
	Mouse.KeyDown:connect(function(NEWKEY)
2094
		KeyDown(NEWKEY)
2095
	end)
2096
	Mouse.KeyUp:connect(function(NEWKEY)
2097
		KeyUp(NEWKEY)
2098
	end)
2099
2100
--//=================================\\
2101
--\\=================================//
2102
2103
2104
function unanchor()
2105
	if UNANCHOR == true then
2106
		RootPart.Anchored = false
2107
	end
2108
	for _, c in pairs(SCYTHE:GetChildren()) do
2109
		if c.ClassName == "Part" then
2110
			c.Anchored = false
2111
		end
2112
	end
2113
	for _, c in pairs(Weapon:GetChildren()) do
2114
		if c.ClassName == "Part" then
2115
			c.Anchored = false
2116
		end
2117
	end
2118
end
2119
2120
2121
--//=================================\\
2122
--||	WRAP THE WHOLE SCRIPT UP
2123
--\\=================================//
2124
2125
Humanoid.Changed:connect(function(Jump)
2126
	if Jump == "Jump" and (Disable_Jump == true) then
2127
		Humanoid.Jump = false
2128
	end
2129
end)
2130
2131
while true do
2132
	Swait()
2133
	script.Parent = WEAPONGUI
2134
	ANIMATE.Parent = nil
2135
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
2136
	    v:Stop();
2137
	end
2138
	SINE = SINE + CHANGE
2139
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
2140
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
2141
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
2142
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
2143
	if ANIM == "Walk" and TORSOVELOCITY > 1 then
2144
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2145
		Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
2146
		RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
2147
		LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
2148
	elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
2149
		RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2150
		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)
2151
		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.7 / Animation_Speed)
2152
		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.7 / Animation_Speed)
2153
	end
2154
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
2155
		ANIM = "Jump"
2156
		if ATTACK == false then
2157
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2158
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2159
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2160
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2161
			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)
2162
			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)
2163
	    end
2164
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
2165
		ANIM = "Fall"
2166
		if ATTACK == false then
2167
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2168
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
2169
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
2170
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
2171
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
2172
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
2173
		end
2174
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
2175
		ANIM = "Idle"
2176
		if ATTACK == false then
2177
			if MODE == "GoodCop" then
2178
                                sick.SoundId = "rbxassetid://2003573630"
2179
                                sick.Volume = 1
2180
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2181
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2182
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2183
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2184
				RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2185
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2186
			elseif MODE == "BadCop" then
2187
                                sick.SoundId = "rbxassetid://996616715"
2188
                                sick.Volume = 5
2189
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
2190
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
2191
			RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
2192
			LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
2193
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
2194
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
2195
			elseif MODE == "Killbot" then
2196
                                sick.SoundId = "rbxassetid://1696854181"
2197
                                sick.Volume = 3
2198
		                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)
2199
		                Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
2200
		                RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2201
		                LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2202
		                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2203
		                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2204
			elseif MODE == "Like" then
2205
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2206
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2207
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2208
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2209
		                RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2210
		                LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
2211
			end
2212
		end
2213
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
2214
		ANIM = "Walk"
2215
		if ATTACK == false then
2216
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2217
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2218
			if MODE == "GoodCop" then
2219
					RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2220
					Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2221
					RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2222
					LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2223
					RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2224
					LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2225
			elseif MODE == "BadCop" then
2226
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2227
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2228
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2229
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2230
				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)
2231
				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)
2232
			elseif MODE == "Killbot" then
2233
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2234
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2235
				RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
2236
				LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
2237
				RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2238
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2239
	elseif MODE == "Like" then
2240
				RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2241
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2242
		RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
2243
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
2244
				RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
2245
				LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
2246
			end
2247
		end
2248
	end
2249
	Humanoid.DisplayDistanceType = "None"
2250
	unanchor()
2251
	tecks2.TextColor3 = BrickColor.Random().Color
2252
	tecks2.TextStrokeColor3 = BrickColor.Random().Color
2253
	Humanoid.MaxHealth = "inf"
2254
	Humanoid.Health = "inf"
2255
	Humanoid.PlatformStand = false
2256
	if INTRO == false and INSTANT == false then
2257
		INTRO = true
2258
		coroutine.resume(coroutine.create(function()
2259
			sick:Play()
2260
			Intro()
2261
		end))
2262
	end
2263
	if INSTANT == true then
2264
		if TRANSFORMED == false then
2265
			sick.TimePosition = 60
2266
			sick:Play()
2267
		end
2268
		TRANSFORMED = true
2269
	end
2270
	Humanoid.DisplayDistanceType = "None"
2271
	for _, c in pairs(Character:GetChildren()) do
2272
		if c.ClassName == "Part" and c.Name ~= "Eye" then
2273
			c.Material = "Neon"
2274
			if c:FindFirstChildOfClass("ParticleEmitter") then
2275
				c:FindFirstChildOfClass("ParticleEmitter"):remove()
2276
			end
2277
		elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
2278
			c:remove()
2279
		end
2280
	end
2281
	script.Parent = PlayerGui
2282
	Character.Parent = workspace
2283
	Humanoid.Parent = Character
2284
end
2285
--//=================================\\
2286
--\\=================================//
2287
2288
--//====================================================\\--
2289
--||			  		 END OF SCRIPT
2290
--\\====================================================//--