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