View difference between Paste ID: CYrLLFni and 6tB5hqdZ
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
10
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
88-
local Player = game:GetService("Players").silver22352  --<=== Replace With Your Name
88+
local Player = game:GetService("Players").ThatProGamerKilledU  --<=== Replace With Your Name
89
90
91
local Mouse,mouse,UserInputService,ContextActionService
92
do
93
	script.Parent = Player.Character
94
	local CAS = {Actions={}}
95
	local Event = Instance.new("RemoteEvent")
96
	Event.Name = "UserInput_Event"
97
	Event.Parent = Player.Character
98
	local fakeEvent = function()
99
		local t = {_fakeEvent=true}
100
		t.Connect = function(self,f)self.Function=f end
101
		t.connect = t.Connect
102
		return t
103
	end
104
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
105
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
106
	function CAS:BindAction(name,fun,touch,...)
107
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
108
	end
109
	function CAS:UnbindAction(name)
110
		CAS.Actions[name] = nil
111
	end
112
	local function te(self,ev,...)
113
		local t = m[ev]
114
		if t and t._fakeEvent and t.Function then
115
			t.Function(...)
116
		end
117
	end
118
	m.TrigEvent = te
119
	UIS.TrigEvent = te
120
	Event.OnServerEvent:Connect(function(plr,io)
121
	    if plr~=Player then return end
122
		if io.isMouse then
123
			m.Target = io.Target
124
			m.Hit = io.Hit
125
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
126
	        if io.UserInputState == Enum.UserInputState.Begin then
127
				m:TrigEvent("Button1Down")
128
			else
129
				m:TrigEvent("Button1Up")
130
			end
131
		else
132
			for n,t in pairs(CAS.Actions) do
133
				for _,k in pairs(t.Keys) do
134
					if k==io.KeyCode then
135
						t.Function(t.Name,io.UserInputState,io)
136
					end
137
				end
138
			end
139
	        if io.UserInputState == Enum.UserInputState.Begin then
140
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
141
				UIS:TrigEvent("InputBegan",io,false)
142
			else
143
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
144
				UIS:TrigEvent("InputEnded",io,false)
145
	        end
146
	    end
147
	end)
148
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
149
end
150
151
152
--//====================================================\\--
153
--||			   CREATED BY IGNORANTROJO
154
--\\====================================================//--
155
--ATP SOLDIER
156
--Script: 0000019
157
--How many scripts did i make?
158
--damn.
159
--[[
160
	TODO:
161
	--Blood when hit (idea by nebu)--
162
	--forcefield--
163
	--make it so you can actually get damaged lollll--
164
	--more guns--
165
	goggle color modes
166
--]]
167
--[[UPDATE LOG (LAST VERSION):
168
	--ADDED MORE MODES ON THE NUCLEAR SIDE
169
	--ADDED CHAT FUNCTIONS 
170
	--ADDED CHAT FUNCTION GUI
171
--]]
172
173
wait(0.2)
174
175-
Player = game:GetService("Players").silver22352
175+
Player = game:GetService("Players").ThatProGamerKilledU
176
Cam = workspace.CurrentCamera
177
Backpack = Player.Backpack
178
Character = Player.Character
179
Humanoid = Character.Humanoid
180
RootPart = Character["HumanoidRootPart"]
181
Torso = Character["Torso"]
182
Head = Character["Head"]
183
RightArm = Character["Right Arm"]
184
LeftArm = Character["Left Arm"]
185
RightLeg = Character["Right Leg"]
186
LeftLeg = Character["Left Leg"]
187
RootJoint = RootPart["RootJoint"]
188
Neck = Torso["Neck"]
189
RightShoulder = Torso["Right Shoulder"]
190
LeftShoulder = Torso["Left Shoulder"]
191
RightHip = Torso["Right Hip"]
192
LeftHip = Torso["Left Hip"]
193
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
194
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
195
LH=Torso["Left Hip"]
196
RH=Torso["Right Hip"]
197
local TIME = 0
198
local sick = Instance.new("Sound",RootPart)
199-
plr = game:GetService("Players").silver22352
199+
plr = game:GetService("Players").ThatProGamerKilledU
200
char = plr.Character
201
ch = plr.Character
202
hum = char.Humanoid
203
local cam = game.Workspace.CurrentCamera
204
Camera = cam
205
local CamInterrupt = false
206
local TwoD = false
207
local TargetInfo = {nil, nil}
208
cam.CameraType = "Custom"
209
t = char.Torso
210
h = char.Head
211
ra = char["Right Arm"]
212
la = char["Left Arm"]
213
rl = char["Right Leg"]
214
ll = char["Left Leg"]
215
tors = char.Torso
216
lleg = char["Left Leg"]
217
root = char.HumanoidRootPart
218
hed = char.Head
219
rleg = char["Right Leg"]
220
rarm = char["Right Arm"]
221
larm = char["Left Arm"]
222
radian = math.rad
223
random = math.random
224
Vec3 = Vector3.new
225
Inst = Instance.new
226
cFrame = CFrame.new
227
Euler = CFrame.fromEulerAnglesXYZ
228
vt = Vector3.new
229
bc = BrickColor.new
230
br = BrickColor.random
231
it = Instance.new
232
cf = CFrame.new
233
IT = Instance.new
234
CF = CFrame.new
235
VT = Vector3.new
236
RAD = math.rad
237
C3 = Color3.new
238
UD2 = UDim2.new
239
BRICKC = BrickColor.new
240
ANGLES = CFrame.Angles
241
EULER = CFrame.fromEulerAnglesXYZ
242
COS = math.cos
243
ACOS = math.acos
244
SIN = math.sin
245
ASIN = math.asin
246
ABS = math.abs
247
MRANDOM = math.random
248
FLOOR = math.floor
249
RSH=ch.Torso["Right Shoulder"] 
250
LSH=ch.Torso["Left Shoulder"] 
251
vt=Vector3.new
252
cf=CFrame.new
253
euler=CFrame.fromEulerAnglesXYZ
254
angles=CFrame.Angles
255
cloaked=false
256
RootCF=euler(-1.57,0,3.14)
257
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
258
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
259
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
260
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
261
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
262
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
263
-- 
264
RSH.Parent=nil 
265
LSH.Parent=nil 
266
-- 
267
RW.Name="Right Shoulder"
268
RW.Part0=ch.Torso 
269
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
270
RW.C1=cf(0, 0.5, 0) 
271
RW.Part1=ch["Right Arm"] 
272
RW.Parent=ch.Torso 
273
-- 
274
LW.Name="Left Shoulder"
275
LW.Part0=ch.Torso 
276
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
277
LW.C1=cf(0, 0.5, 0) 
278
LW.Part1=ch["Left Arm"] 
279
LW.Parent=ch.Torso 
280
CF = CFrame.new
281
angles = CFrame.Angles
282
attack = false
283
Euler = CFrame.fromEulerAnglesXYZ
284
Rad = math.rad
285
IT = Instance.new
286
BrickC = BrickColor.new
287
Cos = math.cos
288
Acos = math.acos
289
Sin = math.sin
290
Asin = math.asin
291
Abs = math.abs
292
Mrandom = math.random
293
Floor = math.floor
294
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
295
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
296
	Humanoid.MaxHealth = "3700"
297
		Humanoid.Health = "3700"
298
--//=================================\\
299
--|| 	      USEFUL VALUES
300
--\\=================================//
301
local change = 1
302
local SONG = 1175569393
303
local sine = 0
304
local Nuclear = false
305
local flying = false
306
Animation_Speed = 3
307
local FORCERESET = false
308
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
309
local Speed = 16
310
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
311
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
312
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
313
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
314
local DAMAGEMULTIPLIER = 1
315
local ANIM = "Idle"
316
local ATTACK = false
317
local EQUIPPED = false
318
local HOLD = false
319
local COMBO = 1
320
local Rooted = false
321
local SINE = 0
322
local KEYHOLD = false
323
local CHANGE = 2 / Animation_Speed
324
local WALKINGANIM = false
325
local VALUE1 = false
326
local VALUE2 = false
327
local ROBLOXIDLEANIMATION = IT("Animation")
328
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
329
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
330
--ROBLOXIDLEANIMATION.Parent = Humanoid
331
local kek = IT("Model")
332
kek.Name = "Adds"
333
local Weapon = IT("Model")
334
Weapon.Name = "Adds"
335
local Gun = IT("Model")
336
Gun.Name = "Adds"
337
local SMG = IT("Model")
338
SMG.Name = "Adds"
339
local SMG2 = IT("Model")
340
SMG2.Name = "Adds"
341
local SMG3 = IT("Model")
342
SMG3.Name = "Adds"
343
local Shotgun = IT("Model")
344
Shotgun.Name = "Adds"
345
local A47 = IT("Model")
346
A47.Name = "Adds"
347
local Supressor = IT("Model")
348
Supressor.Name = "Adds"
349
local knif = IT("Model")
350
knif.Name = "Adds"
351
local DE = IT("Model")
352
DE.Name = "Adds"
353
local AUG = IT("Model")
354
AUG.Name = "Adds"
355
local AWP = IT("Model")
356
AWP.Name = "Adds"
357
local R8RA = IT("Model")
358
R8RA.Name = "Adds"
359
local AR = IT("Model")
360
AR.Name = "Adds"
361
local Effects = IT("Folder", Weapon)
362
Effects.Name = "Effects"
363
local ANIMATOR = Humanoid.Animator
364
local ANIMATE = Character:FindFirstChild("Animate")
365
local UNANCHOR = true
366
local TOBANISH = {}
367
local CLOCKTARGET = nil
368
local CLOCKSPEED = 2.5
369
local CLOCKLOOP = 0
370
local SIZE = 1
371
local Mode = "Normal"
372
--//=================================\\
373
--\\=================================//
374
375
--//=================================\\
376
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
377
--\\=================================//
378
379
ArtificialHB = Instance.new("BindableEvent", script)
380
ArtificialHB.Name = "ArtificialHB"
381
382
script:WaitForChild("ArtificialHB")
383
384
frame = Frame_Speed
385
tf = 0
386
allowframeloss = false
387
tossremainder = false
388
lastframe = tick()
389
script.ArtificialHB:Fire()
390
391
game:GetService("RunService").Heartbeat:connect(function(s, p)
392
	tf = tf + s
393
	if tf >= frame then
394
		if allowframeloss then
395
			script.ArtificialHB:Fire()
396
			lastframe = tick()
397
		else
398
			for i = 1, math.floor(tf / frame) do
399
				script.ArtificialHB:Fire()
400
			end
401
		lastframe = tick()
402
		end
403
		if tossremainder then
404
			tf = 0
405
		else
406
			tf = tf - frame * math.floor(tf / frame)
407
		end
408
	end
409
end)
410
411
--//=================================\\
412
--\\=================================//
413
414
--//=================================\\
415
--|| 	      SOME FUNCTIONS
416
--\\=================================//
417
418
function clerp(a,b,t) 
419
local qa = {QuaternionFromCFrame(a)}
420
local qb = {QuaternionFromCFrame(b)} 
421
local ax, ay, az = a.x, a.y, a.z 
422
local bx, by, bz = b.x, b.y, b.z
423
local _t = 1-t
424
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
425
end 
426
 
427
function QuaternionFromCFrame(cf) 
428
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
429
local trace = m00 + m11 + m22 
430
if trace > 0 then 
431
local s = math.sqrt(1 + trace) 
432
local recip = 0.5/s 
433
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
434
else 
435
local i = 0 
436
if m11 > m00 then
437
i = 1
438
end
439
if m22 > (i == 0 and m00 or m11) then 
440
i = 2 
441
end 
442
if i == 0 then 
443
local s = math.sqrt(m00-m11-m22+1) 
444
local recip = 0.5/s 
445
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
446
elseif i == 1 then 
447
local s = math.sqrt(m11-m22-m00+1) 
448
local recip = 0.5/s 
449
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
450
elseif i == 2 then 
451
local s = math.sqrt(m22-m00-m11+1) 
452
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
453
end 
454
end 
455
end
456
 
457
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
458
local xs, ys, zs = x + x, y + y, z + z 
459
local wx, wy, wz = w*xs, w*ys, w*zs 
460
local xx = x*xs 
461
local xy = x*ys 
462
local xz = x*zs 
463
local yy = y*ys 
464
local yz = y*zs 
465
local zz = z*zs 
466
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)) 
467
end
468
 
469
470
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
471
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
472
end
473
474
function PositiveAngle(NUMBER)
475
	if NUMBER >= 0 then
476
		NUMBER = 0
477
	end
478
	return NUMBER
479
end
480
481
function NegativeAngle(NUMBER)
482
	if NUMBER <= 0 then
483
		NUMBER = 0
484
	end
485
	return NUMBER
486
end
487
488
function Swait(NUMBER)
489
	if NUMBER == 0 or NUMBER == nil then
490
		ArtificialHB.Event:wait()
491
	else
492
		for i = 1, NUMBER do
493
			ArtificialHB.Event:wait()
494
		end
495
	end
496
end
497
498
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
499
	local NEWMESH = IT(MESH)
500
	if MESH == "SpecialMesh" then
501
		NEWMESH.MeshType = MESHTYPE
502
		if MESHID ~= "nil" and MESHID ~= "" then
503
			NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
504
		end
505
		if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
506
			NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
507
		end
508
	end
509
	NEWMESH.Offset = OFFSET or VT(0, 0, 0)
510
	NEWMESH.Scale = SCALE
511
	NEWMESH.Parent = PARENT
512
	return NEWMESH
513
end
514
local Create = LoadLibrary("RbxUtility").Create
515
516
CFuncs = {	
517
	["Part"] = {
518
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
519
			local Part = Create("Part"){
520
				Parent = Parent,
521
				Reflectance = Reflectance,
522
				Transparency = Transparency,
523
				CanCollide = false,
524
				Locked = true,
525
				BrickColor = BrickColor.new(tostring(BColor)),
526
				Name = Name,
527
				Size = Size,
528
				Material = Material,
529
			}
530
			RemoveOutlines(Part)
531
			return Part
532
		end;
533
	};
534
	
535
	["Mesh"] = {
536
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
537
			local Msh = Create(Mesh){
538
				Parent = Part,
539
				Offset = OffSet,
540
				Scale = Scale,
541
			}
542
			if Mesh == "SpecialMesh" then
543
				Msh.MeshType = MeshType
544
				Msh.MeshId = MeshId
545
			end
546
			return Msh
547
		end;
548
	};
549
	
550
	["Mesh"] = {
551
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
552
			local Msh = Create(Mesh){
553
				Parent = Part,
554
				Offset = OffSet,
555
				Scale = Scale,
556
			}
557
			if Mesh == "SpecialMesh" then
558
				Msh.MeshType = MeshType
559
				Msh.MeshId = MeshId
560
			end
561
			return Msh
562
		end;
563
	};
564
	
565
	["Weld"] = {
566
		Create = function(Parent, Part0, Part1, C0, C1)
567
			local Weld = Create("Weld"){
568
				Parent = Parent,
569
				Part0 = Part0,
570
				Part1 = Part1,
571
				C0 = C0,
572
				C1 = C1,
573
			}
574
			return Weld
575
		end;
576
	};
577
578
	["Sound"] = {
579
		Create = function(id, par, vol, pit) 
580
			coroutine.resume(coroutine.create(function()
581
				local S = Create("Sound"){
582
					Volume = vol,
583
                                        Name = "EffectSoundo",
584
					Pitch = pit or 1,
585
					SoundId = id,
586
					Parent = par or workspace,
587
				}
588
				wait() 
589
				S:play() 
590
				game:GetService("Debris"):AddItem(S, 10)
591
			end))
592
		end;
593
	};
594
595
	["TimeSound"] = {
596
		Create = function(id, par, vol, pit, timepos) 
597
			coroutine.resume(coroutine.create(function()
598
				local S = Create("Sound"){
599
					Volume = vol,
600
                                        Name = "EffectSoundo",
601
					Pitch = pit or 1,
602
					SoundId = id,
603
                                        TimePosition = timepos,
604
					Parent = par or workspace,
605
				}
606
				wait() 
607
				S:play() 
608
				game:GetService("Debris"):AddItem(S, 10)
609
			end))
610
		end;
611
	};
612
		["EchoSound"] = {
613
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
614
			coroutine.resume(coroutine.create(function()
615
				local Sas = Create("Sound"){
616
					Volume = vol,
617
                    Name = "EffectSoundo",
618
					Pitch = pit or 1,
619
					SoundId = id,
620
                    TimePosition = timepos,
621
					Parent = par or workspace,
622
				}
623
				local E = Create("EchoSoundEffect"){
624
					Delay = echodelay,
625
                    Name = "Echo",
626
					Feedback = fedb,
627
                    DryLevel = dryl,
628
					Parent = Sas,
629
				}
630
				wait() 
631
				Sas:play() 
632
				game:GetService("Debris"):AddItem(Sas, delays)
633
			end))
634
		end;
635
	};
636
637
["LongSound"] = {
638
		Create = function(id, par, vol, pit) 
639
			coroutine.resume(coroutine.create(function()
640
				local S = Create("Sound"){
641
					Volume = vol,
642
					Pitch = pit or 1,
643
					SoundId = id,
644
					Parent = par or workspace,
645
				}
646
				wait() 
647
				S:play() 
648
				game:GetService("Debris"):AddItem(S, 60)
649
			end))
650
		end;
651
	};
652
	
653
	["ParticleEmitter"] = {
654
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
655
			local fp = Create("ParticleEmitter"){
656
				Parent = Parent,
657
				Color = ColorSequence.new(Color1, Color2),
658
				LightEmission = LightEmission,
659
				Size = Size,
660
				Texture = Texture,
661
				Transparency = Transparency,
662
				ZOffset = ZOffset,
663
				Acceleration = Accel,
664
				Drag = Drag,
665
				LockedToPart = LockedToPart,
666
				VelocityInheritance = VelocityInheritance,
667
				EmissionDirection = EmissionDirection,
668
				Enabled = Enabled,
669
				Lifetime = LifeTime,
670
				Rate = Rate,
671
				Rotation = Rotation,
672
				RotSpeed = RotSpeed,
673
				Speed = Speed,
674
				VelocitySpread = VelocitySpread,
675
			}
676
			return fp
677
		end;
678
	};
679
680
	CreateTemplate = {
681
	
682
	};
683
}
684
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
685
	local NEWPART = IT("Part")
686
	NEWPART.formFactor = FORMFACTOR
687
	NEWPART.Reflectance = REFLECTANCE
688
	NEWPART.Transparency = TRANSPARENCY
689
	NEWPART.CanCollide = false
690
	NEWPART.Locked = true
691
	NEWPART.Anchored = true
692
	if ANCHOR == false then
693
		NEWPART.Anchored = false
694
	end
695
	NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
696
	NEWPART.Name = NAME
697
	NEWPART.Size = SIZE
698
	NEWPART.Position = Torso.Position
699
	NEWPART.Material = MATERIAL
700
	NEWPART:BreakJoints()
701
	NEWPART.Parent = PARENT
702
	return NEWPART
703
end
704
705
	local function weldBetween(a, b)
706
	    local weldd = Instance.new("ManualWeld")
707
	    weldd.Part0 = a
708
	    weldd.Part1 = b
709
	    weldd.C0 = CFrame.new()
710
	    weldd.C1 = b.CFrame:inverse() * a.CFrame
711
	    weldd.Parent = a
712
	    return weldd
713
	end
714
715
716
function QuaternionFromCFrame(cf)
717
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
718
	local trace = m00 + m11 + m22
719
	if trace > 0 then 
720
		local s = math.sqrt(1 + trace)
721
		local recip = 0.5 / s
722
		return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
723
	else
724
		local i = 0
725
		if m11 > m00 then
726
			i = 1
727
		end
728
		if m22 > (i == 0 and m00 or m11) then
729
			i = 2
730
		end
731
		if i == 0 then
732
			local s = math.sqrt(m00 - m11 - m22 + 1)
733
			local recip = 0.5 / s
734
			return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
735
		elseif i == 1 then
736
			local s = math.sqrt(m11 - m22 - m00 + 1)
737
			local recip = 0.5 / s
738
			return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
739
		elseif i == 2 then
740
			local s = math.sqrt(m22 - m00 - m11 + 1)
741
			local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
742
		end
743
	end
744
end
745
 
746
function QuaternionToCFrame(px, py, pz, x, y, z, w)
747
	local xs, ys, zs = x + x, y + y, z + z
748
	local wx, wy, wz = w * xs, w * ys, w * zs
749
	local xx = x * xs
750
	local xy = x * ys
751
	local xz = x * zs
752
	local yy = y * ys
753
	local yz = y * zs
754
	local zz = z * zs
755
	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))
756
end
757
 function swait(num)
758
if num==0 or num==nil then
759
game:service'RunService'.Stepped:wait(0)
760
else
761
for i=0,num do
762
game:service'RunService'.Stepped:wait(0)
763
end
764
end
765
end
766
function QuaternionSlerp(a, b, t)
767
	local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
768
	local startInterp, finishInterp;
769
	if cosTheta >= 0.0001 then
770
		if (1 - cosTheta) > 0.0001 then
771
			local theta = ACOS(cosTheta)
772
			local invSinTheta = 1 / SIN(theta)
773
			startInterp = SIN((1 - t) * theta) * invSinTheta
774
			finishInterp = SIN(t * theta) * invSinTheta
775
		else
776
			startInterp = 1 - t
777
			finishInterp = t
778
		end
779
	else
780
		if (1 + cosTheta) > 0.0001 then
781
			local theta = ACOS(-cosTheta)
782
			local invSinTheta = 1 / SIN(theta)
783
			startInterp = SIN((t - 1) * theta) * invSinTheta
784
			finishInterp = SIN(t * theta) * invSinTheta
785
		else
786
			startInterp = t - 1
787
			finishInterp = t
788
		end
789
	end
790
	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
791
end
792
793
function Clerp(a, b, t)
794
	local qa = {QuaternionFromCFrame(a)}
795
	local qb = {QuaternionFromCFrame(b)}
796
	local ax, ay, az = a.x, a.y, a.z
797
	local bx, by, bz = b.x, b.y, b.z
798
	local _t = 1 - t
799
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
800
end
801
802
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
803
	local frame = IT("Frame")
804
	frame.BackgroundTransparency = TRANSPARENCY
805
	frame.BorderSizePixel = BORDERSIZEPIXEL
806
	frame.Position = POSITION
807
	frame.Size = SIZE
808
	frame.BackgroundColor3 = COLOR
809
	frame.BorderColor3 = BORDERCOLOR
810
	frame.Name = NAME
811
	frame.Parent = PARENT
812
	return frame
813
end
814
815
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
816
	local label = IT("TextLabel")
817
	label.BackgroundTransparency = 1
818
	label.Size = UD2(1, 0, 1, 0)
819
	label.Position = UD2(0, 0, 0, 0)
820
	label.TextColor3 = TEXTCOLOR
821
	label.TextStrokeTransparency = STROKETRANSPARENCY
822
	label.TextTransparency = TRANSPARENCY
823
	label.FontSize = TEXTFONTSIZE
824
	label.Font = TEXTFONT
825
	label.BorderSizePixel = BORDERSIZEPIXEL
826
	label.TextScaled = false
827
	label.Text = TEXT
828
	label.Name = NAME
829
	label.Parent = PARENT
830
	return label
831
end
832
833
function NoOutlines(PART)
834
	PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
835
end
836
837
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
838
	local NEWWELD = IT(TYPE)
839
	NEWWELD.Part0 = PART0
840
	NEWWELD.Part1 = PART1
841
	NEWWELD.C0 = C0
842
	NEWWELD.C1 = C1
843
	NEWWELD.Parent = PARENT
844
	return NEWWELD
845
end
846
847
local S = IT("Sound")
848
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
849
	local NEWSOUND = nil
850
	coroutine.resume(coroutine.create(function()
851
		NEWSOUND = S:Clone()
852
		NEWSOUND.Parent = PARENT
853
		NEWSOUND.Volume = VOLUME
854
		NEWSOUND.Pitch = PITCH
855
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
856
		NEWSOUND:play()
857
		if DOESLOOP == true then
858
			NEWSOUND.Looped = true
859
		else
860
			repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
861
			NEWSOUND:remove()
862
		end
863
	end))
864
	return NEWSOUND
865
end
866
867
function CFrameFromTopBack(at, top, back)
868
	local right = top:Cross(back)
869
	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)
870
end
871
872
--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})
873
function WACKYEFFECT(Table)
874
	local TYPE = (Table.EffectType or "Sphere")
875
	local SIZE = (Table.Size or VT(1,1,1))
876
	local ENDSIZE = (Table.Size2 or VT(0,0,0))
877
	local TRANSPARENCY = (Table.Transparency or 0)
878
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
879
	local CFRAME = (Table.CFrame or Torso.CFrame)
880
	local MOVEDIRECTION = (Table.MoveToPos or nil)
881
	local ROTATION1 = (Table.RotationX or 0)
882
	local ROTATION2 = (Table.RotationY or 0)
883
	local ROTATION3 = (Table.RotationZ or 0)
884
	local MATERIAL = (Table.Material or "Neon")
885
	local COLOR = (Table.Color or C3(1,1,1))
886
	local TIME = (Table.Time or 45)
887
	local SOUNDID = (Table.SoundID or nil)
888
	local SOUNDPITCH = (Table.SoundPitch or nil)
889
	local SOUNDVOLUME = (Table.SoundVolume or nil)
890
	coroutine.resume(coroutine.create(function()
891
		local PLAYSSOUND = false
892
		local SOUND = nil
893
		local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
894
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
895
			PLAYSSOUND = true
896
			SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
897
		end
898
		EFFECT.Color = COLOR
899
		local MSH = nil
900
		if TYPE == "Sphere" then
901
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
902
		elseif TYPE == "Block" then
903
			MSH = IT("BlockMesh",EFFECT)
904
			MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
905
		elseif TYPE == "Wave" then
906
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
907
		elseif TYPE == "Ring" then
908
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
909
		elseif TYPE == "Slash" then
910
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
911
		elseif TYPE == "Round Slash" then
912
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
913
		elseif TYPE == "Swirl" then
914
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
915
		elseif TYPE == "Skull" then
916
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
917
		elseif TYPE == "Crystal" then
918
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
919
		end
920
		if MSH ~= nil then
921
			local MOVESPEED = nil
922
			if MOVEDIRECTION ~= nil then
923
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
924
			end
925
			local GROWTH = SIZE - ENDSIZE
926
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
927
			if TYPE == "Block" then
928
				EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
929
			else
930
				EFFECT.CFrame = CFRAME
931
			end
932
			for LOOP = 1, TIME+1 do
933
				Swait()
934
				MSH.Scale = MSH.Scale - GROWTH/TIME
935
				if TYPE == "Wave" then
936
					MSH.Offset = VT(0,0,-MSH.Scale.X/8)
937
				end
938
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
939
				if TYPE == "Block" then
940
					EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
941
				else
942
					EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
943
				end
944
				if MOVEDIRECTION ~= nil then
945
					local ORI = EFFECT.Orientation
946
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
947
					EFFECT.Orientation = ORI
948
				end
949
			end
950
			if PLAYSSOUND == false then
951
				EFFECT:remove()
952
			else
953
				SOUND.Stopped:Connect(function()
954
					EFFECT:remove()
955
				end)
956
			end
957
		else
958
			if PLAYSSOUND == false then
959
				EFFECT:remove()
960
			else
961
				repeat Swait() until SOUND.Playing == false
962
				EFFECT:remove()
963
			end
964
		end
965
	end))
966
end
967
968
function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
969
	coroutine.resume(coroutine.create(function()
970
		local FADE = IT("Model",Effects)
971
		if PARENT ~= nil then
972
			FADE.Parent = PARENT
973
		end
974
		FADE.Name = "FadingEffect"
975
		for _, c in pairs(Character:GetChildren()) do
976
			if c.ClassName == "Part" then
977
				c.CanCollide = false
978
				local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true)
979
				FADER.CFrame = c.CFrame
980
				FADER.Color = COLOR
981
				if FADER.Name == "Head" then
982
					Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
983
				elseif FADER.Name == "HumanoidRootPart" then
984
					FADE.PrimaryPart = FADER
985
					FADER.Transparency = 1
986
				end
987
			end
988
		end
989
		local TRANS = 0.25/TIMER
990
		local DIST = nil
991
		if MOVEDIRECTION ~= nil then
992
			DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
993
		end
994
		for i = 1, TIMER do
995
			Swait()
996
			for _, c in pairs(FADE:GetChildren()) do
997
				if c.ClassName == "Part" then
998
					c.Transparency = c.Transparency + TRANS
999
				end
1000
			end
1001
			if MOVEDIRECTION ~= nil then
1002
				local ORI = FADE.PrimaryPart.Orientation
1003
				FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
1004
			end
1005
		end
1006
		FADE:remove()
1007
	end))
1008
end
1009
1010
function R_RANDOM(CFRAME,DIST)
1011
	return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
1012
end
1013
1014
function MakeForm(PART,TYPE)
1015
	if TYPE == "Cyl" then
1016
		local MSH = IT("CylinderMesh",PART)
1017
	elseif TYPE == "Ball" then
1018
		local MSH = IT("SpecialMesh",PART)
1019
		MSH.MeshType = "Sphere"
1020
	elseif TYPE == "Wedge" then
1021
		local MSH = IT("SpecialMesh",PART)
1022
		MSH.MeshType = "Wedge"
1023
	end
1024
end
1025
1026
function SpawnTrail(FROM,TO,BIG)
1027
	local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
1028
	MakeForm(TRAIL,"Cyl")
1029
	local DIST = (FROM - TO).Magnitude
1030
	if BIG == true then
1031
		TRAIL.Size = VT(0.5,DIST,0.5)
1032
	else
1033
		TRAIL.Size = VT(0.25,DIST,0.25)
1034
	end
1035
	TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
1036
	coroutine.resume(coroutine.create(function()
1037
		for i = 1, 5 do
1038
			Swait()
1039
			TRAIL.Transparency = TRAIL.Transparency + 0.1
1040
		end
1041
		TRAIL:remove()
1042
	end))
1043
end
1044
1045
Debris = game:GetService("Debris")
1046
1047
function CastProperRay(StartPos, EndPos, Distance, Ignore)
1048
	local DIRECTION = CF(StartPos,EndPos).lookVector
1049
	return Raycast(StartPos, DIRECTION, Distance, Ignore)
1050
end
1051
1052
function turnto(position)
1053
	RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
1054
end
1055
1056
--//=================================\\
1057
--||	     WEAPONS/MISC CREATION
1058
--\\=================================//
1059
1060
title = [[
1061
1062
//    C H A T   L I S T    \\
1063
AAAA
1064
I CANT BELIEVE YOUVE DONE THIS
1065
DS
1066
HEX
1067
TOPHAT
1068
NOHATS
1069
I CAN DO ANYTHING
1070
ah yes
1071
SIT
1072
NOSIT
1073
/e time (timeposition)
1074
/e play (id)
1075
thats how mafia works
1076
curb
1077
GET REKT FOOL
1078
1079
[E] Open/Close CHAT GUI
1080
1081
GUI made by @Kyutatsuki#9221
1082
]]
1083
backgroundcolortitle = C3(0.1,0.1,0)
1084
bordercolortitle = C3(1,1,0)
1085
GUI = Instance.new("ScreenGui", Player.PlayerGui)
1086
GUI.Name = "BlackHoleKyutatsukiGui"
1087
textlabel = Instance.new("TextLabel",GUI)
1088
textlabel.AnchorPoint = Vector2.new(1,1)
1089
textlabel.Position = UDim2.new(1,500+5,1,-5)
1090
textlabel.Size = UDim2.new(0,500,0,400)
1091
textlabel.BorderSizePixel = 5
1092
textlabel.BorderColor3 = bordercolortitle
1093
textlabel.BackgroundColor3 = backgroundcolortitle
1094
textlabel.BackgroundTransparency = 0.1
1095
textlabel.TextTransparency = 0.1
1096
textlabel.TextColor3 = C3(1,1,0)
1097
textlabel.TextScaled = true
1098
textlabel.TextYAlignment = Enum.TextYAlignment.Center
1099
textlabel.Font = Enum.Font.SciFi
1100
textlabel.Text = title
1101
1102
guiopen = false
1103
debouncebutton = false
1104
function openhelp()
1105
if debouncebutton == false then
1106
if guiopen == false then
1107
debouncebutton = true
1108
textlabel:TweenPosition(UDim2.new(1,0-5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
1109
guiopen = true
1110
wait(0.2)
1111
else
1112
debouncebutton = true
1113
textlabel:TweenPosition(UDim2.new(1,500+5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2)
1114
guiopen = false
1115
wait(0.2)
1116
end
1117
end
1118
debouncebutton = false
1119
end
1120
openhelp()
1121
1122
Mouse.KeyDown:connect(function(key)
1123
if key == "e" then
1124
openhelp()
1125
end
1126
end)
1127
1128
            if Character:FindFirstChild("Shirt") then
1129
                Character.Shirt:Destroy()
1130
end
1131
            if Character:FindFirstChild("Pants") then
1132
                Character.Pants:Destroy()
1133
end
1134
1135
for i,v in pairs(Character:children()) do
1136
    if v:IsA("Accessory") then
1137
        v:Destroy()
1138
    end
1139
end
1140
1141
1142
Player_Size = 1 --Size of the player.
1143
1144
1145
local Shirto = Instance.new("Shirt")
1146
Shirto.Name = "S"
1147
Shirto.ShirtTemplate = "rbxassetid://787796132"
1148
Shirto.Parent = Character
1149
1150
local Panto = Instance.new("Pants")
1151
Panto.Name = "S"
1152
Panto.PantsTemplate = "rbxassetid://844190661"
1153
Panto.Parent = Character
1154
New = function(Object, Parent, Name, Data)
1155
local Object = Instance.new(Object)
1156
for Index, Value in pairs(Data or {}) do
1157
Object[Index] = Value
1158
end
1159
Object.Parent = Parent
1160
Object.Name = Name
1161
return Object
1162
end
1163
1164
--[[
1165
tommygun = Instance.new("Part",Character)
1166
tommygun.Size = Vector3.new(2,2,2)
1167
tommygun.CFrame = RightArm.CFrame
1168
tommygun.CanCollide = false
1169
tommygunweld = Instance.new("Weld",tommygun)
1170
tommygunweld.Part0 = tommygun
1171
tommygunweld.Part1 = RightArm
1172
tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0)
1173
mtommygun = Instance.new("SpecialMesh", tommygun)
1174
mtommygun.MeshType = "FileMesh"
1175
mtommygun.Scale = Vector3.new(1, 1, 1)
1176
mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995'
1177
tommygunammo = Instance.new("Part",Character)
1178
tommygunammo.Size = Vector3.new(2,2,2)
1179
tommygunammo.CFrame = tommygun.CFrame
1180
tommygunammo.CanCollide = false
1181
tommygunammoweld = Instance.new("Weld",tommygunammo)
1182
tommygunammoweld.Part0 = tommygunammo
1183
tommygunammoweld.Part1 = tommygun
1184
tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
1185
mtommygunammo = Instance.new("SpecialMesh", tommygunammo)
1186
mtommygunammo.MeshType = "FileMesh"
1187
mtommygunammo.Scale = Vector3.new(1, 1, 1)
1188
mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995'
1189
]]--
1190
1191
	local AK = CreatePart(3, A47, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
1192
CreateMesh("SpecialMesh", AK, "FileMesh", "430309675", "430310377", VT(0.01, 0.01, 0.01), VT(0,0,0))
1193
--CreateMesh("SpecialMesh", AK, "FileMesh", "430054350", "430310377", VT(1, 1, 1), VT(0,0,0))
1194
local AKWELD = CreateWeldOrSnapOrMotor("Weld", AK, RightArm, AK, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
1195
	local AH = CreatePart(3, A47, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1196
local AHW = CreateWeldOrSnapOrMotor("Weld", AH, RightArm, AH, CF(0 * Player_Size, -5.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1197
 
1198
	AKMMO2 = Instance.new("Part",A47)
1199
AKMMO2.Size = Vector3.new(2,2,2)
1200
AKMMO2.CFrame = AK.CFrame
1201
AKMMO2.CanCollide = false
1202
AKMO = Instance.new("Weld",AKMMO2)
1203
AKMO.Part0 = AKMMO2
1204
AKMO.Part1 = AK
1205
AKMO.C0 = AK.CFrame:inverse() * AK.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0)
1206
AKMMO = Instance.new("SpecialMesh", AKMMO2)
1207
AKMMO.MeshType = "FileMesh"
1208
AKMMO.Scale = Vector3.new(0.01, 0.01, 0.01)
1209
AKMMO.MeshId,AKMMO.TextureId = 'http://www.roblox.com/asset/?id=430310311','http://www.roblox.com/asset/?id=430310377'
1210
1211
--[[
1212
Shotii = New("Model",Character,"Shotii",{})
1213
SHandaru = New("Part",Shotii,"SHandaru",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.4184885, -48.6482887, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1214
Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00200000019, 0.00200000019, 0.00200000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,})
1215
Weld = New("ManualWeld",SHandaru,"Weld",{Part0 = SHandaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(0.292991638, -7.6862278, -0.349998474, 0.984807849, -0.030152997, -0.171009988, 0.173647955, 0.17100893, 0.969846547, 4.55671426e-07, -0.984807968, 0.173646942),})
1216
SShot = New("Part",Shotii,"SShot",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.3150301, -54.4179688, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1217
Weld = New("ManualWeld",SShot,"Weld",{Part0 = SShot,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(5.69999313, 0.900001526, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
1218
SSExit = New("Part",Shotii,"SSExit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(83.0000076, 9.67517471, -46.1282616, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
1219
Weld = New("ManualWeld",SSExit,"Weld",{Part0 = SSExit,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(-2.69996262, 0.799999237, 0.299995422, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),})
1220
SHandaru.Transparency = 1]]--
1221
		local AWH = CreatePart(3, AWP, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
1222
CreateMesh("SpecialMesh", AWH, "FileMesh", "504829483", "504829510", VT(0.01, 0.01, 0.01), VT(0,0,0))
1223
local AWW = CreateWeldOrSnapOrMotor("Weld", AWH, RightArm, AWH, CFrame.new(0,-1.8,-0.1) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
1224
1225
--[[
1226
1227
	local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.375,0.375,0.385),false)
1228
	local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.21,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1229
1230
	local CLOCKWORK = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", Vector3.new(0.25,0.25,0.26),false)
1231
	local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK, Head, CLOCKWORK, CF(-0.21,0.25,-0.5785) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1232
]]--
1233
1234
local assault = CreatePart(3, AR, "Neon", 0, 0, "Really black", "assault", VT(1, 0.8, 3),false)
1235
CreateMesh("SpecialMesh", assault, "FileMesh", "537039121", "537039226", VT(0.3, 0.3, 0.3), VT(0,0,0))
1236
local rifweld = CreateWeldOrSnapOrMotor("Weld", assault, RightArm, assault, CFrame.new(0,-1.8,-.05) * CFrame.Angles(math.rad(270),math.rad(0),0), CF(0, 0, 0))
1237
	local EAE = CreatePart(3, AR, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1238
local EAES = CreateWeldOrSnapOrMotor("Weld", EAE, RightArm, EAE, CF(0 * Player_Size, -5.15* Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1239
 
1240
--[[
1241
local GunModel = Instance.new("Part", Character)--Shotgun)
1242
GunModel.Name = "Pistol"
1243
GunModel.Shape = Enum.PartType.Ball
1244
GunModel.CanCollide = false
1245
GunModel.BrickColor = BrickColor.new("Medium stone grey")
1246
GunModel.Transparency = 1
1247
GunModel.Material = "Grass"
1248
GunModel.Size = Vector3.new(0.01, 0.01, 0.01)
1249
GunModel.TopSurface = Enum.SurfaceType.Smooth
1250
GunModel.BottomSurface = Enum.SurfaceType.Smooth
1251
local Weld = Instance.new("Weld", GunModel)
1252
Weld.Part0 = RightArm
1253
Weld.Part1 = GunModel
1254
Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180))
1255
GunModelMesh = Instance.new("FileMesh", GunModel)
1256
GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994"
1257
GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=450251128"
1258
GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02)
1259
	]]--
1260
	
1261
		local UGB = CreatePart(3, AUG, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
1262
CreateMesh("SpecialMesh", UGB, "FileMesh", "431717702", "431717780", VT(0.08, 0.08, 0.08), VT(0,0,0))
1263
local UGW = CreateWeldOrSnapOrMotor("Weld", UGB, RightArm, UGB, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0))
1264
1265
	
1266
	local SGUN = CreatePart(3, Shotgun, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
1267
CreateMesh("SpecialMesh", SGUN, "FileMesh", "450250994", "450251128", VT(0.002, 0.002, 0.002), VT(0,0,0))
1268
local GUNWELD = CreateWeldOrSnapOrMotor("Weld", SGUN, RightArm, SGUN, CF(-0.45,-1.4,0.1) * ANGLES(RAD(-90), RAD(110), RAD(0)), CF(0, 0, 0))
1269
	
1270
	local Barrel = CreatePart(3, Shotgun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1271
local BarrelWeld = CreateWeldOrSnapOrMotor("Weld", Barrel, RightArm, Barrel, CF(0 * Player_Size, -4.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1272
 
1273
	local OUTSIDE = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.395,0.485,0.405),false)
1274
	local weld = CreateWeldOrSnapOrMotor("Weld", OUTSIDE, Head, OUTSIDE, CF(0.18,0.05,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1275
1276
	local CLOCKWORK2 = CreatePart(3, Character, "Neon", 0, 0, "Bright yellow", "Eye", Vector3.new(0.29,0.37,0.30),false)
1277
	local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK2, Head, CLOCKWORK2, CF(0.18,0.05,-0.5785) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
1278
MakeForm(OUTSIDE,"Cyl")
1279
MakeForm(CLOCKWORK2,"Cyl")
1280
	local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(1.3,0.225,1.3),false)
1281
	local weld = CreateWeldOrSnapOrMotor("Weld", BELT, Head, BELT, CF(0,0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
1282
MakeForm(BELT,"Cyl")
1283
1284
local BC = char["Body Colors"]
1285
	BC.HeadColor = BrickColor.new("Light stone grey")
1286
	BC.LeftArmColor = BrickColor.new("Light stone grey")
1287
	BC.LeftLegColor = BrickColor.new("Light stone grey")
1288
	BC.RightArmColor = BrickColor.new("Light stone grey")
1289
	BC.RightLegColor = BrickColor.new("Light stone grey")
1290
	BC.TorsoColor = BrickColor.new("Light stone grey")
1291
	
1292
	local kek9= CreatePart(3, kek, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1293
local kek9M = CreateMesh("SpecialMesh", kek9, "FileMesh", "742046473", "742046691", VT(0.002, 0.002, 0.002), VT(0,0, 0))
1294
 local kek9W = CreateWeldOrSnapOrMotor("Weld", kek9, RightArm, kek9, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1295
1296
local kepoint = CreatePart(3, kek, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1297
local kepointweld = CreateWeldOrSnapOrMotor("Weld", kepoint, RightArm, kepoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1298
 
1299
1300
local Gun = CreatePart(3, Gun, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1301
--local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "72012879", "72012859", VT(2,2,2), VT(0,0, 0))
1302
local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430348960", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
1303
--local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
1304
 local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1305
1306
local GunPoint = CreatePart(3, Gun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1307
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1308
 
1309
1310
local S2S = CreatePart(3, Supressor, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1311
local HandleMesh = CreateMesh("SpecialMesh", S2S, "FileMesh", "430884744", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0))
1312
 local Weld = CreateWeldOrSnapOrMotor("Weld", S2S, Gun, S2S, CF(0 * Player_Size, 0.45 * Player_Size, 1.725 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1313
1314
--GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0"
1315
local SSDE = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1316
local HandleMesh = CreateMesh("SpecialMesh", SSDE, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
1317
 local Weld = CreateWeldOrSnapOrMotor("Weld", SSDE, RightArm, SSDE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1318
1319
local Flare = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1320
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Flare, RightArm, Flare, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1321
 
1322
local SSDE2 = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1323
local HandleMesh2 = CreateMesh("SpecialMesh", SSDE2, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0))
1324
 local Weld2 = CreateWeldOrSnapOrMotor("Weld", SSDE2, LeftArm, SSDE2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1325
1326
local Flare2 = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1327
local Handle2 = CreateWeldOrSnapOrMotor("Weld", Flare2, LeftArm, Flare2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1328
 
1329
local KL2 = CreatePart(3, knif, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1330
local KLM = CreateMesh("SpecialMesh", KL2, "FileMesh", "437420170", "437420120", VT(0.3, 0.3, 0.3), VT(0,0, 0))
1331
 local KLW = CreateWeldOrSnapOrMotor("Weld", KL2, RightArm, KL2, CF(0 * Player_Size, -1 * Player_Size, -1 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1332
1333
local R8A = CreatePart(3, R8RA, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1334
local R8M = CreateMesh("SpecialMesh", R8A, "FileMesh", "541863381", "541863491", VT(0.3, 0.3, 0.3), VT(0,0, 0))
1335
 --local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
1336
local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0.2 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(-20), RAD(0)), CF(0, 0, 0))
1337
1338
local REVOLV = CreatePart(3, R8RA, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1339
local HOLEWELD = CreateWeldOrSnapOrMotor("Weld", REVOLV, RightArm, REVOLV, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1340
 
1341
1342
local DEAGLE = CreatePart(3, DE, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1343
local DEAGLEMESH = CreateMesh("SpecialMesh", DEAGLE, "FileMesh", "441587064", "441587082", VT(0.03, 0.03, 0.03), VT(0,0, 0))
1344
 local DEAGLEWeld = CreateWeldOrSnapOrMotor("Weld", DEAGLE, RightArm, DEAGLE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1345
1346
local JUAND = CreatePart(3, DE, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1347
local JUANDW = CreateWeldOrSnapOrMotor("Weld", JUAND, RightArm, JUAND, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1348
 
1349
1350
1351
1352
local SOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1353
local SOLM = CreateMesh("SpecialMesh", SOL, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
1354
 local SOLW = CreateWeldOrSnapOrMotor("Weld", SOL, RightArm, SOL, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0))
1355
1356
local VOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1357
local HENDLE = CreateWeldOrSnapOrMotor("Weld", VOL, RightArm, VOL, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1358
 
1359
local SOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1360
local SOLM2 = CreateMesh("SpecialMesh", SOL2, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0))
1361
 local SOLW2 = CreateWeldOrSnapOrMotor("Weld", SOL2, LeftArm, SOL2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0))
1362
1363
local VOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1364
local HENDLE2 = CreateWeldOrSnapOrMotor("Weld", VOL2, LeftArm, VOL2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1365
 
1366
1367
1368
1369
1370
1371
1372
1373
local MAC = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1374
local MAC2M = CreateMesh("SpecialMesh", MAC, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
1375
 local MACW = CreateWeldOrSnapOrMotor("Weld", MAC, RightArm, MAC, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1376
1377
local BOI = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1378
local BAEDF = CreateWeldOrSnapOrMotor("Weld", BOI, RightArm, BOI, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1379
 
1380
local MAC2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
1381
local MAC2M = CreateMesh("SpecialMesh", MAC2, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0))
1382
 local MAC2W = CreateWeldOrSnapOrMotor("Weld", MAC2, LeftArm, MAC2, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0))
1383
1384
local BOI2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false)
1385
local BAEDF2 = CreateWeldOrSnapOrMotor("Weld", BOI2, LeftArm, BOI2, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
1386
 
1387
1388
1389
1390
DE.Parent = nil
1391
for _, c in pairs(DE:GetChildren()) do
1392
	if c.ClassName == "Part" then
1393
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1394
	end
1395
end
1396
AWP.Parent = nil
1397
for _, c in pairs(AWP:GetChildren()) do
1398
	if c.ClassName == "Part" then
1399
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1400
	end
1401
end
1402
1403
Gun.Parent = nil
1404
for _, c in pairs(Gun:GetChildren()) do
1405
	if c.ClassName == "Part" then
1406
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1407
	end
1408
end
1409
1410
Supressor.Parent = nil
1411
for _, c in pairs(Supressor:GetChildren()) do
1412
	if c.ClassName == "Part" then
1413
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1414
	end
1415
end
1416
1417
AR.Parent = nil
1418
for _, c in pairs(AR:GetChildren()) do
1419
	if c.ClassName == "Part" then
1420
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1421
	end
1422
end
1423
1424
1425
SMG.Parent = nil
1426
for _, c in pairs(SMG:GetChildren()) do
1427
	if c.ClassName == "Part" then
1428
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1429
	end
1430
end
1431
1432
SMG3.Parent = nil
1433
for _, c in pairs(SMG3:GetChildren()) do
1434
	if c.ClassName == "Part" then
1435
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1436
	end
1437
end
1438
1439
SMG2.Parent = nil
1440
for _, c in pairs(SMG2:GetChildren()) do
1441
	if c.ClassName == "Part" then
1442
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1443
	end
1444
end
1445
1446
Weapon.Parent = Character
1447
for _, c in pairs(Weapon:GetChildren()) do
1448
	if c.ClassName == "Part" then
1449
		c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
1450
	end
1451
end
1452
1453
local SKILLTEXTCOLOR = C3(1,1,0)
1454
local SKILLFONT = "SciFi"
1455
local SKILLTEXTSIZE = 7
1456
--HEALTH FUNCTIONS
1457
Humanoid.Died:connect(function()
1458
	for i = 1, 23 do
1459
SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, MRANDOM(12,17))
1460
end
1461
	Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
1462
        if Character:findFirstChild("Torso") then
1463
            Character.Torso.Velocity = Character.Torso.CFrame.lookVector * 10
1464
            for i,v in pairs(Character.Torso:GetChildren()) do
1465
                if v.ClassName == "Motor6D" then
1466
                    if v.Name == "Neck" then
1467
                       
1468
                    else
1469
                        v:destroy()
1470
                    end
1471
                end
1472
            end
1473
        end
1474
        if Character:findFirstChild("Right Arm") then
1475
            local attachment = Instance.new("Attachment", Character.Torso)
1476
            attachment.Position = Vector3.new(1, 1, 0)
1477
            local ball = Instance.new("BallSocketConstraint", Character)
1478
            ball.Attachment0 = Character["Right Arm"].RightShoulderAttachment
1479
            ball.Attachment1 = attachment
1480
            local collidepartofleftleg = Instance.new("Part", Character.Torso)
1481
            collidepartofleftleg.Name = "Bone"
1482
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
1483
            collidepartofleftleg.Transparency = 1
1484
            collidepartofleftleg:BreakJoints()
1485
            local weeld = Instance.new("Weld", collidepartofleftleg)
1486
            weeld.Part0 = Character["Right Arm"]
1487
            weeld.Part1 = collidepartofleftleg
1488
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
1489
        end
1490
        if Character:findFirstChild("Left Arm") then
1491
            local attachment = Instance.new("Attachment", Character.Torso)
1492
            attachment.Position = Vector3.new(-1, 1, 0)
1493
            local ball = Instance.new("BallSocketConstraint", Character)
1494
            ball.Attachment0 = attachment
1495
            ball.Attachment1 = Character["Left Arm"].LeftShoulderAttachment
1496
            local collidepartofleftleg = Instance.new("Part", Character.Torso)
1497
            collidepartofleftleg.Name = "Bone"
1498
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
1499
            collidepartofleftleg.Transparency = 1
1500
            collidepartofleftleg:BreakJoints()
1501
            local weeld = Instance.new("Weld", collidepartofleftleg)
1502
            weeld.Part0 = Character["Left Arm"]
1503
            weeld.Part1 = collidepartofleftleg
1504
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
1505
        end
1506
        if Character:findFirstChild("Right Leg") then
1507
            local attachment = Instance.new("Attachment", Character.Torso)
1508
            attachment.Position = Vector3.new(0.5, -1, 0)
1509
            local ball = Instance.new("BallSocketConstraint", Character)
1510
            ball.Attachment0 = Character["Right Leg"].RightFootAttachment
1511
            ball.Attachment1 = attachment
1512
            Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
1513
            local collidepartofleftleg = Instance.new("Part", Character.Torso)
1514
            collidepartofleftleg.Name = "Bone"
1515
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
1516
            collidepartofleftleg.Transparency = 1
1517
            collidepartofleftleg:BreakJoints()
1518
            local weeld = Instance.new("Weld", collidepartofleftleg)
1519
            weeld.Part0 = Character["Right Leg"]
1520
            weeld.Part1 = collidepartofleftleg
1521
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
1522
        end
1523
        if Character:findFirstChild("Left Leg") then
1524
            local attachment = Instance.new("Attachment", Character.Torso)
1525
            attachment.Position = Vector3.new(-0.5, -1, 0)
1526
            local ball = Instance.new("BallSocketConstraint", Character)
1527
            ball.Attachment0 = Character["Left Leg"].LeftFootAttachment
1528
            ball.Attachment1 = attachment
1529
            Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
1530
            local collidepartofleftleg = Instance.new("Part", Character.Torso)
1531
            collidepartofleftleg.Name = "Bone"
1532
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
1533
            collidepartofleftleg.Transparency = 1
1534
            collidepartofleftleg:BreakJoints()
1535
            local weeld = Instance.new("Weld", collidepartofleftleg)
1536
            weeld.Part0 = Character["Left Leg"]
1537
            weeld.Part1 = collidepartofleftleg
1538
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
1539
        end
1540
        if Character:findFirstChild("Head") then
1541
            local attachment = Instance.new("Attachment", Character.Head)
1542
				attachment.Position = Vector3.new(0, -0.5, 0)
1543
				attachment.Name = "lol"
1544
				attachment.Visible = false
1545
				Character.Torso.NeckAttachment.Visible = false
1546
				Character.Torso.NeckAttachment.Position = Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
1547
				local ball = Instance.new("BallSocketConstraint", Character)
1548
	            ball.Attachment0 = Character.Torso.NeckAttachment
1549
	            ball.Attachment1 = attachment
1550
				ball.LimitsEnabled = true
1551
				ball.TwistLimitsEnabled = true
1552
				ball.UpperAngle = 90
1553
				ball.Restitution = 0.5
1554
				ball.TwistUpperAngle = 180
1555
				ball.TwistLowerAngle = -180
1556
	            local  collidepartofleftleg = Instance.new("Part", Character.Torso)
1557
	            collidepartofleftleg.Name = "Bone"
1558
	            collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
1559
	            collidepartofleftleg.Transparency = 1
1560
	            collidepartofleftleg:BreakJoints()
1561
	            local weeld = Instance.new("Weld", collidepartofleftleg)
1562
	            weeld.Part0 = collidepartofleftleg
1563
	            weeld.Part1 = Character["Head"]
1564
				if Character.Torso:findFirstChild("Neck") then
1565
					Character.Torso.Neck:destroy()
1566
				end
1567
        end
1568
		Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
1569
		Character:FindFirstChildOfClass("Humanoid").Health = 0.1
1570
		Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
1571
		Character:FindFirstChildOfClass("Humanoid").JumpPower = 0
1572
end)
1573
1574
function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
1575
	local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
1576
	if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
1577
		if HITFLOOR.Name == "BloodPuddle" then
1578
			local DIST = (Position - HITFLOOR.Position).Magnitude
1579
			if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
1580
				HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
1581
			end
1582
		elseif HITFLOOR.Anchored == true then
1583
			do
1584
				local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(2, 0, 2))
1585
				BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
1586
				MakeForm(BLOOD, "Cyl")
1587
				coroutine.resume(coroutine.create(function()
1588
					Swait(75)
1589
					while true do
1590
						Swait()
1591
						BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
1592
						if BLOOD.Size.Z < 0.051 then
1593
							BLOOD:remove()
1594
							break
1595
						end
1596
					end
1597
				end))
1598
			end
1599
		end
1600
	end
1601
end
1602
function SprayBlood(POSITION, DIRECTION, BloodSize)
1603
	local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(1, 1, 1), false)
1604
	BLOOD.CFrame = CF(POSITION)
1605
	MakeForm(BLOOD, "Ball")
1606
	local bv = Instance.new("BodyVelocity", BLOOD)
1607
	bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
1608
	bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
1609
	bv.Name = "MOVE"
1610
	Debris:AddItem(bv, 0.05)
1611
	coroutine.resume(coroutine.create(function()
1612
		local HASTOUCHEDGROUND = false
1613
		local HIT = BLOOD.Touched:Connect(function(hit)
1614
			if hit.Anchored == true then
1615
				HASTOUCHEDGROUND = true
1616
				PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
1617
			end
1618
		end)
1619
		wait(5)
1620
		if HASTOUCHEDGROUND == false then
1621
			BLOOD:remove()
1622
		end
1623
	end))
1624
end
1625
1626
local lastHp=Humanoid.Health
1627
--Thanks nebby ;3
1628
Humanoid:GetPropertyChangedSignal("Health"):connect(function()
1629
local hp = Humanoid.Health
1630
if(hp<lastHp)then
1631
local lost = lastHp-hp
1632
if lost < 370 then
1633
for i = 1, lost/71 do
1634
SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, lost/57)
1635
end
1636
elseif lost > 370 then
1637
	for i = 1, lost/32 do
1638
SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, lost/15)
1639
end
1640
	end
1641
--blood depending on the lost amount of HP
1642
end
1643
lastHp=hp
1644
end)
1645
1646
--//=================================\\
1647
--||			DAMAGING
1648
--\\=================================//
1649
function sphere(bonuspeed,type,pos,scale,value,color)
1650
local type = type
1651
local rng = Instance.new("Part", char)
1652
        rng.Anchored = true
1653
if ModeOfGlitch ~= 9 then
1654
        rng.BrickColor = color
1655
elseif ModeOfGlitch == 9 then
1656
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1657
end
1658
        rng.CanCollide = false
1659
        rng.FormFactor = 3
1660
        rng.Name = "Ring"
1661
        rng.Material = "Neon"
1662
        rng.Size = Vector3.new(1, 1, 1)
1663
        rng.Transparency = 0
1664
        rng.TopSurface = 0
1665
        rng.BottomSurface = 0
1666
        rng.CFrame = pos
1667
        local rngm = Instance.new("SpecialMesh", rng)
1668
        rngm.MeshType = "Sphere"
1669
rngm.Scale = scale
1670
if rainbowmode == true then
1671
rng.Color = Color3.new(r/255,g/255,b/255)
1672
end
1673
if ModeOfGlitch == 9 then
1674
coroutine.resume(coroutine.create(function()
1675
while true do
1676
swait()
1677
if rng.Parent ~= nil then
1678
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1679
else
1680
break
1681
end
1682
end
1683
end))
1684
end
1685
local scaler2 = 1
1686
if type == "Add" then
1687
scaler2 = 1*value
1688
elseif type == "Divide" then
1689
scaler2 = 1/value
1690
end
1691
coroutine.resume(coroutine.create(function()
1692
for i = 0,10/bonuspeed,0.1 do
1693
swait()
1694
if rainbowmode == true then
1695
rng.Color = Color3.new(r/255,g/255,b/255)
1696
end
1697
if type == "Add" then
1698
scaler2 = scaler2 - 0.01*value/bonuspeed
1699
elseif type == "Divide" then
1700
scaler2 = scaler2 - 0.01/value*bonuspeed
1701
end
1702
if chaosmode == true then
1703
rng.BrickColor = BrickColor.random()
1704
end
1705
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1706
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1707
end
1708
rng:Destroy()
1709
end))
1710
end
1711
1712
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
1713
local type = type
1714
local rng = Instance.new("Part", char)
1715
        rng.Anchored = true
1716
if ModeOfGlitch ~= 9 then
1717
        rng.BrickColor = color
1718
elseif ModeOfGlitch == 9 then
1719
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1720
end
1721
        rng.CanCollide = false
1722
        rng.FormFactor = 3
1723
        rng.Name = "Ring"
1724
        rng.Material = "Neon"
1725
        rng.Size = Vector3.new(1, 1, 1)
1726
        rng.Transparency = 0
1727
        rng.TopSurface = 0
1728
        rng.BottomSurface = 0
1729
        rng.CFrame = pos
1730
        local rngm = Instance.new("SpecialMesh", rng)
1731
        rngm.MeshType = "Sphere"
1732
rngm.Scale = scale
1733
local scaler2 = 1
1734
local scaler2b = 1
1735
local scaler2c = 1
1736
if type == "Add" then
1737
scaler2 = 1*value
1738
scaler2b = 1*value2
1739
scaler2c = 1*value3
1740
elseif type == "Divide" then
1741
scaler2 = 1/value
1742
scaler2b = 1/value2
1743
scaler2c = 1/value3
1744
end
1745
if ModeOfGlitch == 9 then
1746
coroutine.resume(coroutine.create(function()
1747
while true do
1748
swait()
1749
if rng.Parent ~= nil then
1750
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1751
else
1752
break
1753
end
1754
end
1755
end))
1756
end
1757
coroutine.resume(coroutine.create(function()
1758
for i = 0,10/bonuspeed,0.1 do
1759
swait()
1760
if type == "Add" then
1761
scaler2 = scaler2 - 0.01*value/bonuspeed
1762
scaler2b = scaler2b - 0.01*value/bonuspeed
1763
scaler2c = scaler2c - 0.01*value/bonuspeed
1764
elseif type == "Divide" then
1765
scaler2 = scaler2 - 0.01/value*bonuspeed
1766
scaler2b = scaler2b - 0.01/value*bonuspeed
1767
scaler2c = scaler2c - 0.01/value*bonuspeed
1768
end
1769
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1770
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
1771
end
1772
rng:Destroy()
1773
end))
1774
end
1775
1776
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1777
local type = type
1778
local rng = Instance.new("Part", char)
1779
        rng.Anchored = true
1780
        rng.BrickColor = color
1781
        rng.CanCollide = false
1782
        rng.FormFactor = 3
1783
        rng.Name = "Ring"
1784
        rng.Material = "Neon"
1785
        rng.Size = Vector3.new(1, 1, 1)
1786
        rng.Transparency = 0
1787
        rng.TopSurface = 0
1788
        rng.BottomSurface = 0
1789
        rng.CFrame = pos
1790
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1791
        local rngm = Instance.new("SpecialMesh", rng)
1792
        rngm.MeshType = "Brick"
1793
rngm.Scale = vt(x1,y1,z1)
1794
if rainbowmode == true then
1795
rng.Color = Color3.new(r/255,g/255,b/255)
1796
end
1797
local scaler2 = 1
1798
local speeder = FastSpeed/10
1799
if type == "Add" then
1800
scaler2 = 1*value
1801
elseif type == "Divide" then
1802
scaler2 = 1/value
1803
end
1804
coroutine.resume(coroutine.create(function()
1805
for i = 0,10/bonuspeed,0.1 do
1806
swait()
1807
if rainbowmode == true then
1808
rng.Color = Color3.new(r/255,g/255,b/255)
1809
end
1810
if type == "Add" then
1811
scaler2 = scaler2 - 0.01*value/bonuspeed
1812
elseif type == "Divide" then
1813
scaler2 = scaler2 - 0.01/value*bonuspeed
1814
end
1815
if chaosmode == true then
1816
rng.BrickColor = BrickColor.random()
1817
end
1818
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1819
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1820
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
1821
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1822
end
1823
rng:Destroy()
1824
end))
1825
end
1826
1827
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1828
local type = type
1829
local rng = Instance.new("Part", char)
1830
        rng.Anchored = true
1831
        rng.BrickColor = color
1832
        rng.CanCollide = false
1833
        rng.FormFactor = 3
1834
        rng.Name = "Ring"
1835
        rng.Material = "Neon"
1836
        rng.Size = Vector3.new(1, 1, 1)
1837
        rng.Transparency = 0
1838
        rng.TopSurface = 0
1839
        rng.BottomSurface = 0
1840
        rng.CFrame = pos
1841
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1842
        local rngm = Instance.new("SpecialMesh", rng)
1843
        rngm.MeshType = "Brick"
1844
rngm.Scale = vt(x1,y1,z1)
1845
if rainbowmode == true then
1846
rng.Color = Color3.new(r/255,g/255,b/255)
1847
end
1848
local scaler2 = 1
1849
local speeder = FastSpeed/10
1850
if type == "Add" then
1851
scaler2 = 1*value
1852
elseif type == "Divide" then
1853
scaler2 = 1/value
1854
end
1855
coroutine.resume(coroutine.create(function()
1856
for i = 0,10/bonuspeed,0.1 do
1857
swait()
1858
if rainbowmode == true then
1859
rng.Color = Color3.new(r/255,g/255,b/255)
1860
end
1861
if type == "Add" then
1862
scaler2 = scaler2 - 0.01*value/bonuspeed
1863
elseif type == "Divide" then
1864
scaler2 = scaler2 - 0.01/value*bonuspeed
1865
end
1866
if chaosmode == true then
1867
rng.BrickColor = BrickColor.random()
1868
end
1869
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
1870
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1871
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1872
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1873
end
1874
rng:Destroy()
1875
end))
1876
end
1877
1878
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1879
local type = type
1880
local rng = Instance.new("Part", char)
1881
        rng.Anchored = true
1882
        rng.BrickColor = color
1883
        rng.CanCollide = false
1884
        rng.FormFactor = 3
1885
        rng.Name = "Ring"
1886
        rng.Material = "Neon"
1887
        rng.Size = Vector3.new(1, 1, 1)
1888
        rng.Transparency = 0
1889
        rng.TopSurface = 0
1890
        rng.BottomSurface = 0
1891
        rng.CFrame = pos
1892
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1893
        local rngm = Instance.new("SpecialMesh", rng)
1894
        rngm.MeshType = "Brick"
1895
rngm.Scale = vt(x1,y1,z1)
1896
if rainbowmode == true then
1897
rng.Color = Color3.new(r/255,g/255,b/255)
1898
end
1899
local scaler2 = 0
1900
local speeder = FastSpeed/10
1901
if type == "Add" then
1902
scaler2 = 1*value
1903
elseif type == "Divide" then
1904
scaler2 = 1/value
1905
end
1906
coroutine.resume(coroutine.create(function()
1907
for i = 0,10/bonuspeed,0.1 do
1908
swait()
1909
if rainbowmode == true then
1910
rng.Color = Color3.new(r/255,g/255,b/255)
1911
end
1912
if type == "Add" then
1913
scaler2 = scaler2 - 0.01*value/bonuspeed
1914
elseif type == "Divide" then
1915
scaler2 = scaler2 - 0.01/value*bonuspeed
1916
end
1917
if chaosmode == true then
1918
rng.BrickColor = BrickColor.random()
1919
end
1920
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
1921
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1922
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
1923
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
1924
end
1925
rng:Destroy()
1926
end))
1927
end
1928
1929
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1930
local type = type
1931
local rng = Instance.new("Part", char)
1932
        rng.Anchored = true
1933
if ModeOfGlitch ~= 9 then
1934
        rng.BrickColor = color
1935
elseif ModeOfGlitch == 9 then
1936
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1937
end
1938
        rng.CanCollide = false
1939
        rng.FormFactor = 3
1940
        rng.Name = "Ring"
1941
        rng.Material = "Neon"
1942
        rng.Size = Vector3.new(1, 1, 1)
1943
        rng.Transparency = 0
1944
        rng.TopSurface = 0
1945
        rng.BottomSurface = 0
1946
        rng.CFrame = pos
1947
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
1948
        local rngm = Instance.new("SpecialMesh", rng)
1949
        rngm.MeshType = "Sphere"
1950
rngm.Scale = vt(x1,y1,z1)
1951
if rainbowmode == true then
1952
rng.Color = Color3.new(r/255,g/255,b/255)
1953
end
1954
if ModeOfGlitch == 9 then
1955
coroutine.resume(coroutine.create(function()
1956
while true do
1957
swait()
1958
if rng.Parent ~= nil then
1959
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
1960
else
1961
break
1962
end
1963
end
1964
end))
1965
end
1966
local scaler2 = 1
1967
local speeder = FastSpeed
1968
if type == "Add" then
1969
scaler2 = 1*value
1970
elseif type == "Divide" then
1971
scaler2 = 1/value
1972
end
1973
coroutine.resume(coroutine.create(function()
1974
for i = 0,10/bonuspeed,0.1 do
1975
swait()
1976
if rainbowmode == true then
1977
rng.Color = Color3.new(r/255,g/255,b/255)
1978
end
1979
if type == "Add" then
1980
scaler2 = scaler2 - 0.01*value/bonuspeed
1981
elseif type == "Divide" then
1982
scaler2 = scaler2 - 0.01/value*bonuspeed
1983
end
1984
if chaosmode == true then
1985
rng.BrickColor = BrickColor.random()
1986
end
1987
speeder = speeder - 0.01*FastSpeed*bonuspeed
1988
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
1989
rng.Transparency = rng.Transparency + 0.01*bonuspeed
1990
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
1991
end
1992
rng:Destroy()
1993
end))
1994
end
1995
1996
1997
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
1998
local type = type
1999
local rng = Instance.new("Part", char)
2000
        rng.Anchored = true
2001
if ModeOfGlitch ~= 9 then
2002
        rng.BrickColor = color
2003
elseif ModeOfGlitch == 9 then
2004
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2005
end
2006
        rng.CanCollide = false
2007
        rng.FormFactor = 3
2008
        rng.Name = "Ring"
2009
        rng.Material = "Neon"
2010
        rng.Size = Vector3.new(1, 1, 1)
2011
        rng.Transparency = 1
2012
        rng.TopSurface = 0
2013
        rng.BottomSurface = 0
2014
        rng.CFrame = pos
2015
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2016
        local rngm = Instance.new("SpecialMesh", rng)
2017
        rngm.MeshType = "Sphere"
2018
rngm.Scale = vt(x1,y1,z1)
2019
if rainbowmode == true then
2020
rng.Color = Color3.new(r/255,g/255,b/255)
2021
end
2022
if ModeOfGlitch == 9 then
2023
coroutine.resume(coroutine.create(function()
2024
while true do
2025
swait()
2026
if rng.Parent ~= nil then
2027
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
2028
else
2029
break
2030
end
2031
end
2032
end))
2033
end
2034
local scaler2 = 1
2035
local speeder = FastSpeed
2036
if type == "Add" then
2037
scaler2 = 1*value
2038
elseif type == "Divide" then
2039
scaler2 = 1/value
2040
end
2041
coroutine.resume(coroutine.create(function()
2042
for i = 0,10/bonuspeed,0.1 do
2043
swait()
2044
if rainbowmode == true then
2045
rng.Color = Color3.new(r/255,g/255,b/255)
2046
end
2047
if type == "Add" then
2048
scaler2 = scaler2 - 0.01*value/bonuspeed
2049
elseif type == "Divide" then
2050
scaler2 = scaler2 - 0.01/value*bonuspeed
2051
end
2052
if chaosmode == true then
2053
rng.BrickColor = BrickColor.random()
2054
end
2055
speeder = speeder - 0.01*FastSpeed*bonuspeed
2056
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2057
rng.Transparency = rng.Transparency - 0.01*bonuspeed
2058
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2059
end
2060
rng:Destroy()
2061
end))
2062
end
2063
--//=================================\\
2064
--||	ATTACK FUNCTIONS AND STUFF
2065
--\\=================================//
2066
2067
function chatfunc(text,color,typet,font,timeex)
2068
local chat = coroutine.wrap(function()
2069
if Character:FindFirstChild("TalkingBillBoard")~= nil then
2070
Character:FindFirstChild("TalkingBillBoard"):destroy()
2071
end
2072
local naeeym2 = Instance.new("BillboardGui",Character)
2073
naeeym2.Size = UDim2.new(0,100,0,40)
2074
naeeym2.StudsOffset = Vector3.new(0,3,0)
2075
naeeym2.Adornee = Character.Head
2076
naeeym2.Name = "TalkingBillBoard"
2077
local tecks2 = Instance.new("TextLabel",naeeym2)
2078
tecks2.BackgroundTransparency = 1
2079
tecks2.BorderSizePixel = 0
2080
tecks2.Text = ""
2081
tecks2.Font = font
2082
tecks2.TextSize = 30
2083
tecks2.TextStrokeTransparency = 0
2084
tecks2.TextColor3 = color
2085
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
2086
tecks2.Size = UDim2.new(1,0,0.5,0)
2087
local tecks3 = Instance.new("TextLabel",naeeym2)
2088
tecks3.BackgroundTransparency = 1
2089
tecks3.BorderSizePixel = 0
2090
tecks3.Text = ""
2091
tecks3.Font = font
2092
tecks3.TextSize = 30
2093
tecks3.TextStrokeTransparency = 0
2094
if typet == "Inverted" then
2095
tecks3.TextColor3 = Color3.new(0,0,0)
2096
tecks3.TextStrokeColor3 = color
2097
elseif typet == "Normal" then
2098
tecks3.TextColor3 = color
2099
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
2100
end
2101
tecks3.Size = UDim2.new(1,0,0.5,0)
2102
coroutine.resume(coroutine.create(function()
2103
while true do
2104
swait(1)
2105
end
2106
end))
2107
for i = 0, 74*timeex do
2108
swait()
2109
tecks2.Text = text
2110
tecks3.Text = text
2111
end
2112
local randomrot = math.random(1,2)
2113
if randomrot == 1 then
2114
for i = 1, 50 do
2115
swait()
2116
tecks2.Text = text
2117
tecks3.Text = text
2118
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
2119
tecks2.TextTransparency = tecks2.TextTransparency + .04
2120
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
2121
tecks3.TextTransparency = tecks2.TextTransparency + .04
2122
end
2123
elseif randomrot == 2 then
2124
	for i = 1, 50 do
2125
swait()
2126
tecks2.Text = text
2127
tecks3.Text = text
2128
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
2129
tecks2.TextTransparency = tecks2.TextTransparency + .04
2130
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
2131
tecks3.TextTransparency = tecks2.TextTransparency + .04
2132
end
2133
end
2134
naeeym2:Destroy()
2135
end)
2136
chat()
2137
end
2138
2139
2140
2141
2142
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
2143
local type = type
2144
local rotenable = rotatingop
2145
local rng = Instance.new("Part", char)
2146
        rng.Anchored = true
2147
        rng.BrickColor = color
2148
        rng.CanCollide = false
2149
        rng.FormFactor = 3
2150
        rng.Name = "Ring"
2151
        rng.Material = "Neon"
2152
        rng.Size = Vector3.new(1, 1, 1)
2153
        rng.Transparency = 0
2154
if typeoftrans == "In" then
2155
rng.Transparency = 1
2156
end
2157
        rng.TopSurface = 0
2158
        rng.BottomSurface = 0
2159
        rng.CFrame = pos
2160
        local rngm = Instance.new("SpecialMesh", rng)
2161
        rngm.MeshType = "FileMesh"
2162
if typeofshape == "Normal" then
2163
rngm.MeshId = "rbxassetid://662586858"
2164
elseif typeofshape == "Round" then
2165
rngm.MeshId = "rbxassetid://662585058"
2166
end
2167
rngm.Scale = scale
2168
local scaler2 = 1/10
2169
if type == "Add" then
2170
scaler2 = 1*value/10
2171
elseif type == "Divide" then
2172
scaler2 = 1/value/10
2173
end
2174
local randomrot = math.random(1,2)
2175
coroutine.resume(coroutine.create(function()
2176
for i = 0,10/bonuspeed,0.1 do
2177
swait()
2178
if type == "Add" then
2179
scaler2 = scaler2 - 0.01*value/bonuspeed/10
2180
elseif type == "Divide" then
2181
scaler2 = scaler2 - 0.01/value*bonuspeed/10
2182
end
2183
if rotenable == true then
2184
if randomrot == 1 then
2185
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
2186
elseif randomrot == 2 then
2187
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
2188
end
2189
end
2190
if typeoftrans == "Out" then
2191
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2192
elseif typeoftrans == "In" then
2193
rng.Transparency = rng.Transparency - 0.01*bonuspeed
2194
end
2195
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
2196
end
2197
rng:Destroy()
2198
end))
2199
end
2200
2201
local MAINRUINCOLOR = BrickColor.new("New Yeller")
2202
2203
2204
2205
2206
2207
NEWS4 = Instance.new("Sound", tors) --O NO
2208
NEWS4.SoundId = "http://www.roblox.com/asset/?id=374091819"
2209
NEWS4.Volume = 100
2210
NEWS4.Pitch = 1
2211
NEWS4.Looped = false
2212
NEWS4.TimePosition = 1
2213
function die()
2214
    ATTACK = true
2215
    Humanoid.WalkSpeed = 0
2216
        NEWS4:Play()
2217
        repeat
2218
                NEWS4.Parent = Torso
2219
        Swait()
2220
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2221
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)), 1 / Animation_Speed)
2222
			RW.C0 = Clerp(RW.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
2223
			LW.C0 = Clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
2224
			RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2225
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
2226
    until NEWS4.Playing == false
2227
    ATTACK = false
2228
    Humanoid.WalkSpeed = 75
2229
    ATTACK = false
2230
    Humanoid.WalkSpeed = 75
2231
end
2232
--[[
2233
local dancing = false
2234
Mouse.KeyDown:connect(function(Press)
2235
Press=Press:lower()
2236
if Press=='h' then
2237
if dancing then
2238
dancing = false
2239
else
2240
dancing = true
2241
Speed = 0
2242
change = .5
2243
ATTACK = true
2244
jellyfishjam = Instance.new("Sound",Torso)
2245
jellyfishjam.SoundId = "rbxassetid://840189092"
2246
jellyfishjam.Volume = 8
2247
jellyfishjam.Looped = true
2248
jellyfishjam.TimePosition = 14.8
2249
jellyfishjam:Play()
2250
coroutine.wrap(function()
2251
while dancing do
2252
for i = 1, 15 do
2253
if not dancing then break end
2254
RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25)
2255
RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
2256
LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
2257
RH.C0 = RH.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25)
2258
LH.C0 = LH.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25)
2259
swait()
2260
end
2261
for i = 1, 15 do
2262
if not dancing then break end
2263
RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
2264
RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
2265
LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
2266
RH.C0 = RH.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25)
2267
LH.C0 = LH.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25)
2268
swait()
2269
end
2270
for i = 1, 15 do
2271
if not dancing then break end
2272
RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25)
2273
RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
2274
LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
2275
RH.C0 = RH.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25)
2276
LH.C0 = LH.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25)
2277
swait()
2278
end
2279
for i = 1, 15 do
2280
if not dancing then break end
2281
RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25)
2282
RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3)
2283
LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3)
2284
RH.C0 = RH.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3)
2285
LH.C0 = LH.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25)
2286
swait()
2287
end
2288
swait()
2289
end
2290
Speed = 26
2291
jellyfishjam:Remove()
2292
ATTACK = false
2293
end)()
2294
end
2295
end
2296
end)
2297
--]]
2298
thonks = Instance.new("Sound", tors) --wat?
2299
thonks.SoundId = "http://www.roblox.com/asset/?id=1532157598"
2300
thonks.Volume = 10
2301
thonks.Pitch = 1
2302
thonks.Looped = false
2303
thonks.TimePosition = 0
2304
2305
function thonki()
2306
        ATTACK = true
2307
        Character.Head.face.Texture = "rbxassetid://1528105298"
2308
        thonks:Play()
2309
        repeat
2310
	for i = 0,8.3,0.1 do
2311
		swait()
2312
		RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7)
2313
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.7)
2314
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
2315
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7)
2316
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7)
2317
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7)
2318
        end
2319
        until thonks.Playing == false
2320
        thonks:Stop()
2321
        ATTACK = false
2322
        hum.WalkSpeed = 40
2323
end
2324
so = function(id,par,vol,pit) 
2325
coroutine.resume(coroutine.create(function()
2326
local sou = Instance.new("Sound",par or workspace)
2327
sou.Volume=vol
2328
sou.Pitch=pit or 1
2329
sou.SoundId=id
2330
swait() 
2331
sou:play() 
2332
game:GetService("Debris"):AddItem(sou,6)
2333
end))
2334
end
2335
 Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
2336
        if hit.Parent==nil then
2337
                return
2338
        end
2339
        h=hit.Parent:FindFirstChild("Humanoid")
2340
        for _,v in pairs(hit.Parent:children()) do
2341
        if v:IsA("Humanoid") then
2342
        h=v
2343
        end
2344
        end
2345
        if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
2346
        h=hit.Parent.Parent:FindFirstChild("Humanoid")
2347
        end
2348
        if hit.Parent.className=="Hat" then
2349
        hit=hit.Parent.Parent:findFirstChild("Head")
2350
        end
2351
        if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
2352
        if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
2353
        --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
2354
                        return
2355
                end]]
2356
--                        hs(hit,1.2) 
2357
                        c=Instance.new("ObjectValue")
2358
                        c.Name="creator"
2359
                        c.Value=Player
2360
                        c.Parent=h
2361
                        game:GetService("Debris"):AddItem(c,.5)
2362
                Damage=math.random(minim,maxim)
2363
--                h:TakeDamage(Damage)
2364
                blocked=false
2365
                block=hit.Parent:findFirstChild("Block")
2366
                if block~=nil then
2367
                print(block.className)
2368
                if block.className=="NumberValue" then
2369
                if block.Value>0 then
2370
                blocked=true
2371
                if decreaseblock==nil then
2372
                block.Value=block.Value-1
2373
                end
2374
                end
2375
                end
2376
                if block.className=="IntValue" then
2377
                if block.Value>0 then
2378
                blocked=true
2379
                if decreaseblock~=nil then
2380
                block.Value=block.Value-1
2381
                end
2382
                end
2383
                end
2384
                end
2385
                if blocked==false then
2386
--                h:TakeDamage(Damage)
2387
                h.Health=h.Health-Damage
2388
                --showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
2389
                else
2390
                h.Health=h.Health-(Damage/2)
2391
              --  showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
2392
                end
2393
                if Type=="Knockdown" then
2394
                hum=hit.Parent.Humanoid
2395
hum.PlatformStand=true
2396
coroutine.resume(coroutine.create(function(HHumanoid)
2397
swait(1)
2398
HHumanoid.PlatformStand=false
2399
end),hum)
2400
                local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
2401
--hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
2402
local bodvol=Instance.new("BodyVelocity")
2403
bodvol.velocity=angle*knockback
2404
bodvol.P=5000
2405
bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
2406
bodvol.Parent=hit
2407
rl=Instance.new("BodyAngularVelocity")
2408
rl.P=3000
2409
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
2410
rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2411
rl.Parent=hit
2412
game:GetService("Debris"):AddItem(bodvol,.5)
2413
game:GetService("Debris"):AddItem(rl,.5)
2414
                elseif Type=="Normal" then
2415
                vp=Instance.new("BodyVelocity")
2416
                vp.P=500
2417
                vp.maxForce=Vector3.new(math.huge,0,math.huge)
2418
--                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
2419
                if KnockbackType==1 then
2420
                vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
2421
                elseif KnockbackType==2 then
2422
                vp.velocity=Property.CFrame.lookVector*knockback
2423
                end
2424
                if knockback>0 then
2425
                        vp.Parent=hit.Parent.Torso
2426
                end
2427
                game:GetService("Debris"):AddItem(vp,.5)
2428
                elseif Type=="Up" then
2429
                local bodyVelocity=Instance.new("BodyVelocity")
2430
                bodyVelocity.velocity=vt(0,60,0)
2431
                bodyVelocity.P=5000
2432
                bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
2433
                bodyVelocity.Parent=hit
2434
                game:GetService("Debris"):AddItem(bodyVelocity,1)
2435
                rl=Instance.new("BodyAngularVelocity")
2436
                rl.P=3000
2437
                rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
2438
                rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
2439
                rl.Parent=hit
2440
                game:GetService("Debris"):AddItem(rl,.5)
2441
                elseif Type=="Snare" then
2442
                bp=Instance.new("BodyPosition")
2443
                bp.P=2000
2444
                bp.D=100
2445
                bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
2446
                bp.position=hit.Parent.Torso.Position
2447
                bp.Parent=hit.Parent.Torso
2448
                game:GetService("Debris"):AddItem(bp,1)
2449
                elseif Type=="Target" then
2450
                if Targetting==false then
2451
                ZTarget=hit.Parent.Torso
2452
                coroutine.resume(coroutine.create(function(Part) 
2453
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
2454
                swait(5)
2455
                so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) 
2456
                end),ZTarget)
2457
                TargHum=ZTarget.Parent:findFirstChild("Humanoid")
2458
                targetgui=Instance.new("BillboardGui")
2459
                targetgui.Parent=ZTarget
2460
                targetgui.Size=UDim2.new(10,100,10,100)
2461
                targ=Instance.new("ImageLabel")
2462
                targ.Parent=targetgui
2463
                targ.BackgroundTransparency=1
2464
                targ.Image="rbxassetid://4834067"
2465
                targ.Size=UDim2.new(1,0,1,0)
2466
                cam.CameraType="Scriptable"
2467
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
2468
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
2469
                workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
2470
                Targetting=true
2471
                RocketTarget=ZTarget
2472
                for i=1,Property do
2473
                --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
2474
                if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
2475
                swait()
2476
                end
2477
                --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
2478
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
2479
                dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
2480
                cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
2481
                end
2482
                Targetting=false
2483
                RocketTarget=nil
2484
                targetgui.Parent=nil
2485
                cam.CameraType="Custom"
2486
                end
2487
                end
2488
                        debounce=Instance.new("BoolValue")
2489
                        debounce.Name="DebounceHit"
2490
                        debounce.Parent=hit.Parent
2491
                        debounce.Value=true
2492
                        game:GetService("Debris"):AddItem(debounce,Delay)
2493
                        c=Instance.new("ObjectValue")
2494
                        c.Name="creator"
2495
                        c.Value=Player
2496
                        c.Parent=h
2497
                        game:GetService("Debris"):AddItem(c,.5)
2498
                CRIT=false
2499
                hitDeb=true
2500
                AttackPos=6
2501
        end
2502
end
2503
function shoot()
2504
ATTACK = true
2505
		for i = 0,2,0.1 do
2506
		swait()
2507
				turnto(Mouse.Hit.p)
2508
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
2509
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
2510
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
2511
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2512
		end
2513
so("http://roblox.com/asset/?id=231897565",GunPoint,60,1) 
2514
	 local lb = Instance.new("Part")
2515
  lb.Parent = char
2516
   lb.Material = "Neon"
2517
    lb.Color = BrickColor.new("New Yeller").Color
2518
     lb.CanCollide = false
2519
     lb.Shape = "Ball"
2520
     lb.CFrame = GunPoint.CFrame
2521
     lb.Anchored = true
2522
     lb.Transparency = 0
2523
     lb.Size = vt(0.6,0.6,0.6)
2524
     local thing = Instance.new("SpecialMesh",lb)
2525
     thing.MeshType = "Sphere"
2526
for i = 0, 1 do
2527
slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2528
end
2529
-- + root.CFrame.lookVector*12
2530
sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2531
	-- + root.CFrame.lookVector*12
2532
	 local b = Instance.new("Part")
2533
  b.Parent = char
2534
   b.Material = "Neon"
2535
    b.Color = BrickColor.new("New Yeller").Color
2536
     b.CanCollide = false
2537
     b.Shape = "Ball"
2538
     b.CFrame = GunPoint.CFrame
2539
     b.Anchored = true
2540
     b.Transparency = 0
2541
     b.Size = vt(1,1,1)
2542
     local z = Instance.new("SpecialMesh",b)
2543
     z.MeshType = "Sphere"
2544
local hitted = false
2545
lb.Anchored = false
2546
  local bv = Instance.new("BodyVelocity")
2547
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2548
  bv.velocity = Mouse.Hit.lookVector *150
2549
  bv.Parent = lb
2550
				game:GetService("Debris"):AddItem(lb, 19)
2551
lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
2552
		for i = 0,2,0.1 do
2553
		swait()
2554
				turnto(Mouse.Hit.p)
2555
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
2556
            b.Transparency = b.Transparency + 0.05
2557
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
2558
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
2559
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
2560
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2561
		end
2562
ATTACK = false
2563
b:Destroy()
2564
wait(10)
2565
lb:Destroy()
2566
end
2567
2568
2569
function shoots()
2570
ATTACK = true
2571
		for i = 0,1.2,0.1 do
2572
		swait()
2573
				turnto(Mouse.Hit.p)
2574
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
2575
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
2576
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
2577
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2578
		end
2579
so("http://roblox.com/asset/?id=235099882",GunPoint,60,1) 
2580
	 local lb = Instance.new("Part")
2581
  lb.Parent = char
2582
   lb.Material = "Neon"
2583
    lb.Color = BrickColor.new("New Yeller").Color
2584
     lb.CanCollide = false
2585
     lb.Shape = "Ball"
2586
     lb.CFrame = GunPoint.CFrame
2587
     lb.Anchored = true
2588
     lb.Transparency = 0
2589
     lb.Size = vt(0.6,0.6,0.6)
2590
     local thing = Instance.new("SpecialMesh",lb)
2591
     thing.MeshType = "Sphere"
2592
--for i = 0, 1 do
2593
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2594
--end
2595
-- + root.CFrame.lookVector*12
2596
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2597
	-- + root.CFrame.lookVector*12
2598
	 local b = Instance.new("Part")
2599
  b.Parent = char
2600
   b.Material = "Neon"
2601
    b.Color = BrickColor.new("New Yeller").Color
2602
     b.CanCollide = false
2603
     b.Shape = "Ball"
2604
     b.CFrame = GunPoint.CFrame
2605
     b.Anchored = true
2606
     b.Transparency = 0
2607
     b.Size = vt(1,1,1)
2608
     local z = Instance.new("SpecialMesh",b)
2609
     z.MeshType = "Sphere"
2610
local hitted = false
2611
lb.Anchored = false
2612
  local bv = Instance.new("BodyVelocity")
2613
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2614
  bv.velocity = Mouse.Hit.lookVector *150
2615
  bv.Parent = lb
2616
				game:GetService("Debris"):AddItem(lb, 19)
2617
lb.Touched:connect(function(hit) Damagefunc(hit,27,67,math.random(10,20),"Normal",RootPart,.2,1) end) 
2618
		for i = 0,1.65,0.1 do
2619
		swait()
2620
				turnto(Mouse.Hit.p)
2621
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
2622
            b.Transparency = b.Transparency + 0.05
2623
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
2624
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
2625
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
2626
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2627
		end
2628
ATTACK = false
2629
b:Destroy()
2630
wait(10)
2631
lb:Destroy()
2632
end
2633
2634
2635
function deag()
2636
ATTACK = true
2637
		for i = 0,0.9,0.1 do
2638
		swait()
2639
				turnto(Mouse.Hit.p)
2640
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
2641
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
2642
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1)
2643
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2644
		end
2645
so("http://roblox.com/asset/?id=131205975",JUAND,60,1) 
2646
	 local lb = Instance.new("Part")
2647
  lb.Parent = char
2648
   lb.Material = "Neon"
2649
    lb.Color = BrickColor.new("New Yeller").Color
2650
     lb.CanCollide = false
2651
     lb.Shape = "Ball"
2652
     lb.CFrame = JUAND.CFrame
2653
     lb.Anchored = true
2654
     lb.Transparency = 0
2655
     lb.Size = vt(0.6,0.6,0.6)
2656
     local thing = Instance.new("SpecialMesh",lb)
2657
     thing.MeshType = "Sphere"
2658
for i = 0, 1 do
2659
slash(10,5,true,"Round","Add","Out",JUAND.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2660
end
2661
-- + root.CFrame.lookVector*12
2662
sphere2(10,"Add",JUAND.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2663
	-- + root.CFrame.lookVector*12
2664
	 local b = Instance.new("Part")
2665
  b.Parent = char
2666
   b.Material = "Neon"
2667
    b.Color = BrickColor.new("New Yeller").Color
2668
     b.CanCollide = false
2669
     b.Shape = "Ball"
2670
     b.CFrame = JUAND.CFrame
2671
     b.Anchored = true
2672
     b.Transparency = 0
2673
     b.Size = vt(1,1,1)
2674
     local z = Instance.new("SpecialMesh",b)
2675
     z.MeshType = "Sphere"
2676
local hitted = false
2677
lb.Anchored = false
2678
  local bv = Instance.new("BodyVelocity")
2679
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2680
  bv.velocity = Mouse.Hit.lookVector *150
2681
  bv.Parent = lb
2682
				game:GetService("Debris"):AddItem(lb, 19)
2683
lb.Touched:connect(function(hit) Damagefunc(hit,450,740,math.random(10,20),"Normal",RootPart,.2,1) end) 
2684
		for i = 0,1.15,0.1 do
2685
		swait()
2686
				turnto(Mouse.Hit.p)
2687
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
2688
            b.Transparency = b.Transparency + 0.05
2689
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3)
2690
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3)
2691
            RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1)
2692
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3)
2693
		end
2694
ATTACK = false
2695
b:Destroy()
2696
wait(10)
2697
lb:Destroy()
2698
end
2699
2700
local animationspeed = 2
2701
--local SwordThing = false
2702
--local change = 2 / animationspeed
2703
it = Instance.new
2704
vt = Vector3.new
2705
cf = CFrame.new
2706
rad = math.rad
2707
euler = CFrame.fromEulerAnglesXYZ
2708
angles = CFrame.Angles
2709
--[[
2710
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
2711
RootCF = angles(rad(-90), 0, rad(180))
2712
]]--
2713
local PlayerSize = 1
2714
local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
2715
local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
2716
bestmatess = Instance.new("Sound", Torso)
2717
bestmatess.Volume = 14
2718
bestmatess.TimePosition = 0
2719
bestmatess.Pitch = 1
2720
bestmatess.SoundId = "rbxassetid://780906273"
2721
bestmatess.Looped = true
2722
2723
	clerp2 = function(a, b, t)
2724
return a:lerp(b, t)
2725
end
2726
--	local sine = 0
2727
local bestmate = false
2728
function bestmatesA()
2729
if bestmate == false then
2730
	ATTACK = true
2731
	bestmate = true
2732
	--Humanoid.WalkSpeed = 3
2733
	--Humanoid.JumpPower = 10
2734
	
2735
	bestmatess:Play()
2736
	while bestmate == true do
2737
		change = 0.8
2738
		Swait()
2739
RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
2740
LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
2741
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
2742
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2743
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1)
2744
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1)
2745
			end
2746
	elseif bestmate == true then
2747
		ATTACK = false
2748
bestmate = false
2749
change = 1
2750
		--Humanoid.WalkSpeed = 5
2751
		--Humanoid.JumpPower = 60
2752
		bestmatess:Stop()
2753
	end
2754
end
2755
cheeki = Instance.new("Sound", Torso)
2756
cheeki.Volume = 24
2757
cheeki.TimePosition = 0
2758
cheeki.Pitch = 1
2759
cheeki.SoundId = "rbxassetid://800064337"
2760
cheeki.Looped = true
2761
function cheekibreeki()
2762
if bestmate == false then
2763
	ATTACK = true
2764
	bestmate = true
2765
	cheeki:Play()
2766
	while bestmate == true do
2767
		change = 0.8
2768
		Swait()
2769
															RootJoint.C0 = clerp2(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
2770
															Neck.C0 = clerp2(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
2771
															RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
2772
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1)
2773
															RightHip.C0 = clerp2(RightHip.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2774
														 LeftHip.C0 = clerp2(LeftHip.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
2775
	end
2776
	elseif bestmate == true then
2777
		ATTACK = false
2778
change = 1
2779
bestmate = false
2780
		cheeki:Stop()
2781
	end
2782
end
2783
2784
2785
crab = Instance.new("Sound", Torso)
2786
crab.Volume = 14
2787
crab.TimePosition = 0
2788
crab.Pitch = 1
2789
crab.SoundId = "rbxassetid://2410799757"
2790
crab.Looped = true
2791
2792
function bestmatesB()
2793
if bestmate == false then
2794
	ATTACK = true
2795
	bestmate = true
2796
	--Humanoid.WalkSpeed = 3
2797
	--Humanoid.JumpPower = 10
2798
	crab.TimePosition = 0
2799
	crab:Play()
2800
	while bestmate == true do
2801
		change = 0.8
2802
		Swait()
2803
RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
2804
LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
2805
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
2806
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
2807
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
2808
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90+66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1)
2809
			end
2810
	elseif bestmate == true then
2811
		ATTACK = false
2812
bestmate = false
2813
change = 1
2814
		--Humanoid.WalkSpeed = 5
2815
		--Humanoid.JumpPower = 60
2816
		crab:Stop()
2817
	end
2818
end
2819
2820
function SmgTest3()
2821
	ATTACK = true
2822
	--Rooted = false
2823
	for i=0, 0.25, 0.1 / Animation_Speed do
2824
		Swait()
2825
		turnto(Mouse.Hit.p)
2826
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2827
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2828
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2829
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2830
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2831
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2832
				--]]
2833
		end
2834
	repeat
2835
		for i = 0,0.05,0.1 do
2836
		swait()
2837
				turnto(Mouse.Hit.p)
2838
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2839
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2840
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
2841
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
2842
		end
2843
so("http://roblox.com/asset/?id=188904253",BOI,60,1) 
2844
so("http://roblox.com/asset/?id=188904253",BOI2,60,1) 
2845
	 local lb = Instance.new("Part")
2846
  lb.Parent = char
2847
   lb.Material = "Neon"
2848
    lb.Color = BrickColor.new("New Yeller").Color
2849
     lb.CanCollide = false
2850
     lb.Shape = "Ball"
2851
     lb.CFrame = BOI.CFrame
2852
     lb.Anchored = true
2853
     lb.Transparency = 0
2854
     lb.Size = vt(0.6,0.6,0.6)
2855
     local thing = Instance.new("SpecialMesh",lb)
2856
     thing.MeshType = "Sphere"
2857
--for i = 0, 1 do
2858
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2859
--end
2860
-- + root.CFrame.lookVector*12
2861
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2862
	-- + root.CFrame.lookVector*12
2863
	 local b = Instance.new("Part")
2864
  b.Parent = char
2865
   b.Material = "Neon"
2866
    b.Color = BrickColor.new("New Yeller").Color
2867
     b.CanCollide = false
2868
     b.Shape = "Ball"
2869
     b.CFrame = BOI.CFrame
2870
     b.Anchored = true
2871
     b.Transparency = 0
2872
     b.Size = vt(1,1,1)
2873
     local z = Instance.new("SpecialMesh",b)
2874
     z.MeshType = "Sphere"
2875
local hitted = false
2876
lb.Anchored = false
2877
  local bv = Instance.new("BodyVelocity")
2878
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
2879
  bv.velocity = Mouse.Hit.lookVector *150
2880
  bv.Parent = lb
2881
2882
	 local lb2 = Instance.new("Part")
2883
  lb2.Parent = char
2884
   lb2.Material = "Neon"
2885
    lb2.Color = BrickColor.new("New Yeller").Color
2886
     lb2.CanCollide = false
2887
     lb2.Shape = "Ball"
2888
     lb2.CFrame = BOI2.CFrame
2889
     lb2.Anchored = true
2890
     lb2.Transparency = 0
2891
     lb2.Size = vt(0.6,0.6,0.6)
2892
     local thing = Instance.new("SpecialMesh",lb2)
2893
     thing.MeshType = "Sphere"
2894
--for i = 0, 1 do
2895
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2896
--end
2897
-- + root.CFrame.lookVector*12
2898
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2899
	-- + root.CFrame.lookVector*12
2900
	 local b2 = Instance.new("Part")
2901
  b2.Parent = char
2902
   b2.Material = "Neon"
2903
    b2.Color = BrickColor.new("New Yeller").Color
2904
     b2.CanCollide = false
2905
     b2.Shape = "Ball"
2906
     b2.CFrame = BOI2.CFrame
2907
     b2.Anchored = true
2908
     b2.Transparency = 0
2909
     b2.Size = vt(1,1,1)
2910
     local z = Instance.new("SpecialMesh",b2)
2911
     z.MeshType = "Sphere"
2912
--local hitted = false
2913
lb2.Anchored = false
2914
  local bv2 = Instance.new("BodyVelocity")
2915
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
2916
  bv2.velocity = Mouse.Hit.lookVector *150
2917
  bv2.Parent = lb2
2918
lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
2919
lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
2920
		for i = 0,0.1,0.1 do
2921
		swait()
2922
				turnto(Mouse.Hit.p)
2923
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
2924
            b.Transparency = b.Transparency + 0.05
2925
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2926
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2927
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
2928
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
2929
		end
2930
				game:GetService("Debris"):AddItem(lb, 19)
2931
		game:GetService("Debris"):AddItem(lb2, 19)
2932
		game:GetService("Debris"):AddItem(bv, 20)
2933
		game:GetService("Debris"):AddItem(bv2, 20)
2934
b:Destroy()
2935
b2:Destroy()
2936
--wait(10)
2937
--lb:Destroy()
2938
--lb2:Destroy()
2939
	until HOLD == false
2940
	ATTACK = false
2941
	--Rooted = false
2942
end
2943
2944
2945
function SmgTest2()
2946
	ATTACK = true
2947
	--Rooted = false
2948
	for i=0, 0.25, 0.1 / Animation_Speed do
2949
		Swait()
2950
		turnto(Mouse.Hit.p)
2951
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
2952
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
2953
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
2954
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
2955
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2956
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
2957
				--]]
2958
		end
2959
	repeat
2960
		for i = 0,0.1,0.1 do
2961
		swait()
2962
				turnto(Mouse.Hit.p)
2963
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
2964
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
2965
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
2966
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
2967
		end
2968
so("http://roblox.com/asset/?id=2484694762",VOL,60,1) 
2969
so("http://roblox.com/asset/?id=2484694762",VOL2,60,1) 
2970
	 local lb = Instance.new("Part")
2971
  lb.Parent = char
2972
   lb.Material = "Neon"
2973
    lb.Color = BrickColor.new("New Yeller").Color
2974
     lb.CanCollide = false
2975
     lb.Shape = "Ball"
2976
     lb.CFrame = VOL.CFrame
2977
     lb.Anchored = true
2978
     lb.Transparency = 0
2979
     lb.Size = vt(0.6,0.6,0.6)
2980
     local thing = Instance.new("SpecialMesh",lb)
2981
     thing.MeshType = "Sphere"
2982
--for i = 0, 1 do
2983
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
2984
--end
2985
-- + root.CFrame.lookVector*12
2986
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
2987
	-- + root.CFrame.lookVector*12
2988
	 local b = Instance.new("Part")
2989
  b.Parent = char
2990
   b.Material = "Neon"
2991
    b.Color = BrickColor.new("New Yeller").Color
2992
     b.CanCollide = false
2993
     b.Shape = "Ball"
2994
     b.CFrame = VOL.CFrame
2995
     b.Anchored = true
2996
     b.Transparency = 0
2997
     b.Size = vt(1,1,1)
2998
     local z = Instance.new("SpecialMesh",b)
2999
     z.MeshType = "Sphere"
3000
local hitted = false
3001
lb.Anchored = false
3002
  local bv = Instance.new("BodyVelocity")
3003
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3004
  bv.velocity = Mouse.Hit.lookVector *150
3005
  bv.Parent = lb
3006
3007
	 local lb2 = Instance.new("Part")
3008
  lb2.Parent = char
3009
   lb2.Material = "Neon"
3010
    lb2.Color = BrickColor.new("New Yeller").Color
3011
     lb2.CanCollide = false
3012
     lb2.Shape = "Ball"
3013
     lb2.CFrame = VOL2.CFrame
3014
     lb2.Anchored = true
3015
     lb2.Transparency = 0
3016
     lb2.Size = vt(0.6,0.6,0.6)
3017
     local thing = Instance.new("SpecialMesh",lb2)
3018
     thing.MeshType = "Sphere"
3019
--for i = 0, 1 do
3020
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3021
--end
3022
-- + root.CFrame.lookVector*12
3023
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3024
	-- + root.CFrame.lookVector*12
3025
	 local b2 = Instance.new("Part")
3026
  b2.Parent = char
3027
   b2.Material = "Neon"
3028
    b2.Color = BrickColor.new("New Yeller").Color
3029
     b2.CanCollide = false
3030
     b2.Shape = "Ball"
3031
     b2.CFrame = VOL2.CFrame
3032
     b2.Anchored = true
3033
     b2.Transparency = 0
3034
     b2.Size = vt(1,1,1)
3035
     local z = Instance.new("SpecialMesh",b2)
3036
     z.MeshType = "Sphere"
3037
--local hitted = false
3038
lb2.Anchored = false
3039
  local bv2 = Instance.new("BodyVelocity")
3040
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
3041
  bv2.velocity = Mouse.Hit.lookVector *150
3042
  bv2.Parent = lb2
3043
lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3044
lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3045
		for i = 0,0.15,0.1 do
3046
		swait()
3047
				turnto(Mouse.Hit.p)
3048
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
3049
            b.Transparency = b.Transparency + 0.05
3050
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3051
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3052
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
3053
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3054
		end
3055
				game:GetService("Debris"):AddItem(lb, 19)
3056
		game:GetService("Debris"):AddItem(lb2, 19)
3057
		game:GetService("Debris"):AddItem(bv, 20)
3058
		game:GetService("Debris"):AddItem(bv2, 20)
3059
b:Destroy()
3060
b2:Destroy()
3061
--wait(10)
3062
--lb:Destroy()
3063
--lb2:Destroy()
3064
	until HOLD == false
3065
	ATTACK = false
3066
	--Rooted = false
3067
end
3068
3069
3070
--[[
3071
wat = Instance.new("Sound", Torso)
3072
wat.Volume = 14
3073
wat.TimePosition = 0
3074
wat.Pitch = 1
3075
wat.SoundId = "rbxassetid://2095995144"
3076
wat.Looped = false
3077
3078
function watde()
3079
	ATTACK = true
3080
	wat:Play()
3081
	chatfunc("wat.",C3(1,1,0),"Normal","SciFi",2)
3082
	wait(2)
3083
		ATTACK = false
3084
end]]--
3085
3086
function SmgTest()
3087
	ATTACK = true
3088
	--Rooted = false
3089
	for i=0, 0.25, 0.1 / Animation_Speed do
3090
		Swait()
3091
		turnto(Mouse.Hit.p)
3092
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3093
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3094
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3095
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3096
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3097
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3098
				--]]
3099
		end
3100
	repeat
3101
		for i = 0,0.3,0.1 do
3102
		swait()
3103
				turnto(Mouse.Hit.p)
3104
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3105
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3106
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
3107
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3108
		end
3109
so("http://roblox.com/asset/?id=2484694762",Flare,60,1) 
3110
so("http://roblox.com/asset/?id=2484694762",Flare2,60,1) 
3111
	 local lb = Instance.new("Part")
3112
  lb.Parent = char
3113
   lb.Material = "Neon"
3114
    lb.Color = BrickColor.new("New Yeller").Color
3115
     lb.CanCollide = false
3116
     lb.Shape = "Ball"
3117
     lb.CFrame = Flare.CFrame
3118
     lb.Anchored = true
3119
     lb.Transparency = 0
3120
     lb.Size = vt(0.6,0.6,0.6)
3121
     local thing = Instance.new("SpecialMesh",lb)
3122
     thing.MeshType = "Sphere"
3123
--for i = 0, 1 do
3124
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3125
--end
3126
-- + root.CFrame.lookVector*12
3127
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3128
	-- + root.CFrame.lookVector*12
3129
	 local b = Instance.new("Part")
3130
  b.Parent = char
3131
   b.Material = "Neon"
3132
    b.Color = BrickColor.new("New Yeller").Color
3133
     b.CanCollide = false
3134
     b.Shape = "Ball"
3135
     b.CFrame = Flare.CFrame
3136
     b.Anchored = true
3137
     b.Transparency = 0
3138
     b.Size = vt(1,1,1)
3139
     local z = Instance.new("SpecialMesh",b)
3140
     z.MeshType = "Sphere"
3141
local hitted = false
3142
lb.Anchored = false
3143
  local bv = Instance.new("BodyVelocity")
3144
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3145
  bv.velocity = Mouse.Hit.lookVector *150
3146
  bv.Parent = lb
3147
3148
	 local lb2 = Instance.new("Part")
3149
  lb2.Parent = char
3150
   lb2.Material = "Neon"
3151
    lb2.Color = BrickColor.new("New Yeller").Color
3152
     lb2.CanCollide = false
3153
     lb2.Shape = "Ball"
3154
     lb2.CFrame = Flare2.CFrame
3155
     lb2.Anchored = true
3156
     lb2.Transparency = 0
3157
     lb2.Size = vt(0.6,0.6,0.6)
3158
     local thing = Instance.new("SpecialMesh",lb2)
3159
     thing.MeshType = "Sphere"
3160
--for i = 0, 1 do
3161
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3162
--end
3163
-- + root.CFrame.lookVector*12
3164
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3165
	-- + root.CFrame.lookVector*12
3166
	 local b2 = Instance.new("Part")
3167
  b2.Parent = char
3168
   b2.Material = "Neon"
3169
    b2.Color = BrickColor.new("New Yeller").Color
3170
     b2.CanCollide = false
3171
     b2.Shape = "Ball"
3172
     b2.CFrame = Flare2.CFrame
3173
     b2.Anchored = true
3174
     b2.Transparency = 0
3175
     b2.Size = vt(1,1,1)
3176
     local z = Instance.new("SpecialMesh",b2)
3177
     z.MeshType = "Sphere"
3178
--local hitted = false
3179
lb2.Anchored = false
3180
  local bv2 = Instance.new("BodyVelocity")
3181
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
3182
  bv2.velocity = Mouse.Hit.lookVector *150
3183
  bv2.Parent = lb2
3184
lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3185
lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3186
		for i = 0,0.4,0.1 do
3187
		swait()
3188
				turnto(Mouse.Hit.p)
3189
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
3190
            b.Transparency = b.Transparency + 0.05
3191
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3192
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3193
            RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1)
3194
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3195
		end
3196
				game:GetService("Debris"):AddItem(lb, 19)
3197
		game:GetService("Debris"):AddItem(lb2, 19)
3198
		game:GetService("Debris"):AddItem(bv, 20)
3199
		game:GetService("Debris"):AddItem(bv2, 20)
3200
b:Destroy()
3201
b2:Destroy()
3202
--wait(10)
3203
--lb:Destroy()
3204
--lb2:Destroy()
3205
	until HOLD == false
3206
	ATTACK = false
3207
	--Rooted = false
3208
end
3209
3210
3211
function AUGShoot()
3212
	ATTACK = true
3213
	--Rooted = false
3214
	for i=0, 0.25, 0.1 / Animation_Speed do
3215
		Swait()
3216
		turnto(Mouse.Hit.p)
3217
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3218
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3219
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3220
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3221
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3222
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3223
				--]]
3224
		end
3225
	repeat
3226
		for i = 0,0.15,0.1 do
3227
		swait()
3228
				turnto(Mouse.Hit.p)
3229
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3230
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3231
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3232
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3233
		end
3234
so("http://roblox.com/asset/?id=297606774",UGB,60,1) 
3235
--so("http://roblox.com/asset/?id=165946560",Flare2,60,1) 
3236
	 local lb = Instance.new("Part")
3237
  lb.Parent = char
3238
   lb.Material = "Neon"
3239
    lb.Color = BrickColor.new("New Yeller").Color
3240
     lb.CanCollide = false
3241
     lb.Shape = "Ball"
3242
     lb.CFrame = UGB.CFrame
3243
     lb.Anchored = true
3244
     lb.Transparency = 0
3245
     lb.Size = vt(0.45,1,0.45)
3246
     local thing = Instance.new("SpecialMesh",lb)
3247
     thing.MeshType = "Sphere"
3248
--for i = 0, 1 do
3249
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3250
--end
3251
-- + root.CFrame.lookVector*12
3252
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3253
	-- + root.CFrame.lookVector*12
3254
	 local b = Instance.new("Part")
3255
  b.Parent = char
3256
   b.Material = "Neon"
3257
    b.Color = BrickColor.new("New Yeller").Color
3258
     b.CanCollide = false
3259
     b.Shape = "Ball"
3260
     b.CFrame = UGB.CFrame
3261
     b.Anchored = true
3262
     b.Transparency = 0
3263
     b.Size = vt(1,1,1)
3264
     local z = Instance.new("SpecialMesh",b)
3265
     z.MeshType = "Sphere"
3266
local hitted = false
3267
lb.Anchored = false
3268
  local bv = Instance.new("BodyVelocity")
3269
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3270
  bv.velocity = Mouse.Hit.lookVector *150
3271
  bv.Parent = lb
3272
--[[
3273
	 local lb2 = Instance.new("Part")
3274
  lb2.Parent = char
3275
   lb2.Material = "Neon"
3276
    lb2.Color = BrickColor.new("New Yeller").Color
3277
     lb2.CanCollide = false
3278
     lb2.Shape = "Ball"
3279
     lb2.CFrame = Flare2.CFrame
3280
     lb2.Anchored = true
3281
     lb2.Transparency = 0
3282
     lb2.Size = vt(0.6,0.6,0.6)
3283
     local thing = Instance.new("SpecialMesh",lb2)
3284
     thing.MeshType = "Sphere"
3285
--for i = 0, 1 do
3286
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3287
--end
3288
-- + root.CFrame.lookVector*12
3289
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3290
	-- + root.CFrame.lookVector*12
3291
	 local b2 = Instance.new("Part")
3292
  b2.Parent = char
3293
   b2.Material = "Neon"
3294
    b2.Color = BrickColor.new("New Yeller").Color
3295
     b2.CanCollide = false
3296
     b2.Shape = "Ball"
3297
     b2.CFrame = Flare2.CFrame
3298
     b2.Anchored = true
3299
     b2.Transparency = 0
3300
     b2.Size = vt(1,1,1)
3301
     local z = Instance.new("SpecialMesh",b2)
3302
     z.MeshType = "Sphere"
3303
--local hitted = false
3304
lb2.Anchored = false
3305
  local bv2 = Instance.new("BodyVelocity")
3306
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
3307
  bv2.velocity = Mouse.Hit.lookVector *150
3308
  bv2.Parent = lb2]]--
3309
lb.Touched:connect(function(hit) Damagefunc(hit,12,43,math.random(10,20),"Normal",RootPart,.2,1) end) 
3310
--lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3311
		for i = 0,0.2,0.1 do
3312
		swait()
3313
				turnto(Mouse.Hit.p)
3314
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
3315
            b.Transparency = b.Transparency + 0.05
3316
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3317
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3318
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3319
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3320
		end
3321
				game:GetService("Debris"):AddItem(lb, 19)
3322
		--game:GetService("Debris"):AddItem(lb2, 19)
3323
		game:GetService("Debris"):AddItem(bv, 20)
3324
		--game:GetService("Debris"):AddItem(bv2, 20)
3325
b:Destroy()
3326
--b2:Destroy()
3327
--wait(10)
3328
--lb:Destroy()
3329
--lb2:Destroy()
3330
	until HOLD == false
3331
	ATTACK = false
3332
	--Rooted = false
3333
end
3334
3335
function AEA()
3336
	ATTACK = true
3337
	--Rooted = false
3338
	for i=0, 0.25, 0.1 / Animation_Speed do
3339
		Swait()
3340
		turnto(Mouse.Hit.p)
3341
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3342
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3343
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3344
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3345
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3346
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3347
				--]]
3348
		end
3349
	repeat
3350
		for i = 0,0.45,0.1 do
3351
		swait()
3352
				turnto(Mouse.Hit.p)
3353
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3354
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3355
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3356
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3357
		end
3358
so("http://roblox.com/asset/?id=2550005685",EAE,60,1) 
3359
--so("http://roblox.com/asset/?id=165946560",Flare2,60,1) 
3360
	 local lb = Instance.new("Part")
3361
  lb.Parent = char
3362
   lb.Material = "Neon"
3363
    lb.Color = BrickColor.new("New Yeller").Color
3364
     lb.CanCollide = false
3365
     lb.Shape = "Ball"
3366
     lb.CFrame = EAE.CFrame
3367
     lb.Anchored = true
3368
     lb.Transparency = 0
3369
     lb.Size = vt(0.45,1,0.45)
3370
     local thing = Instance.new("SpecialMesh",lb)
3371
     thing.MeshType = "Sphere"
3372
--for i = 0, 1 do
3373
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3374
--end
3375
-- + root.CFrame.lookVector*12
3376
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3377
	-- + root.CFrame.lookVector*12
3378
	 local b = Instance.new("Part")
3379
  b.Parent = char
3380
   b.Material = "Neon"
3381
    b.Color = BrickColor.new("New Yeller").Color
3382
     b.CanCollide = false
3383
     b.Shape = "Ball"
3384
     b.CFrame = EAE.CFrame
3385
     b.Anchored = true
3386
     b.Transparency = 0
3387
     b.Size = vt(1,1,1)
3388
     local z = Instance.new("SpecialMesh",b)
3389
     z.MeshType = "Sphere"
3390
local hitted = false
3391
lb.Anchored = false
3392
  local bv = Instance.new("BodyVelocity")
3393
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3394
  bv.velocity = Mouse.Hit.lookVector *150
3395
  bv.Parent = lb
3396
--[[
3397
	 local lb2 = Instance.new("Part")
3398
  lb2.Parent = char
3399
   lb2.Material = "Neon"
3400
    lb2.Color = BrickColor.new("New Yeller").Color
3401
     lb2.CanCollide = false
3402
     lb2.Shape = "Ball"
3403
     lb2.CFrame = Flare2.CFrame
3404
     lb2.Anchored = true
3405
     lb2.Transparency = 0
3406
     lb2.Size = vt(0.6,0.6,0.6)
3407
     local thing = Instance.new("SpecialMesh",lb2)
3408
     thing.MeshType = "Sphere"
3409
--for i = 0, 1 do
3410
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3411
--end
3412
-- + root.CFrame.lookVector*12
3413
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3414
	-- + root.CFrame.lookVector*12
3415
	 local b2 = Instance.new("Part")
3416
  b2.Parent = char
3417
   b2.Material = "Neon"
3418
    b2.Color = BrickColor.new("New Yeller").Color
3419
     b2.CanCollide = false
3420
     b2.Shape = "Ball"
3421
     b2.CFrame = Flare2.CFrame
3422
     b2.Anchored = true
3423
     b2.Transparency = 0
3424
     b2.Size = vt(1,1,1)
3425
     local z = Instance.new("SpecialMesh",b2)
3426
     z.MeshType = "Sphere"
3427
--local hitted = false
3428
lb2.Anchored = false
3429
  local bv2 = Instance.new("BodyVelocity")
3430
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
3431
  bv2.velocity = Mouse.Hit.lookVector *150
3432
  bv2.Parent = lb2]]--
3433
lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end) 
3434
--lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3435
		for i = 0,0.525,0.1 do
3436
		swait()
3437
				turnto(Mouse.Hit.p)
3438
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
3439
            b.Transparency = b.Transparency + 0.05
3440
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3441
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3442
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3443
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3444
		end
3445
				game:GetService("Debris"):AddItem(lb, 19)
3446
		--game:GetService("Debris"):AddItem(lb2, 19)
3447
		game:GetService("Debris"):AddItem(bv, 20)
3448
		--game:GetService("Debris"):AddItem(bv2, 20)
3449
b:Destroy()
3450
--b2:Destroy()
3451
--wait(10)
3452
--lb:Destroy()
3453
--lb2:Destroy()
3454
	until HOLD == false
3455
	ATTACK = false
3456
	--Rooted = false
3457
end
3458
3459
function AKS()
3460
	ATTACK = true
3461
	--Rooted = false
3462
	for i=0, 0.25, 0.1 / Animation_Speed do
3463
		Swait()
3464
		turnto(Mouse.Hit.p)
3465
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
3466
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
3467
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
3468
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
3469
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3470
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
3471
				--]]
3472
		end
3473
	repeat
3474
		for i = 0,0.15,0.1 do
3475
		swait()
3476
				turnto(Mouse.Hit.p)
3477
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3478
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3479
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3480
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3481
		end
3482
so("http://roblox.com/asset/?id=168436671",AH,60,1) 
3483
--so("http://roblox.com/asset/?id=165946560",Flare2,60,1) 
3484
	 local lb = Instance.new("Part")
3485
  lb.Parent = char
3486
   lb.Material = "Neon"
3487
    lb.Color = BrickColor.new("New Yeller").Color
3488
     lb.CanCollide = false
3489
     lb.Shape = "Ball"
3490
     lb.CFrame = AH.CFrame
3491
     lb.Anchored = true
3492
     lb.Transparency = 0
3493
     lb.Size = vt(0.45,1,0.45)
3494
     local thing = Instance.new("SpecialMesh",lb)
3495
     thing.MeshType = "Sphere"
3496
--for i = 0, 1 do
3497
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3498
--end
3499
-- + root.CFrame.lookVector*12
3500
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3501
	-- + root.CFrame.lookVector*12
3502
	 local b = Instance.new("Part")
3503
  b.Parent = char
3504
   b.Material = "Neon"
3505
    b.Color = BrickColor.new("New Yeller").Color
3506
     b.CanCollide = false
3507
     b.Shape = "Ball"
3508
     b.CFrame = AH.CFrame
3509
     b.Anchored = true
3510
     b.Transparency = 0
3511
     b.Size = vt(1,1,1)
3512
     local z = Instance.new("SpecialMesh",b)
3513
     z.MeshType = "Sphere"
3514
local hitted = false
3515
lb.Anchored = false
3516
  local bv = Instance.new("BodyVelocity")
3517
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3518
  bv.velocity = Mouse.Hit.lookVector *150
3519
  bv.Parent = lb
3520
--[[
3521
	 local lb2 = Instance.new("Part")
3522
  lb2.Parent = char
3523
   lb2.Material = "Neon"
3524
    lb2.Color = BrickColor.new("New Yeller").Color
3525
     lb2.CanCollide = false
3526
     lb2.Shape = "Ball"
3527
     lb2.CFrame = Flare2.CFrame
3528
     lb2.Anchored = true
3529
     lb2.Transparency = 0
3530
     lb2.Size = vt(0.6,0.6,0.6)
3531
     local thing = Instance.new("SpecialMesh",lb2)
3532
     thing.MeshType = "Sphere"
3533
--for i = 0, 1 do
3534
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
3535
--end
3536
-- + root.CFrame.lookVector*12
3537
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
3538
	-- + root.CFrame.lookVector*12
3539
	 local b2 = Instance.new("Part")
3540
  b2.Parent = char
3541
   b2.Material = "Neon"
3542
    b2.Color = BrickColor.new("New Yeller").Color
3543
     b2.CanCollide = false
3544
     b2.Shape = "Ball"
3545
     b2.CFrame = Flare2.CFrame
3546
     b2.Anchored = true
3547
     b2.Transparency = 0
3548
     b2.Size = vt(1,1,1)
3549
     local z = Instance.new("SpecialMesh",b2)
3550
     z.MeshType = "Sphere"
3551
--local hitted = false
3552
lb2.Anchored = false
3553
  local bv2 = Instance.new("BodyVelocity")
3554
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
3555
  bv2.velocity = Mouse.Hit.lookVector *150
3556
  bv2.Parent = lb2]]--
3557
lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end) 
3558
--lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
3559
		for i = 0,0.2,0.1 do
3560
		swait()
3561
				turnto(Mouse.Hit.p)
3562
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
3563
            b.Transparency = b.Transparency + 0.05
3564
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
3565
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
3566
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
3567
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
3568
		end
3569
				game:GetService("Debris"):AddItem(lb, 19)
3570
		--game:GetService("Debris"):AddItem(lb2, 19)
3571
		game:GetService("Debris"):AddItem(bv, 20)
3572
		--game:GetService("Debris"):AddItem(bv2, 20)
3573
b:Destroy()
3574
--b2:Destroy()
3575
--wait(10)
3576
--lb:Destroy()
3577
--lb2:Destroy()
3578
	until HOLD == false
3579
	ATTACK = false
3580
	--Rooted = false
3581
end
3582
function nearTorso(pos, dis)
3583
	local temp
3584
	local distance=dis
3585
	for i, v in pairs(workspace:children()) do
3586
		if v:isA("Model") then
3587
			temp=v:findFirstChild("Torso")
3588
			local humanoid=v:findFirstChild("Humanoid")
3589
			if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
3590
				distance=(temp.CFrame.p-pos).magnitude
3591
				return temp
3592
			end
3593
		end
3594
	end
3595
end
3596
3597
function Damagefunc2(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
3598
  if hit.Parent == nil then
3599
    return
3600
  end
3601
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
3602
  for _, v in pairs(hit.Parent:children()) do
3603
    if v:IsA("Humanoid") then
3604
      h = v
3605
    end
3606
  end
3607
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
3608
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
3609
      return
3610
    end
3611
    local c = Create("ObjectValue")({
3612
      Name = "creator",
3613
      Value = plr,
3614
      Parent = h
3615
    })
3616
    game:GetService("Debris"):AddItem(c, 0.5)
3617
    if HitSound ~= nil and HitPitch ~= nil then
3618
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
3619
    end
3620
    local Damage = math.random(minim, maxim)
3621
    local blocked = false
3622
    local block = hit.Parent:findFirstChild("Block")
3623
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
3624
      blocked = true
3625
      block.Value = block.Value - 1
3626
      print(block.Value)
3627
    end
3628
    if blocked == false then
3629
      HitHealth = h.Health
3630
      h.MaxHealth = 100
3631
      h.Health = h.Health - Damage
3632
			local nTorso=nearTorso(Torso.CFrame.p, 3)
3633
			if nTorso then
3634
				local offSet=nTorso.CFrame:toObjectSpace(Torso.CFrame)
3635
				if offSet.z>0 then
3636
      h.Health = h.Health - Damage*MRANDOM(180,560)
3637
				end
3638
			end
3639
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
3640
        print("gained kill")
3641
       -- dmg(h.Parent)
3642
      end
3643
    else
3644
      h.Health = h.Health - Damage / 2
3645
    end
3646
    if Type == "Knockdown" then
3647
      local hum = hit.Parent.Humanoid
3648
      hum.PlatformStand = true
3649
      coroutine.resume(coroutine.create(function(HHumanoid)
3650
        swait(1)
3651
        HHumanoid.PlatformStand = false
3652
      end), hum)
3653
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
3654
      local bodvol = Create("BodyVelocity")({
3655
        velocity = angle * knockback,
3656
        P = 5000,
3657
        maxForce = Vector3.new(8000, 8000, 8000),
3658
        Parent = hit
3659
      })
3660
      local rl = Create("BodyAngularVelocity")({
3661
        P = 3000,
3662
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
3663
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
3664
        Parent = hit
3665
      })
3666
      game:GetService("Debris"):AddItem(bodvol, 0.5)
3667
      game:GetService("Debris"):AddItem(rl, 0.5)
3668
    elseif Type == "Normal" then
3669
      local vp = Create("BodyVelocity")({
3670
        P = 500,
3671
        maxForce = Vector3.new(math.huge, 0, math.huge),
3672
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
3673
      })
3674
      if knockback > 0 then
3675
        vp.Parent = hit.Parent.Head
3676
      end
3677
      game:GetService("Debris"):AddItem(vp, 0.5)
3678
    elseif Type == "Up" then
3679
      local bodyVelocity = Create("BodyVelocity")({
3680
        velocity = Vector3.new(0, 20, 0),
3681
        P = 5000,
3682
        maxForce = Vector3.new(8000, 8000, 8000),
3683
        Parent = hit
3684
      })
3685
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
3686
      local bodyVelocity = Create("BodyVelocity")({
3687
        velocity = Vector3.new(0, 20, 0),
3688
        P = 5000,
3689
        maxForce = Vector3.new(8000, 8000, 8000),
3690
        Parent = hit
3691
      })
3692
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
3693
    elseif Type == "Leech" then
3694
      local hum = hit.Parent.Humanoid
3695
      if hum ~= nil then
3696
        for i = 0, 2 do
3697
          Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
3698
        end
3699
        Humanoid.Health = Humanoid.Health + 10
3700
      end
3701
    elseif Type == "UpKnock" then
3702
      local hum = hit.Parent.Humanoid
3703
      hum.PlatformStand = true
3704
      if hum ~= nil then
3705
        hitr = true
3706
      end
3707
      coroutine.resume(coroutine.create(function(HHumanoid)
3708
        swait(5)
3709
        HHumanoid.PlatformStand = false
3710
        hitr = false
3711
      end), hum)
3712
      local bodyVelocity = Create("BodyVelocity")({
3713
        velocity = Vector3.new(0, 20, 0),
3714
        P = 5000,
3715
        maxForce = Vector3.new(8000, 8000, 8000),
3716
        Parent = hit
3717
      })
3718
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
3719
      local bodyVelocity = Create("BodyVelocity")({
3720
        velocity = Vector3.new(0, 20, 0),
3721
        P = 5000,
3722
        maxForce = Vector3.new(8000, 8000, 8000),
3723
        Parent = hit
3724
      })
3725
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
3726
    elseif Type == "Snare" then
3727
      local bp = Create("BodyPosition")({
3728
        P = 2000,
3729
        D = 100,
3730
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3731
        position = hit.Parent.Torso.Position,
3732
        Parent = hit.Parent.Torso
3733
      })
3734
      game:GetService("Debris"):AddItem(bp, 1)
3735
    elseif Type == "Slashnare" then
3736
      Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
3737
      for i = 1, math.random(4, 5) do
3738
        Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
3739
      end
3740
      local bp = Create("BodyPosition")({
3741
        P = 2000,
3742
        D = 100,
3743
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3744
        position = hit.Parent.Torso.Position,
3745
        Parent = hit.Parent.Torso
3746
      })
3747
      game:GetService("Debris"):AddItem(bp, 1)
3748
    elseif Type == "Spike" then
3749
      --CreateBigIceSword(hit.Parent.Torso.CFrame)
3750
      local bp = Create("BodyPosition")({
3751
        P = 2000,
3752
        D = 100,
3753
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3754
        position = hit.Parent.Torso.Position,
3755
        Parent = hit.Parent.Torso
3756
      })
3757
      game:GetService("Debris"):AddItem(bp, 1)
3758
    elseif Type == "Freeze" then
3759
      local BodPos = Create("BodyPosition")({
3760
        P = 50000,
3761
        D = 1000,
3762
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
3763
        position = hit.Parent.Torso.Position,
3764
        Parent = hit.Parent.Torso
3765
      })
3766
      local BodGy = Create("BodyGyro")({
3767
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
3768
        P = 20000,
3769
        Parent = hit.Parent.Torso,
3770
        cframe = hit.Parent.Torso.CFrame
3771
      })
3772
      hit.Parent.Torso.Anchored = true
3773
      coroutine.resume(coroutine.create(function(Part)
3774
        swait(1.5)
3775
        Part.Anchored = false
3776
      end), hit.Parent.Torso)
3777
      game:GetService("Debris"):AddItem(BodPos, 3)
3778
      game:GetService("Debris"):AddItem(BodGy, 3)
3779
    end
3780
    local debounce = Create("BoolValue")({
3781
      Name = "DebounceHit",
3782
      Parent = hit.Parent,
3783
      Value = true
3784
    })
3785
    game:GetService("Debris"):AddItem(debounce, Delay)
3786
    c = Instance.new("ObjectValue")
3787
    c.Name = "creator"
3788
    c.Value = Player
3789
    c.Parent = h
3790
    game:GetService("Debris"):AddItem(c, 0.5)
3791
  end
3792
end
3793
function ShowDamage(Pos, Text, Time, Color)
3794
  local Rate = 0.03333333333333333
3795
  local Pos = Pos or Vector3.new(0, 0, 0)
3796
  local Text = Text or ""
3797
  local Time = Time or 2
3798
  local Color = Color or Color3.new(1, 0, 1)
3799
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
3800
  EffectPart.Anchored = true
3801
  local BillboardGui = Create("BillboardGui")({
3802
    Size = UDim2.new(3, 0, 3, 0),
3803
    Adornee = EffectPart,
3804
    Parent = EffectPart
3805
  })
3806
  local TextLabel = Create("TextLabel")({
3807
    BackgroundTransparency = 1,
3808
    Size = UDim2.new(1, 0, 1, 0),
3809
    Text = Text,
3810
    TextColor3 = Color,
3811
    TextScaled = true,
3812
    Font = Enum.Font.ArialBold,
3813
    Parent = BillboardGui
3814
  })
3815
  game.Debris:AddItem(EffectPart, Time + 0.1)
3816
  EffectPart.Parent = game:GetService("Workspace")
3817
  delay(0, function()
3818
    local Frames = Time / Rate
3819
    for Frame = 1, Frames do
3820
      wait(Rate)
3821
      local Percent = Frame / Frames
3822
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
3823
      TextLabel.TextTransparency = Percent
3824
    end
3825
    if EffectPart and EffectPart.Parent then
3826
      EffectPart:Destroy()
3827
    end
3828
  end)
3829
end
3830
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
3831
  for _, c in pairs(workspace:children()) do
3832
    local hum = c:findFirstChildOfClass("Humanoid")
3833
    if hum ~= nil then
3834
      local head = c:findFirstChild("Head")
3835
      if head ~= nil then
3836
        local targ = head.Position - Part.Position
3837
        local mag = targ.magnitude
3838
        if magni >= mag and c.Name ~= Player.Name then
3839
          Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
3840
        end
3841
      end
3842
    end
3843
  end
3844
end
3845
3846
3847
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
3848
  for _, c in pairs(workspace:children()) do
3849
    local hum = c:findFirstChild("Humanoid")
3850
    if hum ~= nil then
3851
      local head = c:findFirstChild("Torso")
3852
      if head ~= nil then
3853
        local targ = head.Position - Part.Position
3854
        local mag = targ.magnitude
3855
        if magni >= mag and c.Name ~= Player.Name then
3856
	--MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
3857
          Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
3858
        end
3859
      end
3860
    end
3861
  end
3862
end
3863
3864
function attackone()
3865
ATTACK = true
3866
    CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
3867
 for i = 0,1,0.25 do
3868
swait()
3869
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1)
3870
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1)
3871
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1)
3872
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1)
3873
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1)
3874
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
3875
end
3876
local hitb = Instance.new("Part", char)
3877
        hitb.Anchored = true
3878
        hitb.CanCollide = false
3879
        hitb.FormFactor = 3
3880
        hitb.Name = "Ring"
3881
        hitb.Material = "Neon"
3882
        hitb.Size = Vector3.new(1, 1, 1)
3883
        hitb.Transparency = 1
3884
        hitb.TopSurface = 0
3885
        hitb.BottomSurface = 0
3886
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
3887
MagniDamage(hitb, 3, 12,32, 0, "Normal")
3888
hitb:Destroy()
3889
for i = 0,1,0.5 do
3890
swait()
3891
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5)
3892
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5)
3893
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
3894
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
3895
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5)
3896
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5)
3897
end
3898
ATTACK = false
3899
end
3900
3901
function attacktwo()
3902
ATTACK = true
3903
    CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
3904
for i=0,1,.25 do
3905
swait()
3906
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5)
3907
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5)
3908
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5)
3909
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5)
3910
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
3911
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5)
3912
end
3913
local hitb = Instance.new("Part", char)
3914
        hitb.Anchored = true
3915
        hitb.CanCollide = false
3916
        hitb.FormFactor = 3
3917
        hitb.Name = "Ring"
3918
        hitb.Material = "Neon"
3919
        hitb.Size = Vector3.new(1, 1, 1)
3920
        hitb.Transparency = 1
3921
        hitb.TopSurface = 0
3922
        hitb.BottomSurface = 0
3923
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
3924
MagniDamage(hitb, 3, 10,32, 0, "Normal")
3925
hitb:Destroy()
3926
for i = 0,1,0.5 do
3927
swait()
3928
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5)
3929
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5)
3930
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5)
3931
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5)
3932
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5)
3933
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5)
3934
end
3935
ATTACK = false
3936
end
3937
3938
3939
3940
local attacktype = 1
3941
local COMBO = false
3942
function stab()
3943
if attacktype==1 and ATTACK==false and COMBO == false then
3944
attacktype=2
3945
COMBO = true
3946
attackone()
3947
COMBO = false
3948
elseif attacktype==2 and ATTACK==false and COMBO == false then
3949
attacktype=1
3950
COMBO = true
3951
attacktwo()
3952
COMBO = false
3953
end
3954
end
3955
Ne = Torso.Neck
3956
local Ammo = 1000
3957
local Depleted = false
3958
 function rayCast(Pos, Dir, Max, Ignore)
3959
    return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
3960
end
3961
 
3962
function DamageASD(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
3963
    for i, v in pairs(hit:GetChildren()) do
3964
        if v:IsA("Humanoid") and hit.Name ~= Character.Name then
3965
            local find = v:FindFirstChild("Hitz")
3966
            if not find then
3967
                if v.Parent:findFirstChild("Head") then
3968
                    local BillG = Create("BillboardGui"){
3969
                        Parent = v.Parent.Head,
3970
                        Size = UDim2.new(1, 0, 1, 0),
3971
                        Adornee = v.Parent.Head,
3972
                        StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
3973
                    }
3974
                    local TL = Create("TextLabel"){
3975
                        Parent = BillG,
3976
                        Size = UDim2.new(3, 3, 3, 3),
3977
                        BackgroundTransparency = 1,
3978
                        Text = tostring(damage).."-",
3979
                        TextColor3 = Color1.Color,
3980
                        TextStrokeColor3 = Color2.Color,
3981
                        TextStrokeTransparency = 0,
3982
                        TextXAlignment = Enum.TextXAlignment.Center,
3983
                        TextYAlignment = Enum.TextYAlignment.Center,
3984
                        FontSize = Enum.FontSize.Size18,
3985
                        Font = "SciFi",
3986
                    }
3987
                    coroutine.resume(coroutine.create(function()
3988
                        wait(1)
3989
                        for i = 0, 1, .1 do
3990
                            wait(.1)
3991
                            BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
3992
                        end
3993
                        BillG:Destroy()
3994
                    end))
3995
                end
3996
                v.Health = v.Health - damage
3997
                local bool = Create("BoolValue"){
3998
                    Parent = v,
3999
                    Name = 'Hitz',
4000
                }
4001
                if HSound ~= nil and HPitch ~= nil then
4002
                    CreateSound(HSound, hit, 1, HPitch)
4003
                end
4004
                game:GetService("Debris"):AddItem(bool, cooldown)
4005
            end
4006
        end
4007
    end
4008
end
4009
 
4010
function MagnitudeDamageB(Part, magni, mindam, maxdam, Color1, Color2, HitSound)
4011
    for _, c in pairs(workspace:children()) do
4012
        local hum = c:findFirstChild("Humanoid")
4013
        if hum ~= nil then
4014
            local head = c:findFirstChild("Torso")
4015
            if head ~= nil then
4016
                local targ = head.Position - Part.Position
4017
                local mag = targ.magnitude
4018
                if mag <= magni and c.Name ~= Player.Name then
4019
                    DamageASD(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HitSound, 1)
4020
                end
4021
            end
4022
        end
4023
    end
4024
end
4025
Effects2 = { }
4026
 function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
4027
    local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
4028
    prt.Anchored = true
4029
    prt.CFrame = cframe
4030
    local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
4031
    game:GetService("Debris"):AddItem(prt, 2)
4032
    Effects2[#Effects2 + 1] = {
4033
        prt,
4034
        "Cylinder",
4035
        delay,
4036
        x3,
4037
        y3,
4038
        z3
4039
    }
4040
end
4041
function Shoot(asd, spread1, spread2)
4042
    local MainPos = asd.Position
4043
    local MainPos2 = Mouse.Hit.p
4044
    local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - Mouse.Hit.p).magnitude / 100
4045
    local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread)
4046
    num = 30
4047
    Ammo = Ammo - 1
4048
    print(Ammo)
4049
    if Ammo == 0 then
4050
        Depleted = true
4051
    end
4052
    coroutine.resume(coroutine.create(function(Spreaded)
4053
        repeat
4054
            wait()
4055
            local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, Character.HumanoidRootPart.Parent)
4056
            local TheHit = Mouse.Hit.p
4057
            local mag = (MainPos - pos).magnitude
4058
            CylinderEffect(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2)
4059
            MainPos = MainPos + (MouseLook.lookVector * 50)
4060
            num = num - 1
4061
            if hit ~= nil then
4062
                num = 0
4063
                local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("Dark stone grey"), "Reference", Vector3.new())
4064
                ref.Anchored = true
4065
                ref.CFrame = CFrame.new(pos)
4066
                MagnitudeDamageB(ref, 5, 999999999, 999999999, BrickColor.new("Maroon"), BrickColor.new("Really red") , "rbxassetid://199149297")
4067
                game:GetService("Debris"):AddItem(ref, 1)
4068
            end
4069
        until num <= 0
4070
    end))
4071
end
4072
function CreateSound2(id, par, vol, pit)
4073
    coroutine.resume(coroutine.create(function()
4074
        local sou = Create("Sound"){
4075
            Parent = par or workspace,
4076
            Volume = vol,
4077
            Pitch = pit or 1,
4078
            SoundId = id,
4079
        }
4080
        wait()
4081
        sou:play()
4082
    end))
4083
end
4084
function Fire()
4085
        ATTACK = true
4086
        CreateSound2("rbxassetid://132572951", AWH, 10, .9)
4087
        CreateSound2("rbxassetid://130767489", AWH, 70.7, 1.2)
4088
        Shoot(AWH, 0, 0)
4089
        for i = 0, 1, 0.2 do
4090
            wait()
4091
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4092
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3)
4093
            RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5)
4094
            LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5)
4095
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4096
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4097
        end
4098
        for i = 0, 1, 0.1 do
4099
            wait()
4100
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4101
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3)
4102
            RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3)
4103
            LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3)
4104
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4105
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4106
        end
4107
        for i = 0, 1, 0.1 do
4108
            wait()
4109
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4110
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
4111
            RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3)
4112
            LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
4113
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4114
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4115
        end
4116
        CreateSound2("rbxassetid://146740582", AWH, 70.7, 1)
4117
        for i = 0, 1, 0.1 do
4118
            wait()
4119
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4120
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
4121
            RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
4122
            LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
4123
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4124
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4125
            end
4126
        for i = 0, 1, 0.1 do
4127
            wait()
4128
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4129
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3)
4130
            RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5)
4131
            LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3)
4132
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4133
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4134
        end
4135
        for i = 0, 1, 0.3 do
4136
            wait()
4137
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4)
4138
            Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4)
4139
            RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4)
4140
            LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4)
4141
                RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4142
                LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4)
4143
        end
4144
     ATTACK = false
4145
end
4146
4147
function R8AS()
4148
	ATTACK = true
4149
	--Rooted = false
4150
	for i=0, 0.5, 0.1 / Animation_Speed do
4151
		Swait()
4152
		turnto(Mouse.Hit.p)
4153
		--[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
4154
		Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
4155
		RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
4156
		LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
4157
		RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4158
		LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
4159
				--]]
4160
		end
4161
	repeat
4162
				for i = 0,0.76,0.1 do
4163
		swait()
4164
				turnto(Mouse.Hit.p)
4165
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4166
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
4167
RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.75)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
4168
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.75)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
4169
		end
4170
		for i = 0,1.98,0.1 do
4171
		swait()
4172
				turnto(Mouse.Hit.p)
4173
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4174
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
4175
RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
4176
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
4177
		end
4178
so("http://roblox.com/asset/?id=360648134",REVOLV,60,1) 
4179
--so("http://roblox.com/asset/?id=165946560",Flare2,60,1) 
4180
	 local lb = Instance.new("Part")
4181
  lb.Parent = char
4182
   lb.Material = "Neon"
4183
    lb.Color = BrickColor.new("New Yeller").Color
4184
     lb.CanCollide = false
4185
     lb.Shape = "Ball"
4186
     lb.CFrame = REVOLV.CFrame
4187
     lb.Anchored = true
4188
     lb.Transparency = 0
4189
     lb.Size = vt(0.45,1,0.45)
4190
     local thing = Instance.new("SpecialMesh",lb)
4191
     thing.MeshType = "Sphere"
4192
--for i = 0, 1 do
4193
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
4194
--end
4195
-- + root.CFrame.lookVector*12
4196
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
4197
	-- + root.CFrame.lookVector*12
4198
	 local b = Instance.new("Part")
4199
  b.Parent = char
4200
   b.Material = "Neon"
4201
    b.Color = BrickColor.new("New Yeller").Color
4202
     b.CanCollide = false
4203
     b.Shape = "Ball"
4204
     b.CFrame = REVOLV.CFrame
4205
     b.Anchored = true
4206
     b.Transparency = 0
4207
     b.Size = vt(1,1,1)
4208
     local z = Instance.new("SpecialMesh",b)
4209
     z.MeshType = "Sphere"
4210
local hitted = false
4211
lb.Anchored = false
4212
  local bv = Instance.new("BodyVelocity")
4213
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4214
  bv.velocity = Mouse.Hit.lookVector *150
4215
  bv.Parent = lb
4216
--[[
4217
	 local lb2 = Instance.new("Part")
4218
  lb2.Parent = char
4219
   lb2.Material = "Neon"
4220
    lb2.Color = BrickColor.new("New Yeller").Color
4221
     lb2.CanCollide = false
4222
     lb2.Shape = "Ball"
4223
     lb2.CFrame = Flare2.CFrame
4224
     lb2.Anchored = true
4225
     lb2.Transparency = 0
4226
     lb2.Size = vt(0.6,0.6,0.6)
4227
     local thing = Instance.new("SpecialMesh",lb2)
4228
     thing.MeshType = "Sphere"
4229
--for i = 0, 1 do
4230
--slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White"))
4231
--end
4232
-- + root.CFrame.lookVector*12
4233
--sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0))
4234
	-- + root.CFrame.lookVector*12
4235
	 local b2 = Instance.new("Part")
4236
  b2.Parent = char
4237
   b2.Material = "Neon"
4238
    b2.Color = BrickColor.new("New Yeller").Color
4239
     b2.CanCollide = false
4240
     b2.Shape = "Ball"
4241
     b2.CFrame = Flare2.CFrame
4242
     b2.Anchored = true
4243
     b2.Transparency = 0
4244
     b2.Size = vt(1,1,1)
4245
     local z = Instance.new("SpecialMesh",b2)
4246
     z.MeshType = "Sphere"
4247
--local hitted = false
4248
lb2.Anchored = false
4249
  local bv2 = Instance.new("BodyVelocity")
4250
  bv2.maxForce = Vector3.new(1e9, 1e9, 1e9)
4251
  bv2.velocity = Mouse.Hit.lookVector *150
4252
  bv2.Parent = lb2]]--
4253
lb.Touched:connect(function(hit) Damagefunc(hit,64,250,math.random(10,20),"Normal",RootPart,.2,1) end) 
4254
--lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) 
4255
		for i = 0,1.7,0.1 do
4256
		swait()
4257
				turnto(Mouse.Hit.p)
4258
            z.Scale = z.Scale + vt(0.1,0.1,0.1)
4259
            b.Transparency = b.Transparency + 0.05
4260
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4261
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
4262
RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(120),math.rad(0),math.rad(-30)),.1)
4263
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(120),math.rad(0),math.rad(30)),.1)
4264
		end
4265
				game:GetService("Debris"):AddItem(lb, 19)
4266
		--game:GetService("Debris"):AddItem(lb2, 19)
4267
		game:GetService("Debris"):AddItem(bv, 20)
4268
		--game:GetService("Debris"):AddItem(bv2, 20)
4269
b:Destroy()
4270
--b2:Destroy()
4271
--wait(10)
4272
--lb:Destroy()
4273
--lb2:Destroy()
4274
	until HOLD == false
4275
	ATTACK = false
4276
	--Rooted = false
4277
end
4278
    function nooutline(part)
4279
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
4280
    end
4281
   
4282
    function partB(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
4283
        local fp=it("Part")
4284
        fp.formFactor=formfactor
4285
        fp.Parent=parent
4286
        fp.Reflectance=reflectance
4287
        fp.Transparency=transparency
4288
        fp.CanCollide=false
4289
        fp.Locked=true
4290
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
4291
        fp.Name=name
4292
        fp.Size=size
4293
        fp.Position=Character.Torso.Position
4294
        nooutline(fp)
4295
        fp.Material=material
4296
        fp:BreakJoints()
4297
        return fp
4298
    end
4299
function partB(formfactor,parent,reflectance,transparency,brickcolor,name,size)
4300
local fp = it("Part")
4301
fp.formFactor = formfactor
4302
fp.Parent = parent
4303
fp.Reflectance = reflectance
4304
fp.Transparency = transparency
4305
fp.CanCollide = false
4306
fp.Locked=true
4307
fp.BrickColor = brickcolor
4308
fp.Name = name
4309
fp.Size = size
4310
fp.Position = Torso.Position
4311
nooutline(fp)
4312
fp.Material="Neon"
4313
fp:BreakJoints()
4314
return fp
4315
end
4316
function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
4317
local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
4318
prt.Anchored=true
4319
prt.CFrame=cframe
4320
msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
4321
game:GetService("Debris"):AddItem(prt,2)
4322
coroutine.resume(coroutine.create(function(Part,Mesh)
4323
for i=0,1,delay do
4324
swait()
4325
Part.CFrame=Part.CFrame
4326
Part.Transparency=i
4327
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
4328
end
4329
Part.Parent=nil
4330
end),prt,msh)
4331
end
4332
 
4333
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
4334
local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
4335
prt.Anchored=true
4336
prt.CFrame=cframe
4337
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
4338
game:GetService("Debris"):AddItem(prt,2)
4339
coroutine.resume(coroutine.create(function(Part,Mesh)
4340
for i=0,1,delay do
4341
swait()
4342
Part.CFrame=Part.CFrame
4343
Part.Transparency=i
4344
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
4345
end
4346
Part.Parent=nil
4347
end),prt,msh)
4348
end
4349
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
4350
        local mesh=it(Mesh)
4351
        mesh.Parent=part
4352
        if Mesh=="SpecialMesh" then
4353
            mesh.MeshType=meshtype
4354
            mesh.MeshId=meshid
4355
        end
4356
        mesh.Offset=offset
4357
        mesh.Scale=scale
4358
        return mesh
4359
    end
4360
 function LaserBarrage(Prt,Parent)
4361
attack=true
4362
--so("BeamLockon",Prt,1,1)
4363
local efprt=partB(3,Parent,0,0.5,BrickColor.new("New Yeller"),"Effect",vt(0.2,0.2,0.2))
4364
efprt.Anchored=true
4365
local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
4366
spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
4367
--spread=vt(0,0,0)
4368
coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
4369
game:GetService("Debris"):AddItem(Part,6)
4370
local TheHit=Mouse.Hit.p
4371
local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
4372
local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
4373
so("Elec",Prt,0.2,1)
4374
local tefprt=partB(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
4375
tefprt.CFrame=cf(pos)
4376
MagicCircle(BrickColor.new("New Yeller"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
4377
so("Elec",tefprt,0.3,1)
4378
game:GetService("Debris"):AddItem(tefprt,3)
4379
Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
4380
if(hit.Parent:findFirstChild("Humanoid")~= nil)then
4381
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
4382
hit.Parent.Humanoid:TakeDamage(MRANDOM(36,87))
4383
end
4384
end
4385
local mag=(Prt.Position-pos).magnitude
4386
MagicCylinder(BrickColor.new("New Yeller"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
4387
Part.Parent=nil
4388
end),efprt,efmsh,spread)
4389
end
4390
function FireAAAA()
4391
                ATTACK=true
4392
4393
so("http://www.roblox.com/asset/?id=138083993",Barrel,1,1)
4394
for i=0,3,0.3 do
4395
LaserBarrage(Barrel,Shotgun)
4396
end
4397
                for i=0,3,0.3 do
4398
                        swait()
4399
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4400
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
4401
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, 0.2) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
4402
LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(140), math.rad(0), math.rad(40)), 0.3)
4403
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
4404
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
4405
                end
4406
                for i=0,3,0.3 do
4407
    swait()
4408
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4409
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4410
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.2) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
4411
LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3)
4412
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
4413
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3)
4414
end
4415
        for i=0,3,0.3 do
4416
    swait()
4417
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4418
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4419
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
4420
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
4421
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
4422
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
4423
end
4424
so("http://www.roblox.com/asset/?id=131072992",Barrel,1,.8)
4425
  for i=0,3,0.3 do
4426
    swait()
4427
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4428
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4429
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.3)
4430
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(20)), 0.3)
4431
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
4432
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
4433
end
4434
    for i=0,3,0.3 do
4435
    swait()
4436
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
4437
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
4438
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
4439
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
4440
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
4441
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3)
4442
end
4443
 
4444
 
4445
                ATTACK=false
4446
end
4447
 	function bosschatfunc(text,watval)
4448
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
4449
coroutine.resume(coroutine.create(function()
4450
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
4451
v.PlayerGui:FindFirstChild("Dialog"):destroy()
4452
end
4453
local scrg = Instance.new("ScreenGui",v.PlayerGui)
4454
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
4455
scrg.Name = "Dialog"
4456
--gui below
4457
--text below
4458
local txtlb = Instance.new("TextLabel",scrg)
4459
txtlb.Text = ""
4460
txtlb.Font = "Cartoon"
4461
txtlb.TextColor3 = Color3.new(1,1,1)
4462
txtlb.TextStrokeTransparency = 0
4463
txtlb.BackgroundTransparency = 1
4464
txtlb.BackgroundColor3 = Color3.new(0,0,0)
4465
txtlb.TextStrokeColor3 = C3(0,0,0)
4466
txtlb.TextScaled = true
4467
txtlb.Size = UDim2.new(1,0,0.25,0)
4468
txtlb.TextXAlignment = "Center"
4469
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
4470
coroutine.resume(coroutine.create(function()
4471
while true do
4472
swait()
4473
end
4474
end))
4475
local fvalen = 0.55
4476
local fval = -0.49
4477
coroutine.resume(coroutine.create(function()
4478
while true do
4479
swait()
4480
if scrg.Parent ~= nil then
4481
	fvalen = fvalen - 0.0001
4482
elseif scrg.Parent == nil then
4483
break
4484
end
4485
end
4486
end))
4487
local flol = 1.75
4488
local flil = 1.6
4489
coroutine.resume(coroutine.create(function()
4490
	for i = 0, 9 do
4491
		swait()
4492
		fval = fval + 0.05
4493
		flol = flol - 0.1
4494
		flil = flil - 0.1
4495
		txtlb.Text = ""
4496
		txtlb.Position = UDim2.new(0,0,flol,0)
4497
	end
4498
	txtlb.Text = text
4499
wait(watval)
4500
local valinc = 0
4501
for i = 0, 99 do
4502
swait()
4503
valinc = valinc + 0.0001
4504
flol = flol + valinc
4505
flil = flil + valinc
4506
txtlb.Rotation = txtlb.Rotation + valinc*20
4507
txtlb.Position = UDim2.new(0,0,flol,0)
4508
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
4509
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
4510
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
4511
end
4512
scrg:Destroy()
4513
end))
4514
end))
4515
end
4516
end
4517
function mafia()
4518
ATTACK = true
4519
       CreateSound2("rbxassetid://2731402002", Character, 100, 1)
4520
bosschatfunc("thats how mafia works",7)
4521
for i = 0,38,0.1 do
4522
		swait()
4523
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 10))),.1)
4524
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 10))),.1)
4525
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 10),0 + 0.1 * math.cos(sine / 10))*angles(math.rad(1 - 2 * math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
4526
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
4527
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(5 + 4 * math.cos(sine / 32))),.1)
4528
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-140 - 2 * math.cos(sine / 25))),.1)
4529
end
4530
	ATTACK = false
4531
end
4532
4533
4534
function FUCKYOU()
4535
ATTACK = true
4536
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
4537
for i = 0,6,0.1 do
4538
swait()
4539
sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,BRICKC'Really red',100)
4540
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
4541
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
4542
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4543
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
4544
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4545
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4546
end
4547
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
4548
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
4549
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
4550
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
4551
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
4552
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
4553
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
4554
sick.TimePosition = 5
4555
SONG = 565439926
4556
Mode = "INSANE-H"
4557
for i = 0,2,0.1 do
4558
swait()
4559
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
4560
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
4561
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
4562
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
4563
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
4564
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
4565
end
4566
ATTACK = false
4567
end
4568
--//=================================\\
4569
--||	  ASSIGN THINGS TO KEYS
4570
--\\=================================//
4571
local AddInstance = function(Object, ...)
4572
local Obj = Instance.new(Object)
4573
for i,v in next,(...) do
4574
Obj[i] = v
4575
end
4576
return Obj
4577
end
4578
4579
local TopHat = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
4580
TopHat.Color = C3(0,0,0)
4581
local HatWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, TopHat, CF(0,0.7,0), CF(0, 0, 0))
4582
CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
4583
4584
local Jevil = false
4585
local SITTING = false
4586
plr.Chatted:connect(function(message)
4587
if message:sub(1,8) == "/e play " then
4588
SONG = message:sub(9)
4589
end
4590
if message:sub(1,6) == "NOHATS" then
4591
	            if Head:FindFirstChild("Jevil") then
4592
                Head.Jevil:Remove()
4593
	end
4594
	CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0))
4595
end
4596
if message:sub(1,6) == "TOPHAT" then
4597
	if Mode ~= "Nuclear" then
4598
	CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "46542901", VT(1,1,1)*1.05, VT(0,0,0))
4599
	else
4600
			CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "1563327", VT(1,1,1)*1.05, VT(0,0,0))
4601
		end
4602
end
4603
if message:sub(1,17) == "I CAN DO ANYTHING" then
4604
		SONG = 2597271983
4605
if Jevil == false then
4606
	Jevil = true
4607
					local sound = Instance.new("Sound")
4608
				sound.SoundId = "rbxassetid://2544975373"
4609
				sound.Volume = 10
4610
				sound.Parent = Head
4611
				sound:Play()
4612
			local Reaper = AddInstance("Part",{
4613
			Parent = hed,
4614
			CFrame = hed.CFrame,
4615
			Name = "Jevil",
4616
			formFactor = "Symmetric",
4617
			Size = Vector3.new(1, 1, 1),
4618
			CanCollide = false,
4619
			TopSurface = "Smooth",
4620
			BottomSurface = "Smooth",
4621
			Locked = true,
4622
		})
4623
		local Weld = AddInstance("Weld",{
4624
			Parent = Reaper,
4625
			Part0 = hed,
4626
			C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0),
4627
			Part1 = Reaper,
4628
		})
4629
		local Mesh = AddInstance("SpecialMesh",{
4630
			Parent = Reaper,
4631
			MeshId = "rbxassetid://193760002",
4632
			TextureId = "rbxassetid://89867215",
4633
			Scale = Vector3.new(1.1, 1.1, 1.1),
4634
			VertexColor = Vector3.new(0.5, 0.5, 0.5),
4635
		})
4636
end
4637
end
4638
if message:sub(1,13) == "GET REKT FOOL" then
4639
        CreateSound2("rbxassetid://1292661979", Character, 100, 1)
4640
end
4641
if message:sub(1,3) == "HEX" then
4642
SONG = 1143128932
4643
end
4644
if message:sub(1,2) == "DS" then
4645
SONG = 1751171913
4646
end
4647
if message:sub(1,21) == "thats how mafia works" then
4648
mafia()
4649
end
4650
if message:sub(1,3) == "SIT" then
4651
SITTING = true
4652
end
4653
if message:sub(1,5) == "NOSIT" then
4654
SITTING = false
4655
end
4656
if message:sub(1,6) == "ah yes" then
4657
SONG = 243199198
4658
end
4659
if message:sub(1,30) == "I CANT BELIEVE YOUVE DONE THIS" then
4660
       CreateSound2("rbxassetid://527749592", Character, 100, 1)
4661
end
4662
if message:sub(1,4) == "AAAA" then
4663
        CreateSound2("rbxassetid://547868092", Character, 100, 1)
4664
end
4665
if message:sub(1,4) == "curb" then
4666
SONG = 434976383
4667
sick.TimePosition = 0
4668
end
4669
if message:sub(1,8) == "/e time " then
4670
sick.TimePosition = message:sub(9)
4671
end
4672
end)
4673
4674
function MouseDown(Mouse)
4675
	HOLD = true
4676
	if ATTACK == false then
4677
		if Mode == "Gun" then
4678
		shoot()
4679
		elseif Mode == "Gun-S" then
4680
			shoots()
4681
			elseif Mode == "Shotty" then
4682
			FireAAAA()
4683
					elseif Mode == "SMG" then
4684
			SmgTest()
4685
					  elseif Mode == "SMG2" then
4686
			SmgTest2()
4687
						 elseif Mode == "SMG3" then
4688
			SmgTest3()
4689
								elseif Mode == "DE" then
4690
			deag()
4691
									elseif Mode == "AK" then
4692
			AKS()
4693
										elseif Mode == "AR" then
4694
			AEA()
4695
											elseif Mode == "knif" then
4696
			stab()
4697
														elseif Mode == "AGB" then
4698
			AUGShoot()
4699
																	elseif Mode == "AWP" then
4700
			Fire()
4701
																				elseif Mode == "R8R" then
4702
			R8AS()
4703
		end
4704
	end
4705
end
4706
4707
function MouseUp(Mouse)
4708
HOLD = false
4709
end
4710
4711
function KeyDown(Key)
4712
	KEYHOLD = true
4713
	
4714
		if Key == "p" then
4715
bestmatesA()
4716
		end
4717
				if Key == "y" then
4718
bestmatesB()
4719
			end
4720
				if Key == "u" then
4721
cheekibreeki()
4722
				end
4723
				
4724
		if Key == "m" and ATTACK == false then
4725
				if Mode == "Nuclear" then
4726
				--	Nuclear = true
4727
					Mode = "Chronos"
4728
SONG = 432493949
4729
				elseif Mode == "Chronos" then
4730
					--Nuclear = false
4731
					Mode = "Nuclear"
4732
					SONG = 566809627
4733
					end
4734
				end
4735
				
4736
						if Key == "n" and ATTACK == false then
4737
				if Mode == "Nuclear" then
4738
                        FUCKYOU()
4739
				elseif Mode == "INSANE-H" then
4740
					--Nuclear = false
4741
					Mode = "Nuclear"
4742
					SONG = 566809627
4743
					end
4744
				end
4745
				
4746
				
4747
										if Key == "b" and ATTACK == false then
4748
				if Mode == "Nuclear" then
4749
sick.TimePosition = 0
4750
SONG = 2598224585
4751
Mode = "MARENOL"
4752
				elseif Mode == "MARENOL" then
4753
					--Nuclear = false
4754
					Mode = "Nuclear"
4755
					SONG = 566809627
4756
					end
4757
				end
4758
				
4759
				
4760
														if Key == "v" and ATTACK == false then
4761
				if Mode == "Nuclear" then
4762
SONG = 2297862957
4763
Mode = "Mutilated"
4764
				elseif Mode == "Mutilated" then
4765
					--Nuclear = false
4766
					Mode = "Nuclear"
4767
					SONG = 566809627
4768
					end
4769
				end
4770
				if Key == "l" and ATTACK == false then
4771
				if Mode == "Nuclear" then
4772
SONG = 776030196
4773
Mode = "S"
4774
				elseif Mode == "S" then
4775
					--Nuclear = false
4776
					Mode = "Nuclear"
4777
					SONG = 566809627
4778
					end
4779
				end
4780
				
4781
				
4782
								if Key == "k" and ATTACK == false then
4783
				if Mode == "Nuclear" then
4784
SONG = 1669069269
4785
Mode = "PIXEL"
4786
sick.TimePosition = 0
4787
				elseif Mode == "PIXEL" then
4788
					--Nuclear = false
4789
					Mode = "Nuclear"
4790
					SONG = 566809627
4791
					end
4792
				end
4793
				
4794
												if Key == "j" and ATTACK == false then
4795
				if Mode == "Nuclear" then
4796
SONG = 1041867225
4797
Mode = "G"
4798
				elseif Mode == "G" then
4799
					--Nuclear = false
4800
					Mode = "Nuclear"
4801
					SONG = 566809627
4802
					end
4803
				end
4804
				--[[
4805
			if Key == "m" and ATTACK == false then																				if Key == "c" and ATTACK == false then
4806
				if Mode == "Nuclear" then
4807
					Mode = "Chronos"
4808
					sick.TimePosition = 0
4809
SONG = 432493949
4810
				elseif Mode == "Chronos" then
4811
					Mode = "Nuclear"
4812
					SONG = 566809627
4813
					end
4814
				end
4815
				]]--				
4816
		if Key == "q" and ATTACK == false then
4817
				if Nuclear == false and Mode == "Normal" then
4818
					Nuclear = true
4819
					Mode = "Nuclear"
4820
					CLOCKWORK2.BrickColor = BRICKC'Lime green'
4821
--SONG = 566809627
4822
SONG = 1812212957
4823
				elseif Nuclear == true and Mode == "Nuclear" then
4824
					Nuclear = false
4825
					Mode = "Normal"
4826
					CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
4827
					SONG = 1175569393
4828
					end
4829
				end
4830
				
4831
								if Key == "t" then
4832
Humanoid.Health = Humanoid.Health - MRANDOM(78,560)
4833
				end
4834
				
4835
			if Key == "f" and ATTACK == false then
4836
				if Mode == "Normal" then
4837
Gun.Parent = Character
4838
Mode = "Gun"
4839
SONG = 1632083717
4840
				elseif Mode == "Gun" then
4841
					Gun.Parent = nil
4842
					Mode = "Normal"
4843
					SONG = 1175569393
4844
					end
4845
				end
4846
				
4847
											if Key == "g" and ATTACK == false then
4848
				if Mode == "Gun" then
4849
					Mode = "Gun-S"
4850
			Supressor.Parent = Character
4851
SONG = 742414504
4852
				elseif Mode == "Gun-S" then
4853
					Supressor.Parent = nil
4854
					Mode = "Gun"
4855
					SONG = 1632083717
4856
					end
4857
				end
4858
				
4859
							if Key == "g" and ATTACK == false then
4860
				if Mode == "Normal" then
4861
					Mode = "Shotty"
4862
			--	SHandaru.Transparency = 0
4863
			Shotgun.Parent = Character
4864
			--GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994"
4865
SONG = 1242541615
4866
				elseif Mode == "Shotty" then
4867
					Shotgun.Parent = nil
4868
				--SHandaru.Transparency = 1
4869
				--GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0"
4870
					Mode = "Normal"
4871
					SONG = 1175569393
4872
					end
4873
				end
4874
				
4875
											if Key == "h" and ATTACK == false then
4876
				if Mode == "Normal" then
4877
					Mode = "SMG"
4878
			SMG.Parent = Character
4879
SONG = 1684339203
4880
				elseif Mode == "SMG" then
4881
					SMG.Parent = nil
4882
					Mode = "Normal"
4883
					SONG = 1175569393
4884
					end
4885
				end
4886
				
4887
															if Key == "g" and ATTACK == false then
4888
				if Mode == "SMG" then
4889
					Mode = "SMG2"
4890
			SMG2.Parent = Character
4891
			SMG.Parent = nil
4892
SONG = 1846938217
4893
				elseif Mode == "SMG2" then
4894
					SMG2.Parent = nil
4895
					Mode = "SMG"
4896
					SMG.Parent = Character
4897
					SONG = 1684339203
4898
					end
4899
				end
4900
				
4901
																			if Key == "j" and ATTACK == false then
4902
				if Mode == "SMG" then
4903
					Mode = "SMG3"
4904
			SMG3.Parent = Character
4905
			SMG.Parent = nil
4906
SONG = 856927010
4907
				elseif Mode == "SMG3" then
4908
					SMG3.Parent = nil
4909
					Mode = "SMG"
4910
					SMG.Parent = Character
4911
					SONG = 1684339203
4912
					end
4913
				end
4914
															if Key == "k" and ATTACK == false then
4915
				if Mode == "Normal" then
4916
					Mode = "AK"
4917
			A47.Parent = Character
4918
SONG = 468448329
4919
				elseif Mode == "AK" then
4920
					A47.Parent = nil
4921
					Mode = "Normal"
4922
					SONG = 1175569393
4923
					end
4924
				end
4925
				
4926
								
4927
															if Key == "j" and ATTACK == false then
4928
				if Mode == "Normal" then
4929
					Mode = "DE"
4930
			DE.Parent = Character
4931
SONG = 1473065092
4932
				elseif Mode == "DE" then
4933
					DE.Parent = nil
4934
					Mode = "Normal"
4935
					SONG = 1175569393
4936
					end
4937
				end
4938
				
4939
																			if Key == "l" and ATTACK == false then
4940
				if Mode == "Normal" then
4941
					Mode = "knif"
4942
			knif.Parent = Character
4943
SONG = 1583110657
4944
				elseif Mode == "knif" then
4945
					knif.Parent = nil
4946
					Mode = "Normal"
4947
					SONG = 1175569393
4948
					end
4949
				end
4950
						if Key == "m" and ATTACK == false then
4951
				if Mode == "Normal" then
4952
					Mode = "AGB"
4953
			AUG.Parent = Character
4954
SONG = 1317272392
4955
				elseif Mode == "AGB" then
4956
					AUG.Parent = nil
4957
					Mode = "Normal"
4958
					SONG = 1175569393
4959
					end
4960
				end
4961
				
4962
			if Key == "n" and ATTACK == false then
4963
				if Mode == "Normal" then
4964
					Mode = "AWP"
4965
			AWP.Parent = Character
4966
SONG = 2191904606
4967
				elseif Mode == "AWP" then
4968
					AWP.Parent = nil
4969
					Mode = "Normal"
4970
					SONG = 1175569393
4971
					end
4972
				end
4973
				
4974
							if Key == "b" and ATTACK == false then
4975
				if Mode == "Normal" then
4976
					Mode = "R8R"
4977
			R8RA.Parent = Character
4978
SONG = 729622879
4979
				elseif Mode == "R8R" then
4980
					R8RA.Parent = nil
4981
					Mode = "Normal"
4982
					SONG = 1175569393
4983
					end
4984
				end
4985
				
4986
											if Key == "v" and ATTACK == false then
4987
				if Mode == "Normal" then
4988
					Mode = "INSANITY"
4989
SONG = 943961217
4990
				elseif Mode == "INSANITY" then
4991
					Mode = "Normal"
4992
					SONG = 1175569393
4993
					end
4994
				end
4995
				
4996
															if Key == "c" and ATTACK == false then
4997
				if Mode == "Normal" then
4998
					Mode = "AR"
4999
					AR.Parent = Character
5000
SONG = 1537357758
5001
				elseif Mode == "AR" then
5002
					Mode = "Normal"
5003
					AR.Parent = nil
5004
					SONG = 1175569393
5005
					end
5006
				end
5007
															end
5008
5009
function KeyUp(Key)
5010
	KEYHOLD = false
5011
end
5012
5013
	Mouse.Button1Down:connect(function(NEWKEY)
5014
		MouseDown(NEWKEY)
5015
	end)
5016
	Mouse.Button1Up:connect(function(NEWKEY)
5017
		MouseUp(NEWKEY)
5018
	end)
5019
	Mouse.KeyDown:connect(function(NEWKEY)
5020
		KeyDown(NEWKEY)
5021
	end)
5022
	Mouse.KeyUp:connect(function(NEWKEY)
5023
		KeyUp(NEWKEY)
5024
	end)
5025
5026
--//=================================\\
5027
--\\=================================//
5028
5029
5030
function unanchor()
5031
	if UNANCHOR == true then
5032
		g = Character:GetChildren()
5033
		for i = 1, #g do
5034
			if g[i].ClassName == "Part" then
5035
				g[i].Anchored = false
5036
			end
5037
		end
5038
	end
5039
end
5040
5041
5042
--//=================================\\
5043
--||	WRAP THE WHOLE SCRIPT UP
5044
--\\=================================//
5045
5046
Humanoid.Changed:connect(function(Jump)
5047
	if Jump == "Jump" and (Disable_Jump == true) then
5048
		Humanoid.Jump = false
5049
	end
5050
end)
5051
5052
local CONNECT = nil
5053
	Instance.new("ForceField",char).Visible = false
5054
while true do
5055
	Swait()
5056
	ANIMATE.Parent = nil
5057
	if Character:FindFirstChildOfClass("Humanoid") == nil then
5058
		Humanoid = IT("Humanoid",Character)
5059
	end
5060
	for _,v in next, Humanoid:GetPlayingAnimationTracks() do
5061
	    v:Stop();
5062
	end
5063
	SINE = SINE + CHANGE
5064
	sine = sine + change
5065
	local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
5066
	local TORSOVERTICALVELOCITY = RootPart.Velocity.y
5067
	local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
5068
	local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
5069
	if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
5070
		ANIM = "Jump"
5071
		if ATTACK == false then
5072
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5073
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5074
			RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
5075
LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
5076
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
5077
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
5078
	    end
5079
	elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
5080
		ANIM = "Fall"
5081
		if ATTACK == false then
5082
			RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5083
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
5084
			RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
5085
LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
5086
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
5087
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
5088
		end
5089
	elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
5090
		ANIM = "Idle"
5091
		if ATTACK == false then
5092
			if Mode == "Gun" then
5093
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5094
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5095
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5096
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5097
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5098
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5099
			elseif Mode == "Normal" then
5100
				if not SITTING then
5101
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5102
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5103
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5104
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5105
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5106
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5107
				else
5108
					RW.C0 = clerp(RW.C0, CF(1.5, .5, 0) * angles(math.rad(45), math.rad(-3), math.rad(-10)), 0.1)
5109
LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(5), math.rad(20)), 0.1)
5110
LH.C0 = clerp(LH.C0, CF(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1)
5111
RH.C0 = clerp(RH.C0, CF(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1)
5112
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.6) * angles(math.rad(10 - 1.8 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
5113
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 2.5 * math.cos(sine / 20)), math.rad(0 - 5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 32))), 0.1)
5114
					end
5115
						elseif Mode == "SMG" then
5116
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5117
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5118
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5119
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5120
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5121
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5122
			elseif Mode == "SMG2" then
5123
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5124
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5125
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5126
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5127
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5128
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5129
					elseif Mode == "SMG3" then
5130
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5131
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5132
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5133
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5134
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5135
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5136
				elseif Mode == "PIXEL" then
5137
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
5138
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
5139
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
5140
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
5141
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
5142
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
5143
			elseif Mode == "Gun-S" then
5144
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5145
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5146
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5147
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5148
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5149
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5150
			elseif Mode == "DE" then
5151
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5152
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5153
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5154
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5155
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5156
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5157
			elseif Mode == "knif" then
5158
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5159
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5160
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5161
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5162
RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
5163
LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
5164
			elseif Mode == "AGB" then
5165
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5166
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5167
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5168
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5169
	RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
5170
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5171
			elseif Mode == "Shotty" then
5172
				RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
5173
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5174
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5175
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5176
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
5177
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(-10),math.rad(13 - 3 * math.cos(sine / 67))),.1)
5178
 			elseif Mode == "AK" then
5179
				RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
5180
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5181
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5182
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5183
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
5184
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
5185
			elseif Mode == "AWP" then
5186
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
5187
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
5188
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
5189
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-40),math.rad(0)),.1)
5190
RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8 - 0.05 * math.cos(sine / 28), 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
5191
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5 - 0.05 * math.cos(sine / 28), -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5192
			elseif Mode == "R8R" then
5193
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
5194
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
5195
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
5196
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
5197
RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
5198
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
5199
						elseif Mode == "AR" then
5200
				RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
5201
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
5202
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
5203
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
5204
	RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
5205
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5206
			elseif Mode == "INSANITY" then
5207
				                if MRANDOM(1,14) == 1 then
5208
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15)
5209
                    tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1)
5210
                    RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5211
                    LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5212
                    RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5213
                LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5214
                end
5215
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5216
                    tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1)
5217
                    RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5218
                    LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5219
                    RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5220
                LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5221
				elseif Mode == "S" then
5222
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
5223
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
5224
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
5225
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(17 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 43) - 2 * math.cos(sine / 0.25)),math.rad(6 - 2 * math.cos(sine / 56))),.1)
5226
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 40),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
5227
LW.C0=clerp(LW.C0,cf(-0.85,0.49 + 0.05 * math.cos(sine / 40),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 58)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 40))),.1)
5228
			elseif Mode == "Nuclear" then
5229
							if MRANDOM(1,23) == 1 then
5230
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-35,35) - 4 * COS(SINE / 12)), RAD(MRANDOM(-35,35)), RAD(0)), 1.5 / Animation_Speed)
5231
			end	
5232
			RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.15 * COS(SINE / 12)) * ANGLES(RAD(0 - 2 * COS(sine / 32)),RAD(0),RAD(0)), 0.15 / Animation_Speed)
5233
			Neck.C0 = Clerp(Neck.C0, NECKC0*ANGLES(RAD(19 - 2 * COS(sine / 37)),RAD(0 + 5 * math.cos(sine / 55)),math.rad(0)), 0.15 / Animation_Speed)
5234
       WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5235
			       WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5236
			RW.C0 = Clerp(RW.C0, CF(1.5, 0.5 - 0.15 * COS(SINE / 12), 0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 52))), 0.15 / Animation_Speed)
5237
			LW.C0 = Clerp(LW.C0, CF(-1.5,0.5 - 0.15 * COS(SINE / 12),0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(-18 + 6 * math.cos(sine / 57)),math.rad(-17 - 1 * math.cos(sine / 52))), 0.15 / Animation_Speed)
5238
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5239
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
5240
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
5241
 					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
5242
5243
						WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
5244
 					WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
5245
				elseif Mode == "MARENOL" then
5246
																	if MRANDOM(1,33) == 1 then
5247
																CharacterFade(C3(1,0,0),65,R_RANDOM(Torso.CFrame,0.5).p)
5248
																end
5249
												if MRANDOM(1,23) == 1 then
5250
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-75,75) - 4 * COS(SINE / 12)), RAD(MRANDOM(-75,75)), RAD(0)), 1.5 / Animation_Speed)
5251
			end	
5252
					RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 + 6 * math.cos(sine / 72) + MRANDOM(-20,20)),math.rad(3 - 2 * math.cos(sine / 58) + MRANDOM(-20,20)),math.rad(-38 + 2 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
5253
					LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 - 7 * math.cos(sine / 66) + MRANDOM(-20,20)),math.rad(4 - 3 * math.cos(sine / 59) + MRANDOM(-20,20)),math.rad(33 - 4 * math.cos(sine / 45) + MRANDOM(-20,20))),.1)
5254
								RootJoint.C0 = clerp2(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
5255
			Neck.C0 = clerp2(Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
5256
			RightHip.C0 = clerp2(RightHip.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(75)), 0.1)
5257
			LeftHip.C0 = clerp2(LeftHip.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-75)), 0.1)
5258
				elseif Mode == "Mutilated" then
5259
													if MRANDOM(1,7) == 1 then
5260
				Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-55,55) - 4 * COS(SINE / 12)), RAD(MRANDOM(-55,55)), RAD(0)), 1.5 / Animation_Speed)
5261
			end	
5262
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
5263
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
5264
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
5265
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
5266
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(79 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-87 + 2 * math.cos(sine / 45))),.1)
5267
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(79 - 4 * math.cos(sine / 45))),.1)
5268
												elseif Mode == "G" then
5269
																	RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
5270
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
5271
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
5272
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
5273
RW.C0=clerp(RW.C0,cf(0.75,0.5 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-84 + 3 * math.cos(sine / 45))),.1)
5274
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(12 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
5275
				elseif Mode == "INSANE-H" then
5276
					local snap = math.random(1,75)
5277
if snap == 1 then
5278
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-60,60)),math.rad(math.random(-60,60)),math.rad(math.random(-60,60))),0.6)
5279
RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-60,60)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-60,60))),.6)
5280
LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-60,60)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-60,60)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-60,60))),.6)
5281
end
5282
RH.C0=clerp(RH.C0,cf(0,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
5283
LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
5284
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
5285
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
5286
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(-90 + math.random(-9,9)),math.rad(15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.123) + math.random(-9,9)),math.rad(5 + 2.5 * math.cos(sine / 0.6) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25 + math.random(-9,9))),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1)
5287
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(90 + math.random(-9,9)),math.rad(-15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.664) + math.random(-9,9)),math.rad(-5 + 2.5 * math.cos(sine / 0.23) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25) + math.random(-9,9)),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1)
5288
			elseif Mode == "Chronos" then
5289
							RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 8)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5290
			Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(1 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
5291
			RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
5292
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
5293
			RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5294
			LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
5295
end
5296
end
5297
	elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
5298
		ANIM = "Walk"
5299
		if ATTACK == false then
5300
			if Mode ~= "SMG" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
5301
				RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
5302
				tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
5303
				RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size)  * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
5304
         		LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
5305
if Mode ~= "R8R" and Mode ~= "Shotty" then
5306
					RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
5307
				LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56)  * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) ,	Rad(-6) + la.RotVelocity.Y / 75), 0.1)
5308
--RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
5309
--LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
5310
elseif Mode == "R8R" then
5311
	RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1)
5312
LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1)
5313
elseif Mode == "Shotty" then
5314
	RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
5315
				LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3)
5316
	end
5317
			else
5318
				if Mode ~= "INSANITY" then
5319
				                 RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0), Rad(0)), 0.15)
5320
                  tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
5321
		  RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
5322
         	  LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
5323
		  RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
5324
		  LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
5325
				else
5326
									                if MRANDOM(1,12) == 1 then
5327
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15)
5328
                    tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1)
5329
                    RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5330
                    LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5331
                    RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5332
                LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5333
                end
5334
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5335
                    tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1)
5336
                    RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5337
                    LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
5338
                    RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5339
                LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
5340
					end
5341
		end
5342
		end
5343
	end
5344
		if Mode == "Nuclear" or Mode == "Chronos" then
5345
					CLOCKWORK2.BrickColor = BRICKC'Lime green'
5346
		elseif Mode == "INSANE-H" or Mode == "MARENOL" then
5347
							CLOCKWORK2.Color = C3(MRANDOM(-255,255),0,0)
5348
									elseif Mode == "PIXEL" then
5349
								CLOCKWORK2.BrickColor = BRICKC'Steel blue'
5350
		elseif Mode == "S" then
5351
								CLOCKWORK2.BrickColor = BRICKC'Toothpaste'
5352
										elseif Mode == "G" then
5353
								CLOCKWORK2.BrickColor = BRICKC'Institutional hite'
5354
		elseif Mode == "Mutilated" then
5355
											CLOCKWORK2.BrickColor = BrickColor.random()
5356
		elseif Mode ~= "Nuclear" or Mode ~= "Chronos" or Mode ~= "INSANE-H" or Mode ~= "MARENOL" or Mode ~= "S" or Mode ~= "PIXEL" or Mode ~= "Mutilated" or Mode ~= "G" then
5357
								CLOCKWORK2.BrickColor = BRICKC'Bright yellow'
5358
		end
5359
		if Mode ~= "G" then
5360
			CLOCKWORK2.Transparency = 0
5361
						OUTSIDE.Transparency = 0
5362
									BELT.Transparency = 0
5363
									char.Head.Transparency = 0
5364
char["Left Arm"].Transparency = 0
5365
char["Left Leg"].Transparency = 0
5366
char["Right Arm"].Transparency = 0
5367
char["Right Leg"].Transparency = 0
5368
char.Torso.Transparency = 0
5369
		else
5370
						CLOCKWORK2.Transparency = 0.65
5371
						OUTSIDE.Transparency = 0.65
5372
									BELT.Transparency = 0.65
5373
									char.Head.Transparency = 0.5
5374
char["Left Arm"].Transparency = 0.65
5375
char["Left Leg"].Transparency = 0.65
5376
char["Right Arm"].Transparency = 0.65
5377
char["Right Leg"].Transparency = 0.65
5378
char.Torso.Transparency = 0.65
5379
		end
5380
	--If your looking in the code, good job, I'll tell you some hints while your there.
5381
	--[[
5382
		Theres a hidden thing i HAVENT finished yet that has been a trend in glitchers
5383
		and it starts with an N
5384
		
5385
		Second hint is.
5386
		If your gonna look at the attacks i didnt use, This was a edit out of the clockworker script i did.
5387
	--]]
5388
	if Head:FindFirstChild("face") then
5389
Head.face.Texture = "rbxassetid://2276263"        --187019542
5390
	end
5391
	if Mode == "Nuclear" then
5392
if ANIM == "Walk" then
5393
       WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(5,0.75,5), Size2 = VT(16,0.75,16), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5394
end
5395
if MRANDOM(1,7) == 1 then
5396
       WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0.75,0), Size2 = VT(15.5,0.75,15.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
5397
end
5398
	end
5399
	--unanchor()
5400
	Humanoid.MaxHealth = "3700"
5401
		--Humanoid.Health = "3700"
5402
	if Mode ~= "SMG" and Mode ~= "DE" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then
5403
		Speed = 17
5404
	elseif Mode == "SMG" then
5405
		Speed = 56
5406
			elseif Mode == "SMG2" then
5407
		Speed = 65
5408
					elseif Mode == "SMG3" then
5409
		Speed = 69
5410
			elseif Mode == "DE" then
5411
		Speed = 26
5412
					elseif Mode == "INSANITY" then
5413
		Speed = 36
5414
	elseif Mode == "knif" then
5415
		Speed = 46
5416
	end
5417
	if Rooted == false then
5418
		Disable_Jump = false
5419
		Humanoid.WalkSpeed = Speed
5420
	elseif Rooted == true then
5421
		Disable_Jump = true
5422
		Humanoid.WalkSpeed = 0
5423
	end
5424
	for i,v in pairs(Character:children()) do
5425
    if v:IsA("Accessory") then
5426
        v:Destroy()
5427
    end
5428
end
5429
            if Character:FindFirstChild("Shirt") then
5430
                Character.Shirt:Destroy()
5431
end
5432
            if Character:FindFirstChild("Pants") then
5433
                Character.Pants:Destroy()
5434
end
5435
	sick.Playing = true
5436
	if sick.Parent ~= RootPart then
5437
		sick = IT("Sound",RootPart)
5438
	end
5439
	sick.Volume = 3.25
5440
	sick.Pitch = 1
5441
	sick.Looped = true
5442
	sick.SoundId = "rbxassetid://"..SONG
5443
	sick.Name = "hailfireBITCHES"
5444
end
5445
5446
--//=================================\\
5447
--\\=================================//
5448
5449
5450
5451
5452
--//====================================================\\--
5453
--||			  		 END OF SCRIPT
5454
--\\====================================================//--