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